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

Revision 4130, 2.9 KB checked in by niltonneto, 13 years ago (diff)

Ticket #1788 - Imagem corrigida para ser adicionado na tela de início dos dispositivos

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                <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" />
16                <script type="text/javascript">
17
18                        function validate_login(form)
19                        {
20                                document.getElementById("max_resolution").value = ((screen.width >= screen.height) ? screen.width : screen.height);
21
22                                verifyBrowser( form );
23                               
24                                return true;
25                        }
26
27                        function verifyBrowser(form)
28                        {
29                                if('{os_browser}' != false){
30                                        if(window.confirm("Você está acessando de um {os_browser}. Deseja salvar usuário e senha neste dispositivo?")) {
31                                                form.save_login.value = 'yes';
32                                        }
33                                }
34                        }
35
36                </script>
37        </head>
38       
39        <body>         
40                <div class="topo">
41                <h1>{website_title} - {lang_login}</h1>
42                </div>
43
44                {message_box}           
45               
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                        <dt id="lista_miolo">
52                                <div class="login">
53                                        <strong>{lang_username}:</strong><br/>
54                                        <input name="login" id="login"/><br/>
55                                        <strong>{lang_password}:</strong><br/>
56                                        <input name="passwd" type="password" autocomplete=off/><br/>
57                                        <button name="submitit" class="btn-contexto" style="margin-top:5px" type="submit">{lang_login}</button>
58                                </div>
59                        </dt>
60                       
61                </form>
62
63                <div class="rodape">Projeto ExpressoLivre 2004 - 2010 :: Licen&ccedil;a de Software</div>
64        </body>
65</html>
66
67<script type="text/javascript">
68        document.getElementById('login').focus();
69</script>
70
71<!-- END page -->
72<!-- BEGIN success_message -->
73<div class="bg-neutro">
74        <div class="aviso-positivo">
75                <strong>{message}</strong>
76        </div>
77</div>
78<!-- END success_message -->
79<!-- BEGIN error_message -->
80<div class="bg-neutro">
81        <div class="aviso-negativo">
82                <strong>{message}</strong>
83        </div>
84</div>
85<!-- END error_message -->
Note: See TracBrowser for help on using the repository browser.