aboutsummaryrefslogtreecommitdiffhomepage
path: root/resources/views/admin/layouts/navbar.blade.php
diff options
context:
space:
mode:
authorMarvin Borner2018-07-15 16:08:38 +0200
committerMarvin Borner2018-07-15 16:08:38 +0200
commit8960bce379d025904361444b00d40970d9a94f48 (patch)
treebbbc017ca071fef58c3db8b628c374619134c719 /resources/views/admin/layouts/navbar.blade.php
parente0bcf40f8ba4be8760cedd54e3a33b50f8cdbe19 (diff)
Reworked admin interface
Diffstat (limited to 'resources/views/admin/layouts/navbar.blade.php')
-rw-r--r--resources/views/admin/layouts/navbar.blade.php44
1 files changed, 44 insertions, 0 deletions
diff --git a/resources/views/admin/layouts/navbar.blade.php b/resources/views/admin/layouts/navbar.blade.php
new file mode 100644
index 0000000..149241a
--- /dev/null
+++ b/resources/views/admin/layouts/navbar.blade.php
@@ -0,0 +1,44 @@
+<header class="main-header">
+
+ <a href="/" class="logo">
+ <span class="logo-mini"><b>BEAM</b></span>
+ <span class="logo-lg"><b>BEAM</b>-Messenger</span>
+ </a>
+
+ <nav class="navbar navbar-static-top">
+ <a href="#" class="sidebar-toggle" data-toggle="push-menu" role="button">
+ <span class="sr-only">Toggle navigation</span>
+ </a>
+ <div class="navbar-custom-menu">
+ <ul class="nav navbar-nav">
+ <li class="dropdown user user-menu">
+ <a href="#" class="dropdown-toggle" data-toggle="dropdown">
+ <img src="/avatar/{{ $user->id }}" class="user-image" alt="User Image">
+ <span class="hidden-xs">{{ $user->name }}</span>
+ </a>
+ <ul class="dropdown-menu">
+ <li class="user-header">
+ <img src="/avatar/{{ $user->id }}" class="img-circle" alt="User Image">
+ <p>
+ {{ $user->name }} - {{ $user->email }}
+ <small>Member since {{ $user->created_at !== null ? $user->created_at : "ever." }}</small>
+ </p>
+ </li>
+ <li class="user-footer">
+ <div class="pull-left">
+ <a href="/profile" class="btn btn-default btn-flat">Profile</a>
+ </div>
+ <div class="pull-right">
+ <a href="/logout" class="btn btn-default btn-flat">Sign out</a>
+ </div>
+ </li>
+ </ul>
+ </li>
+ <li>
+ <a href="#" data-toggle="control-sidebar"><i class="fa fa-gears"></i></a>
+ </li>
+ </ul>
+ </div>
+
+ </nav>
+</header> \ No newline at end of file