forked from tgstation/tgstation
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tgui.html
35 lines (35 loc) · 1.03 KB
/
tgui.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
<!DOCTYPE html>
<html>
<head>
<meta http-equiv='X-UA-Compatible' content='IE=edge'/>
<meta charset='utf-8'/>
<script>
window.update = function (dataString) {
var data = JSON.parse(dataString);
if (window.tgui) {
window.tgui.set("config", data.config);
if (typeof data.data !== 'undefined') {
window.tgui.set("data", data.data);
window.tgui.animate("adata", data.data);
}
}
};
</script>
<link rel='stylesheet' href='tgui.css'/>
<script id='data' type='application/json' data-ref='[ref]'>{}</script>
<script defer src='tgui.js'></script>
</head>
<body class='[style]'>
<div id='container' class='container'>
<div class='notice'>
<span>Loading...</span><br/>
</div>
</div>
<noscript>
<div class='notice'>
<span>Javascript is required in order to use this interface.</span>
<span>Please enable Javascript and restart the game.</span>
</div>
</noscript>
</body>
</html>