source: branches/2.2/mobile/templates/default/login.tpl @ 4200

Revision 4200, 3.0 KB checked in by thiagoaos, 13 years ago (diff)

Ticket #1817 - Adicionado link para acesso a versão Clássica a partir da Expresso Mini.

RevLine 
[3553]1<!-- BEGIN page -->
2<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">
3
4<html xmlns="http://www.w3.org/1999/xhtml">
[3689]5        <head>   
6                <title>{website_title} - {lang_login}</title>
[3553]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                <meta name="format-detection" content="telephone=no" />
[3731]9                <link href="templates/css/mobile.css" type="text/css" rel="StyleSheet" />
[4120]10                <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;"/>
11                <link rel="apple-touch-icon" href="./templates/default/images/favicon.png" />
12                <link rel="apple-touch-icon-precomposed" href="./templates/default/images/favicon.png"/>
13                <meta name="apple-mobile-web-app-status-bar-style" content="black" />
14                <link rel="icon" href="./templates/default/images/favicon.png" type="image/x-ico" />
15                <meta name="apple-touch-fullscreen" content="YES" />
[4200]16
[3731]17                <script type="text/javascript">
18
[4120]19                        function validate_login(form)
20                        {
[3731]21                                document.getElementById("max_resolution").value = ((screen.width >= screen.height) ? screen.width : screen.height);
[4120]22
23                                verifyBrowser( form );
[3731]24                               
25                                return true;
26                        }
27
[4120]28                        function verifyBrowser(form)
29                        {
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                                }
35                        }
36
[3731]37                </script>
[3553]38        </head>
[4200]39
40        <body>
[3553]41                <div class="topo">
42                <h1>{website_title} - {lang_login}</h1>
43                </div>
44
[4200]45                {message_box}
[3553]46               
[4120]47                <form name="form_login" method="post" action="./login.php" id="login_form" autocomplete=off onSubmit="return validate_login(this);">
[3731]48                        <input type="hidden" name="max_resolution" id="max_resolution" value="">
[3689]49                        <input type="hidden" name="passwd_type" value="text">
50                        <input type="hidden" name="account type" value="u">
[4120]51                        <input type="hidden" name="save_login" value="no">
[3689]52                        <dt id="lista_miolo">
53                                <div class="login">
54                                        <strong>{lang_username}:</strong><br/>
[4031]55                                        <input name="login" id="login"/><br/>
[3689]56                                        <strong>{lang_password}:</strong><br/>
57                                        <input name="passwd" type="password" autocomplete=off/><br/>
[3731]58                                        <button name="submitit" class="btn-contexto" style="margin-top:5px" type="submit">{lang_login}</button>
59                                </div>
[3689]60                        </dt>
[4120]61                       
[3689]62                </form>
[3731]63
[3553]64                <div class="rodape">Projeto ExpressoLivre 2004 - 2010 :: Licen&ccedil;a de Software</div>
[4200]65                <div class="rodape center"><a href="/login.php?dont_redirect_if_moble=1">Versão Clássica</a></div>
[3689]66        </body>
[454]67</html>
[3731]68
69<script type="text/javascript">
70        document.getElementById('login').focus();
71</script>
72
[3553]73<!-- END page -->
74<!-- BEGIN success_message -->
75<div class="bg-neutro">
76        <div class="aviso-positivo">
[3571]77                <strong>{message}</strong>
[3553]78        </div>
79</div>
80<!-- END success_message -->
81<!-- BEGIN error_message -->
82<div class="bg-neutro">
83        <div class="aviso-negativo">
[3571]84                <strong>{message}</strong>
[3553]85        </div>
86</div>
[4031]87<!-- END error_message -->
Note: See TracBrowser for help on using the repository browser.