2022-07-06 06:08:45 +00:00
|
|
|
<page-header title="'Secret details'" breadcrumbs="[{label:'Secrets', link:'docker.secrets', linkParams:{ id: secret.Id }}, secret.Name]" reload="true"> </page-header>
|
2017-05-27 07:23:49 +00:00
|
|
|
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-lg-12 col-md-12 col-xs-12">
|
|
|
|
<rd-widget>
|
2022-11-28 02:00:28 +00:00
|
|
|
<rd-widget-header icon="lock" title-text="Secret details"></rd-widget-header>
|
2017-05-27 07:23:49 +00:00
|
|
|
<rd-widget-body classes="no-padding">
|
|
|
|
<table class="table">
|
|
|
|
<tbody>
|
|
|
|
<tr>
|
|
|
|
<td>Name</td>
|
|
|
|
<td>{{ secret.Name }}</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>ID</td>
|
|
|
|
<td>
|
|
|
|
{{ secret.Id }}
|
2022-07-31 12:15:12 +00:00
|
|
|
<button authorization="DockerSecretDelete" class="btn btn-xs btn-dangerlight" ng-click="removeSecret(secret.Id)"
|
2022-11-28 02:00:28 +00:00
|
|
|
><pr-icon icon="'trash-2'"></pr-icon>Delete this secret</button
|
2020-04-10 21:54:53 +00:00
|
|
|
>
|
2017-05-27 07:23:49 +00:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>Created</td>
|
|
|
|
<td>{{ secret.CreatedAt | getisodate }}</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>Last updated</td>
|
|
|
|
<td>{{ secret.UpdatedAt | getisodate }}</td>
|
|
|
|
</tr>
|
|
|
|
<tr ng-if="!(secret.Labels | emptyobject)">
|
|
|
|
<td>Labels</td>
|
|
|
|
<td>
|
2023-02-12 21:04:24 +00:00
|
|
|
<table class="table-bordered table-condensed table">
|
2017-05-27 07:23:49 +00:00
|
|
|
<tr ng-repeat="(k, v) in secret.Labels">
|
|
|
|
<td>{{ k }}</td>
|
|
|
|
<td>{{ v }}</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</rd-widget-body>
|
|
|
|
</rd-widget>
|
|
|
|
</div>
|
|
|
|
</div>
|
2017-09-19 15:10:15 +00:00
|
|
|
|
|
|
|
<!-- access-control-panel -->
|
2022-03-16 06:35:32 +00:00
|
|
|
<access-control-panel
|
|
|
|
ng-if="secret"
|
|
|
|
resource-id="secret.Id"
|
|
|
|
resource-control="secret.ResourceControl"
|
|
|
|
resource-type="resourceType"
|
|
|
|
on-update-success="(onUpdateResourceControlSuccess)"
|
|
|
|
>
|
|
|
|
</access-control-panel>
|
2017-09-19 15:10:15 +00:00
|
|
|
<!-- !access-control-panel -->
|