From 43f35da9a2b076e3ff23a0b48524f589e739e7f6 Mon Sep 17 00:00:00 2001 From: Vladislav Ostapov Date: Fri, 15 Nov 2024 15:22:56 +0300 Subject: [PATCH] =?UTF-8?q?=D1=84=D0=B8=D0=BA=D1=81:=20=D1=86=D0=B2=D0=B5?= =?UTF-8?q?=D1=82=D0=B0=20=D0=B2=20=D1=82=D0=B5=D0=BC=D0=BD=D0=BE=D0=B9=20?= =?UTF-8?q?=D1=82=D0=B5=D0=BC=D0=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main.cpp | 2 +- static/style.css | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index 08dea56..eed84dd 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -117,7 +117,7 @@ public: ServerResources(const ServerResources&) = delete; - ServerResources(const std::string& staticFilesPath): sf(std::make_unique()), api(std::make_unique()) { + explicit ServerResources(const std::string& staticFilesPath): sf(std::make_unique()), api(std::make_unique()) { api->startDaemon(); auth.users.emplace_back(std::make_shared("admin", "", http::auth::User::SUPERUSER)); diff --git a/static/style.css b/static/style.css index 3121517..9a72143 100644 --- a/static/style.css +++ b/static/style.css @@ -29,7 +29,8 @@ body { --bg-color: #2d2c33; --bg-selected: #424248; --bg-element: #626268; - --bg-action: #4a70d5; + --bg-action: #3a58af; + --bg-danger: #ac1e1e; } }