mirror of https://github.com/portainer/portainer
warning message placement and persisted folders heading (#9233)
parent
704d70c99b
commit
9fac997300
|
@ -631,6 +631,13 @@
|
|||
</div>
|
||||
<!-- !has-override -->
|
||||
</div>
|
||||
|
||||
<div class="my-2 w-full">
|
||||
<p class="vertical-center text-muted text-xs" ng-if="ctrl.secrets.length === 0">
|
||||
<pr-icon icon="'info'" mode="'primary'"></pr-icon>
|
||||
There are no secrets available in this namespace.
|
||||
</p>
|
||||
</div>
|
||||
<!-- !config-element -->
|
||||
<div class="col-sm-12 !p-0">
|
||||
<button
|
||||
|
@ -644,27 +651,20 @@
|
|||
<pr-icon icon="'plus'" size="'sm'"></pr-icon> Add Secret
|
||||
</button>
|
||||
</div>
|
||||
<div class="my-2 w-full">
|
||||
<p class="vertical-center text-muted text-xs" ng-if="ctrl.secrets.length === 0">
|
||||
<pr-icon icon="'info'" mode="'primary'"></pr-icon>
|
||||
There are no secrets available in this namespace.
|
||||
</p>
|
||||
</div>
|
||||
<!-- #endregion -->
|
||||
|
||||
<!-- #region PERSISTED FOLDERS -->
|
||||
<div class="form-group" ng-if="!ctrl.storageClassAvailable()">
|
||||
<div class="col-sm-12 small text-muted vertical-center">
|
||||
<pr-icon icon="'info'" mode="'primary'"></pr-icon>
|
||||
No storage option is available to persist data, contact your administrator to enable a storage option.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group" ng-if="ctrl.storageClassAvailable()">
|
||||
<div class="col-sm-12 vertical-center mb-2 pt-2.5" style="margin-top: 5px" ng-if="!ctrl.allQuotasExhaustedAndNoVolumesAvailable()">
|
||||
<div class="form-group">
|
||||
<div class="col-sm-12 vertical-center mb-2 pt-2.5" style="margin-top: 5px">
|
||||
<label class="control-label !pt-0 text-left">Persisted folders</label>
|
||||
</div>
|
||||
|
||||
<div class="col-sm-12 small text-muted vertical-center mt-1" ng-if="!ctrl.storageClassAvailable()">
|
||||
<pr-icon icon="'info'" mode="'primary'"></pr-icon>
|
||||
No storage option is available to persist data, contact your administrator to enable a storage option.
|
||||
</div>
|
||||
|
||||
<div class="row" ng-if="ctrl.storageClassAvailable()">
|
||||
<div class="col-sm-12" style="margin-top: 5px" ng-if="ctrl.allQuotasExhaustedAndNoVolumesAvailable()">
|
||||
<span class="small text-muted vertical-center">
|
||||
<pr-icon icon="'alert-circle'" mode="'warning'"></pr-icon>
|
||||
|
@ -876,6 +876,7 @@
|
|||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- #endregion -->
|
||||
|
||||
<!-- #region DATA ACCESS POLICY -->
|
||||
|
|
Loading…
Reference in New Issue