-
Notifications
You must be signed in to change notification settings - Fork 4
/
index.html
61 lines (56 loc) · 2.11 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Anubis</title>
<!--
This is the only default stylesheet in the application, the rest of the CSS
is loaded in through the JavaScript files. So if you are looking for those,
check out the component folders.
-->
<link href="./design/bootscreen.css" rel="stylesheet" />
<link href="./design/font/ss-symbolicons-block.css" rel="stylesheet" />
</head>
<body>
<div class="app-base">
<div id="root">
<div class="bootscreen">
<h1>Anubis</h1>
<h2>The Destiny Trials Companion</h2>
<div class="versioning">
<script>
(function versioning() {
var data = require('./manifest.json');
var thanks = [
'Contributors: '+ data.authors.join(', '),
'Beta testers: ' + data.beta.join(', ')
].join('. ');
//
// This is a desktop app, who gives a flying fuck about
// document.write - this wouldn't really be bottle neck in the app
//
document.write('<dl><dt>Author:</dt><dd>Arnout Kazemier</dd></dl>')
document.write('<dl><dt>PSN:</dt><dd>UVXlll</dd></dl>')
document.write('<dl><dt>Rev:</dt> <dd>'+ data.sha +'</dd></dl>');
document.write('<dl><dt>Version:</dt> <dd>'+ data.version +'</dd></dl>');
document.write('<dl><dt>Branch:</dt> <dd>'+ data.branch +'</dd></dl>');
document.write('<p class="thanks">'+ thanks +'</p>');
})();
</script>
</div>
<div class="screenshot"></div>
</div>
</div>
</div>
<script>
(function bootstrap() {
var script = document.createElement('script');
var env = 'production';
try { env = process.env.NODE_ENV; }
catch (e) {}
script.src = env === 'development' ? 'http://localhost:9000/dist/bundle.js' : './dist/bundle.js';
document.write(script.outerHTML);
}());
</script>
</body>
</html>