mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Popups
synced 2024-11-15 11:46:55 +00:00
feb0c76381
This improves readability and separates the HTML from the JavaScript Change-Id: Ib765d78890b9aeb05940df00160790b01751a36b
33 lines
1.1 KiB
Plaintext
33 lines
1.1 KiB
Plaintext
<section id="mwe-popups-settings" style="display:none;">
|
|
<header>
|
|
<a class="close">×</a>
|
|
<h1>{{heading}}</h1>
|
|
</header>
|
|
<main id="mwe-popups-settings-form">
|
|
<p>{{descriptionText}}</p>
|
|
<form>
|
|
<radiogroup>
|
|
{{#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>
|
|
{{#image}}<img src="{{image}}">{{/image}}
|
|
</p>
|
|
{{/choices}}
|
|
</radiogroup>
|
|
<div class="mwe-popups-settings-actions">
|
|
<button type="button" class="mw-ui-button mw-ui-quiet close">{{closeLabel}}</button>
|
|
<button type="button" class="save mw-ui-button mw-ui-constructive">{{saveLabel}}</button>
|
|
</div>
|
|
</form>
|
|
</main>
|
|
<div id="mwe-popups-settings-help" style="display:none;">
|
|
<p>{{helpText}}</p>
|
|
<div class="mwe-popups-settings-help-image"></div>
|
|
<div class="mwe-popups-settings-actions">
|
|
<button type="button" class="okay mw-ui-button mw-ui-constructive">{{okLabel}}</button>
|
|
</div>
|
|
</section> |