-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Halim
authored and
Halim
committed
Nov 8, 2016
1 parent
9d39cdb
commit c884fd3
Showing
11 changed files
with
243 additions
and
89 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
<nav class="navbar navbar-default navbar-static-top"> | ||
<div class="container"> | ||
<div class="navbar-header"> | ||
|
||
<!-- Collapsed Hamburger --> | ||
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#app-navbar-collapse"> | ||
<span class="sr-only">Toggle Navigation</span> | ||
<span class="icon-bar"></span> | ||
<span class="icon-bar"></span> | ||
<span class="icon-bar"></span> | ||
</button> | ||
|
||
<!-- Branding Image --> | ||
<a class="navbar-brand" href="{{ url('/') }}"> | ||
{{ config('app.name', 'Laravel') }} | ||
</a> | ||
|
||
</div> | ||
|
||
|
||
<div class="collapse navbar-collapse" id="app-navbar-collapse"> | ||
<!-- Left Side Of Navbar --> | ||
<ul class="nav navbar-nav"> | ||
| ||
<li><a href="{{ url('/home') }}">Dashboard</a></li> | ||
|
||
@if (!Auth::guest()) | ||
<li class="dropdown"> | ||
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Articles <b class="caret"></b></a> | ||
<ul class="dropdown-menu"> | ||
<li><a href="{{ url('articles/create') }}">New Article</a></li> | ||
<li><a href="{{ url('articles') }}">Articles List</a></li> | ||
<li class="divider"></li> | ||
<li><a href="{{ url('articles2') }}">Articles List (Datatables)</a></li> | ||
</ul> | ||
</li> | ||
<li class="dropdown"> | ||
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Settings <b class="caret"></b></a> | ||
<ul class="dropdown-menu"> | ||
<li><a href="{{ url('users') }}">Manage Users</a></li> | ||
<li class="divider"></li> | ||
<li><a href="{{ url('settings') }}">Other Settings</a></li> | ||
</ul> | ||
</li> | ||
@endif | ||
|
||
<li><a href="{{ url('/about') }}">About</a></li> | ||
</ul> | ||
|
||
<!-- Right Side Of Navbar --> | ||
<ul class="nav navbar-nav navbar-right"> | ||
<!-- Authentication Links --> | ||
@if (Auth::guest()) | ||
<li><a href="{{ url('/login') }}">Login</a></li> | ||
<li><a href="{{ url('/register') }}">Register</a></li> | ||
@else | ||
<li class="dropdown"> | ||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false"> | ||
{{ Auth::user()->username }} <span class="caret"></span> | ||
</a> | ||
|
||
<ul class="dropdown-menu" role="menu"> | ||
<li><a href="{{ url('/profile') }}">Edit Profile</a></li> | ||
<li><a href="{{ url('/password') }}">Change password</a></li> | ||
<li class="divider"></li> | ||
<li> | ||
<a href="{{ url('/logout') }}" | ||
onclick="event.preventDefault(); | ||
document.getElementById('logout-form').submit();"> | ||
Logout | ||
</a> | ||
|
||
<form id="logout-form" action="{{ url('/logout') }}" method="POST" style="display: none;"> | ||
{{ csrf_field() }} | ||
</form> | ||
</li> | ||
</ul> | ||
</li> | ||
@endif | ||
</ul> | ||
</div> | ||
</div> | ||
</nav> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.