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