blob: 4799527b2b85bbf1a9155adb4df1057726108d19 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
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="../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>
|