source: resources/views/layouts/app.blade.php@ a8346eb

develop
Last change on this file since a8346eb was b39afb5, checked in by beratkjufliju <kufliju@…>, 3 years ago

minor bug fixes

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