discourse/app/assets/javascripts/admin/addon/templates/components/email-styles-editor.hbs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

36 lines
897 B
Handlebars
Raw Normal View History

<div class="row">
<div class="admin-controls">
<nav>
<ul class="nav nav-pills">
2022-12-28 07:28:11 -05:00
<li><LinkTo
@route="adminCustomizeEmailStyle.edit"
@model="html"
@replace={{true}}
>{{i18n "admin.customize.email_style.html"}}</LinkTo></li>
<li><LinkTo
@route="adminCustomizeEmailStyle.edit"
@model="css"
@replace={{true}}
>{{i18n "admin.customize.email_style.css"}}</LinkTo></li>
</ul>
</nav>
</div>
</div>
2022-12-28 07:28:11 -05:00
<AceEditor
@content={{this.editorContents}}
@mode={{this.currentEditorMode}}
@editorId={{this.editorId}}
@save={{action "save"}}
/>
<div class="admin-footer">
<div class="buttons">
2022-12-28 07:28:11 -05:00
<DButton
@action={{action "reset"}}
@disabled={{this.resetDisabled}}
@class="btn-default"
@label="admin.customize.email_style.reset"
/>
</div>
2022-12-28 07:28:11 -05:00
</div>