Changeset 5043 for trunk/mobile/templates/default/login.tpl
- Timestamp:
- 09/05/11 19:10:51 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/mobile/templates/default/login.tpl
r5037 r5043 22 22 document.getElementById("max_resolution").value = ((screen.width >= screen.height) ? screen.width : screen.height); 23 23 24 verifyBrowser( form );25 26 24 return true; 27 25 } 28 26 29 function verifyBrowser(form)27 function messageHidden(Element) 30 28 { 31 if('{os_browser}' != false){ 32 if(window.confirm("Você está acessando de um {os_browser}. Deseja salvar usuário e senha neste dispositivo?")) { 33 form.save_login.value = 'yes'; 34 } 35 } 29 var _div = document.getElementById(Element); 30 31 setTimeout(function() 32 { 33 _div.style.display = "none"; 34 35 }, 10000 ); 36 36 } 37 37 38 38 </script> 39 39 </head> 40 41 <body> 42 <div class="topo"> 43 <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> 44 65 </div> 45 46 {message_box} 66 67 <div id="divInferior"> 68 69 </div> 47 70 48 <form name="form_login" method="post" action="./login.php" id="login_form" autocomplete=off onSubmit="return validate_login(this);">49 <input type="hidden" name="max_resolution" id="max_resolution" value="">50 <input type="hidden" name="passwd_type" value="text">51 <input type="hidden" name="account type" value="u">52 <input type="hidden" name="save_login" value="no">53 <dt id="lista_miolo">54 <div class="login">55 <strong>{lang_username}:</strong><br/>56 <input name="login" id="login"/><br/>57 <strong>{lang_password}:</strong><br/>58 <input name="passwd" type="password" autocomplete=off/><br/>59 <button name="submitit" class="btn-contexto" style="margin-top:5px" type="submit">{lang_login}</button>60 </div>61 </dt>62 63 </form>64 65 <div class="rodape">Projeto ExpressoLivre 2004 - 2010 :: Licença de Software</div>66 <div class="rodape center"><a href="/login.php?dont_redirect_if_moble=1">Versão Clássica</a></div>67 71 </body> 68 72 </html> 69 70 73 <script type="text/javascript"> 71 74 document.getElementById('login').focus(); 72 75 </script> 76 <!-- END page --> 73 77 74 <!-- END page -->75 78 <!-- BEGIN success_message --> 76 <div class="bg-neutro"> 77 <div class="aviso-positivo"> 78 <strong>{message}</strong> 79 </div> 79 <div id="success_message"> 80 <label style="color:red;">{message}</label> 81 <script>messageHidden("success_message");</script> 80 82 </div> 81 83 <!-- END success_message --> 84 82 85 <!-- BEGIN error_message --> 83 <div class="bg-neutro"> 84 <div class="aviso-negativo"> 85 <strong>{message}</strong> 86 </div> 86 <div id="error_message"> 87 <label style="color:red;">{message}</label> 88 <script>messageHidden("error_message");</script> 87 89 </div> 88 90 <!-- END error_message -->
Note: See TracChangeset
for help on using the changeset viewer.