mediawiki-extensions-Popups/resources/ext.popups/templates/settings.mustache
joakin 2f75b42271 Move settings template to ext.popups
Change-Id: I98ccb96f6662a4263245cee9d48faf976fbb154e
2016-12-13 11:33:18 +01: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>