diff --git a/src/laminar.cpp b/src/laminar.cpp index 459d482..6700077 100644 --- a/src/laminar.cpp +++ b/src/laminar.cpp @@ -193,6 +193,7 @@ void Laminar::sendStatus(LaminarClient* client) { }); } j.set("latestNum", int(buildNums[client->scope.job])); + j.set("skin", getenv("LAMINAR_SKIN") ?: ""); j.startArray("artifacts"); populateArtifacts(j, client->scope.job, client->scope.num); j.EndArray(); diff --git a/src/resources/index.html b/src/resources/index.html index 0b01a2f..865e19c 100644 --- a/src/resources/index.html +++ b/src/resources/index.html @@ -44,6 +44,10 @@ right: 10px; padding: 20px; } + pre.black { + background-color: black; + color: white; + }
@@ -102,9 +106,9 @@ - + - +