Changeset 90ab388
- Timestamp:
- 11/05/21 10:52:01 (3 years ago)
- Branches:
- master
- Children:
- 1f7c934
- Parents:
- e3af09e
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
database/factories/FolderFactory.php
re3af09e r90ab388 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
re3af09e r90ab388 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 "></i>60 <i class="fa fa-file-excel-o text-success fa-2x"></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 "></i>64 <i class="fa fa-file-word-o text-info fa-2x"></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 "></i>68 <i class="fa fa-file-pdf-o text-danger fa-2x"></i> 69 69 </div> 70 70 @else @if(in_array(explode('.', $file->name)[1], $imageExt)) … … 76 76 {{-- </a>--}} 77 77 {{-- </div>--}} 78 <i class="fa fa-file-image-o text-danger"></i> 78 <div class="col-xl-1 col-lg-1 col-md-1 col-sm-2"> 79 <i class="fa fa-file-image-o text-danger fa-2x"></i> 80 </div> 79 81 @else 80 <i class="fa fa-file-text-o text-warning"></i> 82 <div class="col-xl-1 col-lg-1 col-md-1 col-sm-2"> 83 <i class="fa fa-file-text-o text-warning fa-2x"></i> 84 </div> 81 85 @endif 82 86 @endif -
resources/views/dashboard/index.blade.php
re3af09e r90ab388 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 "></i>135 <i class="fa fa-file-excel-o text-success fa-2x"></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 "></i>139 <i class="fa fa-file-word-o text-info fa-2x"></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 "></i>143 <i class="fa fa-file-pdf-o text-danger fa-2x"></i> 144 144 </div> 145 145 @else @if(in_array(explode('.', $file->name)[1], $imageExt)) … … 151 151 {{-- </a>--}} 152 152 {{-- </div>--}} 153 <i class="fa fa-file-image-o text-danger"></i> 153 <div class="col-xl-1 col-lg-1 col-md-1 col-sm-2"> 154 <i class="fa fa-file-image-o text-danger fa-2x"></i> 155 </div> 154 156 @else 155 <i class="fa fa-file-text-o text-warning"></i> 157 <div class="col-xl-1 col-lg-1 col-md-1 col-sm-2"> 158 <i class="fa fa-file-text-o text-warning fa-2x"></i> 159 </div> 156 160 @endif 157 161 @endif
Note:
See TracChangeset
for help on using the changeset viewer.