Keine Bearbeitungszusammenfassung |
Keine Bearbeitungszusammenfassung |
||
Zeile 7: | Zeile 7: | ||
<includeonly> | <includeonly> | ||
<span class=" | <div class="widget-clubstatus__container"> | ||
<span class="widget-clubstatus__name">ClubStatus:</span> | |||
<span id="widget-clubstatus" class="widget-clubstatus__type"></span> | |||
</div> | |||
<script> | <script> | ||
(() => { | (() => { | ||
const OPENED_CLASS = ' | const OPENED_CLASS = 'widget-clubstatus__type--opened'; | ||
const CLOSED_CLASS = ' | const CLOSED_CLASS = 'widget-clubstatus__type--closed'; | ||
const clubStatusMarker = document.querySelector(' | const clubStatusMarker = document.querySelector('#widget-clubstatus'); | ||
function setClubStatus(isOpen, lastChange) { | function setClubStatus(isOpen, lastChange) { | ||
Zeile 42: | Zeile 46: | ||
})(); | })(); | ||
</script> | </script> | ||
<templatestyles src="Vorlage:Widget/ClubStatus/styles.css"> | |||
</includeonly> | </includeonly> |
Version vom 14. März 2024, 11:33 Uhr