view rhodecode/templates/login.html @ 4178:9dd726706178 kallithea-2.2.5-rebrand

Complete copyright notices for web interface; change footer to link to them. The original copyright notice found in the footer was not accurate as it included only one of the many copyright holders in this project. This change creates an "about" page, which currently contains just the copyright and license information. It links to repository for additional potential copyright holders not listed on the about page. Unlisted contributors are mentioned in template comments. Html links for Kallithea is fixed and we link to Conservancy. Display of version information in the footer is improved.
author Bradley M. Kuhn <bkuhn@sfconservancy.org>
date Wed, 21 May 2014 13:35:27 -0400
parents 05ed7e20bd0f
children
line wrap: on
line source

## -*- 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="${h.url('/images/kallithea-logo.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>