Fixes to mounts ui
This commit is contained in:
@@ -989,11 +989,9 @@
|
||||
<div class="form-group mounts">
|
||||
<label class="control-label">{{ 'app.storage.mounts.title' | tr }} <sup><a ng-href="https://docs.cloudron.io/apps/#mounts" class="help" target="_blank"><i class="fa fa-question-circle"></i></a></sup></label>
|
||||
<div class="has-error" ng-show="storage.error.mounts">{{ storage.error.mounts }}</div>
|
||||
<p ng-bind-html="'storage.mounts.description' | tr"></p>
|
||||
|
||||
<div ng-show="storage.mounts.length === 0">{{ 'app.storage.mounts.noMounts' | tr }}</div>
|
||||
|
||||
<p ng-bind-html="'storage.mounts.volumeLocation' | tr" ng-show="storage.mounts.length > 0"></p>
|
||||
<table ng-show="storage.mounts.length > 0" class="table table-hover" style="margin-top: 10px;">
|
||||
<table class="table table-hover" style="margin-top: 10px;">
|
||||
<thead>
|
||||
<tr>
|
||||
<th style="width: 40%">{{ 'app.storage.mounts.volume' | tr }}</th>
|
||||
@@ -1013,10 +1011,15 @@
|
||||
<button class="btn btn-danger btn-xs" ng-click="storage.delMount($event, $index)"><i class="far fa-trash-alt"></i></button>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="3">
|
||||
<div style="margin-top: 5px;"><span ng-show="storage.mounts.length === 0">{{ 'app.storage.mounts.noMounts' | tr }}</span>
|
||||
<a href="" ng-click="storage.addMount($event)">{{ 'app.storage.mounts.addMountAction' | tr }}</a>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<div style="margin-top: 5px;"><a href="" ng-click="storage.addMount($event)">{{ 'app.storage.mounts.addMountAction' | tr }}</a></div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
|
||||
Reference in New Issue
Block a user