aboutsummaryrefslogtreecommitdiff
path: root/views/settings.html
diff options
context:
space:
mode:
Diffstat (limited to 'views/settings.html')
-rw-r--r--views/settings.html140
1 files changed, 70 insertions, 70 deletions
diff --git a/views/settings.html b/views/settings.html
index 0addaf3..9fa0b5a 100644
--- a/views/settings.html
+++ b/views/settings.html
@@ -1,70 +1,70 @@
-<!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);};const Nest = require("../nest/abi");currentNest = require('@electron/remote').getCurrentWindow().nest;</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="common/blur.css">
- <link rel="stylesheet" href="menu.css">
- <title>Kartik</title>
- <script src="../crash/client.js"></script>
- <script src="./script/global_compatlayer.js"></script><script src="../typescript/mainloader.js"></script>
- <script src="../sfx/sfx.js"></script>
- <script>
- if (!require('@electron/remote').getCurrentWindow().debug) {
- document.write('<link rel="stylesheet" href="common/mouse.css">');
- }
- </script>
- <script>
- require('@electron/remote').getCurrentWindow().dstate = lang.discord.settings[0];
- require('@electron/remote').getCurrentWindow().ddetails = lang.discord.settings[1];
- homedir = require('@electron/remote').getCurrentWindow().homedir;
- </script>
-</head>
-<body>
- <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 style="width: 100%;height: 192px;background: #00538e;background-image: url('./background.jpg');background-size: cover;position: fixed;z-index: -1;"><h2 style="margin: 0;padding: 50px;font-size: 48px;color: white;"><script>document.write(lang.settings.title)</script></h2></div>
-
- <div class="services services-settings">
- <div class="items">
- <ul>
- <li class="selected"><span class="item" style="width: calc(100% - 150px);"><a href="#" id="back"><img class="item-icon" src="../icons/back.svg"> <script>document.write(lang.settings.back)</script></a></span></li>
- <li><span class="item" style="width: calc(100% - 150px);"><a href="#" id="lang"><img class="item-icon" src="../icons/language.svg"> <script>document.write(lang.settings.lang)</script> [Language]<span class="setting-status"><span id="setting-lang">Français</span></span></a></span></li>
- <li><span class="item" style="width: calc(100% - 150px);"><a href="#" id="musicb"><img class="item-icon" src="../icons/music.svg"> <script>document.write(lang.settings.music)</script><span class="setting-status"><span id="setting-music"><script>document.write(lang.settings.yes)</script></span></span></a></span></li>
- <li><span class="item" style="width: calc(100% - 150px);"><a href="#" id="voice"><img class="item-icon" src="../icons/scenario.svg"> <script>document.write(lang.settings.voice)</script><span class="setting-status"><span id="setting-voice"><script>document.write(lang.settings.yes)</script></span></span></a></span></li>
- <li><span class="item" style="width: calc(100% - 150px);"><a href="#" id="credits"><img class="item-icon" src="../icons/credits.svg"> <script>document.write(lang.menu.titles[3])</script></a></span></li>
- </ul>
- </div>
- </div>
-
- <span id="notice">
- <script>
- document.write(lang.settings.notice);
-
- if (require('@electron/remote').getCurrentWindow().mods.length > 0) {
- document.write("<br><br>");
- if (require('@electron/remote').getCurrentWindow().mods.length > 1) {
- document.write(require('@electron/remote').getCurrentWindow().mods.length + " mods loaded");
- } else {
- document.write("1 mod loaded");
- }
- }
- </script>
- </span>
- </div>
-
- <script src="./script/settings_load.js"></script>
-<script>info("OptnWindow", "Menu opened");</script>
-</body>
-<script src="./script/settings_global.js"></script>
-<script src="./script/client_fullscreen.js"></script>
-</html>
+<!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);};const Nest = require("../nest/abi");currentNest = require('@electron/remote').getCurrentWindow().nest;</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="common/blur.css">
+ <link rel="stylesheet" href="menu.css">
+ <title>Kartik</title>
+ <script src="../crash/client.js"></script>
+ <script src="./script/global_compatlayer.js"></script><script src="../typescript/mainloader.js"></script>
+ <script src="../sfx/sfx.js"></script>
+ <script>
+ if (!require('@electron/remote').getCurrentWindow().debug) {
+ document.write('<link rel="stylesheet" href="common/mouse.css">');
+ }
+ </script>
+ <script>
+ require('@electron/remote').getCurrentWindow().dstate = lang.discord.settings[0];
+ require('@electron/remote').getCurrentWindow().ddetails = lang.discord.settings[1];
+ homedir = require('@electron/remote').getCurrentWindow().homedir;
+ </script>
+</head>
+<body>
+ <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 style="color:black;width: 100%;height: 192px;background: #00538e;background-image: url('./background.jpg');background-size: cover;position: fixed;z-index: -1;"><h2 style="margin: 0;padding: 50px;font-size: 48px;color: black;"><script>document.write(lang.settings.title)</script></h2></div>
+
+ <div class="services services-settings">
+ <div class="items">
+ <ul>
+ <li class="selected"><span class="item" style="width: calc(100% - 150px);"><a href="#" id="back"><img class="item-icon" src="../icons/back.svg"> <script>document.write(lang.settings.back)</script></a></span></li>
+ <li><span class="item" style="width: calc(100% - 150px);"><a href="#" id="lang"><img class="item-icon" src="../icons/language.svg"> <script>document.write(lang.settings.lang)</script> [Language]<span class="setting-status"><span id="setting-lang">Français</span></span></a></span></li>
+ <li><span class="item" style="width: calc(100% - 150px);"><a href="#" id="musicb"><img class="item-icon" src="../icons/music.svg"> <script>document.write(lang.settings.music)</script><span class="setting-status"><span id="setting-music"><script>document.write(lang.settings.yes)</script></span></span></a></span></li>
+ <li><span class="item" style="width: calc(100% - 150px);"><a href="#" id="voice"><img class="item-icon" src="../icons/scenario.svg"> <script>document.write(lang.settings.voice)</script><span class="setting-status"><span id="setting-voice"><script>document.write(lang.settings.yes)</script></span></span></a></span></li>
+ <li><span class="item" style="width: calc(100% - 150px);"><a href="#" id="credits"><img class="item-icon" src="../icons/credits.svg"> <script>document.write(lang.menu.titles[3])</script></a></span></li>
+ </ul>
+ </div>
+ </div>
+
+ <span id="notice" style="color:black;">
+ <script>
+ document.write(lang.settings.notice);
+
+ if (require('@electron/remote').getCurrentWindow().mods.length > 0) {
+ document.write("<br><br>");
+ if (require('@electron/remote').getCurrentWindow().mods.length > 1) {
+ document.write(require('@electron/remote').getCurrentWindow().mods.length + " mods loaded");
+ } else {
+ document.write("1 mod loaded");
+ }
+ }
+ </script>
+ </span>
+ </div>
+
+ <script src="./script/settings_load.js"></script>
+<script>info("OptnWindow", "Menu opened");</script>
+</body>
+<script src="./script/settings_global.js"></script>
+<script src="./script/client_fullscreen.js"></script>
+</html>