aboutsummaryrefslogtreecommitdiff
path: root/src/app/index.html
diff options
context:
space:
mode:
author0neGal <mail@0negal.com>2022-05-16 23:51:26 +0200
committer0neGal <mail@0negal.com>2022-05-16 23:51:26 +0200
commit31545f96ac56e0bbc7d0ed59f86015d693d464d9 (patch)
tree883361501c42f71460d52047b7ac708e9de29ac1 /src/app/index.html
parent716a05ed8673302129aecfc10f680cbf1fa882c7 (diff)
downloadViper-31545f96ac56e0bbc7d0ed59f86015d693d464d9.tar.gz
Viper-31545f96ac56e0bbc7d0ed59f86015d693d464d9.zip
added mod preview browser
Instead of opening your normal web browser you can now just open the page inside Viper, many changes aren't finished yet, notably the webview.css file. At some point I'll split the main.css into more files so the folder makes sense even though there's currently only one file in there.
Diffstat (limited to 'src/app/index.html')
-rw-r--r--src/app/index.html8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/app/index.html b/src/app/index.html
index 02a150f..b146ba3 100644
--- a/src/app/index.html
+++ b/src/app/index.html
@@ -133,6 +133,14 @@
<div class="loading">%%gui.browser.loading%%</div>
</div>
</div>
+ <div class="popup small" id="preview">
+ <div class="misc fixed">
+ <button id="close" onclick="Preview.hide()">
+ <img src="icons/close.png">
+ </button>
+ </div>
+ <webview></webview>
+ </div>
<nav class="gamesContainer">
<button id="vpBtn" onclick="page(0)"></button>