##// END OF EJS Templates
Added tag v0.8.4 for changeset 2fa16ec5822d
Added tag v0.8.4 for changeset 2fa16ec5822d

File last commit:

r474:a3d9d24a celery
r514:5f60f2c6 default
Show More
login.html
78 lines | 3.3 KiB | text/html | HtmlLexer
fixed menu in home page, and added login html with forms that validates username and password.
r186 ## -*- coding: utf-8 -*-
version bump to 0.8...
r362 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" id="mainhtml">
<head>
<title>${_('Sign In to hg-app')}</title>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<link rel="icon" href="/images/hgicon.png" type="image/png" />
<meta name="robots" content="index, nofollow"/>
<!-- stylesheets -->
<link rel="stylesheet" type="text/css" href="/css/reset.css" />
<link rel="stylesheet" type="text/css" href="/css/style.css" media="screen" />
<link id="color" rel="stylesheet" type="text/css" href="/css/colors/blue.css" />
<!-- scripts -->
</head>
<body>
<div id="login">
<!-- login -->
<div class="title">
<h5>${_('Sign In to hg-app')}</h5>
<div class="corner tl"></div>
<div class="corner tr"></div>
</div>
<div class="inner">
Added redirection to page that request came from, after login in
r437 ${h.form(h.url.current(came_from=c.came_from))}
version bump to 0.8...
r362 <div class="form">
<!-- fields -->
<div class="fields">
<div class="field">
<div class="label">
<label for="username">${_('Username')}:</label>
</div>
<div class="input">
${h.text('username',class_='focus',size=40)}
</div>
</div>
<div class="field">
<div class="label">
<label for="password">${_('Password')}:</label>
</div>
<div class="input">
${h.password('password',class_='focus',size=40)}
</div>
</div>
##<div class="field">
## <div class="checkbox">
## <input type="checkbox" id="remember" name="remember" />
## <label for="remember">Remember me</label>
## </div>
##</div>
<div class="buttons">
${h.submit('sign_in','Sign In',class_="ui-button ui-widget ui-state-default ui-corner-all")}
</div>
</div>
<!-- end fields -->
<!-- links -->
<div class="links">
Implemented password reset(forms/models/ tasks) and mailing tasks....
r474 ${h.link_to(_('Forgot your password ?'),h.url('reset_password'))}
permission refactoring,...
r417 %if h.HasPermissionAny('hg.admin', 'hg.register.auto_activate', 'hg.register.manual_activate')():
/
${h.link_to(_("Don't have an account ?"),h.url('register'))}
%endif
version bump to 0.8...
r362 </div>
<!-- end links -->
</div>
${h.end_form()}
</div>
<!-- end login -->
fixed menu in home page, and added login html with forms that validates username and password.
r186 </div>
version bump to 0.8...
r362 </body>
</html>
fixed menu in home page, and added login html with forms that validates username and password.
r186