warning message placement and persisted folders heading (#9233)

pull/9244/head
Prabhat Khera 2023-07-24 12:16:58 +12:00 committed by GitHub
parent 704d70c99b
commit 9fac997300
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 212 additions and 211 deletions

View File

@ -631,6 +631,13 @@
</div> </div>
<!-- !has-override --> <!-- !has-override -->
</div> </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 --> <!-- !config-element -->
<div class="col-sm-12 !p-0"> <div class="col-sm-12 !p-0">
<button <button
@ -644,27 +651,20 @@
<pr-icon icon="'plus'" size="'sm'"></pr-icon> Add Secret <pr-icon icon="'plus'" size="'sm'"></pr-icon> Add Secret
</button> </button>
</div> </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 --> <!-- #endregion -->
<!-- #region PERSISTED FOLDERS --> <!-- #region PERSISTED FOLDERS -->
<div class="form-group" ng-if="!ctrl.storageClassAvailable()"> <div class="form-group">
<div class="col-sm-12 small text-muted vertical-center"> <div class="col-sm-12 vertical-center mb-2 pt-2.5" style="margin-top: 5px">
<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()">
<label class="control-label !pt-0 text-left">Persisted folders</label> <label class="control-label !pt-0 text-left">Persisted folders</label>
</div> </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()"> <div class="col-sm-12" style="margin-top: 5px" ng-if="ctrl.allQuotasExhaustedAndNoVolumesAvailable()">
<span class="small text-muted vertical-center"> <span class="small text-muted vertical-center">
<pr-icon icon="'alert-circle'" mode="'warning'"></pr-icon> <pr-icon icon="'alert-circle'" mode="'warning'"></pr-icon>
@ -876,6 +876,7 @@
</span> </span>
</div> </div>
</div> </div>
</div>
<!-- #endregion --> <!-- #endregion -->
<!-- #region DATA ACCESS POLICY --> <!-- #region DATA ACCESS POLICY -->