source: resources/views/dashboard/documents/fragments/menu.blade.php@ 24a616f

develop
Last change on this file since 24a616f was 24a616f, checked in by Berat Kjufliju <kufliju@…>, 3 years ago

added documents crud, added last_seen_to_user, edited views

  • Property mode set to 100644
File size: 3.1 KB
Line 
1<div class="col-md-3 app-sidebar">
2 <div class="card">
3 <div class="card-body">
4 <a href="{{ route("dashboard.documents.create") }}" class="btn btn-secondary btn-block file-upload-btn text-white" data-action="{{ route("dashboard.documents.create") }}">
5 Add document
6 </a>
7 <form class="d-none" id="file-upload">
8 <input type="file" multiple>
9 </form>
10 </div>
11 <div class="app-sidebar-menu">
12 <div class="list-group list-group-flush">
13 <a href="{{route("dashboard.documents.index")}}" class="list-group-item d-flex align-items-center">
14 <i data-feather="folder" class="width-15 height-15 mr-2"></i>
15 Documents
16 <span class="small ml-auto">{{$totalDocs}}</span>
17 </a>
18 @foreach($departments as $department)
19 <a href="{{ route("dashboard.documents.getDocumentsInDepartment", ["id" => $department->id]) }}" class="list-group-item d-flex align-items-center">
20 <i data-feather="folder" class="width-15 height-15 mr-2"></i>
21 {{$department->name}}
22 <span class="small ml-auto">{{$department->document->count()}}</span>
23 </a>
24 @endforeach
25 <a href="" class="list-group-item">
26 <i data-feather="upload-cloud" class="width-15 height-15 mr-2"></i>
27 Recents
28 </a>
29 <a href="" class="list-group-item d-flex align-items-center">
30 <i data-feather="star" class="width-15 height-15 mr-2"></i>
31 Important
32 <span class="small ml-auto">10</span>
33 </a>
34 <a href="" class="list-group-item">
35 <i data-feather="trash" class="width-15 height-15 mr-2"></i>
36 Deleted Files
37 </a>
38 </div>
39 <div class="card-body">
40 <h6 class="mb-4">Storage Status</h6>
41 <div class="d-flex align-items-center">
42 <div class="mr-3">
43 <i data-feather="database" class="width-30 height-30"></i>
44 </div>
45 <div class="flex-grow-1">
46 <div class="progress" style="height: 10px">
47 <div class="progress-bar progress-bar-striped" role="progressbar"
48 style="width: 40%" aria-valuenow="10" aria-valuemin="0"
49 aria-valuemax="100"></div>
50 </div>
51 <div class="line-height-12 small text-muted mt-2">19.5GB used of 25GB</div>
52 </div>
53 </div>
54 </div>
55 </div>
56 </div>
57 </div>
Note: See TracBrowser for help on using the repository browser.