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:
parent
6c57ddb563
commit
9106e74e61
6 changed files with 52 additions and 22 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue