Add footer on the web admin

This commit is contained in:
Julien VAUBOURG 2014-11-18 21:26:37 +01:00
parent 4c7540f815
commit af6c61e28f
4 changed files with 18 additions and 5 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 66 KiB

After

Width:  |  Height:  |  Size: 71 KiB

View File

@ -60,3 +60,12 @@ a.btn-disabled, a.btn-disabled:hover, a.btn-disabled:active {
a.btn-disabled:hover span {
color: #eee;
}
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

@ -17,23 +17,27 @@
</head>
<body>
<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">
<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'] ?>
</div>
<? } elseif (isset($flash['notice'])) { ?>
<? elseif(isset($flash['notice'])): ?>
<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>
<strong><?= T_('Notice') ?>:</strong> <?= $flash['notice'] ?>
</div>
<? } elseif (isset($flash['success'])) { ?>
<? elseif(isset($flash['success'])): ?>
<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>
<?= $flash['success'] ?>
</div>
<? } ?>
<? endif; ?>
<?= $content?>
<?= $content ?>
<hr />
<div id="github"><a href="https://github.com/jvaubourg/vpnclient_ynh"><?= T_('Any problem? Contribute!') ?></a> - AGPL 3.0</div>
</div>
</body>
</html>