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/index.go | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) (limited to 'cmd/web/index.go') diff --git a/cmd/web/index.go b/cmd/web/index.go index 6229f71..970810f 100644 --- a/cmd/web/index.go +++ b/cmd/web/index.go @@ -18,6 +18,8 @@ var ( Steam Game index + + {{ if .Local }} +

Library: {{.Lib.Folder}}

-{{ if .Info.Running }} -

-Currently Downloading from: {{.Info.Url}}
-
-{{ end }} +
+ +
-{{ if .Info.Error }} -

-Error {{.Info.Error}} Downloading from: {{.Info.Url}}
-{{ end }}
-
+
+

About

-- cgit v1.2.3