From b8521be905bd9a24a110eeda009391e6a13e85da Mon Sep 17 00:00:00 2001 From: Corvus Date: Thu, 19 Feb 2026 22:22:46 -0700 Subject: [PATCH 1/3] Add loading bar to web template --- assets/web/index.html | 134 ++++++++++++++++++++++++++++++++++++++++-- src/web/bundle.rs | 22 ++++++- 2 files changed, 149 insertions(+), 7 deletions(-) diff --git a/assets/web/index.html b/assets/web/index.html index ea8e1480..297f0ff9 100644 --- a/assets/web/index.html +++ b/assets/web/index.html @@ -62,6 +62,45 @@ transform: rotate(360deg); } } + + .bar-container { + width: 128px; + height: 12px; + border: 3px solid #ececec; + border-radius: 0.375em; + position: relative; + overflow: hidden; + margin-top: 24px; + margin-bottom: 12px; + } + + .loading-bar { + position: absolute; + top: 0; + left: 0; + right: 0; + bottom: 0; + background-color: #b2b2b2; + transform-origin: center left; + transform: scaleX(0); + } + + .progress-text { + font-size: 0.9rem; + color: #ececec; + font-family: + DejaVu Sans Mono, + monospace; + } + + .error { + font-size: 0.9rem; + color: salmon; + font-family: + DejaVu Sans Mono, + monospace; + margin-top: 12px; + } @@ -69,6 +108,11 @@
+ +
+