mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-27 11:13:24 +02:00
updatexlrator.cgi: Update to naming of variables in css section
- This updates the updatexlrator.cgi page to the same central use of extraHead from header.pl and simplifying of css variables where appropriate. - The variables for the percentage bar will also be able to be used in other cgi pages with a percent bar. Tested-by: Adolf Belka <adolf.belka@ipfire.org> Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
This commit is contained in:
committed by
Peter Müller
parent
d3aec71828
commit
14051bfeb5
@@ -58,6 +58,31 @@ $Header::extraHead = <<END
|
||||
.red {
|
||||
background-color: red;
|
||||
}
|
||||
.table1colour {
|
||||
background-color: $Header::table1colour;
|
||||
}
|
||||
.table2colour {
|
||||
background-color: $Header::table2colour;
|
||||
}
|
||||
.percent-box {
|
||||
border-style: solid;
|
||||
border-width: 1px;
|
||||
border-color: #a0a0a0;
|
||||
width: 100px;
|
||||
height: 10px;
|
||||
}
|
||||
.percent-bar {
|
||||
background-color: #a0a0a0;
|
||||
border-style: solid;
|
||||
border-width: 1px;
|
||||
border-color: #e2e2e2;
|
||||
}
|
||||
.percent-space {
|
||||
background-color: #e2e2e2;
|
||||
border-style: solid;
|
||||
border-width: 1px;
|
||||
border-color: #e2e2e2;
|
||||
}
|
||||
</style>
|
||||
END
|
||||
;
|
||||
|
||||
Reference in New Issue
Block a user