diff options
author | vincent-peugnet <v.peugnet@free.fr> | 2020-04-14 16:36:45 +0200 |
---|---|---|
committer | vincent-peugnet <v.peugnet@free.fr> | 2020-04-14 16:36:45 +0200 |
commit | 8ccc4ac00c974ba3659762e6c67f75ed82020e37 (patch) | |
tree | fc9a5b656ca13b34cb2eaac6e909b0b59ca839e8 /app/view/templates/layout.php | |
parent | ce3fcb72f2d5d154461a14183069bf87db1e5776 (diff) | |
download | wcms-8ccc4ac00c974ba3659762e6c67f75ed82020e37.tar.gz wcms-8ccc4ac00c974ba3659762e6c67f75ed82020e37.zip |
finish flashmessages implementation
+ clean css
Diffstat (limited to 'app/view/templates/layout.php')
-rw-r--r-- | app/view/templates/layout.php | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/app/view/templates/layout.php b/app/view/templates/layout.php index c96c61f..7b8ef13 100644 --- a/app/view/templates/layout.php +++ b/app/view/templates/layout.php @@ -38,19 +38,23 @@ <?php if (!empty($flashmessages) && is_array($flashmessages)) { ?> - <div class="flashmessage"> +<a href="#flashmessage"> + <div class="flashmessage" id="flashmessage"> <ul> <?php foreach ($flashmessages as $flashmessage ) { ?> <li class="alert alert-<?= $flashmessage['type'] ?>"> <?= $flashmessage['content'] ?> </li> - <?php } ?> - </ul> - </div> + <?php } ?> + </ul> + </div> + </a> <?php } ?> +<body> + <?= $this->section('page') ?> +</body> -<?= $this->section('page') ?> </html>
\ No newline at end of file |