New Dashboard

This commit is contained in:
dignajar 2016-09-07 16:16:14 -03:00
parent 0e99046419
commit ed8233c0eb
2 changed files with 15 additions and 1 deletions

View File

@ -91,6 +91,12 @@ body {
text-decoration: none; text-decoration: none;
} }
#bl-navbar .bl-navbar-right {
float: right;
line-height: 60px;
margin: 0 35px 0 0;
}
/* SIDEBAR /* SIDEBAR
---------------------------------------------------------------- */ ---------------------------------------------------------------- */

View File

@ -75,6 +75,11 @@ $(document).ready(function() {
<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">
Welcome <?php echo $Login->username() ?> -
<a href="<?php echo HTML_PATH_ADMIN_ROOT.'logout' ?>"><?php $L->p('Logout') ?></a>
</div>
</nav> </nav>
<div id="bl-container"> <div id="bl-container">
@ -89,8 +94,11 @@ $(document).ready(function() {
<li <?php echo ($layout['view']=='dashboard')?'class="uk-active"':'' ?>> <li <?php echo ($layout['view']=='dashboard')?'class="uk-active"':'' ?>>
<a href="<?php echo HTML_PATH_ADMIN_ROOT.'dashboard' ?>"><?php $L->p('Dashboard') ?></a> <a href="<?php echo HTML_PATH_ADMIN_ROOT.'dashboard' ?>"><?php $L->p('Dashboard') ?></a>
</li> </li>
<li>
<a target="_blank" href="<?php echo HTML_PATH_ROOT ?>"><?php $L->p('Website') ?></a>
</li>
<li class="uk-nav-header">Write</li> <li class="uk-nav-header"><?php $L->p('Publish') ?></li>
<li <?php echo ($layout['view']=='new-post')?'class="uk-active"':'' ?>> <li <?php echo ($layout['view']=='new-post')?'class="uk-active"':'' ?>>
<a href="<?php echo HTML_PATH_ADMIN_ROOT.'new-post' ?>"><?php $L->p('New post') ?></a> <a href="<?php echo HTML_PATH_ADMIN_ROOT.'new-post' ?>"><?php $L->p('New post') ?></a>
</li> </li>