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
 
@@ -180,30 +180,24 @@ div.panel div.panel-heading {
 
  border-bottom: 1px solid #afafaf;
 
  border-right: 1px solid #bebebe;
 
  color: #515151;
 
}
 

	
 
#footer {
 
  margin-bottom: 0;
 
}
 
#footer > span {
 
  font-weight: 700;
 
}
 

	
 
#login .panel-body .icon-lock {
 
  font-size: 100px;
 
  color: #DDD;
 
  margin-left: -15px;
 
  z-index: 1;
 
}
 
.user-menu {
 
  padding: 0 !important;
 
}
 
#quick_login {
 
  width: 360px;
 
  margin-top: 15px;
 
  min-height: 110px;
 
}
 
#quick_login input#username,
 
#quick_login input#password {
 
  display: block;
 
  margin: 5px 0 10px;
kallithea/templates/login.html
Show inline comments
 
## -*- coding: utf-8 -*-
 
<%inherit file="base/root.html"/>
 

	
 
<%block name="title">
 
    ${_('Log In')}
 
</%block>
 

	
 
<%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>
 
                    <div>
 
                        ${h.text('username',class_='form-control')}
 
                    </div>
 
                </div>
 
                <div class="form-group">
 
                    <label class="control-label" for="password">${_('Password')}:</label>
 
                    <div>
 
                        ${h.password('password',class_='form-control')}
 
                    </div>
0 comments (0 inline, 0 general)