Changeset - efba9f77d48f
[Not reviewed]
default
0 2 0
Mads Kiilerich - 8 years ago 2017-12-13 01:38:44
mads@kiilerich.com
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.
2 files changed with 5 insertions and 9 deletions:
0 comments (0 inline, 0 general)
kallithea/public/less/style.less
Show inline comments
 
@@ -189,12 +189,6 @@ div.panel div.panel-heading {
 
  font-weight: 700;
 
}
 

	
 
#login .panel-body .icon-lock {
 
  font-size: 100px;
 
  color: #DDD;
 
  margin-left: -15px;
 
  z-index: 1;
 
}
 
.user-menu {
 
  padding: 0 !important;
 
}
kallithea/templates/login.html
Show inline comments
 
@@ -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>
0 comments (0 inline, 0 general)