(Autogenerated) |
(Autogenerated) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
{{#vardefine:modalCount|{{#expr:{{#var:modalCount|0}}+1}}}} | {{#vardefine:modalCount|{{#expr:{{#var:modalCount|0}}+1}}}} | ||
<span role="button" class="mw-ui-button {{#switch: {{{bg-color|blue}}}|blue|blau=mw-ui-progressive|red|rot=mw-ui-destructive|}}" data-bs-toggle="modal" data-bs-target="#SimpleModal{{#var:modalCount}}">{{{btnLabel}}}</span> | <span role="button" tabindex="0" class="content-droplet-modal-button mw-ui-button {{#switch: {{{bg-color|blue}}}|blue|blau=mw-ui-progressive|red|rot=mw-ui-destructive|}}" data-bs-toggle="modal" data-bs-target="#SimpleModal{{#var:modalCount}}">{{{btnLabel}}}</span> | ||
<div class="modal fade" id="SimpleModal{{#var:modalCount}}" tabindex="-1" role="dialog" aria-labelledby="myModalLabel"> | <div class="modal fade" id="SimpleModal{{#var:modalCount}}" tabindex="-1" role="dialog" aria-labelledby="myModalLabel{{#var:modalCount}}"> | ||
<div class="modal-dialog"> | <div class="modal-dialog"> | ||
<div class="modal-content" style="border-radius: 0;"> | <div class="modal-content" style="border-radius: 0;"> | ||
<div class="modal-header" style="padding: 0 20px;"> | <div class="modal-header" style="padding: 0 20px;"> | ||
<span role="button" class="btn-close" data-bs-dismiss="modal" aria-label=" | <span role="button" tabindex="0" class="content-droplet-modal-dismiss btn-close" data-bs-dismiss="modal" aria-label="{{int:cancel}}"></span> | ||
< | <span class="modal-title" id="myModalLabel{{#var:modalCount}}" style="margin: 0; font-size: 1.1rem; font-weight: bold">{{{title}}}</span></div> | ||
<div class="modal-body">{{{body}}}</div><div class="modal-footer">{{{footer|}}}</div></div></div></div> | <div class="modal-body">{{{body}}}</div><div class="modal-footer">{{{footer|}}}</div></div></div></div> |
Latest revision as of 09:55, 21 October 2024