Colour code ImportListing rows (#5067)

optimising-macrocalls
saqimtiaz 2020-11-18 16:50:40 +01:00 zatwierdzone przez GitHub
rodzic d181b96518
commit 6f8dca956b
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
2 zmienionych plików z 10 dodań i 1 usunięć

Wyświetl plik

@ -46,7 +46,7 @@ title: $:/core/ui/ImportListing
</th>
</tr>
<$list filter="[all[current]plugintiddlers[]sort[title]]" variable="payloadTiddler">
<tr>
<tr class={{{[<currentTiddler>has<suppressedField>then[tc-row-disabled]] ~[subfilter<payloadTitleFilter>is[tiddler]then[tc-row-warning]] }}}>
<td>
<$checkbox field=<<selectionField>> checked="checked" unchecked="unchecked" default="checked" disabled={{{[<currentTiddler>has<suppressedField>then[yes]else[no]]}}}/>
</td>

Wyświetl plik

@ -2086,6 +2086,15 @@ html body.tc-body.tc-single-tiddler-window {
width: 30%;
}
.tc-import-table .tc-row-disabled {
background: <<colour very-muted-foreground>>10;
opacity: 0.8;
}
.tc-import-table .tc-row-warning {
background: <<colour diff-delete-background>>50;
}
/*
** Alerts
*/