diff options
author | 0neGal <mail@0negal.com> | 2021-12-30 03:43:37 +0100 |
---|---|---|
committer | 0neGal <mail@0negal.com> | 2021-12-30 03:43:37 +0100 |
commit | 40bba8b31cfbef319553920d9fa678ffc1a99597 (patch) | |
tree | 2835a7af5f85ed7e1623ec3cf79e5aa9400c6914 /src/app/index.html | |
parent | 0d0503c338ac9c22d22ee56a8d131ffe6d340638 (diff) | |
download | Viper-40bba8b31cfbef319553920d9fa678ffc1a99597.tar.gz Viper-40bba8b31cfbef319553920d9fa678ffc1a99597.zip |
version now refreshes, fixed and renamed stuff
The version now refreshes when you update/install Northstar, I renamed
vpVersion/nsVersion to just vpversion/nsversion and
getInstalledVersion() to getNSVersion(), removed uses of
getElementById() with just the ID. I also added English localization.
The versions text color is now bound by a CSS variable (we may use it in
the future again).
I'm also not sure what the point of `style="white-space: nowrap;"` was,
as I don't see much of a difference? Rather instead use `<nobr>` in the
lang file if needed.
Besides that I did tiny code cleanup.
Diffstat (limited to 'src/app/index.html')
-rw-r--r-- | src/app/index.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/app/index.html b/src/app/index.html index 4c31255..80f7701 100644 --- a/src/app/index.html +++ b/src/app/index.html @@ -7,10 +7,10 @@ <div class="lines"> <div class="line"> <div class="text"> - <div style="white-space: nowrap;">%%gui.welcome%%</div> + <div>%%gui.welcome%%</div> <div class="versions"> - <div id="vpVersion"></div> - <div id="nsVersion"></div> + <div id="vpversion"></div> + <div id="nsversion"></div> </div> </div> <div class="buttons"> |