minor restyling of login screen (#2711)
This commit is contained in:
@@ -30,3 +30,4 @@
|
||||
@import 'modal';
|
||||
@import 'progressbar';
|
||||
@import 'avatar';
|
||||
@import 'security';
|
||||
|
||||
35
assets/sass/security.scss
Normal file
35
assets/sass/security.scss
Normal file
@@ -0,0 +1,35 @@
|
||||
body.login-page {
|
||||
.alert {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
.login-box-body {
|
||||
text-align: center;
|
||||
padding: 30px 35px;
|
||||
box-shadow: 0 10px 30px 0 rgba(172, 168, 168, 0.43);
|
||||
.btn {
|
||||
padding: 7px;
|
||||
font-size: 115%;
|
||||
}
|
||||
}
|
||||
.login-head {
|
||||
margin-top: 0;
|
||||
}
|
||||
.login-actions a {
|
||||
display: block;
|
||||
}
|
||||
.form-group {
|
||||
input[type=password], input[type=text] {
|
||||
padding: 20px 15px;
|
||||
}
|
||||
}
|
||||
span.glyphicon {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
@media (max-width: $screen-sm-max) {
|
||||
body.login-page {
|
||||
.login-box-body {
|
||||
padding: 20px 27px;
|
||||
}
|
||||
}
|
||||
}
|
||||
File diff suppressed because one or more lines are too long
@@ -6,7 +6,7 @@
|
||||
"build/app.39dfa7e1.js"
|
||||
],
|
||||
"css": [
|
||||
"build/app.c80d7236.css"
|
||||
"build/app.068472ae.css"
|
||||
]
|
||||
},
|
||||
"invoice": {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"build/app.css": "build/app.c80d7236.css",
|
||||
"build/app.css": "build/app.068472ae.css",
|
||||
"build/app.js": "build/app.39dfa7e1.js",
|
||||
"build/invoice.css": "build/invoice.ff32661a.css",
|
||||
"build/invoice.js": "build/invoice.19f36eca.js",
|
||||
|
||||
@@ -27,10 +27,9 @@
|
||||
{% set class = 'btn-primary' %}
|
||||
{% if kimai_config.loginFormActive %}
|
||||
{% set class = 'btn-google' %}
|
||||
<hr>
|
||||
{% endif %}
|
||||
<a href="{{ path('saml_login') }}" class="btn btn-block {{ class }}">
|
||||
{{ kimai_config.samlTitle|trans }}
|
||||
<span>{{ kimai_config.samlTitle|trans }}</span>
|
||||
</a>
|
||||
<br>
|
||||
{% endif %}
|
||||
@@ -43,15 +42,16 @@
|
||||
{% endblock %}
|
||||
|
||||
{% block login_actions %}
|
||||
<div class="login-actions">
|
||||
{% if kimai_config.passwordResetActive %}
|
||||
<a href="{{ path('fos_user_resetting_request') }}">
|
||||
<a class="text-muted action-register" href="{{ path('fos_user_resetting_request') }}">
|
||||
{{ 'I forgot my password'|trans({}, 'AdminLTEBundle') }}
|
||||
</a>
|
||||
<br>
|
||||
{% endif %}
|
||||
{% if kimai_config.selfRegistrationActive %}
|
||||
<a href="{{ path('fos_user_registration_register') }}">
|
||||
<a class="text-muted action-password" href="{{ path('fos_user_registration_register') }}">
|
||||
{{ 'Register a new account'|trans({}, 'AdminLTEBundle') }}
|
||||
</a>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
Reference in New Issue
Block a user