2019-07-30 15:05:08 -04:00
|
|
|
<div class="row">
|
|
|
|
<div class="admin-controls">
|
|
|
|
<nav>
|
|
|
|
<ul class="nav nav-pills">
|
2022-12-28 12:23:09 +00:00
|
|
|
<li>
|
|
|
|
<LinkTo
|
2022-06-30 12:30:50 +02:00
|
|
|
@route="adminCustomizeEmailStyle.edit"
|
|
|
|
@model="html"
|
|
|
|
@replace={{true}}
|
2022-12-28 12:23:09 +00:00
|
|
|
>
|
|
|
|
{{i18n "admin.customize.email_style.html"}}
|
|
|
|
</LinkTo>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<LinkTo
|
2022-06-30 12:30:50 +02:00
|
|
|
@route="adminCustomizeEmailStyle.edit"
|
|
|
|
@model="css"
|
|
|
|
@replace={{true}}
|
2022-12-28 12:23:09 +00:00
|
|
|
>
|
|
|
|
{{i18n "admin.customize.email_style.css"}}
|
|
|
|
</LinkTo>
|
|
|
|
</li>
|
2019-07-30 15:05:08 -04:00
|
|
|
</ul>
|
|
|
|
</nav>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2022-07-05 10:41:31 -07:00
|
|
|
<AceEditor
|
|
|
|
@content={{this.editorContents}}
|
2024-08-27 13:35:38 +02:00
|
|
|
@onChange={{fn (mut this.editorContents)}}
|
2022-07-05 10:41:31 -07:00
|
|
|
@mode={{this.currentEditorMode}}
|
|
|
|
@editorId={{this.editorId}}
|
2023-02-24 09:34:56 +00:00
|
|
|
@save={{@save}}
|
2022-07-05 10:41:31 -07:00
|
|
|
/>
|
2019-07-30 15:05:08 -04:00
|
|
|
|
|
|
|
<div class="admin-footer">
|
|
|
|
<div class="buttons">
|
2022-07-05 10:41:31 -07:00
|
|
|
<DButton
|
2023-08-31 11:49:35 +02:00
|
|
|
@action={{this.reset}}
|
2022-07-05 10:41:31 -07:00
|
|
|
@disabled={{this.resetDisabled}}
|
|
|
|
@label="admin.customize.email_style.reset"
|
2023-08-31 11:49:35 +02:00
|
|
|
class="btn-default"
|
2022-07-05 10:41:31 -07:00
|
|
|
/>
|
2019-07-30 15:05:08 -04:00
|
|
|
</div>
|
|
|
|
</div>
|