- Timestamp:
- 10/27/21 00:41:05 (3 years ago)
- Branches:
- develop, master
- Children:
- 9a13901
- Parents:
- 678747f
- Location:
- resources/views/dashboard
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
resources/views/dashboard/departments/index.blade.php
r678747f r9b4689a 165 165 @endforeach 166 166 167 <div class="modal fade" id="createModal" tabindex="-1" role="dialog" aria-hidden="true">168 <div class="modal-dialog modal-dialog-centered" role="document">169 <div class="modal-content">170 <div class="modal-header">171 <h5 class="modal-title" id="exampleModalCenterTitle">Create department</h5>172 <button type="button" class="close" data-dismiss="modal" aria-label="Close">173 <i class="ti-close"></i>174 </button>175 </div>176 <div class="modal-body">177 <form action="{{ route("dashboard.departments.store") }}" method="post" accept-charset="utf-8">178 @csrf179 <div class="row">180 <div class="col-md-6">181 <div class="form-group">182 <label>Name</label>183 <input type="text" name="name" value="{{ old('name') }}" minlength="2" maxlength="30" class="form-control" placeholder="Name" required>184 </div>185 </div>186 <div class="col-md-6">187 <div class="form-group">188 <label>Code</label>189 <input type="number" name="code" value="{{ old('code') }}" minlength="1" class="form-control" placeholder="Code" required>190 </div>191 </div>192 </div>193 <br/>194 <div class="modal-footer">195 <button type="button" class="btn btn-secondary" data-dismiss="modal">Close196 </button>197 <button type="submit" class="btn btn-primary">Save changes</button>198 </div>199 </form>200 </div>201 202 </div>203 </div>204 </div>205 206 167 </tbody> 207 168 </table> … … 212 173 </div> 213 174 175 <div class="modal fade" id="createModal" tabindex="-1" role="dialog" aria-hidden="true"> 176 <div class="modal-dialog modal-dialog-centered" role="document"> 177 <div class="modal-content"> 178 <div class="modal-header"> 179 <h5 class="modal-title" id="exampleModalCenterTitle">Create department</h5> 180 <button type="button" class="close" data-dismiss="modal" aria-label="Close"> 181 <i class="ti-close"></i> 182 </button> 183 </div> 184 <div class="modal-body"> 185 <form action="{{ route("dashboard.departments.store") }}" method="post" accept-charset="utf-8"> 186 @csrf 187 <div class="row"> 188 <div class="col-md-6"> 189 <div class="form-group"> 190 <label>Name</label> 191 <input type="text" name="name" value="{{ old('name') }}" minlength="2" maxlength="30" class="form-control" placeholder="Name" required> 192 </div> 193 </div> 194 <div class="col-md-6"> 195 <div class="form-group"> 196 <label>Code</label> 197 <input type="number" name="code" value="{{ old('code') }}" minlength="1" class="form-control" placeholder="Code" required> 198 </div> 199 </div> 200 </div> 201 <br/> 202 <div class="modal-footer"> 203 <button type="button" class="btn btn-secondary" data-dismiss="modal">Close 204 </button> 205 <button type="submit" class="btn btn-primary">Save changes</button> 206 </div> 207 </form> 208 </div> 209 210 </div> 211 </div> 212 </div> 213 214 214 @endsection 215 215 -
resources/views/dashboard/files/index.blade.php
r678747f r9b4689a 186 186 </table> 187 187 188 <div class="modal fade" id="createModal" tabindex="-1" role="dialog" aria-hidden="true">189 <div class="modal-dialog modal-dialog-centered" role="document">190 <div class="modal-content">191 <div class="modal-header">192 <h5 class="modal-title" id="exampleModalCenterTitle">Upload</h5>193 <button type="button" class="close" data-dismiss="modal" aria-label="Close">194 <i class="ti-close"></i>195 </button>196 </div>197 <div class="modal-body">198 <form action="{{ route("dashboard.files.store") }}" method="post" accept-charset="utf-8" enctype="multipart/form-data">199 @csrf200 <div class="row">201 <div class="col-md-10">202 <div class="form-group">203 <label for="exampleFormControlSelect1">Folder</label>204 @if($folders->count())205 <select class="form-control" name="folder" required>206 @foreach ($folders as $folder)207 <option value="{{ $folder->id }}" {{ (old("folder") == $folder->id ? "selected" : "") }}>{{ $folder->name }}</option>208 @endforeach209 @else210 <p>You haven't created any folders yet. <a class="text-primary" href="{{ route("dashboard.folders.index") }}">Create now.</a></p>211 @endif212 </select>213 </div>214 </div>215 <div class="col-md-10">216 <div class="form-group">217 <label for="exampleFormControlSelect1">Uploads</label>218 219 220 <input type="file" class="form-control" id="file-item" name="file_item[]" accept="{{ $fileTypes }}" multiple>221 </div>222 </div>223 </div>224 <br/>225 <div class="modal-footer">226 <button type="button" class="btn btn-secondary" data-dismiss="modal">Close227 </button>228 <button type="submit" class="btn btn-primary">Save changes</button>229 </div>230 </form>231 </div>232 233 </div>234 </div>235 </div>236 237 188 </div> 238 189 </div> … … 241 192 </div> 242 193 194 <div class="modal fade" id="createModal" tabindex="-1" role="dialog" aria-hidden="true"> 195 <div class="modal-dialog modal-dialog-centered" role="document"> 196 <div class="modal-content"> 197 <div class="modal-header"> 198 <h5 class="modal-title" id="exampleModalCenterTitle">Upload</h5> 199 <button type="button" class="close" data-dismiss="modal" aria-label="Close"> 200 <i class="ti-close"></i> 201 </button> 202 </div> 203 <div class="modal-body"> 204 <form action="{{ route("dashboard.files.store") }}" method="post" accept-charset="utf-8" enctype="multipart/form-data"> 205 @csrf 206 <div class="row"> 207 <div class="col-md-10"> 208 <div class="form-group"> 209 <label for="exampleFormControlSelect1">Folder</label> 210 @if($folders->count()) 211 <select class="form-control" name="folder" required> 212 @foreach ($folders as $folder) 213 <option value="{{ $folder->id }}" {{ (old("folder") == $folder->id ? "selected" : "") }}>{{ $folder->name }}</option> 214 @endforeach 215 @else 216 <p>You haven't created any folders yet. <a class="text-primary" href="{{ route("dashboard.folders.index") }}">Create now.</a></p> 217 @endif 218 </select> 219 </div> 220 </div> 221 <div class="col-md-10"> 222 <div class="form-group"> 223 <label for="exampleFormControlSelect1">Uploads</label> 224 225 226 <input type="file" class="form-control" id="file-item" name="file_item[]" accept="{{ $fileTypes }}" multiple> 227 </div> 228 </div> 229 </div> 230 <br/> 231 <div class="modal-footer"> 232 <button type="button" class="btn btn-secondary" data-dismiss="modal">Close 233 </button> 234 <button type="submit" class="btn btn-primary">Save changes</button> 235 </div> 236 </form> 237 </div> 238 239 </div> 240 </div> 241 </div> 242 243 243 @endsection 244 244 -
resources/views/dashboard/users/index.blade.php
r678747f r9b4689a 36 36 <div class="row"> 37 37 <div class="col-md-12"> 38 {{-- <div class="card">--}} 39 {{-- <div class="card-body">--}} 38 <div class="card"> 39 <div class="card-body"> 40 40 <div class="table-responsive"> 41 41 <table id="user-list" class="table"> … … 240 240 </div> 241 241 </div> 242 {{-- </div>--}} 243 {{-- </div>--}} 244 {{-- </div>--}} 242 </div> 243 </div> 244 </div> 245 245 246 246
Note:
See TracChangeset
for help on using the changeset viewer.