aboutsummaryrefslogtreecommitdiffhomepage
path: root/resources/views/admin/layouts/app.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/app.blade.php
parente0bcf40f8ba4be8760cedd54e3a33b50f8cdbe19 (diff)
Reworked admin interface
Diffstat (limited to 'resources/views/admin/layouts/app.blade.php')
-rwxr-xr-xresources/views/admin/layouts/app.blade.php98
1 files changed, 13 insertions, 85 deletions
diff --git a/resources/views/admin/layouts/app.blade.php b/resources/views/admin/layouts/app.blade.php
index 216c3c8..e1d4632 100755
--- a/resources/views/admin/layouts/app.blade.php
+++ b/resources/views/admin/layouts/app.blade.php
@@ -7,94 +7,24 @@
<meta content='width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no' name='viewport'>
<title>Admin interface of BEAM-Messenger</title>
- <link href="{{ asset("css/admin.css") }}" rel="stylesheet" type="text/css" />
+ <link href="{{ asset("css/admin.css ") }}" rel="stylesheet" type="text/css" />
+ <link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600,700,300italic,400italic,600italic" rel="stylesheet">
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
<![endif]-->
</head>
-<body class="skin-blue">
+<body class="hold-transition skin-blue sidebar-mini">
<div class="wrapper">
- <header class="main-header">
- <a href="/" class="logo">
- <b>BEAM</b>-Messenger</a>
- <nav class="navbar navbar-static-top" role="navigation">
- <a href="#" class="sidebar-toggle" data-toggle="offcanvas" 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>
- </ul>
- </div>
- </nav>
- </header>
+ @include('admin.layouts.navbar');
- <aside class="main-sidebar">
-
- <section class="sidebar">
-
- <div class="user-panel">
- <div class="pull-left image">
- <img src="/avatar/{{ $user->id }}" class="img-circle" alt="User Image" />
- </div>
- <div class="pull-left info">
- <p>{{ $user->name }}</p>
- <a href="#">
- <i class="fa fa-circle text-success"></i> Online</a>
- </div>
- </div>
-
- {{--
- <form action="#" method="get" class="sidebar-form">
- <div class="input-group">
- <input type="text" name="q" class="form-control" placeholder="Search..." />
- <span class="input-group-btn">
- <button type='submit' name='search' id='search-btn' class="btn btn-flat">
- <i class="fa fa-search"></i>
- </button>
- </span>
- </div>
- </form> --}}
-
- <ul class="sidebar-menu">
- <li class="header">Administration</li>
- <li class="active">
- <a href="/admin">
- <span>Overview</span>
- </a>
- </li>
- </ul>
- </section>
- </aside>
+ @include('admin.layouts.left_sidebar');
<div class="content-wrapper">
<section class="content-header">
- @yield('content-header')
+ @yield('content_header')
</section>
<section class="content">
@@ -102,17 +32,15 @@
</section>
</div>
- <footer class="main-footer">
- <div class="pull-right hidden-xs">
- Anything you want
- </div>
- <strong>Copyright © 2015
- <a href="#">Company</a>.</strong> All rights reserved.
- </footer>
-
+ <aside class="control-sidebar control-sidebar-dark">
+ @include('admin.layouts.right_sidebar')
+ </aside>
+ <div class="control-sidebar-bg"></div>
</div>
- <script src="{{ asset("js/admin.js") }}"></script>
+ <script src="{{ asset("js/admin.js ") }}"></script>
+ <script src="https://code.jquery.com/ui/1.12.1/jquery-ui.min.js" integrity="sha256-VazP97ZCwtekAsvgPBSUwPFKdrwD3unUfSGVYrahUqU="
+ crossorigin="anonymous"></script>
</body>
</html> \ No newline at end of file