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}}
|
|
|
|
@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
|
|
|
|
@action={{action "reset"}}
|
|
|
|
@disabled={{this.resetDisabled}}
|
|
|
|
@class="btn-default"
|
|
|
|
@label="admin.customize.email_style.reset"
|
|
|
|
/>
|
2019-07-31 03:05:08 +08:00
|
|
|
</div>
|
|
|
|
</div>
|