Changeset 120759b for resources/views/dashboard
- Timestamp:
- 10/15/21 00:21:44 (3 years ago)
- Branches:
- develop, master
- Children:
- d795fa6
- Parents:
- 24a616f
- Location:
- resources/views/dashboard
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
resources/views/dashboard/departments/index.blade.php
r24a616f r120759b 37 37 <tr> 38 38 <th> 39 <div class="custom-control custom-checkbox">40 <input type="checkbox" class="custom-control-input" id="user-list-select-all">41 <label class="custom-control-label" for="user-list-select-all"></label>42 </div>39 {{-- <div class="custom-control custom-checkbox">--}} 40 {{-- <input type="checkbox" class="custom-control-input" id="user-list-select-all">--}} 41 {{-- <label class="custom-control-label" for="user-list-select-all"></label>--}} 42 {{-- </div>--}} 43 43 </th> 44 44 <th>ID</th> … … 77 77 <i class="ti-pencil"></i> 78 78 </a> 79 <a href="javascript:void(0)" class="text-danger ml-2" data-action="{{ route("dashboard. departments.destroy", ["id" => $department->id]) }}" data-method="delete" title="Delete">79 <a href="javascript:void(0)" class="text-danger ml-2" data-action="{{ route("dashboard.categories.destroy", ["id" => $category->id]) }}" data-target="#deleteModal" data-toggle="modal" title="Delete"> 80 80 <i class="ti-trash"></i> 81 81 </a> … … 85 85 </tbody> 86 86 </table> 87 88 <div class="modal fade" id="deleteModal" tabindex="-1" role="dialog" aria-hidden="true"> 89 <div class="modal-dialog modal-dialog-centered" role="document"> 90 <div class="modal-content"> 91 <div class="modal-header"> 92 <h5 class="modal-title" id="exampleModalCenterTitle">Delete confirmation</h5> 93 <button type="button" class="close" data-dismiss="modal" aria-label="Close"> 94 <i class="ti-close"></i> 95 </button> 96 </div> 97 <div class="modal-body"> 98 <form action="{{ route('dashboard.departments.destroy', 'id') }}" method="post"> 99 @csrf 100 @method('DELETE') 101 <input id="id" name="id" hidden value=""> 102 <p>Are you sure you want to delete department <b>{{$department->name}}</b> with code <b>{{$department->code}}?</b></p> 103 <div class="modal-footer"> 104 <button type="button" class="btn btn-secondary" data-dismiss="modal">Close 105 </button> 106 <button type="submit" class="btn btn-danger">Save changes</button> 107 </div> 108 </form> 109 </div> 110 111 </div> 112 </div> 113 </div> 114 87 115 </div> 88 116 </div> … … 94 122 95 123 @section('script') 124 <script src="{{ url('assets/js/examples/pages/user-list.js') }}"></script> 96 125 <!-- Datatable --> 97 126 <script src="{{ url('vendors/dataTable/dataTables.min.js') }}"></script> 98 127 99 <script src="{{ url('assets/js/examples/pages/user-list.js') }}"></script> 128 <script> 129 $(document).on('click','.delete',function(){ 130 let id = $(this).attr('data-action'); 131 $('#id').val(id); 132 }); 133 </script> 100 134 @endsection -
resources/views/dashboard/documents/index.blade.php
r24a616f r120759b 49 49 @section('script') 50 50 51 <script> 52 $(function () { 53 $(document).on('click', '.file-upload-btn', function () { 54 $('form#file-upload input[type="file"]').trigger('click'); 55 }); 51 {{-- <script>--}} 52 {{-- $(function () {--}} 53 {{-- $(document).on('click', '.file-upload-btn', function () {--}} 54 {{-- $('form#file-upload input[type="file"]').trigger('click');--}} 55 {{-- });--}} 56 56 57 $(document).on('click', '.app-sidebar-menu-button', function () { 58 $('.app-block .app-sidebar, .app-content-overlay').addClass('show'); 59 // $('.app-block .app-sidebar .app-sidebar-menu').niceScroll().resize(); 60 return false; 61 }); 57 {{-- $(document).on('click', '.app-sidebar-menu-button', function () {--}} 58 {{-- $('.app-block .app-sidebar, .app-content-overlay').addClass('show');--}} 59 {{-- // $('.app-block .app-sidebar .app-sidebar-menu').niceScroll().resize();--}} 60 {{-- return false;--}} 61 {{-- });--}} 62 62 63 $(document).on('click', '.app-content-overlay', function () { 64 $('.app-block .app-sidebar, .app-content-overlay').removeClass('show'); 65 return false; 66 }); 67 }); 68 </script> 63 {{-- $(document).on('click', '.app-content-overlay', function () {--}} 64 {{-- $('.app-block .app-sidebar, .app-content-overlay').removeClass('show');--}} 65 {{-- return false;--}} 66 {{-- });--}} 67 {{-- });--}} 68 {{-- </script>--}} 69 69 70 70 @endsection -
resources/views/dashboard/users/index.blade.php
r24a616f r120759b 38 38 <tr> 39 39 <th> 40 <div class="custom-control custom-checkbox"> 41 <input type="checkbox" class="custom-control-input" id="user-list-select-all"> 42 <label class="custom-control-label" for="user-list-select-all"></label> 43 </div> 40 {{-- <div class="custom-control custom-checkbox">--}} 41 {{-- <input type="checkbox" class="custom-control-input" id="user-list-select-all">--}} 42 {{-- <label class="custom-control-label" for="user-list-select-all"></label>--}} 43 {{-- </div>--}} 44 44 </th> 45 45 <th>State</th>
Note:
See TracChangeset
for help on using the changeset viewer.