-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathadmin.html
55 lines (52 loc) · 1.95 KB
/
admin.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
<!doctype html>
<html>
<head>
<title>InetrAct Admin Panel</title>
<link rel="stylesheet" href="build/admin.css" type="text/css">
<!-- This has to come from the server -->
<script>
// Settings
// We need to know the user name (i.e. who we are)
// For now username will do, but we actually need to know more for the components
USER_NAME = 'Peter StJ';
LOGOUT_LINK = 'whatever';
UPLOAD_SCENARIO = '/games/upload';
UPLOAD_TEAMS = '/games/uploadPlayers';
FINISHED_GAME_STATS_URL = '/whateverYouWant/'; // + the game id will be appended
// Set this to true once you are ready with the web socket.
USE_WEB_SOCKS = false;
SOCKET_RELAY_ADDRESS = '/InterAct/socket';
EXPORT_PLAYERS_URL = 'games/';
DISPATCHER_PATH = '/dispatcher';
//DELETE_CONFIRMATION = 'confirmation text'
//DELETE_TITLE = 'confirmation title'
</script>
<script src="http://srv1.noblestreet.nl/serverTime"></script>
</head>
<body>
<div id="screen"></div>
<script src="build/admin-cssmap.js"></script>
<script src="../../library/closure/goog/base.js"></script>
<script src="build/deps.js"></script>
<script>goog.require('admin');</script>
<!--
<script src="build/admin.build.js"></script>
-->
<!--
<script src="http://demos.158.bg:8080/socket.io/socket.io.js"></script>
-->
<script>
// Hide variables in closure.
// It is guaranteed that io will not override anything only if the compiled
// closure build is wrapped as well. If closure modules are used wrap them as well
// and use export namespace in the modules. (see compiler options)
// the build exports window.SocketBridge = { process: function(data) {} }
// (function() {
// var socket = io.connect('http://demos.158.bg:8080');
// socket.on('message', function(data) {
// SocketBridge.process(data);
// });
// }());
</script>
</body>
</html>