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

restyle the web editor (#7333)

This commit is contained in:
Matt Hook 2022-07-29 12:54:17 +12:00 committed by GitHub
parent 6c57ddb563
commit 9106e74e61
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 52 additions and 22 deletions

View file

@ -1,11 +1,13 @@
<ng-form name="$ctrl.webEditorForm">
<div class="col-sm-12 form-section-title"> Web editor </div>
<div class="form-group">
<span class="col-sm-12 text-muted small" ng-transclude="description"> </span>
</div>
<div class="form-group">
<div class="col-sm-12">
<code-editor identifier="{{ $ctrl.identifier }}" placeholder="{{ $ctrl.placeholder }}" yml="$ctrl.yml" value="$ctrl.value" on-change="($ctrl.editorUpdate)"></code-editor>
<div class="web-editor">
<div class="col-sm-12 form-section-title"> Web editor </div>
<div class="form-group col-sm-12 col-lg-12">
<div class="text-muted small" ng-transclude="description"> </div>
</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>
</div>
</div>
</div>
</ng-form>