1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-08-08 15:25:22 +02:00

EE-3487 update ui of docker/configs (#7370)

This commit is contained in:
Rex Wang 2022-08-01 20:31:56 +08:00 committed by GitHub
parent 8262487401
commit a95d734c34
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 17 additions and 9 deletions

View file

@ -9,6 +9,7 @@ export const webEditorForm = {
placeholder: '@',
yml: '<',
value: '<',
readOnly: '<',
onChange: '<',
},

View file

@ -6,7 +6,14 @@
</div>
<div class="form-group">
<div class="col-sm-12 col-lg-12">
<code-editor identifier="{{ $ctrl.identifier }}" placeholder="{{ $ctrl.placeholder }}" yml="$ctrl.yml" value="$ctrl.value" on-change="($ctrl.editorUpdate)"></code-editor>
<code-editor
identifier="{{ $ctrl.identifier }}"
placeholder="{{ $ctrl.placeholder }}"
read-only="$ctrl.readOnly"
yml="$ctrl.yml"
value="$ctrl.value"
on-change="($ctrl.editorUpdate)"
></code-editor>
</div>
</div>
</div>