Commit 6953e089 authored by Théo GUILLON's avatar Théo GUILLON
Browse files

Correction : message d'erreur page de connexion

parent c5a9e89e
...@@ -64,7 +64,8 @@ $cakeDescription = 'web-DPO'; ...@@ -64,7 +64,8 @@ $cakeDescription = 'web-DPO';
'/js/node_modules/components-font-awesome/css/all.min.css', '/js/node_modules/components-font-awesome/css/all.min.css',
'/js/node_modules/select2/dist/css/select2.min.css', '/js/node_modules/select2/dist/css/select2.min.css',
'main.css', 'main.css',
'style.css' 'style.css',
'flash.css'
]); ]);
echo $this->fetch('meta'); echo $this->fetch('meta');
......
...@@ -15,61 +15,67 @@ ...@@ -15,61 +15,67 @@
$cakeDescription = 'web-DPO'; $cakeDescription = 'web-DPO';
?> ?>
<!doctype html> <!DOCTYPE html>
<html> <html lang="fr">
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<title> <title>
<?php
echo $cakeDescription
?>
</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<?php <?php
echo $cakeDescription // CSS
?> echo $this->Html->css([
</title> '/js/node_modules/bootstrap/dist/css/bootstrap.min.css',
]);
<meta name="viewport" content="width=device-width, initial-scale=1"> // JS
<?php echo $this->Html->script([
// CSS '/js/node_modules/jquery/dist/jquery.min.js',
echo $this->Html->css([ '/js/node_modules/@popperjs/core/dist/umd/popper.min.js',
'/js/node_modules/@libriciel/ls-bootstrap-4/dist/ls-bootstrap-4.css', '/js/node_modules/bootstrap/dist/js/bootstrap.bundle.min.js',
'/js/node_modules/components-font-awesome/css/all.min.css' '/js/node_modules/@libriciel/ls-bootstrap-4/dist/ls-bootstrap-4.js',
]); ]);
echo $this->Html->script('fadeflash.js', ['inline' => false]);
// JS // CSS
echo $this->Html->script('fadeflash.js', ['inline' => false]); echo $this->Html->css([
?> '/js/node_modules/@libriciel/ls-bootstrap-4/dist/ls-bootstrap-4.css',
'/js/node_modules/components-font-awesome/css/all.min.css',
'flash.css'
]);
<style> echo $this->fetch('meta');
.forgot-passwd-lnk { echo $this->fetch('css');
display: none; echo $this->fetch('script');
} ?>
#flasherror { <style>
position: absolute; .forgot-passwd-lnk {
top: 0; display: none;
left: 35%; }
right: 35%; </style>
border: 1px solid #D9534F; </head>
z-index: 20;
max-width: 483px;
}
</style>
</head>
<body> <body>
<?php <?php
echo $this->Flash->render(); echo $this->Flash->render();
//$this->Flash->render('auth'); //$this->Flash->render('auth');
echo $this->fetch('content'); echo $this->fetch('content');
?> ?>
<!-- Footer Libriciel SCOP --> <!-- Footer Libriciel SCOP -->
<ls-lib-footer <ls-lib-footer
class="ls-login-footer ls-footer-fixed-bottom" class="ls-login-footer ls-footer-fixed-bottom"
active="webdpo" active="webdpo"
application_name="<?php echo $cakeDescription . ' ' . VERSION . " / "; ?>"> application_name="<?php echo $cakeDescription . ' ' . VERSION . " / "; ?>">
</ls-lib-footer> </ls-lib-footer>
<?php <?php
echo $this->Html->script('/js/node_modules/@libriciel/ls-composants/ls-elements.js'); echo $this->Html->script('/js/node_modules/@libriciel/ls-composants/ls-elements.js');
?> ?>
</body> </body>
</html> </html>
.flashsuccess {
color: var(--white) !important;
border-color: var(--green) !important;
background-color: var(--green) !important;
right: 0;
position: fixed;
z-index: 20;
}
.flasherror {
color: var(--white) !important;
border-color: var(--red) !important;
background-color: var(--red) !important;
right: 0;
position: fixed;
z-index: 20;
}
.flashinfo {
color: var(--white) !important;
border-color: var(--blue) !important;
background-color: var(--blue) !important;
right: 0;
position: fixed;
z-index: 20;
}
.flashwarning {
color: var(--white) !important;
border-color: var(--yellow) !important;
background-color: var(--yellow) !important;
right: 0;
position: fixed;
z-index: 20;
}
...@@ -115,39 +115,3 @@ table { ...@@ -115,39 +115,3 @@ table {
border-color: var(--ls-primary-700) !important; border-color: var(--ls-primary-700) !important;
color: var(--ls-primary-700) !important; color: var(--ls-primary-700) !important;
} }
.flashsuccess {
color: var(--white) !important;
border-color: var(--green) !important;
background-color: var(--green) !important;
right: 0;
position: fixed;
z-index: 20;
}
.flasherror {
color: var(--white) !important;
border-color: var(--red) !important;
background-color: var(--red) !important;
right: 0;
position: fixed;
z-index: 20;
}
.flashinfo {
color: var(--white) !important;
border-color: var(--blue) !important;
background-color: var(--blue) !important;
right: 0;
position: fixed;
z-index: 20;
}
.flashwarning {
color: var(--white) !important;
border-color: var(--yellow) !important;
background-color: var(--yellow) !important;
right: 0;
position: fixed;
z-index: 20;
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment