From 602790e2ca33ad7f22235bf2ae548cef7db8b814 Mon Sep 17 00:00:00 2001 From: Mitch Riedstra Date: Sat, 9 Jan 2021 15:22:27 -0500 Subject: Add a progress bar to the UI for installation via HTTP. Uses polling, but whatever. --- cmd/web/css.go | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'cmd/web/css.go') diff --git a/cmd/web/css.go b/cmd/web/css.go index 3b772de..ec7267a 100644 --- a/cmd/web/css.go +++ b/cmd/web/css.go @@ -72,6 +72,22 @@ h1,h2,h3 { } } + +#status { + width: 100%; + background-color: #ddd; +} + +.installBar { + width: 0%; + height: 30px; + /* background-color: #4CAF50; */ + background-color: #268bd2; + text-align: center; + line-height: 30px; + color: white; +} + `)) if err != nil { -- cgit v1.2.3