1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/hotspot_ynh.git synced 2024-09-03 19:25:53 +02:00

Add footer on the web admin

This commit is contained in:
Julien VAUBOURG 2014-11-18 21:26:05 +01:00
parent 4cacd40156
commit 2e1f3649b6
4 changed files with 17 additions and 4 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 66 KiB

After

Width:  |  Height:  |  Size: 72 KiB

View file

@ -34,3 +34,12 @@ div#status ul {
padding: 0; padding: 0;
margin: 0; margin: 0;
} }
div#github {
margin: -10px 0 20px 20px;
background: url(../img/github.png) no-repeat 0 4px;
}
div#github a {
margin-left: 17px;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 558 B

View file

@ -19,23 +19,27 @@
</head> </head>
<body> <body>
<div class="container"> <div class="container">
<? if (isset($flash['error'])) { ?> <? if(isset($flash['error'])): ?>
<div class="alert alert-dismissible alert-danger fade in" style="margin-top: 20px" role="alert"> <div class="alert alert-dismissible alert-danger fade in" style="margin-top: 20px" role="alert">
<button type="button" class="close" data-dismiss="alert"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button> <button type="button" class="close" data-dismiss="alert"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
<strong><?= T_('Error') ?>:</strong> <?= $flash['error'] ?> <strong><?= T_('Error') ?>:</strong> <?= $flash['error'] ?>
</div> </div>
<? } elseif (isset($flash['notice'])) { ?> <? elseif(isset($flash['notice'])): ?>
<div class="alert alert-dismissible alert-info fade in" style="margin-top: 20px" role="alert"> <div class="alert alert-dismissible alert-info fade in" style="margin-top: 20px" role="alert">
<button type="button" class="close" data-dismiss="alert"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button> <button type="button" class="close" data-dismiss="alert"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
<strong><?= T_('Notice') ?>:</strong> <?= $flash['notice'] ?> <strong><?= T_('Notice') ?>:</strong> <?= $flash['notice'] ?>
</div> </div>
<? } elseif (isset($flash['success'])) { ?> <? elseif(isset($flash['success'])): ?>
<div class="alert alert-dismissible alert-success fade in" style="margin-top: 20px" role="alert"> <div class="alert alert-dismissible alert-success fade in" style="margin-top: 20px" role="alert">
<button type="button" class="close" data-dismiss="alert"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button> <button type="button" class="close" data-dismiss="alert"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
<?= $flash['success'] ?> <?= $flash['success'] ?>
</div> </div>
<? } ?> <? endif; ?>
<?= $content?> <?= $content?>
<hr />
<div id="github"><a href="https://github.com/jvaubourg/hotspot_ynh"><?= T_('Any problem? Contribute!') ?></a> - AGPL 3.0</div>
</div>
</body> </body>
</html> </html>