##// END OF EJS Templates
replaced all decode('utf-8') instances with .decode('utf-8','replace') for more error prof setup,...
replaced all decode('utf-8') instances with .decode('utf-8','replace') for more error prof setup, this way rhodecode could handle displaying non utf8 encoded file paths. This is still an invalid path, but this way we could at least show those paths without errors

File last commit:

r1057:af6ca51f default
r1100:e7d7f052 beta
Show More
login.html
82 lines | 3.4 KiB | text/html | HtmlLexer
renamed project to rhodecode
r547 ## -*- coding: utf-8 -*-
<!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>
#38 updated RhodeCode titles
r619 <title>${_('Sign In')} - ${c.rhodecode_name}</title>
renamed project to rhodecode
r547 <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
changed all urls for IMAGES files to use pylons url function
r1051 <link rel="icon" href="${h.url("/images/icons/database_gear.png")}" type="image/png" />
renamed project to rhodecode
r547 <meta name="robots" content="index, nofollow"/>
<!-- stylesheets -->
removed obsolete _static flag from url, and fixed urls in webhelpers
r1050 <link rel="stylesheet" type="text/css" href="${h.url('/css/style.css')}" media="screen" />
renamed project to rhodecode
r547
</head>
<body>
#113 removed anonymous access from forking, added system messages in login box.
r1056 <div id="login">
<div class="flash_msg">
<% messages = h.flash.pop_messages() %>
% if messages:
<ul id="flash-messages">
% for message in messages:
<li class="${message.category}_msg">${message}</li>
% endfor
</ul>
% endif
</div>
renamed project to rhodecode
r547 <!-- login -->
css cleanup, fixed rounded corners, removed obsolete images and css imports
r611 <div class="title top-left-rounded-corner top-right-rounded-corner">
login page and registration page now share the same application name as other views
r979 <h5>${_('Sign In to')} ${c.rhodecode_name}</h5>
renamed project to rhodecode
r547 </div>
<div class="inner">
${h.form(h.url.current(came_from=c.came_from))}
<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">
css optimizations
r888 ${h.submit('sign_in','Sign In',class_="ui-button")}
renamed project to rhodecode
r547 </div>
</div>
<!-- end fields -->
<!-- links -->
<div class="links">
${h.link_to(_('Forgot your password ?'),h.url('reset_password'))}
%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
</div>
<!-- end links -->
</div>
${h.end_form()}
</div>
<!-- end login -->
</div>
</body>
</html>