mirror of
https://github.com/ziirish/burp-ui.git
synced 2026-05-21 06:45:24 -06:00
improve login page
This commit is contained in:
parent
2b94ce9dee
commit
3b4493ca64
2 changed files with 44 additions and 13 deletions
|
|
@ -204,15 +204,47 @@ svg text {
|
|||
-webkit-animation: blink 1s step-start 0s infinite;
|
||||
}
|
||||
|
||||
/* centered columns styles */
|
||||
.row-centered {
|
||||
text-align:center;
|
||||
.wrapper {
|
||||
margin-top: 80px;
|
||||
margin-bottom: 80px;
|
||||
}
|
||||
.col-centered {
|
||||
display:inline-block;
|
||||
float:none;
|
||||
/* reset the text-align */
|
||||
text-align:left;
|
||||
/* inline-block space fix */
|
||||
margin-right:-4px;
|
||||
|
||||
.form-signin {
|
||||
background: linear-gradient(#8a9196, #7a8288 60%, #70787d);
|
||||
max-width: 380px;
|
||||
padding: 15px 35px 45px;
|
||||
margin: 0 auto;
|
||||
border: 1px solid rgba(0,0,0,0.1);
|
||||
|
||||
.checkbox {
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
|
||||
.form-control {
|
||||
position: relative;
|
||||
font-size: 16px;
|
||||
height: auto;
|
||||
padding: 10px;
|
||||
@include box-sizing(border-box);
|
||||
|
||||
&:focus {
|
||||
z-index: 2;
|
||||
}
|
||||
}
|
||||
|
||||
input[type="text"] {
|
||||
margin-bottom: -1px;
|
||||
border-bottom-left-radius: 0;
|
||||
border-bottom-right-radius: 0;
|
||||
}
|
||||
|
||||
input[type="password"] {
|
||||
margin-bottom: 20px;
|
||||
border-top-left-radius: 0;
|
||||
border-top-right-radius: 0;
|
||||
}
|
||||
}
|
||||
|
||||
#search {
|
||||
margin-right: 0.1em;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,11 +1,10 @@
|
|||
{% extends "layout.html" %}
|
||||
{% import 'macros.html' as macros %}
|
||||
{% block body %}
|
||||
{% include "notifications.html" %}
|
||||
<div class="main">
|
||||
<h1 class="page-header">Login</h1>
|
||||
|
||||
<div class="wrapper">
|
||||
{% call macros.render_form(form, action_url=url_for('login'), action_text='Login') %}
|
||||
{% call macros.render_form(form, action_url=url_for('login'), action_text='Login', class_='form-signin', btn_class='btn btn-info btn-lg btn-primary btn-block') %}
|
||||
{{ macros.render_field(form.username, placeholder='Username', type='text') }}
|
||||
{{ macros.render_field(form.password, placeholder='Password', type='password') }}
|
||||
{{ macros.render_checkbox_field(form.remember) }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue