Widget:ClubStatus: Unterschied zwischen den Versionen

aus dem Wiki des Entropia e.V., CCC Karlsruhe
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
Zeile 7: Zeile 7:


<includeonly>
<includeonly>
<span class="club-status"></span>
<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 = 'club-status-opened';
   const OPENED_CLASS = 'widget-clubstatus__type--opened';
   const CLOSED_CLASS = 'club-status-closed';
   const CLOSED_CLASS = 'widget-clubstatus__type--closed';


   const clubStatusMarker = document.querySelector('.club-status');
   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, 12:33 Uhr