Mercurial > kallithea
changeset 7068:efba9f77d48f
login: drop the big lock icon - just put a small one in the header
It is too much trouble to try to make a nice graphical element out of it.
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Wed, 13 Dec 2017 01:38:44 +0100 |
parents | 5bfea0b02e24 |
children | 4d888981c3bc |
files | kallithea/public/less/style.less kallithea/templates/login.html |
diffstat | 2 files changed, 5 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- a/kallithea/public/less/style.less Sun Oct 29 00:54:24 2017 +0200 +++ b/kallithea/public/less/style.less Wed Dec 13 01:38:44 2017 +0100 @@ -189,12 +189,6 @@ font-weight: 700; } -#login .panel-body .icon-lock { - font-size: 100px; - color: #DDD; - margin-left: -15px; - z-index: 1; -} .user-menu { padding: 0 !important; }
--- a/kallithea/templates/login.html Sun Oct 29 00:54:24 2017 +0200 +++ b/kallithea/templates/login.html Wed Dec 13 01:38:44 2017 +0100 @@ -8,16 +8,18 @@ <%include file="/base/flash_msg.html"/> <div id="login" class="panel panel-primary"> <div class="panel-heading"> + <h5> + <i class="icon-lock"></i> %if c.site_name: - <h5>${_('Log In to %s') % c.site_name}</h5> + ${_('Log In to %s') % c.site_name} %else: - <h5>${_('Log In')}</h5> + ${_('Log In')} %endif + </h5> </div> <div class="panel-body"> ${h.form(url('login_home', came_from=c.came_from))} <div class="form"> - <i class="icon-lock"></i> <div class="form-group"> <label class="control-label" for="username">${_('Username')}:</label>