mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-22 09:22:22 +00:00
add css classe with bs3 legacy colors for bg-success and bg-warning and use them in acceptLehrauftrag cis page
This commit is contained in:
@@ -142,3 +142,12 @@ h6, .h6 {
|
||||
.fhc-container .tabulator .tabulator-cell {
|
||||
border-right: 1px solid #dee2e6;
|
||||
}
|
||||
|
||||
/* lehrauftrag begin */
|
||||
.bg-success-bs3 {
|
||||
background-color: #dff0d8 !important;
|
||||
}
|
||||
.bg-warning-bs3 {
|
||||
background-color: #fcf8e3 !important;
|
||||
}
|
||||
/* lehrauftrag end */
|
||||
@@ -129,11 +129,11 @@ function func_rowFormatter(row) {
|
||||
(bestellt != null && betrag != vertrag_betrag) ||
|
||||
(bestellt != null && stunden != vertrag_stunden)
|
||||
) {
|
||||
cell.getElement().classList.add("bg-warning"); // geaenderte
|
||||
cell.getElement().classList.add("bg-warning-bs3"); // geaenderte
|
||||
} else if (bestellt != null && erteilt != null && akzeptiert == null) {
|
||||
return; // bestellte + erteilte
|
||||
} else if (bestellt != null && erteilt != null && akzeptiert != null) {
|
||||
cell.getElement().classList.add("bg-success"); // akzeptierte
|
||||
cell.getElement().classList.add("bg-success-bs3"); // akzeptierte
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user