aboutsummaryrefslogtreecommitdiff
path: root/src/app/index.html
diff options
context:
space:
mode:
author0neGal <mail@0negal.com>2022-02-08 21:15:38 +0100
committerGitHub <noreply@github.com>2022-02-08 21:15:38 +0100
commit70e50148c8a4315c7fc25d5052f9ebee1c5d56bc (patch)
tree5670e225378ebcb0e73efb0c84265357f74f00cb /src/app/index.html
parente2aa874f48dc585f0d67c5655df234bdf356cc53 (diff)
parent1bd83cf1a72332e142bb63acab47ac3877061875 (diff)
downloadViper-70e50148c8a4315c7fc25d5052f9ebee1c5d56bc.tar.gz
Viper-70e50148c8a4315c7fc25d5052f9ebee1c5d56bc.zip
Merge pull request #50 from 0neGal/thunderstore
Thunderstore support
Diffstat (limited to 'src/app/index.html')
-rw-r--r--src/app/index.html15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/app/index.html b/src/app/index.html
index fe383a0..b861736 100644
--- a/src/app/index.html
+++ b/src/app/index.html
@@ -12,6 +12,19 @@
<div id="minimize" onclick="ipcRenderer.send('minimize')"></div>
<div id="close" onclick="ipcRenderer.send('exit')"></div>
</div>
+
+ <div id="overlay" onclick="Browser.toggle(false)"></div>
+ <div id="browser">
+ <div id="misc">
+ <input id="search" placeholder="%%gui.browser.search%%">
+ <button id="close" onclick="Browser.toggle(false)">
+ <img src="icons/close.png">
+ </button>
+ </div>
+ <div id="browserEntries">
+ <div class="loading">%%gui.browser.loading%%</div>
+ </div>
+ </div>
<nav class="gamesContainer">
<button id="vpBtn" onclick="page(0)"></button>
@@ -79,6 +92,7 @@
<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="installmod" onclick="Browser.toggle(true)">%%gui.mods.find%%</button>
</div>
</div>
</div>
@@ -102,6 +116,7 @@
<script src="lang.js"></script>
<script src="main.js"></script>
+ <script src="browser.js"></script>
<script src="launcher.js"></script>
</body>
</html>