mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Popups
synced 2024-12-22 03:52:52 +00:00
deaaf0961b
Instead load it via mw.loader.using We retain the module name ext.popups as this will be present in cached HTML, however now it will load the bulk of the code inside ext.popups.main Bug: T176211 Change-Id: Ibe212721807d3698dc45ef46b2dbde15ca9d2f70
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>
|