aboutsummaryrefslogtreecommitdiff
path: root/views/menu.html
diff options
context:
space:
mode:
authorMinteck <nekostarfan@gmail.com>2021-06-05 19:27:48 +0200
committerMinteck <nekostarfan@gmail.com>2021-06-05 19:27:48 +0200
commit8cf5cefe6e91a5a1ed6eeaae4d94760d84c304a6 (patch)
tree7096b67b189c0220826123c7d5b121752545d140 /views/menu.html
downloadkartik-client-8cf5cefe6e91a5a1ed6eeaae4d94760d84c304a6.tar.gz
kartik-client-8cf5cefe6e91a5a1ed6eeaae4d94760d84c304a6.tar.bz2
kartik-client-8cf5cefe6e91a5a1ed6eeaae4d94760d84c304a6.zip
Presque sortie du jeu
Diffstat (limited to 'views/menu.html')
-rw-r--r--views/menu.html80
1 files changed, 80 insertions, 0 deletions
diff --git a/views/menu.html b/views/menu.html
new file mode 100644
index 0000000..7f7256a
--- /dev/null
+++ b/views/menu.html
@@ -0,0 +1,80 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+ <script>if (typeof require !== "undefined") {native = true;try{global.native = true;}catch(e){}} else {native = false;try{global.native = false;}catch(e){}}if (!native){global = window;}if (native){kresources=require('@electron/remote').getCurrentWindow().resources;trackEvent=require('@electron/remote').getCurrentWindow().trackEvent;}info=(_a,b)=>{console.info(b);};warn=(_a,b)=>{console.warn(b);};error=(_a,b)=>{console.error(b);};</script>
+ <script src="../lang/loader.js"></script>
+ <script src="../scenario/client.js"></script>
+ <meta charset="UTF-8">
+ <link rel="stylesheet" href="common/fonts.css">
+ <link rel="stylesheet" href="menu.css">
+ <title>Kartik</title>
+ <script src="../crash/client.js"></script>
+ <script src="../sfx/sfx.js"></script>
+ <link rel="stylesheet" href="rain/rainstyle.css">
+ <script>
+ scenar("intro", "neutral");
+ if (!require('@electron/remote').getCurrentWindow().debug) {
+ document.write('<link rel="stylesheet" href="common/mouse.css">');
+ }
+ </script>
+</head>
+<body class="back-row-toggle splat-toggle">
+ <script>info("MainWindow", "Rendering initial frame...");
+
+ if (native) {
+ scale=require('@electron/remote').getCurrentWindow().scale;document.body.style.zoom=scale;
+ }
+
+ </script>
+ <div id="box" style="display: none;background:#222;position:fixed;top:0;left:0;right:0;bottom:0;">
+ <div class="rain front-row"></div>
+ <div class="rain back-row"></div>
+
+ <div style="width: 100%;height: 100%;background-color: #001743;background-image: url('./menu.jpg');background-size: cover;position: fixed;z-index: -1;">
+ <img alt="full-logo" src="../logo/full.png" style="margin-left: 50px;margin-top: 30px;height: 96px;">
+ </div>
+
+ <div class="services">
+ <div class="items">
+ <ul>
+ <li class="selected"><span class="item"><a href="#" id="single"><img class="item-icon" src="../icons/singleplayer.svg"> <script>document.write(lang.menu.titles[0])</script></a></span></li>
+ <script id="prefill">
+ if (require('@electron/remote').getCurrentWindow().online) {
+ document.write(`<li><span class="item"><a href="#" id="play"><img class="item-icon" src="../icons/local.svg"> ${lang.online.menu.local}</a></span></li>`)
+ document.write(`<li><span class="item"><a href="#" id="online"><img class="item-icon" src="../icons/online.svg"> ${lang.online.menu.online} <span style="font-size: 10px;vertical-align: middle;display: inline-block;border-radius: 999px;padding: 2px 5px;background: #9c6500;">BETA</span></a></span></li>`);
+ document.write(`<li><span class="item"><a href="#" id="settings"><img class="item-icon" src="../icons/settings.svg"> ${lang.menu.titles[2]}</a></span></li>`);
+ } else {
+ document.write(`<li><span class="item"><a href="#" id="play"><img class="item-icon" src="../icons/local.svg"> ${lang.online.menu.local}</a></span></li>`)
+ document.write(`<li><span class="item"><a href="#" id="settings"><img class="item-icon" src="../icons/settings.svg"> ${lang.menu.titles[2]}</a></span></li>`);
+ }
+ document.getElementById('prefill').outerHTML = "";
+ </script>
+ <li><span class="item"><a href="#" id="quit"><img class="item-icon" src="../icons/exit.svg"> <script>document.write(lang.menu.titles[4])</script></a></span></li>
+ </ul>
+ </div>
+ </div>
+
+ <div style="font-family:monospace;position: fixed;right: 16px;top: 16px;color: white;font-size: 10px;text-align:left;z-index:999999999;" id="gpuinfo">
+ <b><u>GPU Supported Features:</u></b><br>
+ <div id="gpuinfo-outer">Hold Shift to view</div>
+ <div id="gpuinfo-inner" style="opacity:0;">
+ <script src="./script/menu_gpuinfo.js"></script>
+ </div>
+ <script>
+
+ if (require('@electron/remote').getCurrentWindow().update === "stable") {
+ document.getElementById('gpuinfo').style.display = "none";
+ }
+
+ </script>
+ </div>
+
+ <span id="copyright">© <script src="./script/menu_copyright.js"></script></span>
+ </div>
+
+ <script src="./script/menu_music.js"></script>
+</body>
+<script src="./script/menu_global.js"></script>
+<script src="./rain/rainscript.js"></script>
+<script src="./script/client_fullscreen.js"></script>
+</html>