Add mount update and deletion services, add MountController@update and MountController@delete
This commit is contained in:
parent
77150b2551
commit
0db7debb46
6 changed files with 154 additions and 11 deletions
|
@ -47,8 +47,8 @@
|
|||
<tr>
|
||||
<td><code>{{ $mount->id }}</code></td>
|
||||
<td><a href="{{ route('admin.mounts.view', $mount->id) }}">{{ $mount->name }}</a></td>
|
||||
<td>{{ $mount->source }}</td>
|
||||
<td>{{ $mount->target }}</td>
|
||||
<td><code>{{ $mount->source }}</code></td>
|
||||
<td><code>{{ $mount->target }}</code></td>
|
||||
<td class="text-center">{{ $mount->eggs_count }}</td>
|
||||
<td class="text-center">{{ $mount->nodes_count }}</td>
|
||||
<td class="text-center">{{ $mount->servers_count }}</td>
|
||||
|
|
|
@ -57,12 +57,12 @@
|
|||
|
||||
<div>
|
||||
<div class="radio radio-success radio-inline">
|
||||
<input type="radio" id="pReadOnlyFalse" name="read_only" value="0" @if($mount->read_only) checked @endif>
|
||||
<input type="radio" id="pReadOnlyFalse" name="read_only" value="0" @if(!$mount->read_only) checked @endif>
|
||||
<label for="pReadOnlyFalse">False</label>
|
||||
</div>
|
||||
|
||||
<div class="radio radio-warning radio-inline">
|
||||
<input type="radio" id="pReadOnly" name="read_only" value="1" @if(!$mount->read_only) checked @endif>
|
||||
<input type="radio" id="pReadOnly" name="read_only" value="1" @if($mount->read_only) checked @endif>
|
||||
<label for="pReadOnly">True</label>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -73,12 +73,12 @@
|
|||
|
||||
<div>
|
||||
<div class="radio radio-success radio-inline">
|
||||
<input type="radio" id="pUserMountableFalse" name="user_mountable" value="0" @if($mount->user_mountable) checked @endif>
|
||||
<input type="radio" id="pUserMountableFalse" name="user_mountable" value="0" @if(!$mount->user_mountable) checked @endif>
|
||||
<label for="pUserMountableFalse">False</label>
|
||||
</div>
|
||||
|
||||
<div class="radio radio-warning radio-inline">
|
||||
<input type="radio" id="pUserMountable" name="user_mountable" value="1" @if(!$mount->user_mountable) checked @endif>
|
||||
<input type="radio" id="pUserMountable" name="user_mountable" value="1" @if($mount->user_mountable) checked @endif>
|
||||
<label for="pUserMountable">True</label>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue