Changeset 9b4689a for resources/views/dashboard/files/index.blade.php
- Timestamp:
- 10/27/21 00:41:05 (3 years ago)
- Branches:
- develop, master
- Children:
- 9a13901
- Parents:
- 678747f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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
Note:
See TracChangeset
for help on using the changeset viewer.