Changeset c6b84df for resources/views/dashboard/settings/index.blade.php
- Timestamp:
- 10/21/21 23:45:59 (3 years ago)
- Branches:
- develop, master
- Children:
- 4b7e2d3
- Parents:
- 6b95845
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
resources/views/dashboard/settings/index.blade.php
r6b95845 rc6b84df 11 11 <ol class="breadcrumb"> 12 12 <li class="breadcrumb-item"> 13 <a href="{{ url(' dashboard/users') }}">Users</a>13 <a href="{{ url('/') }}">Dashboard</a> 14 14 </li> 15 <li class="breadcrumb-item active" aria-current="page"> UserSettings</li>15 <li class="breadcrumb-item active" aria-current="page">Settings</li> 16 16 </ol> 17 17 </nav> … … 26 26 <a class="nav-link {{$active_tab == 'account' ? 'active' : ""}}" id="account-tab" data-toggle="pill" href="#account" role="tab" aria-controls="account" aria-selected="true">Account</a> 27 27 <a class="nav-link {{$active_tab == 'security' ? 'active' : ""}}" id="security-tab" data-toggle="pill" href="#security" role="tab" aria-controls="security" aria-selected="false">Security</a> 28 <a class="nav-link " id="v-pills-settings-tab" data-toggle="pill" href="#v-pills-settings" role="tab" aria-controls="v-pills-settings" aria-selected="false">Social</a>28 <a class="nav-link {{$active_tab == 'file-types' ? 'active' : ""}}" id="file-types-tab" data-toggle="pill" href="#file-types" role="tab" aria-controls="file-types" aria-selected="false">File validation</a> 29 29 </div> 30 30 </div> … … 227 227 </div> 228 228 </div> 229 <div class="tab-pane fade" id="v-pills-settings" role="tabpanel" aria-labelledby="v-pills-settings-tab"> 230 <div class="card"> 231 </div> 229 <div class="tab-pane {{$active_tab == 'file-types' ? 'active' : ""}}" id="file-types" role="tabpanel" aria-labelledby="file-types-tab"> 230 231 <div class="card"> 232 <div class="card-body"> 233 <h6 class="card-title">File validation</h6> 234 <form action="{{ route("dashboard.settings.file-types") }}" method="post" accept-charset="utf-8" enctype='multipart/form-data'> 235 @method("patch") 236 @csrf 237 <div class="row"> 238 <div class="col-md-6"> 239 <div class="form-group"> 240 <label>Mimes</label> 241 <input type="text" name="mimes" value="{{ $fileType->mimes }}" class="form-control" placeholder="Mimes" required> 242 </div> 243 </div> 244 <div class="col-md-6"> 245 <div class="form-group"> 246 <label class="form-label">Max file size (in KB)</label> 247 <input type="number" name="max_size" value="{{ $fileType->max_size }}" class="form-control" placeholder="Max file size" autocomplete="off" required> 248 <p class="text-danger p-2">Note: 1 MB = 1024 KB</p> 249 </div> 250 </div> 251 </div> 252 <input type="submit" value="Save changes" class="submitBtn btn btn-primary pull-right m-10"> 253 </form> 254 </div> 255 </div> 256 232 257 </div> 233 258 </div>
Note:
See TracChangeset
for help on using the changeset viewer.