aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlystrasz <contact@remyraes.com>2021-12-29 12:10:40 +0100
committerAlystrasz <contact@remyraes.com>2021-12-29 12:10:40 +0100
commitb430d92573619ffce82362cc2a682addc6c958ab (patch)
tree2f59661df33b170f14a734e156bf2e5a1227025d
parent4abe10aebdfa06c9b9c31c98f084d511e3e2e319 (diff)
downloadViper-b430d92573619ffce82362cc2a682addc6c958ab.tar.gz
Viper-b430d92573619ffce82362cc2a682addc6c958ab.zip
[feat] adding version indicators on the UI
-rw-r--r--src/app/index.html8
-rw-r--r--src/app/main.css6
-rw-r--r--src/index.js2
3 files changed, 14 insertions, 2 deletions
diff --git a/src/app/index.html b/src/app/index.html
index 1c34360..a73422f 100644
--- a/src/app/index.html
+++ b/src/app/index.html
@@ -6,7 +6,13 @@
<body>
<div class="lines">
<div class="line">
- <div class="text">%%gui.welcome%%</div>
+ <div class="text">
+ <div>%%gui.welcome%%</div>
+ <div class="versions">
+ <div>Viper version: x.x.x</div>
+ <div>Northstar version: x.x.x</div>
+ </div>
+ </div>
<div class="buttons">
<button id="exit" onclick="exit()">%%gui.exit%%</button>
<button id="update" onclick="update()">%%gui.update%%</button>
diff --git a/src/app/main.css b/src/app/main.css
index 854c47a..f3cd7c5 100644
--- a/src/app/main.css
+++ b/src/app/main.css
@@ -61,3 +61,9 @@ button:active {
#setpath {background: #5E81AC}
#northstar {background: #C7777F}
#vanilla, #exit {background: #656E7F}
+
+.versions {
+ height: 15px;
+ font-size: 12px;
+ color: #afafaf;
+} \ No newline at end of file
diff --git a/src/index.js b/src/index.js
index fead15b..3520914 100644
--- a/src/index.js
+++ b/src/index.js
@@ -11,7 +11,7 @@ const cli = require("./cli");
function start() {
win = new BrowserWindow({
width: 600,
- height: 115,
+ height: 130,
show: false,
title: "Viper",
resizable: false,