Changeset 24a616f for resources/views/layouts
- Timestamp:
- 10/13/21 15:44:57 (3 years ago)
- Branches:
- develop, master
- Children:
- 120759b
- Parents:
- 194a359
- Location:
- resources/views/layouts
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
resources/views/layouts/alert.blade.php
r194a359 r24a616f 16 16 new Toast({ 17 17 message: "{{session()->get("alert.message")}}", 18 type: {{session()->get("alert.type")}}18 type: '{{session()->get("alert.type")}}' 19 19 }); 20 21 20 22 </script> 21 23 @endif -
resources/views/layouts/app.blade.php
r194a359 r24a616f 7 7 <title>@yield('title')</title> 8 8 9 <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.0/jquery.min.js" integrity="sha512-894YE6QWD5I59HgZOGReFYm4dnWc1Qt5NtvYSaNcOP+u1T9qYdvdihz0PPSiiqn/+/3e7Jo4EaG7TubfWGUrMQ==" crossorigin="anonymous" referrerpolicy="no-referrer"></script> 9 {{-- <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.0/jquery.min.js" integrity="sha512-894YE6QWD5I59HgZOGReFYm4dnWc1Qt5NtvYSaNcOP+u1T9qYdvdihz0PPSiiqn/+/3e7Jo4EaG7TubfWGUrMQ==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>--}} 10 10 11 <!-- Favicon --> 11 12 <link rel="shortcut icon" href="{{ url('assets/media/images/favicon.png') }}"/> … … 14 15 <link rel="stylesheet" href="{{ url('vendors/bundle.css') }}" type="text/css"> 15 16 16 <!-- App styles --> 17 @yield('head') 18 19 <!-- App styles --> 17 20 <link rel="stylesheet" href="{{ url('assets/css/app.min.css') }}" type="text/css"> 18 21 </head> … … 80 83 <!-- END: User Menu --> 81 84 82 <!-- BEGIN: Settings -->83 <div class="sidebar" id="settings">84 <div class="card">85 <div class="card-body">86 <h6 class="card-title">Settings</h6>87 <ul class="list-group list-group-flush">88 <li class="list-group-item pl-0 pr-0">89 <div class="custom-control custom-switch">90 <input type="checkbox" class="custom-control-input" id="customSwitch1" checked>91 <label class="custom-control-label" for="customSwitch1">Allow notifications.</label>92 </div>93 </li>94 <li class="list-group-item pl-0 pr-0">95 <div class="custom-control custom-switch">96 <input type="checkbox" class="custom-control-input" id="customSwitch2">97 <label class="custom-control-label" for="customSwitch2">Hide user requests</label>98 </div>99 </li>100 <li class="list-group-item pl-0 pr-0">101 <div class="custom-control custom-switch">102 <input type="checkbox" class="custom-control-input" id="customSwitch3" checked>103 <label class="custom-control-label" for="customSwitch3">Speed up demands</label>104 </div>105 </li>106 <li class="list-group-item pl-0 pr-0">107 <div class="custom-control custom-switch">108 <input type="checkbox" class="custom-control-input" id="customSwitch4" checked>109 <label class="custom-control-label" for="customSwitch4">Hide menus</label>110 </div>111 </li>112 <li class="list-group-item pl-0 pr-0">113 <div class="custom-control custom-switch">114 <input type="checkbox" class="custom-control-input" id="customSwitch5">115 <label class="custom-control-label" for="customSwitch5">Remember next visits</label>116 </div>117 </li>118 <li class="list-group-item pl-0 pr-0">119 <div class="custom-control custom-switch">120 <input type="checkbox" class="custom-control-input" id="customSwitch6">121 <label class="custom-control-label" for="customSwitch6">Enable report122 generation.</label>123 </div>124 </li>125 </ul>126 </div>127 </div>128 </div>129 <!-- END: Settings -->130 131 85 </div> 132 86 <!-- END: Sidebar Group --> … … 169 123 <!-- end::header fullscreen --> 170 124 171 <!-- begin::header search -->172 <li class="nav-item">173 <a href="#" class="nav-link" title="Search" data-toggle="dropdown">174 <i data-feather="search"></i>175 </a>176 <div class="dropdown-menu p-2 dropdown-menu-right">177 <form>178 <div class="input-group">179 <input type="text" class="form-control" placeholder="Search">180 <div class="input-group-prepend">181 <button class="btn" type="button">182 <i data-feather="search"></i>183 </button>184 </div>185 </div>186 </form>187 </div>188 </li>189 <!-- end::header search -->190 191 <!-- begin::header notification dropdown -->192 <li class="nav-item dropdown">193 <a href="#" class="nav-link nav-link-notify" title="Notifications" data-toggle="dropdown">194 <i data-feather="bell"></i>195 </a>196 <div class="dropdown-menu dropdown-menu-right dropdown-menu-big">197 <div class="bg-dark p-4 text-center d-flex justify-content-between align-items-center">198 <h5 class="mb-0">Notifications</h5>199 <small class="opacity-7">1 unread notifications</small>200 </div>201 <div>202 <ul class="list-group list-group-flush">203 <li>204 <a href="#" class="list-group-item d-flex align-items-center hide-show-toggler">205 <div>206 <figure class="avatar mr-2">207 <span208 class="avatar-title bg-success-bright text-success rounded-circle">209 <i class="ti-user"></i>210 </span>211 </figure>212 </div>213 <div class="flex-grow-1">214 <p class="mb-0 line-height-20 d-flex justify-content-between">215 New customer registered216 <i title="Mark as read" data-toggle="tooltip"217 class="hide-show-toggler-item fa fa-circle-o font-size-11"></i>218 </p>219 <span class="text-muted small">20 min ago</span>220 </div>221 </a>222 </li>223 <li class="text-divider small pb-2 pl-3 pt-3">224 <span>Old notifications</span>225 </li>226 <li>227 <a href="#" class="list-group-item d-flex align-items-center hide-show-toggler">228 <div>229 <figure class="avatar mr-2">230 <span231 class="avatar-title bg-warning-bright text-warning rounded-circle">232 <i class="ti-package"></i>233 </span>234 </figure>235 </div>236 <div class="flex-grow-1">237 <p class="mb-0 line-height-20 d-flex justify-content-between">238 New Order Recieved239 <i title="Mark as unread" data-toggle="tooltip"240 class="hide-show-toggler-item fa fa-check font-size-11"></i>241 </p>242 <span class="text-muted small">45 sec ago</span>243 </div>244 </a>245 </li>246 <li>247 <a href="#"248 class="list-group-item d-flex align-items-center hide-show-toggler">249 <div>250 <figure class="avatar mr-2">251 <span class="avatar-title bg-danger-bright text-danger rounded-circle">252 <i class="ti-server"></i>253 </span>254 </figure>255 </div>256 <div class="flex-grow-1">257 <p class="mb-0 line-height-20 d-flex justify-content-between">258 Server Limit Reached!259 <i title="Mark as unread" data-toggle="tooltip"260 class="hide-show-toggler-item fa fa-check font-size-11"></i>261 </p>262 <span class="text-muted small">55 sec ago</span>263 </div>264 </a>265 </li>266 <li>267 <a href="#"268 class="list-group-item d-flex align-items-center hide-show-toggler">269 <div>270 <figure class="avatar mr-2">271 <span class="avatar-title bg-info-bright text-info rounded-circle">272 <i class="ti-layers"></i>273 </span>274 </figure>275 </div>276 <div class="flex-grow-1">277 <p class="mb-0 line-height-20 d-flex align-items-center justify-content-between">278 Apps are ready for update279 <i title="Mark as unread" data-toggle="tooltip"280 class="hide-show-toggler-item fa fa-check font-size-11"></i>281 </p>282 <span class="text-muted small">Yesterday</span>283 </div>284 </a>285 </li>286 </ul>287 </div>288 <div class="p-2 text-right border-top">289 <ul class="list-inline small">290 <li class="list-inline-item mb-0">291 <a href="#">Mark All Read</a>292 </li>293 </ul>294 </div>295 </div>296 </li>297 <!-- end::header notification dropdown -->298 299 125 <!-- begin::user menu --> 300 126 <li class="nav-item dropdown"> 301 127 <a href="#" class="nav-link" title="User menu" data-sidebar-target="#user-menu"> 302 128 <span class="mr-2 d-sm-inline d-none">{{auth()->user()->getFullName()}}</span> 303 </a> 304 </li> 129 @include('dashboard.partials.avatar') 130 </a> 131 </li> 305 132 <!-- end::user menu --> 306 133 … … 334 161 </a> 335 162 </li> 336 @if(auth()->user()->hasPermission("access_all_users")) 337 <li> 338 <a href="{{ route("dashboard.users.index") }}" class="nav-link {{ request()->is(['dashboard/users', 'dashboard/users/*']) ? 'active' : '' }}" data-toggle="tooltip" 339 data-placement="right" title="Users"> 340 <i data-feather="users"></i> 341 </a> 342 </li> 163 @if(auth()->user()->hasPermission("manage_all_users")) 164 <li> 165 <a href="{{ route("dashboard.users.index") }}" class="nav-link {{ request()->is(['dashboard/users', 'dashboard/users/*']) ? 'active' : '' }}" data-toggle="tooltip" 166 data-placement="right" title="Users"> 167 <i data-feather="users"></i> 168 </a> 169 </li> 170 @endif 171 @if(auth()->user()->hasPermission("manage_all_departments")) 172 <li> 173 <a href="{{route("dashboard.departments.index")}}" data-toggle="tooltip" 174 data-placement="right" title="Departments"> 175 <i data-feather="layers"></i> 176 </a> 177 </li> 178 @endif 179 @if(auth()->user()->hasPermission("manage_all_documents")) 180 <li> 181 <a href="{{route("dashboard.documents.index")}}" data-toggle="tooltip" 182 data-placement="right" title="Documents"> 183 <i data-feather="file-text"></i> 184 </a> 185 </li> 343 186 @endif 344 187 <li> 345 <a href="#" data-toggle="tooltip" 346 data-placement="right" title="Files" 347 data-nav-target="#components"> 348 <i data-feather="layers"></i> 349 </a> 350 </li> 351 @if(auth()->user()->hasPermission("access_all_departments")) 352 <li> 353 <a href="{{route("dashboard.departments.index")}}" data-toggle="tooltip" 354 data-placement="right" title="Departments"> 355 <i data-feather="layers"></i> 356 </a> 357 </li> 358 @endif 188 <a href="#" data-toggle="tooltip" data-placement="right" title="Ecommerce" 189 data-nav-target="#ecommerce"> 190 <i data-feather="shopping-cart"></i> 191 </a> 192 </li> 359 193 </ul> 360 194 </div> … … 374 208 <div>© {{ date('Y') }}<a href="{{route("dashboard.index")}}" target="_blank"> SaveSpace</a></div> 375 209 <div> 376 377 210 </div> 378 211 </footer> 379 212 <!-- end::footer --> 380 381 213 </div> 382 214 … … 391 223 <!-- App scripts --> 392 224 <script src="{{ url('assets/js/app.js') }}"></script> 393 <script src="{{url('assets/js/Toast.js')}}"></script> 225 <!-- 3. Instantiate clipboard by passing a string selector --> 226 <script src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.8/clipboard.min.js"></script> 227 <script> 228 var clipboard = new ClipboardJS('.btn'); 229 </script> 230 @yield('script') 231 394 232 @include("layouts.alert") 233 234 395 235 </body> 396 236 </html>
Note:
See TracChangeset
for help on using the changeset viewer.