##// END OF EJS Templates
Add Twitter's Bootstrap 3.0.0 CSS and Javascript files, under Apache License 2.0...
Add Twitter's Bootstrap 3.0.0 CSS and Javascript files, under Apache License 2.0 These files are exactly as they appear the upstream release 3.0.0 of Bootstrap, which Twitter released under the Apache License 2.0. To extract these files, I did the following: I downloaded the following file: https://github.com/twbs/bootstrap/archive/v3.0.0.zip with sha256sum of: $ sha256sum v3.0.0.zip 2d54f345f4abc6bf65ea648c323e9bae577e6febf755650e62555f2d7a222e17 v3.0.0.zip And extracted from it these two files: bootstrap-3.0.0/dist/css/bootstrap.css bootstrap-3.0.0/dist/js/bootstrap.js which are licensed under the Apache License 2.0. and placed them into: rhodecode/public/css/bootstrap.css rhodecode/public/js/bootstrap.js respectively.

File last commit:

r4116:ffd45b18 rhodecode-2.2.5-gpl
r4117:6af3e67c rhodecode-2.2.5-gpl
Show More
login.html
89 lines | 2.8 KiB | text/html | HtmlLexer
## -*- coding: utf-8 -*-
<%inherit file="base/root.html"/>
<%def name="title()">
${_('Log In')}
%if c.rhodecode_name:
&middot; ${c.rhodecode_name}
%endif
</%def>
<div id="header">
<div id="header-inner" class="title">
<div id="logo">
<div class="header">
<a href="${h.url('home')}"><img src="/images/rhodecode-logo-white-216x60.png" alt="RhodeCode"/></a>
</div>
%if c.rhodecode_name:
<div class="branding">- ${c.rhodecode_name}</div>
%endif
</div>
</div>
</div>
<div id="login">
<%include file="/base/flash_msg.html"/>
<!-- login -->
<div class="title withlogo">
%if c.rhodecode_name:
<h5>${_('Log In to %s') % c.rhodecode_name}</h5>
%else:
<h5>${_('Log In')}</h5>
%endif
</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 large')}
</div>
</div>
<div class="field">
<div class="label">
<label for="password">${_('Password')}:</label>
</div>
<div class="input">
${h.password('password',class_='focus large')}
</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_="btn")}
</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()}
<script type="text/javascript">
YUE.onDOMReady(function(){
YUD.get('username').focus();
})
</script>
</div>
<!-- end login -->
</div>