close unclosed <div> in admin theme

This commit is contained in:
torkel104 2016-11-09 17:40:14 +01:00
parent d105fdf6d8
commit 3737623dd7
1 changed files with 122 additions and 120 deletions

58
bl-kernel/admin/themes/default/index.php Normal file → Executable file
View File

@ -30,31 +30,31 @@
</head> </head>
<body> <body>
<!-- Plugins --> <!-- Plugins -->
<?php Theme::plugins('adminBodyBegin') ?> <?php Theme::plugins('adminBodyBegin') ?>
<!-- Alert --> <!-- Alert -->
<script> <script>
$(document).ready(function() { $(document).ready(function() {
<?php <?php
if( Alert::defined() ) { if( Alert::defined() ) {
echo '$("#alert").slideDown().delay(3500).slideUp();'; echo '$("#alert").slideDown().delay(3500).slideUp();';
} }
?> ?>
$(window).click(function() { $(window).click(function() {
$("#alert").hide(); $("#alert").hide();
}); });
}); });
</script> </script>
<div id="alert" class="<?php echo (Alert::status()==ALERT_STATUS_OK)?'alert-ok':'alert-fail'; ?>"> <div id="alert" class="<?php echo (Alert::status()==ALERT_STATUS_OK)?'alert-ok':'alert-fail'; ?>">
<?php Alert::p() ?> <?php Alert::p() ?>
</div> </div>
<!-- Offcanvas for Mobile --> <!-- Offcanvas for Mobile -->
<a href="#offcanvas" class="uk-navbar-toggle uk-hidden-large" data-uk-offcanvas></a> <a href="#offcanvas" class="uk-navbar-toggle uk-hidden-large" data-uk-offcanvas></a>
<div id="offcanvas" class="uk-offcanvas"> <div id="offcanvas" class="uk-offcanvas">
<div class="uk-offcanvas-bar"> <div class="uk-offcanvas-bar">
<ul class="uk-nav uk-nav-offcanvas"> <ul class="uk-nav uk-nav-offcanvas">
<li><a href="<?php echo HTML_PATH_ADMIN_ROOT.'dashboard' ?>"><?php $L->p('Dashboard') ?></a></li> <li><a href="<?php echo HTML_PATH_ADMIN_ROOT.'dashboard' ?>"><?php $L->p('Dashboard') ?></a></li>
<li><a href="<?php echo HTML_PATH_ADMIN_ROOT.'new-post' ?>"><?php $L->p('New post') ?></a></li> <li><a href="<?php echo HTML_PATH_ADMIN_ROOT.'new-post' ?>"><?php $L->p('New post') ?></a></li>
@ -71,21 +71,21 @@ $(document).ready(function() {
<li><a href="<?php echo HTML_PATH_ADMIN_ROOT.'about' ?>"><?php $L->p('About') ?></a></li> <li><a href="<?php echo HTML_PATH_ADMIN_ROOT.'about' ?>"><?php $L->p('About') ?></a></li>
<?php } ?> <?php } ?>
</ul> </ul>
</div> </div>
</div> </div>
<div class="bl-navbar-bg"> <div class="bl-navbar-bg">
<nav id="bl-navbar"> <nav id="bl-navbar">
<a href="" class="bl-brand">BLUDIT</a> <a href="" class="bl-brand">BLUDIT</a>
<div class="bl-navbar-right"> <div class="bl-navbar-right">
<?php $L->p('Welcome') ?> <?php echo $Login->username() ?> - <?php $L->p('Welcome') ?> <?php echo $Login->username() ?> -
<a href="<?php echo HTML_PATH_ADMIN_ROOT.'logout' ?>"><?php $L->p('Logout') ?></a> <a href="<?php echo HTML_PATH_ADMIN_ROOT.'logout' ?>"><?php $L->p('Logout') ?></a>
</div> </div>
</nav> </nav>
</div> </div>
<div id="bl-container"> <div id="bl-container">
<div class="uk-grid uk-grid-small"> <div class="uk-grid uk-grid-small">
@ -151,13 +151,15 @@ $(document).ready(function() {
?> ?>
</div> </div>
</div> </div>
<!-- Javascript --> </div>
<?php include(PATH_JS.'functions.php') ?>
<!-- Plugins --> <!-- Javascript -->
<?php Theme::plugins('adminBodyEnd') ?> <?php include(PATH_JS.'functions.php') ?>
<!-- Plugins -->
<?php Theme::plugins('adminBodyEnd') ?>
</body> </body>
</html> </html>