Adding a new admin navigation bar

parent 7e9e9164
url: https://github.com/AsgardCms/Platform
versions:
"3.1.0":
added:
- New css and js stack in master template
- New admin navigation bar
"2.4.0":
added:
- Moved to using laravel.mix
......
......@@ -16,7 +16,9 @@
</head>
<body>
@include('partials.top-nav')
@auth
@include('partials.admin-bar')
@endauth
@include('partials.navigation')
<div class="container">
......
<style>
.admin-nav-bar.navbar {
height: 30px;
min-height: 30px;
background-color: #3c8dbc;
border-bottom: 1px solid #fff;
}
@media (min-width: 768px) {
.admin-nav-bar .navbar-nav > li > a {
padding-top: 5px;
padding-bottom: 3.5px;
font-size: 11px;
}
}
</style>
<nav class="admin-nav-bar navbar navbar-default navbar-fixed-top">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-responsive-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
</div>
<div id="" class="collapse navbar-collapse">
<ul class="nav navbar-nav navbar-right">
@if(isset($page))
<li class=""><a href="{{ $page->getEditUrl() }}">Edit page</a></li>
@endif
<li class=""><a href="{{ route('dashboard.index') }}">Back to backend</a></li>
</ul>
</div>
</div>
</nav>
<nav class="navbar navbar-default navbar-fixed-top">
<nav class="navbar navbar-default @guest navbar-fixed-top @endguest" style="@auth margin-top: -52px @endauth">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-responsive-collapse">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment