Changeset 5063 for branches/2.2/mobile/templates/default/login.tpl
- Timestamp:
- 09/06/11 14:54:54 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2/mobile/templates/default/login.tpl
r4695 r5063 7 7 <meta content="text/html;width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0; charset=utf-8;" http-equiv="Content-Type" name="viewport" /> 8 8 <meta name="format-detection" content="telephone=no" /> 9 <link href="templates/css/mobile.css" type="text/css" rel="StyleSheet" /> 9 <!-- link href="templates/css/mobile.css" type="text/css" rel="StyleSheet" /--> 10 <link type="text/css" rel="stylesheet" href="templates/css/login.css"> 10 11 <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;"/> 11 12 <link rel="apple-touch-icon" href="./templates/default/images/favicon.png" /> … … 21 22 document.getElementById("max_resolution").value = ((screen.width >= screen.height) ? screen.width : screen.height); 22 23 23 verifyBrowser( form );24 25 24 return true; 26 25 } 27 26 28 function verifyBrowser(form)27 function messageHidden(Element) 29 28 { 30 if('{os_browser}' != false){ 31 if(window.confirm("Você está acessando de um {os_browser}. Deseja salvar usuário e senha neste dispositivo?")) { 32 form.save_login.value = 'yes'; 33 } 34 } 29 var _div = document.getElementById(Element); 30 31 setTimeout(function() 32 { 33 _div.style.display = "none"; 34 35 }, 10000 ); 35 36 } 36 37 37 38 </script> 38 39 </head> 39 40 <body> 41 <div class="topo"> 42 <h1>{website_title} - {lang_login}</h1> 40 <body style="background:url(templates/default/images/back_pagina.jpg) repeat-x #fff;"> 41 <div id="divSuperior"> 42 <div style="height: 20px; font-size:small;"> 43 {message_box} 44 </div> 45 <div > 46 <form name="form_login" method="post" action="./login.php" id="login_form" autocomplete=off onSubmit="return validate_login(this);"> 47 <input type="hidden" name="max_resolution" id="max_resolution" value=""> 48 <input type="hidden" name="passwd_type" value="text"> 49 <input type="hidden" name="account type" value="u"> 50 <!-- input type="hidden" name="save_login" value="no" --> 51 <label>{lang_username}:</label><br/> 52 <input id="login" name="login"/><br/> 53 <label>{lang_password}:</label><br/> 54 <input id="passwd" name="passwd" type="password" autocomplete=off/><br/> 55 <input type="checkbox" name="save_login"/> 56 <label style="color:#909090;">Mantenha-me conectado</label> 57 <div style="margin-top:20px;"> 58 <button id="formButton" name="submitit" style="margin-top:5px" type="submit">{lang_login}</button> 59 </div> 60 </form> 61 </div> 62 <div class="rodape" style="float:left; margin-top: 10px;"> 63 <a href="{url_expresso}login.php?dont_redirect_if_moble=1">Versão Clássica</a> 64 </div> 43 65 </div> 44 45 {message_box} 66 67 <div id="divInferior"> 68 69 </div> 46 70 47 <form name="form_login" method="post" action="./login.php" id="login_form" autocomplete=off onSubmit="return validate_login(this);">48 <input type="hidden" name="max_resolution" id="max_resolution" value="">49 <input type="hidden" name="passwd_type" value="text">50 <input type="hidden" name="account type" value="u">51 <input type="hidden" name="save_login" value="no">52 <dt id="lista_miolo">53 <div class="login">54 <strong>{lang_username}:</strong><br/>55 <input name="login" id="login"/><br/>56 <strong>{lang_password}:</strong><br/>57 <input name="passwd" type="password" autocomplete=off/><br/>58 <button name="submitit" class="btn-contexto" style="margin-top:5px" type="submit">{lang_login}</button>59 </div>60 </dt>61 62 </form>63 64 <div class="rodape">Projeto ExpressoLivre 2004 - 2010 :: Licença de Software</div>65 <div class="rodape center"><a href="{url_expresso}login.php?dont_redirect_if_moble=1">Versão Clássica</a></div>66 71 </body> 67 72 </html> 68 69 73 <script type="text/javascript"> 70 74 document.getElementById('login').focus(); 71 75 </script> 76 <!-- END page --> 72 77 73 <!-- END page -->74 78 <!-- BEGIN success_message --> 75 <div class="bg-neutro"> 76 <div class="aviso-positivo"> 77 <strong>{message}</strong> 78 </div> 79 <div id="success_message"> 80 <label style="color:red;">{message}</label> 81 <script>messageHidden("success_message");</script> 79 82 </div> 80 83 <!-- END success_message --> 84 81 85 <!-- BEGIN error_message --> 82 <div class="bg-neutro"> 83 <div class="aviso-negativo"> 84 <strong>{message}</strong> 85 </div> 86 <div id="error_message"> 87 <label style="color:red;">{message}</label> 88 <script>messageHidden("error_message");</script> 86 89 </div> 87 90 <!-- END error_message -->
Note: See TracChangeset
for help on using the changeset viewer.