mirror of https://github.com/portainer/portainer
18 lines
943 B
HTML
18 lines
943 B
HTML
<div>
|
|
<code-editor identifier="application-details-yaml" read-only="true" value="$ctrl.data"></code-editor>
|
|
<div class="p-5">
|
|
<span class="btn btn-light btn-sm" ng-click="$ctrl.copyYAML()">
|
|
<pr-icon class="vertical-center" icon="'copy'" feather="true"></pr-icon>
|
|
Copy to clipboard
|
|
</span>
|
|
<span class="btn btn-light btn-sm space-left" ng-click="$ctrl.toggleYAMLInspectorExpansion()">
|
|
<pr-icon class="vertical-center" icon="'minus'" size="'sm'" ng-if="$ctrl.expanded" feather="true"></pr-icon>
|
|
<pr-icon class="vertical-center" icon="'plus'" size="'sm'" ng-if="!$ctrl.expanded" feather="true"></pr-icon>
|
|
{{ $ctrl.expanded ? 'Collapse' : 'Expand' }}
|
|
</span>
|
|
<span id="copyNotificationYAML" style="display: none" class="small vertical-center ml-1">
|
|
<pr-icon class="vertical-center" icon="'check'" size="'md'" mode="'success'" feather="true"></pr-icon> copied
|
|
</span>
|
|
</div>
|
|
</div>
|