diff --git a/resources/assets/themes/theme10.less b/resources/assets/themes/theme10.less index 7262bbad..2be11ea8 100644 --- a/resources/assets/themes/theme10.less +++ b/resources/assets/themes/theme10.less @@ -170,23 +170,23 @@ THE SOFTWARE. @btn-primary-color: @btn-default-color; @btn-primary-bg: @brand-primary; -@btn-primary-border: darken(@btn-default-bg, 10%); +@btn-primary-border: darken(@btn-primary-bg, 10%); @btn-success-color: @btn-default-color; @btn-success-bg: @brand-success; -@btn-success-border: darken(@btn-default-bg, 10%); +@btn-success-border: darken(@btn-success-bg, 10%); @btn-info-color: @btn-default-color; @btn-info-bg: @brand-info; -@btn-info-border: darken(@btn-default-bg, 10%); +@btn-info-border: darken(@btn-info-bg, 10%); @btn-warning-color: @btn-default-color; @btn-warning-bg: @brand-warning; -@btn-warning-border: darken(@btn-default-bg, 10%); +@btn-warning-border: darken(@btn-warning-bg, 10%); @btn-danger-color: @btn-default-color; @btn-danger-bg: @brand-danger; -@btn-danger-border: darken(@btn-default-bg, 10%); +@btn-danger-border: darken(@btn-danger-bg, 10%); @btn-link-disabled-color: @gray-light; @@ -196,9 +196,9 @@ THE SOFTWARE. //## //** `` background color -@input-bg: @gray-darker; +@input-bg: #000; //** `` background color -@input-bg-disabled: @gray-dark; +@input-bg-disabled: @gray-darker; //** Text color for ``s @input-color: @text-color; @@ -223,7 +223,7 @@ THE SOFTWARE. @legend-border-color: @gray-dark; //** Background color for textual input addons -@input-group-addon-bg: @gray-lighter; +@input-group-addon-bg: @gray-light; //** Border color for textual input addons @input-group-addon-border-color: @input-border; @@ -980,10 +980,6 @@ table, } } -.input-group-addon { - background-color: @btn-default-bg; -} - // Navs ======================================================================= .nav-tabs, @@ -1074,3 +1070,11 @@ h1 { .panel-title { color: #fff; } + +.input-group-addon { + color: #000; + + .icon-icon_angel { + background-color: #000; + } +} diff --git a/resources/assets/themes/theme8.less b/resources/assets/themes/theme8.less index b6d2d5c3..cfa51c94 100644 --- a/resources/assets/themes/theme8.less +++ b/resources/assets/themes/theme8.less @@ -170,23 +170,23 @@ THE SOFTWARE. @btn-primary-color: @btn-default-color; @btn-primary-bg: @brand-primary; -@btn-primary-border: darken(@btn-default-bg, 10%); +@btn-primary-border: darken(@btn-primary-bg, 10%); @btn-success-color: @btn-default-color; @btn-success-bg: @brand-success; -@btn-success-border: darken(@btn-default-bg, 10%); +@btn-success-border: darken(@btn-success-bg, 10%); @btn-info-color: @btn-default-color; @btn-info-bg: @brand-info; -@btn-info-border: darken(@btn-default-bg, 10%); +@btn-info-border: darken(@btn-info-bg, 10%); @btn-warning-color: @btn-default-color; @btn-warning-bg: @brand-warning; -@btn-warning-border: darken(@btn-default-bg, 10%); +@btn-warning-border: darken(@btn-warning-bg, 10%); @btn-danger-color: @btn-default-color; @btn-danger-bg: @brand-danger; -@btn-danger-border: darken(@btn-default-bg, 10%); +@btn-danger-border: darken(@btn-danger-bg, 10%); @btn-link-disabled-color: @gray-light; @@ -196,9 +196,9 @@ THE SOFTWARE. //## //** `` background color -@input-bg: @gray-darker; +@input-bg: #000; //** `` background color -@input-bg-disabled: @gray-dark; +@input-bg-disabled: @gray-darker; //** Text color for ``s @input-color: @text-color; @@ -223,7 +223,7 @@ THE SOFTWARE. @legend-border-color: @gray-dark; //** Background color for textual input addons -@input-group-addon-bg: @gray-lighter; +@input-group-addon-bg: @gray-light; //** Border color for textual input addons @input-group-addon-border-color: @input-border; @@ -980,10 +980,6 @@ table, } } -.input-group-addon { - background-color: @btn-default-bg; -} - // Navs ======================================================================= .nav-tabs, @@ -1074,3 +1070,11 @@ h1 { .panel-title { color: #fff; } + +.input-group-addon { + color: #000; + + .icon-icon_angel { + background-color: #000; + } +} \ No newline at end of file diff --git a/resources/assets/themes/theme9.less b/resources/assets/themes/theme9.less index da2713fb..216082c7 100644 --- a/resources/assets/themes/theme9.less +++ b/resources/assets/themes/theme9.less @@ -170,23 +170,23 @@ THE SOFTWARE. @btn-primary-color: @btn-default-color; @btn-primary-bg: @brand-primary; -@btn-primary-border: darken(@btn-default-bg, 10%); +@btn-primary-border: darken(@btn-primary-bg, 10%); @btn-success-color: @btn-default-color; @btn-success-bg: @brand-success; -@btn-success-border: darken(@btn-default-bg, 10%); +@btn-success-border: darken(@btn-success-bg, 10%); @btn-info-color: @btn-default-color; @btn-info-bg: @brand-info; -@btn-info-border: darken(@btn-default-bg, 10%); +@btn-info-border: darken(@btn-info-bg, 10%); @btn-warning-color: @btn-default-color; @btn-warning-bg: @brand-warning; -@btn-warning-border: darken(@btn-default-bg, 10%); +@btn-warning-border: darken(@btn-warning-bg, 10%); @btn-danger-color: @btn-default-color; @btn-danger-bg: @brand-danger; -@btn-danger-border: darken(@btn-default-bg, 10%); +@btn-danger-border: darken(@btn-danger-bg, 10%); @btn-link-disabled-color: @gray-light; @@ -196,9 +196,9 @@ THE SOFTWARE. //## //** `` background color -@input-bg: @gray-darker; +@input-bg: #000; //** `` background color -@input-bg-disabled: @gray-dark; +@input-bg-disabled: @gray-darker; //** Text color for ``s @input-color: @text-color; @@ -223,7 +223,7 @@ THE SOFTWARE. @legend-border-color: @gray-dark; //** Background color for textual input addons -@input-group-addon-bg: @gray-lighter; +@input-group-addon-bg: @gray-light; //** Border color for textual input addons @input-group-addon-border-color: @input-border; @@ -980,10 +980,6 @@ table, } } -.input-group-addon { - background-color: @btn-default-bg; -} - // Navs ======================================================================= .nav-tabs, @@ -1074,3 +1070,11 @@ h1 { .panel-title { color: #fff; } + +.input-group-addon { + color: #000; + + .icon-icon_angel { + background-color: #000; + } +} diff --git a/resources/views/pages/login.twig b/resources/views/pages/login.twig index 75b98aa1..fca0e91d 100644 --- a/resources/views/pages/login.twig +++ b/resources/views/pages/login.twig @@ -31,9 +31,6 @@
- -
{{ m.angel }} {{ __('Login') }}
-
{% for message in errors|default([]) %} {{ m.alert(__(message), 'danger') }} @@ -42,36 +39,34 @@
{{ csrf() }}
- +
+ {{ m.angel }} + +
- +
+ {{ m.glyphicon('lock') }} + +
-
- - - {% if show_password_recovery|default(false) %} - - {{ __('I forgot my password') }} - - {% endif %} -
+
+
- - -
@@ -100,5 +95,6 @@ + {{ m.glyphicon('info-sign') }} {{ __('Please note: You have to activate cookies!') }} {% endblock %} diff --git a/src/Controllers/AuthController.php b/src/Controllers/AuthController.php index 55dd56b0..c69c2377 100644 --- a/src/Controllers/AuthController.php +++ b/src/Controllers/AuthController.php @@ -59,17 +59,16 @@ class AuthController extends BaseController } /** - * @param bool $showRecovery * @return Response */ - protected function showLogin($showRecovery = false): Response + protected function showLogin(): Response { $errors = Collection::make(Arr::flatten($this->session->get('errors', []))); $this->session->remove('errors'); return $this->response->withView( 'pages/login', - ['errors' => $errors, 'show_password_recovery' => $showRecovery] + ['errors' => $errors] ); } @@ -91,7 +90,7 @@ class AuthController extends BaseController if (!$user instanceof User) { $this->session->set('errors', $this->session->get('errors', []) + ['auth.not-found']); - return $this->showLogin(true); + return $this->showLogin(); } $this->session->invalidate();