diff options
author | 0neGal <mail@0negal.com> | 2023-01-27 11:54:36 +0100 |
---|---|---|
committer | 0neGal <mail@0negal.com> | 2023-01-28 01:18:45 +0100 |
commit | 7fea75e8b064e5ca241a044e6efb3a315b6cd882 (patch) | |
tree | b5b1f67676457c8fef9bff31b2a0f21a114bc5f5 /src/app/index.html | |
parent | feef5a6c98239a2c08433aec1bbc4e5510a79e32 (diff) | |
download | Viper-7fea75e8b064e5ca241a044e6efb3a315b6cd882.tar.gz Viper-7fea75e8b064e5ca241a044e6efb3a315b6cd882.zip |
initial draft for redesign of the mod list
The current design for the installed mods is not exactly the best. And
it has been due for a redesign for quite a while, I'm finally starting
work on this.
Diffstat (limited to 'src/app/index.html')
-rw-r--r-- | src/app/index.html | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/app/index.html b/src/app/index.html index d2d70e1..9a571f0 100644 --- a/src/app/index.html +++ b/src/app/index.html @@ -226,19 +226,18 @@ </div> </div> <div id="nsMods" class="hidden section"> - <div id="modsdiv"> - </div> + <div id="modsdiv" class="grid"> <div class="line"> <div class="text" id="modcount">%%gui.mods%%</div> <div class="buttons modbtns"> - <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> - <button id="findmod" onclick="Browser.toggle(true)">%%gui.mods.find%%</button> + <button id="removeall" class="red2" onclick="mods.remove('allmods')">%%gui.mods.removeall%%</button> + <button id="toggleall" class="orange2" onclick="selected(true).toggle(true)">%%gui.mods.toggleall%%</button> + <button id="installmod" class="blue" onclick="installmod()">%%gui.mods.install%%</button> + <button id="findmod" class="blue2" onclick="Browser.toggle(true)">%%gui.mods.find%%</button> </div> </div> + + </div> </div> <div id="nsRelease" class="hidden section"></div> </div> @@ -260,6 +259,7 @@ <script src="lang.js"></script> <script src="main.js"></script> + <script src="js/mods.js"></script> <script src="js/toast.js"></script> <script src="js/browser.js"></script> <script src="js/settings.js"></script> |