mirror of
https://github.com/RaspbianFrance/raspisms.git
synced 2025-04-20 16:37:48 +02:00
Improve alert popup + fix api key on usrr generation
This commit is contained in:
parent
7133704bf6
commit
5f8f6520ee
2 changed files with 5 additions and 5 deletions
|
@ -52,17 +52,17 @@
|
||||||
.popup-alerts-container
|
.popup-alerts-container
|
||||||
{
|
{
|
||||||
position: fixed;
|
position: fixed;
|
||||||
left: 0;
|
left: 25%;
|
||||||
top: 0;
|
top: 0;
|
||||||
z-index: 9998;
|
z-index: 9998;
|
||||||
width: 100%;
|
width: 50%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.popup-alert
|
.popup-alert
|
||||||
{
|
{
|
||||||
margin-top: 25px;
|
margin-top: 25px;
|
||||||
margin-left: 25%;
|
margin-left: 0;
|
||||||
width: 50%;
|
width: 100%;
|
||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -163,7 +163,7 @@ class User extends \descartes\Controller
|
||||||
return $this->redirect(\descartes\Router::url('User', 'add'));
|
return $this->redirect(\descartes\Router::url('User', 'add'));
|
||||||
}
|
}
|
||||||
|
|
||||||
$id_user = $this->internal_user->create($email, $password, $admin, $status);
|
$id_user = $this->internal_user->create($email, $password, $admin);
|
||||||
if (!$id_user)
|
if (!$id_user)
|
||||||
{
|
{
|
||||||
\FlashMessage\FlashMessage::push('danger', 'Impossible de créer ce user.');
|
\FlashMessage\FlashMessage::push('danger', 'Impossible de créer ce user.');
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue