Revision 50247
Added by Myrto Koukouli over 6 years ago
adminPg-help-texts.component.html | ||
---|---|---|
10 | 10 |
<div class="alert alert-success" style="display:none;" aria-hidden="true"></div> |
11 | 11 |
<div class="alert alert-warning" style="display:none;" aria-hidden="true"></div> |
12 | 12 |
<div> |
13 |
<!--<form target="GWTBootstrap3_AbstractForm_RepositoryManager_2" role="form">--> |
|
14 |
<div class="form-group"> |
|
15 |
<label class="control-label">Select help item</label> |
|
16 |
<select class="form-control"> |
|
17 |
<option value="none">None selected</option> |
|
18 |
</select> |
|
19 |
</div> |
|
20 |
<div class="form-group"> |
|
21 |
<label class="control-label">Edit help text</label> |
|
22 |
<ckeditor |
|
23 |
[(ngModel)]="ckeditorContent" |
|
24 |
[readonly]="false" |
|
25 |
(change)="onChange($event)" |
|
26 |
debounce="500" ></ckeditor> |
|
27 |
</div> |
|
28 |
<!--</form>--> |
|
29 |
<script src="/ace-builds/src-noconflict/ace.js" type="text/javascript" charset="utf-8"></script> |
|
30 |
<script> |
|
31 |
var editor = ace.edit("editor"); |
|
32 |
editor.setTheme("ace/theme/monokai"); |
|
33 |
editor.getSession().setMode("ace/mode/javascript"); |
|
34 |
</script> |
|
13 |
<div class="form-group"> |
|
14 |
<label class="control-label">Select help item</label> |
|
15 |
<select class="form-control"> |
|
16 |
<option value="none">None selected</option> |
|
17 |
</select> |
|
18 |
</div> |
|
19 |
<div class="form-group"> |
|
20 |
<label class="control-label">Edit help text</label> |
|
21 |
<ckeditor [(ngModel)]="helpTextContent" |
|
22 |
[readonly]="false" ></ckeditor> |
|
23 |
</div> |
|
35 | 24 |
</div> |
36 | 25 |
</div> |
37 | 26 |
<div class="helpAdminActionButtons"> |
38 |
<button class="btn btn-default uk-button-primary" type="button">Preview</button> |
|
39 |
<button class="btn btn-default" type="button">Submit Changes</button>
|
|
27 |
<button class="btn btn-default uk-button-primary" type="button" (click)="showPreview()">Preview</button>
|
|
28 |
<button class="uk-button uk-button-default" type="button">Submit Changes</button>
|
|
40 | 29 |
</div> |
41 | 30 |
</div> |
42 | 31 |
</div> |
43 | 32 |
<div class="tm-sidebar uk-width-1-4@m"> |
44 |
<div class="previewPanel"></div> |
|
33 |
<div class="previewPanel" [innerHtml]="previewContent"></div>
|
|
45 | 34 |
<div> |
46 | 35 |
<div class="gwt-HTML"> |
47 | 36 |
<div class="uk-card uk-card-body uk-card-default sidemenu"> |
Also available in: Unified diff
started forms