Changeset 4b7e2d3 for resources/views/dashboard/folders/index.blade.php
- Timestamp:
- 10/23/21 04:03:46 (3 years ago)
- Branches:
- develop, master
- Children:
- b39afb5
- Parents:
- c6b84df
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
resources/views/dashboard/folders/index.blade.php
rc6b84df r4b7e2d3 2 2 3 3 @section("title", "SaveSpace - Folders") 4 5 @section('pageTitle', 'SaveSpace - Folders')6 4 7 5 @section('content') … … 93 91 <a class="dropdown-item" href="{{ URL::current()."?id=".Request::get('id')."&sort=newest" }}">Date</a> 94 92 <a class="dropdown-item" href="{{ URL::current()."?id=".Request::get('id')."&sort=name" }}">Name</a> 93 <a class="dropdown-item" href="{{ URL::current()."?id=".Request::get('id')."&sort=no_of_files" }}">Number of files</a> 95 94 @else 96 95 <a class="dropdown-item" href="{{ URL::current()."?sort=newest" }}">Date</a> 97 96 <a class="dropdown-item" href="{{ URL::current()."?sort=name" }}">Name</a> 97 <a class="dropdown-item" href="{{ URL::current()."?sort=no_of_files" }}">Number of files</a> 98 98 @endif 99 99 </div> … … 240 240 </div> 241 241 242 <div class="modal fade" id="deleteModal_{{$folder->id}}" tabindex="-1" role="dialog" aria-hidden="true"> 243 <div class="modal-dialog modal-dialog-centered" role="document"> 244 <div class="modal-content"> 245 <div class="modal-header"> 246 <h5 class="modal-title" id="exampleModalCenterTitle">Delete confirmation</h5> 247 <button type="button" class="close" data-dismiss="modal" aria-label="Close"> 248 <i class="ti-close"></i> 249 </button> 250 </div> 251 <div class="modal-body"> 252 <form action="{{ route("dashboard.folders.destroy", $folder->id) }}" method="POST"> 253 @csrf 254 @method('DELETE') 255 <p>Are you sure you want to delete folder {{$folder->name}} with Archive ID: {{ $folder->arch_id }}?</p> 256 <div class="modal-footer"> 257 <button type="button" class="btn btn-secondary" data-dismiss="modal">Close 258 </button> 259 <button type="submit" class="btn btn-primary">Save changes</button> 260 </div> 261 </form> 262 </div> 263 </div> 264 </div> 265 </div> 266 @empty 267 <div class="col-xl-3 col-lg-4 col-md-6 col-sm-12">No items found</div> 268 @endforelse 269 242 270 <div class="modal fade" id="createModal" tabindex="-1" role="dialog" aria-hidden="true"> 243 271 <div class="modal-dialog modal-dialog-centered modal-lg" role="document"> … … 316 344 </div> 317 345 318 <div class="modal fade" id="deleteModal_{{$folder->id}}" tabindex="-1" role="dialog" aria-hidden="true">319 <div class="modal-dialog modal-dialog-centered" role="document">320 <div class="modal-content">321 <div class="modal-header">322 <h5 class="modal-title" id="exampleModalCenterTitle">Delete confirmation</h5>323 <button type="button" class="close" data-dismiss="modal" aria-label="Close">324 <i class="ti-close"></i>325 </button>326 </div>327 <div class="modal-body">328 <form action="{{ route("dashboard.folders.destroy", $folder->id) }}" method="POST">329 @csrf330 @method('DELETE')331 <p>Are you sure you want to delete folder {{$folder->name}} with Archive ID: {{ $folder->arch_id }}?</p>332 <div class="modal-footer">333 <button type="button" class="btn btn-secondary" data-dismiss="modal">Close334 </button>335 <button type="submit" class="btn btn-primary">Save changes</button>336 </div>337 </form>338 </div>339 </div>340 </div>341 </div>342 @empty343 <div class="col-xl-3 col-lg-4 col-md-6 col-sm-12">No items found</div>344 @endforelse345 346 346 </div> 347 347 @if(!Request::query('search'))
Note:
See TracChangeset
for help on using the changeset viewer.