Changeset e3af09e
- Timestamp:
- 11/05/21 10:49:11 (3 years ago)
- Branches:
- master
- Children:
- 90ab388
- Parents:
- 28bab7b
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
database/factories/FolderFactory.php
r28bab7b re3af09e 27 27 public function definition() 28 28 { 29 $inputArray = [5, 15, 25, 35, 45, 55, 65, 75, 85, 95];30 $deptId = Arr::random($inputArray);29 //$inputArray = [5, 15, 25, 35, 45, 55, 65, 75, 85, 95]; 30 //$deptId = Arr::random($inputArray); 31 31 32 //$deptId = $this->faker->numberBetween(1, 10);32 $deptId = $this->faker->numberBetween(1, 10); 33 33 34 34 $deptCode = Department::find($deptId)->code; -
resources/views/dashboard/files/index.blade.php
r28bab7b re3af09e 58 58 @if(in_array(explode('.', $file->name)[1], $excelExt)) 59 59 <div class="col-xl-1 col-lg-1 col-md-1 col-sm-2"> 60 <i class="fa fa-file-excel-o text-success fa-2x"></i>60 <i class="fa fa-file-excel-o text-success"></i> 61 61 </div> 62 62 @else @if(in_array(explode('.', $file->name)[1], $textExt)) 63 63 <div class="col-xl-1 col-lg-1 col-md-1 col-sm-2"> 64 <i class="fa fa-file-word-o text-info fa-2x"></i>64 <i class="fa fa-file-word-o text-info"></i> 65 65 </div> 66 66 @else @if(explode('.', $file->name)[1] == 'pdf') 67 67 <div class="col-xl-1 col-lg-1 col-md-1 col-sm-2"> 68 <i class="fa fa-file-pdf-o text-danger fa-2x"></i>68 <i class="fa fa-file-pdf-o text-danger"></i> 69 69 </div> 70 70 @else @if(in_array(explode('.', $file->name)[1], $imageExt)) -
resources/views/dashboard/folders/index.blade.php
r28bab7b re3af09e 17 17 <div class="app-sidebar-menu"> 18 18 <div class="list-group list-group-flush"> 19 <a href="{{route("dashboard.folders.index")}}" class="list-group-item d-flex align-items-center"> 19 @if(Route::is("dashboard.folders.index") && Request::query('id')==null) 20 <a href="{{route("dashboard.folders.index")}}" class="list-group-item d-flex align-items-center" style="font-weight: bold;"> 20 21 <i data-feather="folder" class="width-15 height-15 mr-2"></i> 21 22 Folders 22 23 </a> 24 @else 25 <a href="{{route("dashboard.folders.index")}}" class="list-group-item d-flex align-items-center"> 26 <i data-feather="folder" class="width-15 height-15 mr-2"></i> 27 Folders 28 </a> 29 @endif 23 30 @foreach($departments as $department) 24 31 @if(Request::query('id') == $department->id) -
resources/views/dashboard/index.blade.php
r28bab7b re3af09e 133 133 @if(in_array(explode('.', $file->name)[1], $excelExt)) 134 134 <div class="col-xl-1 col-lg-1 col-md-1 col-sm-2"> 135 <i class="fa fa-file-excel-o text-success fa-2x"></i>135 <i class="fa fa-file-excel-o text-success"></i> 136 136 </div> 137 137 @else @if(in_array(explode('.', $file->name)[1], $textExt)) 138 138 <div class="col-xl-1 col-lg-1 col-md-1 col-sm-2"> 139 <i class="fa fa-file-word-o text-info fa-2x"></i>139 <i class="fa fa-file-word-o text-info"></i> 140 140 </div> 141 141 @else @if(explode('.', $file->name)[1] == 'pdf') 142 142 <div class="col-xl-1 col-lg-1 col-md-1 col-sm-2"> 143 <i class="fa fa-file-pdf-o text-danger fa-2x"></i>143 <i class="fa fa-file-pdf-o text-danger"></i> 144 144 </div> 145 145 @else @if(in_array(explode('.', $file->name)[1], $imageExt))
Note:
See TracChangeset
for help on using the changeset viewer.