-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathindex.html
126 lines (105 loc) · 4.96 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="keywords" content="Secret World Legends, SWL, Funcom, Anniversary event, Talos of Gaia event, Golems, Timers" />
<title>Talos Countdown</title>
<link rel="stylesheet" type="text/css" href="src/talos.css" />
</head>
<body>
<a href="https://github.com/AliceOrwell/SWL-Talos-Countdown"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://camo.githubusercontent.com/38ef81f8aca64bb9a64448d0d70f1308ef5341ab/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f6461726b626c75655f3132313632312e706e67" alt="Fork me on GitHub" data-canonical-src="https://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png"></a>
<div id="header">
<h1>Talos Countdown</h1>
</div>
<div id="javascriptnotice" class="notice">
This page requires Javascript. You're seeing this message as you have Javascript disabled.
</div>
<div id="eventended" class="notice hidden">
Talos of Gaia event has ended.
</div>
<div class="leftpanel">
<h2>About</h2>
<p>This is a simple web interface intended to help players of the videogame
<a href="https://www.secretworldlegends.com/">Secret World Legends</a> (SWL),
a MMORPG by <a href="https://www.funcom.com/">Funcom</a>. Its aim is to
provide information during the Talos of Gaia event regarding when each golem
will be spawned in Agartha.</p>
<p>Times are shown in the timezone set by your browser.</p>
<div id="notifications" class="hidden">
<h2>Notifications</h2>
<p>Use these settings to enable sound notifications for certain events.</p>
<!-- Who needs valid html anyway -->
<div class="notificationsettings">
<div>
<h3>Sound</h3>
<div>
<input type="checkbox" id="chk_snd_grace" name="grace" value="grace">
<span>Head to gate</span>
<button type="button" id="btn_snd_grace">Preview</button>
</div>
<div>
<input type="checkbox" id="chk_snd_spawn" name="spawn" value="spawn">
<span>Gate opened</span>
<button type="button" id="btn_snd_spawn">Preview</button>
</div>
</div>
<div>
Volume<br />
<input type="range" min="0" max="100" value="30" class="slider" id="snd_volume">
</div>
</div>
<div id="tts" class="hidden">
<h3>Text-to-Speech</h3>
<div>
<input type="checkbox" id="chk_tts_grace" name="ttsgrace" value="ttsgrace">
<span class="label">Head to gate:</span>
<input type="text" id="txt_tts_grace" name="ttsgrace" value="Portal for [name] Talos in 2 minutes">
<button type="button" id="btn_tts_grace">Preview</button>
</div>
<div>
<input type="checkbox" id="chk_tts_spawn" name="ttsspawn" value="ttsspawn">
<span class="label">Gate opened:</span>
<input type="text" id="txt_tts_spawn" name="ttsspawn" value="Portal for [name] Talos now open">
<button type="button" id="btn_tts_spawn">Preview</button>
</div>
<div>
<div>Voice</div>
<select id="tts_voices"></select>
</div>
<div>
<div>TTS Volume</div>
<input type="range" min="0" max="100" value="70" class="slider" id="tts_volume">
</div>
</div>
</div>
<h2>Link Script</h2>
<p>If you would like to easily link to this page within the game then download
<a href="./data/talos" download target="_blank">this file</a> and save it to the
Scripts directory of your Secret World Legends installation. Once you've
done that typing the command <i>/talos</i> will execute the script.</p>
<h2>Feedback</h2>
<p>If something is broken <a href="https://twitter.com/Alice_Orwell">go ask Alice</a>.</p>
</div>
<div class="rightpanel">
<div id="current_time" class="current_time"></div>
<div id="golems"></div>
</div>
<script type="text/javascript">
// Hide Javascript disabled notice
document.getElementById("javascriptnotice").style.display = 'none';
window.onload = function(e) {
main();
};
</script>
<!-- libraries -->
<script language="javascript" type="text/javascript" src="lib/jquery-3.3.1.min.js"></script>
<script language="javascript" type="text/javascript" src="lib/moment-2.22.2.min.js"></script>
<script language="javascript" type="text/javascript" src="lib/moment-duration-format-2.2.2.js"></script>
<!-- custom -->
<script language="javascript" type="text/javascript" src="src/soundevent.js"></script>
<script language="javascript" type="text/javascript" src="src/soundmanager.js"></script>
<script language="javascript" type="text/javascript" src="src/forecast.js"></script>
<script language="javascript" type="text/javascript" src="src/talos.js"></script>
<script language="javascript" type="text/javascript" src="src/main.js"></script>
</body>
</html>