mediawiki-extensions-Popups/resources/ext.popups/templates/settings.mustache
Jeff Hobson 047bccfac1 Settings dialog
Also removes some unused (redundant) actions and the renderer reducer.

Bug: T152223
Change-Id: I878c7f16d71f8cdbd74a47ffeb9dadc4decf2883
2016-12-12 04:54:34 -05:00

30 lines
904 B
Plaintext

<section id="mwe-popups-settings" style="display:none;">
<header>
<div>
<div class="mw-ui-icon mw-ui-icon-element mw-ui-icon-popups-close close">Close</div>
</div>
<h1>{{heading}}</h1>
<div>
<button class="save mw-ui-button mw-ui-progressive">{{saveLabel}}</button>
<button class="okay mw-ui-button mw-ui-progressive" style="display:none;">{{okLabel}}</button>
</div>
</header>
<main id="mwe-popups-settings-form">
<form>
{{#choices}}
<p>
<input name="mwe-popups-setting"
{{#isChecked}}checked{{/isChecked}}
value="{{id}}" type="radio" id="mwe-popups-settings-{{id}}">
<label for="mwe-popups-settings-{{id}}"><span>{{name}}</span>
{{description}}</label>
</p>
{{/choices}}
</form>
</main>
<div id="mwe-popups-settings-help" style="display:none;">
<p>{{helpText}}</p>
<div class="mwe-popups-settings-help-image"></div>
</div>
</section>