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-07-19 03:29:50 +00:00
|
|
|
<rd-widget-header icon="lock" feather-icon="true" 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 }}
|
2020-04-10 21:54:53 +00:00
|
|
|
<button authorization="DockerSecretDelete" class="btn btn-xs btn-danger" ng-click="removeSecret(secret.Id)"
|
|
|
|
><i class="fa fa-trash-alt space-right" aria-hidden="true"></i>Delete this secret</button
|
|
|
|
>
|
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>
|
|
|
|
<table class="table table-bordered table-condensed">
|
|
|
|
<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 -->
|