[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 |
|
---|
[c6b84df] | 127 | <!-- begin::header notification dropdown -->
|
---|
| 128 | <li class="nav-item dropdown">
|
---|
[4b7e2d3] | 129 | {{-- <div class="dropdown dropdown-notifications-wrapper dropdown-menu-right dropdown-menu-big">--}}
|
---|
| 130 | {{-- <a href="javascript:void(0)" class="nav-link dropdown-notifications-unread icon" data-toggle="dropdown">--}}
|
---|
| 131 | {{-- <i data-feather="bell"></i>--}}
|
---|
| 132 | {{-- <span class="nav-unread"></span>--}}
|
---|
| 133 | {{-- </a>--}}
|
---|
| 134 | {{-- <div class="dropdown-menu dropdown-notifications dropdown-menu-right dropdown-menu-big">--}}
|
---|
| 135 | {{-- <div class="bg-dark p-4 text-center d-flex justify-content-between align-items-center">--}}
|
---|
| 136 | {{-- <h5 class="mb-0">Notifications</h5>--}}
|
---|
| 137 | {{-- </div>--}}
|
---|
| 138 | {{-- <div class="p-4 text-center align-items-center">--}}
|
---|
| 139 | {{-- <p class='text-center unreadNotificationsInfo'>No unread notifications</p>--}}
|
---|
| 140 | {{-- </div>--}}
|
---|
| 141 | {{-- <div class="dropdown-divider"></div>--}}
|
---|
| 142 | {{-- <a href="{{ route("dashboard.notifications.index") }}" class="dropdown-item text-center text-muted-dark">See all</a>--}}
|
---|
| 143 | {{-- </div>--}}
|
---|
| 144 | {{-- </div>--}}
|
---|
| 145 |
|
---|
| 146 | <div class="dropdown dropdown-notifications-wrapper d-none d-md-flex">
|
---|
| 147 | <a class="nav-link dropdown-notifications-unread icon" data-toggle="dropdown">
|
---|
| 148 | <i class="fe fe-bell"></i>
|
---|
| 149 | <span class="nav-unread"></span>
|
---|
| 150 | </a>
|
---|
| 151 | <div class="dropdown-menu dropdown-notifications dropdown-menu-right dropdown-menu-arrow">
|
---|
| 152 | <p class='text-center unreadNotificationsInfo'>No unread notifications</p>
|
---|
| 153 | <div class="dropdown-divider"></div>
|
---|
| 154 | <a href="{{ route("dashboard.notifications.index") }}" class="dropdown-item text-center text-muted-dark">See all</a>
|
---|
[c6b84df] | 155 | </div>
|
---|
| 156 | </div>
|
---|
| 157 | </li>
|
---|
| 158 |
|
---|
| 159 | {{-- </li>--}}
|
---|
| 160 | <!-- end::header notification dropdown -->
|
---|
| 161 |
|
---|
[194a359] | 162 | <!-- begin::user menu -->
|
---|
| 163 | <li class="nav-item dropdown">
|
---|
| 164 | <a href="#" class="nav-link" title="User menu" data-sidebar-target="#user-menu">
|
---|
| 165 | <span class="mr-2 d-sm-inline d-none">{{auth()->user()->getFullName()}}</span>
|
---|
[24a616f] | 166 | @include('dashboard.partials.avatar')
|
---|
[194a359] | 167 | </a>
|
---|
[24a616f] | 168 | </li>
|
---|
[194a359] | 169 | <!-- end::user menu -->
|
---|
| 170 |
|
---|
| 171 | </ul>
|
---|
| 172 |
|
---|
| 173 | <!-- begin::mobile header toggler -->
|
---|
| 174 | <ul class="navbar-nav d-flex align-items-center">
|
---|
| 175 | <li class="nav-item header-toggler">
|
---|
| 176 | <a href="#" class="nav-link">
|
---|
| 177 | <i data-feather="arrow-down"></i>
|
---|
| 178 | </a>
|
---|
| 179 | </li>
|
---|
| 180 | </ul>
|
---|
| 181 | <!-- end::mobile header toggler -->
|
---|
| 182 | </div>
|
---|
| 183 | </div>
|
---|
| 184 |
|
---|
| 185 | </div>
|
---|
| 186 | <!-- end::header -->
|
---|
| 187 |
|
---|
| 188 | <div class="content-wrapper">
|
---|
| 189 |
|
---|
| 190 | <!-- begin::navigation -->
|
---|
| 191 | <div class="navigation">
|
---|
| 192 | <div class="navigation-menu-tab">
|
---|
| 193 | <ul>
|
---|
| 194 | <li>
|
---|
| 195 | <a href="{{ route("dashboard.index") }}" class="nav-link {{ request()->is('dashboard') ? 'active' : '' }}" data-toggle="tooltip"
|
---|
[c6b84df] | 196 | data-placement="right" title="Dashboard">
|
---|
| 197 | <i data-feather="home"></i>
|
---|
[194a359] | 198 | </a>
|
---|
| 199 | </li>
|
---|
[24a616f] | 200 | @if(auth()->user()->hasPermission("manage_all_users"))
|
---|
| 201 | <li>
|
---|
| 202 | <a href="{{ route("dashboard.users.index") }}" class="nav-link {{ request()->is(['dashboard/users', 'dashboard/users/*']) ? 'active' : '' }}" data-toggle="tooltip"
|
---|
| 203 | data-placement="right" title="Users">
|
---|
| 204 | <i data-feather="users"></i>
|
---|
| 205 | </a>
|
---|
| 206 | </li>
|
---|
| 207 | @endif
|
---|
| 208 | @if(auth()->user()->hasPermission("manage_all_departments"))
|
---|
| 209 | <li>
|
---|
| 210 | <a href="{{route("dashboard.departments.index")}}" data-toggle="tooltip"
|
---|
| 211 | data-placement="right" title="Departments">
|
---|
[c6b84df] | 212 | <i data-feather="grid"></i>
|
---|
[24a616f] | 213 | </a>
|
---|
| 214 | </li>
|
---|
| 215 | @endif
|
---|
[c6b84df] | 216 | @if(auth()->user()->hasPermission("manage_all_folders"))
|
---|
[24a616f] | 217 | <li>
|
---|
[c6b84df] | 218 | <a href="{{route("dashboard.folders.index")}}" data-toggle="tooltip"
|
---|
| 219 | data-placement="right" title="Folders">
|
---|
| 220 | <i data-feather="folder"></i>
|
---|
| 221 | </a>
|
---|
| 222 | </li>
|
---|
| 223 | @endif
|
---|
| 224 | @if(auth()->user()->hasPermission("manage_all_files"))
|
---|
| 225 | <li>
|
---|
| 226 | <a href="{{route("dashboard.files.index")}}" data-toggle="tooltip"
|
---|
| 227 | data-placement="right" title="Files">
|
---|
[24a616f] | 228 | <i data-feather="file-text"></i>
|
---|
| 229 | </a>
|
---|
| 230 | </li>
|
---|
[194a359] | 231 | @endif
|
---|
| 232 | </ul>
|
---|
| 233 | </div>
|
---|
| 234 | </div>
|
---|
| 235 | <!-- end::navigation -->
|
---|
| 236 |
|
---|
| 237 | <div class="content-body">
|
---|
| 238 |
|
---|
| 239 | <div class="content">
|
---|
| 240 |
|
---|
| 241 | @yield('content')
|
---|
| 242 |
|
---|
| 243 | </div>
|
---|
| 244 |
|
---|
| 245 | <!-- begin::footer -->
|
---|
| 246 | <footer class="content-footer">
|
---|
| 247 | <div>© {{ date('Y') }}<a href="{{route("dashboard.index")}}" target="_blank"> SaveSpace</a></div>
|
---|
| 248 | <div>
|
---|
| 249 | </div>
|
---|
| 250 | </footer>
|
---|
| 251 | <!-- end::footer -->
|
---|
| 252 | </div>
|
---|
| 253 |
|
---|
| 254 | </div>
|
---|
| 255 |
|
---|
| 256 | </div>
|
---|
| 257 | <!-- end::main -->
|
---|
| 258 |
|
---|
| 259 | <!-- Plugin scripts -->
|
---|
| 260 | <script src="{{ url('vendors/bundle.js') }}"></script>
|
---|
| 261 |
|
---|
| 262 | <!-- App scripts -->
|
---|
| 263 | <script src="{{ url('assets/js/app.js') }}"></script>
|
---|
[24a616f] | 264 | <!-- 3. Instantiate clipboard by passing a string selector -->
|
---|
| 265 | <script src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.8/clipboard.min.js"></script>
|
---|
| 266 | <script>
|
---|
| 267 | var clipboard = new ClipboardJS('.btn');
|
---|
| 268 | </script>
|
---|
[c6b84df] | 269 | <script src="{{ url('vendors/lightbox/jquery.magnific-popup.min.js') }}"></script>
|
---|
| 270 |
|
---|
| 271 | <!-- Isotope -->
|
---|
| 272 | <script src="{{ url('vendors/jquery.isotope.min.js') }}"></script>
|
---|
| 273 |
|
---|
| 274 | <script src="{{ url('assets/js/examples/pages/gallery.js') }}"></script>
|
---|
[24a616f] | 275 | @yield('script')
|
---|
| 276 |
|
---|
[c6b84df] | 277 |
|
---|
[194a359] | 278 | @include("layouts.alert")
|
---|
[24a616f] | 279 |
|
---|
[194a359] | 280 | </body>
|
---|
| 281 | </html>
|
---|