mediawiki-extensions-Popups/resources/ext.popups/templates/settings.mustache
Jan Drewniak 10465c8bf8 Centering settings dialog and overlay
- Removing the javascript positioning of the settings dialog.
- Placing the settings dialog inside the settings overlay.
- Using flexbox to center the settings dialog.

Bug: T157072
Change-Id: If8d929fe019a04ed5f96aa593779841a52f58eff
2018-02-14 17:54:38 +01:00

29 lines
832 B
Plaintext

<section id="mwe-popups-settings">
<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 class="mwe-popups-settings-help" style="display:none;">
<p>{{helpText}}</p>
</div>
</section>