mirror of
https://github.com/discourse/discourse.git
synced 2024-12-18 22:58:44 +08:00
1c87bb7fe9
1. Use `this.` instead of `{{action}}` where applicable 2. Use `{{fn}}` instead of `@actionParam` where applicable 3. Use non-`@` versions of class/type/tabindex/aria-controls/aria-expanded 4. Remove `btn` class (it's added automatically to all DButtons) 5. Remove `type="button"` (it's the default) 6. Use `concat-class` helper
44 lines
972 B
Handlebars
44 lines
972 B
Handlebars
<div class="row">
|
|
<div class="admin-controls">
|
|
<nav>
|
|
<ul class="nav nav-pills">
|
|
<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>
|
|
|
|
<AceEditor
|
|
@content={{this.editorContents}}
|
|
@mode={{this.currentEditorMode}}
|
|
@editorId={{this.editorId}}
|
|
@save={{@save}}
|
|
/>
|
|
|
|
<div class="admin-footer">
|
|
<div class="buttons">
|
|
<DButton
|
|
@action={{this.reset}}
|
|
@disabled={{this.resetDisabled}}
|
|
@label="admin.customize.email_style.reset"
|
|
class="btn-default"
|
|
/>
|
|
</div>
|
|
</div> |