minor restyling of login screen (#2711)
This commit is contained in:
@@ -30,3 +30,4 @@
|
|||||||
@import 'modal';
|
@import 'modal';
|
||||||
@import 'progressbar';
|
@import 'progressbar';
|
||||||
@import 'avatar';
|
@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"
|
"build/app.39dfa7e1.js"
|
||||||
],
|
],
|
||||||
"css": [
|
"css": [
|
||||||
"build/app.c80d7236.css"
|
"build/app.068472ae.css"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"invoice": {
|
"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/app.js": "build/app.39dfa7e1.js",
|
||||||
"build/invoice.css": "build/invoice.ff32661a.css",
|
"build/invoice.css": "build/invoice.ff32661a.css",
|
||||||
"build/invoice.js": "build/invoice.19f36eca.js",
|
"build/invoice.js": "build/invoice.19f36eca.js",
|
||||||
|
|||||||
@@ -27,10 +27,9 @@
|
|||||||
{% set class = 'btn-primary' %}
|
{% set class = 'btn-primary' %}
|
||||||
{% if kimai_config.loginFormActive %}
|
{% if kimai_config.loginFormActive %}
|
||||||
{% set class = 'btn-google' %}
|
{% set class = 'btn-google' %}
|
||||||
<hr>
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<a href="{{ path('saml_login') }}" class="btn btn-block {{ class }}">
|
<a href="{{ path('saml_login') }}" class="btn btn-block {{ class }}">
|
||||||
{{ kimai_config.samlTitle|trans }}
|
<span>{{ kimai_config.samlTitle|trans }}</span>
|
||||||
</a>
|
</a>
|
||||||
<br>
|
<br>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
@@ -43,15 +42,16 @@
|
|||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block login_actions %}
|
{% block login_actions %}
|
||||||
|
<div class="login-actions">
|
||||||
{% if kimai_config.passwordResetActive %}
|
{% 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') }}
|
{{ 'I forgot my password'|trans({}, 'AdminLTEBundle') }}
|
||||||
</a>
|
</a>
|
||||||
<br>
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if kimai_config.selfRegistrationActive %}
|
{% 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') }}
|
{{ 'Register a new account'|trans({}, 'AdminLTEBundle') }}
|
||||||
</a>
|
</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
</div>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|||||||
Reference in New Issue
Block a user