(Unterschied zwischen Seiten)
((Benutzername entfernt) (Logbucheinzelheiten entfernt)) |
Keine Bearbeitungszusammenfassung |
||
Zeile 1: | Zeile 1: | ||
/* Das folgende JavaScript wird für alle Benutzer geladen. */ | |||
if ( mw.config.get( 'wgCanonicalSpecialPageName' ) === 'Watchlist' ) { | |||
document.body.classList.add( 'mw-rcfilters-ui-initialized' ); | |||
} | |||
if ( mw.config.get( 'wgCanonicalSpecialPageName' ) === 'RecentChanges' ) { | |||
document.body.classList.add( 'mw-rcfilters-ui-initialized' ); | |||
} | |||
/*BITV tabelle*/ | |||
var allTableCells = document.getElementById("bitv").getElementsByTagName("td"); | |||
for( var i = 0; i < allTableCells.length; i++ ) { | |||
var node = allTableCells[i]; | |||
//get the text from the first child node - which should be a text node | |||
var currentText = node.childNodes[0].nodeValue; | |||
currentText = currentText.trim(); | |||
//check for 'one' and assign this table cell's background color accordingly | |||
if (currentText == "Erfüllt") { | |||
node.style.backgroundColor = "#c5e8c9"; | |||
} | |||
} |
Version vom 13. März 2023, 12:14 Uhr
/* Das folgende JavaScript wird für alle Benutzer geladen. */
if ( mw.config.get( 'wgCanonicalSpecialPageName' ) === 'Watchlist' ) {
document.body.classList.add( 'mw-rcfilters-ui-initialized' );
}
if ( mw.config.get( 'wgCanonicalSpecialPageName' ) === 'RecentChanges' ) {
document.body.classList.add( 'mw-rcfilters-ui-initialized' );
}
/*BITV tabelle*/
var allTableCells = document.getElementById("bitv").getElementsByTagName("td");
for( var i = 0; i < allTableCells.length; i++ ) {
var node = allTableCells[i];
//get the text from the first child node - which should be a text node
var currentText = node.childNodes[0].nodeValue;
currentText = currentText.trim();
//check for 'one' and assign this table cell's background color accordingly
if (currentText == "Erfüllt") {
node.style.backgroundColor = "#c5e8c9";
}
}
Dateiversionen
Klicke auf einen Zeitpunkt, um diese Version zu laden.
Version vom | Vorschaubild | Maße | Benutzer | Kommentar | |
---|---|---|---|---|---|
aktuell | 10:07, 5. Dez. 2022 | 984 × 1.269 (456 KB) | Margit Link-Rodrigue (Diskussion | Beiträge) | ||
14:07, 10. Feb. 2022 | 984 × 1.269 (457 KB) | Margit Link-Rodrigue (Diskussion | Beiträge) |
Du kannst diese Datei nicht überschreiben.
Dateiverwendung
Die folgenden 2 Seiten verwenden diese Datei: