2022-07-06 06:08:45 +00:00
|
|
|
<page-header title="'Config details'" breadcrumbs="[{label:'Configs', link:'docker.configs'}, config.Name]" reload="true"> </page-header>
|
2017-11-06 08:47:31 +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="clipboard" feather-icon="true" title-text="Config details"></rd-widget-header>
|
2017-11-06 08:47:31 +00:00
|
|
|
<rd-widget-body classes="no-padding">
|
|
|
|
<table class="table">
|
|
|
|
<tbody>
|
|
|
|
<tr>
|
|
|
|
<td>Name</td>
|
|
|
|
<td>{{ config.Name }}</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>ID</td>
|
|
|
|
<td>
|
|
|
|
{{ config.Id }}
|
2022-08-01 12:31:56 +00:00
|
|
|
<button authorization="DockerConfigDelete" class="btn btn-xs btn-dangerlight" ng-click="removeConfig(config.Id)"
|
|
|
|
><pr-icon icon="'trash-2'" feather="true"></pr-icon>Delete this config</button
|
2020-04-10 21:54:53 +00:00
|
|
|
>
|
2022-08-01 12:31:56 +00:00
|
|
|
<button authorization="DockerConfigCreate" class="btn btn-xs btn-secondary" ui-sref="docker.configs.new({id: config.Id})"
|
|
|
|
><pr-icon icon="'copy'" feather="true"></pr-icon>Clone config</button
|
2020-04-10 21:54:53 +00:00
|
|
|
>
|
2017-11-06 08:47:31 +00:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>Created</td>
|
|
|
|
<td>{{ config.CreatedAt | getisodate }}</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>Last updated</td>
|
|
|
|
<td>{{ config.UpdatedAt | getisodate }}</td>
|
|
|
|
</tr>
|
|
|
|
<tr ng-if="!(config.Labels | emptyobject)">
|
|
|
|
<td>Labels</td>
|
|
|
|
<td>
|
|
|
|
<table class="table table-bordered table-condensed">
|
|
|
|
<tr ng-repeat="(k, v) in config.Labels">
|
|
|
|
<td>{{ k }}</td>
|
|
|
|
<td>{{ v }}</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</rd-widget-body>
|
|
|
|
</rd-widget>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<!-- access-control-panel -->
|
2022-03-16 06:35:32 +00:00
|
|
|
<access-control-panel
|
|
|
|
ng-if="config"
|
|
|
|
resource-id="config.Id"
|
|
|
|
resource-control="config.ResourceControl"
|
|
|
|
resource-type="resourceType"
|
|
|
|
on-update-success="(onUpdateResourceControlSuccess)"
|
|
|
|
>
|
|
|
|
</access-control-panel>
|
2017-11-06 08:47:31 +00:00
|
|
|
<!-- !access-control-panel -->
|
|
|
|
|
|
|
|
<div class="row" ng-if="config">
|
|
|
|
<div class="col-sm-12">
|
|
|
|
<rd-widget>
|
2022-07-19 03:29:50 +00:00
|
|
|
<rd-widget-header icon="code" feather-icon="true" title-text="Config content"></rd-widget-header>
|
2017-11-06 08:47:31 +00:00
|
|
|
<rd-widget-body>
|
|
|
|
<form class="form-horizontal">
|
|
|
|
<div class="form-group">
|
|
|
|
<div class="col-sm-12">
|
2020-04-10 21:54:53 +00:00
|
|
|
<code-editor identifier="config-editor" yml="false" read-only="true" value="config.Data"></code-editor>
|
2017-11-06 08:47:31 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</rd-widget-body>
|
|
|
|
</rd-widget>
|
|
|
|
</div>
|
|
|
|
</div>
|