diff --git a/src/laminar.cpp b/src/laminar.cpp index 4ba989f..5882a33 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 b8e5e71..1d08e65 100644 --- a/src/resources/index.html +++ b/src/resources/index.html @@ -48,6 +48,10 @@ right: 10px; padding: 20px; } + pre.black { + background-color: black; + color: white; + } @@ -106,9 +110,9 @@ - + - + - + - +