mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Popups
synced 2024-12-02 19:26:24 +00:00
10465c8bf8
- 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
29 lines
832 B
Plaintext
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>
|