aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author0neGal <mail@0negal.com>2021-12-31 15:41:51 +0100
committer0neGal <mail@0negal.com>2021-12-31 15:41:51 +0100
commitc5c63d6c8a81596d0dcf3e14e072ea14f4d0610c (patch)
tree1088a4af21b4c5be05874b313827b5d5d17f89e4
parent285421f2e8847d412871c3a08f2dad137300a55c (diff)
downloadViper-c5c63d6c8a81596d0dcf3e14e072ea14f4d0610c.tar.gz
Viper-c5c63d6c8a81596d0dcf3e14e072ea14f4d0610c.zip
added remove and toggle mod/all mods
-rw-r--r--src/app/index.html4
-rw-r--r--src/app/main.css3
-rw-r--r--src/lang/en.json4
3 files changed, 8 insertions, 3 deletions
diff --git a/src/app/index.html b/src/app/index.html
index edf7fbe..9b72ebb 100644
--- a/src/app/index.html
+++ b/src/app/index.html
@@ -25,8 +25,10 @@
<div class="line">
<div class="text" id="modcount">%%gui.mods%%</div>
<div class="buttons">
- <button id="removemod">%%gui.mods.removemod%%</button>
+ <button id="removemod">%%gui.mods.remove%%</button>
<button id="removeall">%%gui.mods.removeall%%</button>
+ <button id="togglemod">%%gui.mods.toggle%%</button>
+ <button id="toggleall">%%gui.mods.toggleall%%</button>
<button id="installmod">%%gui.mods.install%%</button>
</div>
</div>
diff --git a/src/app/main.css b/src/app/main.css
index 08c82fa..929483a 100644
--- a/src/app/main.css
+++ b/src/app/main.css
@@ -77,8 +77,9 @@ button:active {
}
-#update, #installmod {background: #81A1C1}
#setpath {background: #5E81AC}
#vanilla, #exit {background: #656E7F}
+#update, #installmod {background: #81A1C1}
+#togglemod, #toggleall {background: #ECD19A}
#northstar, #removeall, #removemod {background: #C7777F}
button:disabled {background: var(--disabled) !important; opacity: 0.5}
diff --git a/src/lang/en.json b/src/lang/en.json
index 0aa7ef2..523c6fa 100644
--- a/src/lang/en.json
+++ b/src/lang/en.json
@@ -25,7 +25,9 @@
"gui.mods": "Mods",
"gui.mods.count": "Mods Installed:",
"gui.mods.install": "Install Mod",
- "gui.mods.removemod": "Remove Mod",
+ "gui.mods.toggle": "Toggle Mod",
+ "gui.mods.toggleall": "Toggle All",
+ "gui.mods.remove": "Remove Mod",
"gui.mods.removeall": "Remove All",
"gui.update.downloading": "Downloading...",