comparison pylons_app/templates/login.html @ 362:558eb7c5028f rhodecode-0.0.0.8.0

version bump to 0.8 hg app 0.8 new template. Add yui flot and graph into summary page. + various tweeks and patches into look of application
author Marcin Kuzminski <marcin@python-works.com>
date Sat, 24 Jul 2010 02:17:48 +0200
parents 664a5b8c551a
children 3ed2d46a2ca7
comparison
equal deleted inserted replaced
361:3581656180b7 362:558eb7c5028f
1 ## -*- coding: utf-8 -*- 1 ## -*- coding: utf-8 -*-
2 <%inherit file="base/base.html"/> 2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3 <%def name="title()"> 3 <html xmlns="http://www.w3.org/1999/xhtml" id="mainhtml">
4 ${c.repos_prefix} 4 <head>
5 </%def> 5 <title>${_('Sign In to hg-app')}</title>
6 <%def name="breadcrumbs()"> 6 <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
7 ${c.repos_prefix} 7 <link rel="icon" href="/images/hgicon.png" type="image/png" />
8 </%def> 8 <meta name="robots" content="index, nofollow"/>
9 <%def name="page_nav()"> 9
10 &nbsp; 10 <!-- stylesheets -->
11 </div> 11 <link rel="stylesheet" type="text/css" href="/css/reset.css" />
12 </%def> 12 <link rel="stylesheet" type="text/css" href="/css/style.css" media="screen" />
13 <%def name="main()"> 13 <link id="color" rel="stylesheet" type="text/css" href="/css/colors/blue.css" />
14 <div> 14
15 <br /> 15 <!-- scripts -->
16 <h2>${_('Login to hg app')}</h2> 16
17 ${h.form(h.url.current())} 17 </head>
18 <table> 18 <body>
19 <tr> 19 <div id="login">
20 <td>${_('Username')}</td> 20 <!-- login -->
21 <td>${h.text('username')}</td> 21 <div class="title">
22 <td>${self.get_form_error('username')}</td> 22 <h5>${_('Sign In to hg-app')}</h5>
23 </tr> 23 <div class="corner tl"></div>
24 <tr> 24 <div class="corner tr"></div>
25 <td>${_('Password')}</td> 25 </div>
26 <td>${h.password('password')}</td> 26 <div class="inner">
27 <td>${self.get_form_error('password')}</td> 27 ${h.form(h.url.current())}
28 </tr> 28 <div class="form">
29 <tr> 29 <!-- fields -->
30 <td></td> 30
31 <td>${h.submit('login','login')}</td> 31 <div class="fields">
32 </tr> 32 <div class="field">
33 </table> 33 <div class="label">
34 ${h.end_form()} 34 <label for="username">${_('Username')}:</label>
35 </div>
36 <div class="input">
37 ${h.text('username',class_='focus',size=40)}
38 </div>
39
40 </div>
41 <div class="field">
42 <div class="label">
43 <label for="password">${_('Password')}:</label>
44 </div>
45 <div class="input">
46 ${h.password('password',class_='focus',size=40)}
47 </div>
48
49 </div>
50 ##<div class="field">
51 ## <div class="checkbox">
52 ## <input type="checkbox" id="remember" name="remember" />
53 ## <label for="remember">Remember me</label>
54 ## </div>
55 ##</div>
56 <div class="buttons">
57 ${h.submit('sign_in','Sign In',class_="ui-button ui-widget ui-state-default ui-corner-all")}
58 </div>
59 </div>
60 <!-- end fields -->
61 <!-- links -->
62 <div class="links">
63 ${h.link_to(_('Forgot your password ?'),h.url('#'))}
64 /
65 ${h.link_to(_("Don't have an account ?"),h.url('register'))}
66 </div>
67
68 <!-- end links -->
69 </div>
70 ${h.end_form()}
71 </div>
72 <!-- end login -->
35 </div> 73 </div>
36 </%def> 74 </body>
75 </html>
37 76
38