source: trunk/mobile/templates/default/login.tpl @ 5037

Revision 5037, 3.1 KB checked in by alexandrecorreia, 13 years ago (diff)

Ticket #2260 - Sincronismo do branch2.2(versão 2.2.8) do modulo mobile para 2.4

  • Property svn:executable set to *
Line 
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">
5        <head>   
6                <title>{website_title} - {lang_login}</title>
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" />
9                <!-- link href="templates/css/mobile.css" type="text/css" rel="StyleSheet" /-->
10                <link type="text/css" rel="stylesheet" href="templates/css/login.css">
11                <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;"/>
12                <link rel="apple-touch-icon" href="./templates/default/images/favicon.png" />
13                <link rel="apple-touch-icon-precomposed" href="./templates/default/images/favicon.png"/>
14                <meta name="apple-mobile-web-app-status-bar-style" content="black" />
15                <link rel="icon" href="./templates/default/images/favicon.png" type="image/x-ico" />
16                <meta name="apple-touch-fullscreen" content="YES" />
17
18                <script type="text/javascript">
19
20                        function validate_login(form)
21                        {
22                                document.getElementById("max_resolution").value = ((screen.width >= screen.height) ? screen.width : screen.height);
23
24                                verifyBrowser( form );
25                               
26                                return true;
27                        }
28
29                        function verifyBrowser(form)
30                        {
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                                }
36                        }
37
38                </script>
39        </head>
40
41        <body>
42                <div class="topo">
43                <h1>{website_title} - {lang_login}</h1>
44                </div>
45
46                {message_box}
47               
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&ccedil;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        </body>
68</html>
69
70<script type="text/javascript">
71        document.getElementById('login').focus();
72</script>
73
74<!-- END page -->
75<!-- BEGIN success_message -->
76<div class="bg-neutro">
77        <div class="aviso-positivo">
78                <strong>{message}</strong>
79        </div>
80</div>
81<!-- END success_message -->
82<!-- BEGIN error_message -->
83<div class="bg-neutro">
84        <div class="aviso-negativo">
85                <strong>{message}</strong>
86        </div>
87</div>
88<!-- END error_message -->
Note: See TracBrowser for help on using the repository browser.