tweak login template
This commit is contained in:
		
							parent
							
								
									a4f00e3172
								
							
						
					
					
						commit
						d8901f3a8e
					
				
					 2 changed files with 16 additions and 8 deletions
				
			
		| 
						 | 
				
			
			@ -3,13 +3,6 @@
 | 
			
		|||
 * login.css
 | 
			
		||||
 ******************************/
 | 
			
		||||
 | 
			
		||||
#login-logo {
 | 
			
		||||
    display: block;
 | 
			
		||||
    margin: 10px auto 25px auto;
 | 
			
		||||
    padding-left: 50px;
 | 
			
		||||
    /* width: 500px; */
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
div.fieldset {
 | 
			
		||||
    text-align: center;
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -4,9 +4,24 @@
 | 
			
		|||
 | 
			
		||||
<%def name="head_tags()">
 | 
			
		||||
  ${h.stylesheet_link(request.static_url('edbob.pyramid:static/css/login.css'))}
 | 
			
		||||
  ${self.logo_styles()}
 | 
			
		||||
</%def>
 | 
			
		||||
 | 
			
		||||
${h.image(logo_url, "${self.global_title()} logo", id='login-logo', **logo_kwargs)}
 | 
			
		||||
<%def name="logo_styles()">
 | 
			
		||||
  <style type="text/css">
 | 
			
		||||
 | 
			
		||||
    #login-logo {
 | 
			
		||||
        background-image: url(${request.static_url('edbob.pyramid:static/img/logo.jpg')});
 | 
			
		||||
        background-size: 350px auto;
 | 
			
		||||
        height: 114.25px;
 | 
			
		||||
        margin: 25px auto;
 | 
			
		||||
        width: 350px;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
  </style>
 | 
			
		||||
</%def>
 | 
			
		||||
 | 
			
		||||
<div id="login-logo"></div>
 | 
			
		||||
 | 
			
		||||
<div class="fieldset">
 | 
			
		||||
  ${h.form('')}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue