-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
42 lines (38 loc) · 1.3 KB
/
index.html
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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Symbioz Utils</title>
<link rel="stylesheet" href="node_modules/prismjs/themes/prism-tomorrow.css">
<link rel="stylesheet" type="text/css" href="output.css" />
</head>
<body>
<div class="title">
<div id="title">SymbiozUtils</div>
<button onclick="navigator.quit()" id="close">X</button>
<button onClick="navigator.reduce()">_</button>
<div style="clear: both;"></div>
</div>
<div class="nav" id="nav">
<a onclick="navigator.navigate('home', {version: package.version})">Home</a>
</div>
<div class="overtarget">
<div id="target">
</div>
</div>
<script>
const id = i => { return document.getElementById(i); };
const package = require('./package.json');
let navigator = new require('./js/navigator.js');
let userManager = require('./js/userManager.js');
let charManager = require('./js/charManager.js');
let itemManager = require('./js/itemManager.js');
let utilities = require('./js/utilities.js');
console.log(navigator);
id('title').innerHTML = 'Symbioz Utils v' + package.version + ' - Tym17.com';
navigator.navigate('home', { version: package.version });
// You can also require other files to run in this process
//require('./renderer.js')
</script>
</body>
</html>