1 | <!doctype html>
|
---|
2 | <html lang="en">
|
---|
3 | <head>
|
---|
4 | <meta charset="UTF-8">
|
---|
5 | <meta name="viewport" content="width=device-width, initial-scale=1">
|
---|
6 | <meta http-equiv="X-UA-Compatible" content="ie=edge">
|
---|
7 | <title>@yield('title')</title>
|
---|
8 |
|
---|
9 | <!-- Favicon -->
|
---|
10 | <link rel="shortcut icon" href="{{ url('assets/media/images/favicon.png') }}"/>
|
---|
11 |
|
---|
12 | <!-- Plugin styles -->
|
---|
13 | <link rel="stylesheet" href="{{ url('vendors/bundle.css') }}" type="text/css">
|
---|
14 |
|
---|
15 | @yield('head')
|
---|
16 |
|
---|
17 | <!-- App styles -->
|
---|
18 | <link rel="stylesheet" href="{{ url('assets/css/app.min.css') }}" type="text/css">
|
---|
19 | <link rel="stylesheet" href="{{ url('vendors/lightbox/magnific-popup.css') }}" type="text/css">
|
---|
20 |
|
---|
21 | </head>
|
---|
22 | <body @if (trim($__env->yieldContent('bodyClass'))) class="@yield('bodyClass')" @endif>
|
---|
23 |
|
---|
24 | <!-- begin::preloader-->
|
---|
25 | <div class="preloader">
|
---|
26 | <div class="preloader-icon"></div>
|
---|
27 | </div>
|
---|
28 | <!-- end::preloader -->
|
---|
29 |
|
---|
30 | <!-- BEGIN: Sidebar Group -->
|
---|
31 | <div class="sidebar-group">
|
---|
32 |
|
---|
33 | <!-- BEGIN: User Menu -->
|
---|
34 | <div class="sidebar" id="user-menu">
|
---|
35 | <div class="py-4 text-center bg-dark">
|
---|
36 | <h5 class="d-flex align-items-center justify-content-center">{{auth()->user()->getFullName()}}</h5>
|
---|
37 | <h6 class="d-flex align-items-center justify-content-center">{{auth()->user()->role->name}}</h6>
|
---|
38 | </div>
|
---|
39 | <div class="card mb-0 card-body shadow-none">
|
---|
40 | <div class="mb-4">
|
---|
41 | <div class="list-group list-group-flush">
|
---|
42 | <a href="{{route("dashboard.settings.index")}}" class="list-group-item p-l-r-0">Settings</a>
|
---|
43 | <a href="javascript:void(0)" onclick="
|
---|
44 | event.preventDefault();
|
---|
45 | document.getElementById('logout-form').submit();
|
---|
46 | " class="list-group-item p-l-r-0 text-danger">Sign Out</a>
|
---|
47 | <form id="logout-form" action="{{ route("auth.logout") }}" method="post">
|
---|
48 | @csrf
|
---|
49 | </form>
|
---|
50 | </div>
|
---|
51 | </div>
|
---|
52 | <div class="mb-4">
|
---|
53 | <h6 class="d-flex justify-content-between">
|
---|
54 | Added documents
|
---|
55 | <span class="float-right">68</span>
|
---|
56 | </h6>
|
---|
57 | <div class="progress" style="height:5px;">
|
---|
58 | <div class="progress-bar bg-secondary" role="progressbar" style="width: 68%;"
|
---|
59 | aria-valuenow="68"
|
---|
60 | aria-valuemin="0" aria-valuemax="100"></div>
|
---|
61 | </div>
|
---|
62 | </div>
|
---|
63 | <div class="mb-4">
|
---|
64 | <h6 class="d-flex justify-content-between">
|
---|
65 | Used space
|
---|
66 | <span>%25</span>
|
---|
67 | </h6>
|
---|
68 | <div class="progress" style="height: 5px;">
|
---|
69 | <div class="progress-bar bg-info" role="progressbar" style="width: 40%;" aria-valuenow="40"
|
---|
70 | aria-valuemin="0" aria-valuemax="100"></div>
|
---|
71 | </div>
|
---|
72 | </div>
|
---|
73 | <div class="mb-4">
|
---|
74 | <h6>Email</h6>
|
---|
75 | <p class="text-muted mb-0">{{ auth()->user()->email }}</p>
|
---|
76 | </div>
|
---|
77 | <div class="mb-4">
|
---|
78 | <h6>Phone</h6>
|
---|
79 | <p class="text-muted mb-0">{{ auth()->user()->phone_number }}</p>
|
---|
80 | </div>
|
---|
81 | </div>
|
---|
82 | </div>
|
---|
83 | <!-- END: User Menu -->
|
---|
84 |
|
---|
85 | </div>
|
---|
86 | <!-- END: Sidebar Group -->
|
---|
87 |
|
---|
88 | <!-- begin::main -->
|
---|
89 | <div class="layout-wrapper">
|
---|
90 |
|
---|
91 | <!-- begin::header -->
|
---|
92 | <div class="header d-print-none">
|
---|
93 |
|
---|
94 | <div class="header-left">
|
---|
95 | <div class="navigation-toggler">
|
---|
96 | <a href="#" data-action="navigation-toggler">
|
---|
97 | <i data-feather="menu"></i>
|
---|
98 | </a>
|
---|
99 | </div>
|
---|
100 | <div class="header-logo">
|
---|
101 | <a href="{{ url('dashboard') }}">
|
---|
102 | <img class="logo" src="{{ url('assets/media/images/logo-small.png') }}" alt="logo">
|
---|
103 | </a>
|
---|
104 | </div>
|
---|
105 | </div>
|
---|
106 |
|
---|
107 | <div class="header-body">
|
---|
108 | <div class="header-body-left">
|
---|
109 | <div class="page-title">
|
---|
110 | <h4>@yield('pageTitle')</h4>
|
---|
111 | </div>
|
---|
112 | </div>
|
---|
113 | <div class="header-body-right">
|
---|
114 | <ul class="navbar-nav">
|
---|
115 |
|
---|
116 | <!-- begin::header fullscreen -->
|
---|
117 | <li class="nav-item dropdown">
|
---|
118 | <a href="#" class="nav-link" title="Fullscreen" data-toggle="fullscreen">
|
---|
119 | <i class="maximize" data-feather="maximize"></i>
|
---|
120 | <i class="minimize" data-feather="minimize"></i>
|
---|
121 | </a>
|
---|
122 | </li>
|
---|
123 | <!-- end::header fullscreen -->
|
---|
124 |
|
---|
125 | <!-- begin::header notification dropdown -->
|
---|
126 | <li class="nav-item dropdown">
|
---|
127 | <div class="dropdown dropdown-notifications-wrapper dropdown-menu-right dropdown-menu-big">
|
---|
128 | <a href="javascript:void(0)" class="nav-link dropdown-notifications-unread icon" data-toggle="dropdown">
|
---|
129 | <i data-feather="bell"></i>
|
---|
130 | <span class="nav-unread"></span>
|
---|
131 | </a>
|
---|
132 | <div class="dropdown-menu dropdown-notifications dropdown-menu-right dropdown-menu-big">
|
---|
133 | <div class="bg-dark p-4 text-center d-flex justify-content-between align-items-center">
|
---|
134 | <h5 class="mb-0">Notifications</h5>
|
---|
135 | </div>
|
---|
136 | <div class="p-4 text-center align-items-center">
|
---|
137 | <p class='text-center unreadNotificationsInfo'>No unread notifications</p>
|
---|
138 | </div>
|
---|
139 | <div class="dropdown-divider"></div>
|
---|
140 | <a href="{{ route("dashboard.notifications.index") }}" class="dropdown-item text-center text-muted-dark">See all</a>
|
---|
141 | </div>
|
---|
142 | </div>
|
---|
143 | </li>
|
---|
144 |
|
---|
145 | {{-- </li>--}}
|
---|
146 | <!-- end::header notification dropdown -->
|
---|
147 |
|
---|
148 | <!-- begin::user menu -->
|
---|
149 | <li class="nav-item dropdown">
|
---|
150 | <a href="#" class="nav-link" title="User menu" data-sidebar-target="#user-menu">
|
---|
151 | <span class="mr-2 d-sm-inline d-none">{{auth()->user()->getFullName()}}</span>
|
---|
152 | @include('dashboard.partials.avatar')
|
---|
153 | </a>
|
---|
154 | </li>
|
---|
155 | <!-- end::user menu -->
|
---|
156 |
|
---|
157 | </ul>
|
---|
158 |
|
---|
159 | <!-- begin::mobile header toggler -->
|
---|
160 | <ul class="navbar-nav d-flex align-items-center">
|
---|
161 | <li class="nav-item header-toggler">
|
---|
162 | <a href="#" class="nav-link">
|
---|
163 | <i data-feather="arrow-down"></i>
|
---|
164 | </a>
|
---|
165 | </li>
|
---|
166 | </ul>
|
---|
167 | <!-- end::mobile header toggler -->
|
---|
168 | </div>
|
---|
169 | </div>
|
---|
170 |
|
---|
171 | </div>
|
---|
172 | <!-- end::header -->
|
---|
173 |
|
---|
174 | <div class="content-wrapper">
|
---|
175 |
|
---|
176 | <!-- begin::navigation -->
|
---|
177 | <div class="navigation">
|
---|
178 | <div class="navigation-menu-tab">
|
---|
179 | <ul>
|
---|
180 | <li>
|
---|
181 | <a href="{{ route("dashboard.index") }}" class="nav-link {{ request()->is('dashboard') ? 'active' : '' }}" data-toggle="tooltip"
|
---|
182 | data-placement="right" title="Dashboard">
|
---|
183 | <i data-feather="home"></i>
|
---|
184 | </a>
|
---|
185 | </li>
|
---|
186 | @if(auth()->user()->hasPermission("manage_all_users"))
|
---|
187 | <li>
|
---|
188 | <a href="{{ route("dashboard.users.index") }}" class="nav-link {{ request()->is(['dashboard/users', 'dashboard/users/*']) ? 'active' : '' }}" data-toggle="tooltip"
|
---|
189 | data-placement="right" title="Users">
|
---|
190 | <i data-feather="users"></i>
|
---|
191 | </a>
|
---|
192 | </li>
|
---|
193 | @endif
|
---|
194 | @if(auth()->user()->hasPermission("manage_all_departments"))
|
---|
195 | <li>
|
---|
196 | <a href="{{route("dashboard.departments.index")}}" data-toggle="tooltip"
|
---|
197 | data-placement="right" title="Departments">
|
---|
198 | <i data-feather="grid"></i>
|
---|
199 | </a>
|
---|
200 | </li>
|
---|
201 | @endif
|
---|
202 | @if(auth()->user()->hasPermission("manage_all_folders"))
|
---|
203 | <li>
|
---|
204 | <a href="{{route("dashboard.folders.index")}}" data-toggle="tooltip"
|
---|
205 | data-placement="right" title="Folders">
|
---|
206 | <i data-feather="folder"></i>
|
---|
207 | </a>
|
---|
208 | </li>
|
---|
209 | @endif
|
---|
210 | @if(auth()->user()->hasPermission("manage_all_files"))
|
---|
211 | <li>
|
---|
212 | <a href="{{route("dashboard.files.index")}}" data-toggle="tooltip"
|
---|
213 | data-placement="right" title="Files">
|
---|
214 | <i data-feather="file-text"></i>
|
---|
215 | </a>
|
---|
216 | </li>
|
---|
217 | @endif
|
---|
218 | </ul>
|
---|
219 | </div>
|
---|
220 | </div>
|
---|
221 | <!-- end::navigation -->
|
---|
222 |
|
---|
223 | <div class="content-body">
|
---|
224 |
|
---|
225 | <div class="content">
|
---|
226 |
|
---|
227 | @yield('content')
|
---|
228 |
|
---|
229 | </div>
|
---|
230 |
|
---|
231 | <!-- begin::footer -->
|
---|
232 | <footer class="content-footer">
|
---|
233 | <div>© {{ date('Y') }}<a href="{{route("dashboard.index")}}" target="_blank"> SaveSpace</a></div>
|
---|
234 | <div>
|
---|
235 | </div>
|
---|
236 | </footer>
|
---|
237 | <!-- end::footer -->
|
---|
238 | </div>
|
---|
239 |
|
---|
240 | </div>
|
---|
241 |
|
---|
242 | </div>
|
---|
243 | <!-- end::main -->
|
---|
244 |
|
---|
245 | <!-- Plugin scripts -->
|
---|
246 | <script src="{{ url('vendors/bundle.js') }}"></script>
|
---|
247 |
|
---|
248 | <!-- App scripts -->
|
---|
249 | <script src="{{ url('assets/js/app.js') }}"></script>
|
---|
250 | <!-- 3. Instantiate clipboard by passing a string selector -->
|
---|
251 | <script src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.8/clipboard.min.js"></script>
|
---|
252 | <script>
|
---|
253 | var clipboard = new ClipboardJS('.btn');
|
---|
254 | </script>
|
---|
255 | <script src="{{ url('vendors/lightbox/jquery.magnific-popup.min.js') }}"></script>
|
---|
256 |
|
---|
257 | <!-- Isotope -->
|
---|
258 | <script src="{{ url('vendors/jquery.isotope.min.js') }}"></script>
|
---|
259 |
|
---|
260 | <script src="{{ url('assets/js/examples/pages/gallery.js') }}"></script>
|
---|
261 | @yield('script')
|
---|
262 |
|
---|
263 |
|
---|
264 | @include("layouts.alert")
|
---|
265 |
|
---|
266 | </body>
|
---|
267 | </html>
|
---|