aboutsummaryrefslogtreecommitdiff
path: root/src/app/index.html
diff options
context:
space:
mode:
author0neGal <mail@0negal.com>2022-01-03 00:43:45 +0100
committer0neGal <mail@0negal.com>2022-01-03 00:43:45 +0100
commitbf7bd0993714f20fd0ab360de956378113e1d9c2 (patch)
tree9ba692562f64ed86151617756cfd214e57c8b25d /src/app/index.html
parent9c4b2aa7bfe2a96354f968c23a98213995242380 (diff)
downloadViper-bf7bd0993714f20fd0ab360de956378113e1d9c2.tar.gz
Viper-bf7bd0993714f20fd0ab360de956378113e1d9c2.zip
fully working GUI functionality
Smoothly updates and works flawlessly, the only thing that really needs improvements is the design and on top of that installing mods from a Zip file over folder.
Diffstat (limited to 'src/app/index.html')
-rw-r--r--src/app/index.html10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/app/index.html b/src/app/index.html
index ffc31a6..88cfbb5 100644
--- a/src/app/index.html
+++ b/src/app/index.html
@@ -31,11 +31,11 @@
<div class="line">
<div class="text" id="modcount">%%gui.mods%%</div>
<div class="buttons">
- <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>
+ <button id="removemod" onclick="selected().remove()">%%gui.mods.remove%%</button>
+ <button id="removeall" onclick="selected(true).remove()">%%gui.mods.removeall%%</button>
+ <button id="togglemod" onclick="selected().toggle()">%%gui.mods.toggle%%</button>
+ <button id="toggleall" onclick="selected(true).toggle(true)">%%gui.mods.toggleall%%</button>
+ <button id="installmod" onclick="installmod()">%%gui.mods.install%%</button>
</div>
</div>
</div>