-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathindex.html
118 lines (105 loc) · 5.98 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<link rel="shortcut icon" href="icon.ico">
<title>TotalRisk</title>
<script src="js/libs/socket.io.js"></script>
<script>
let electron;
let ipcRenderer;
let screen;
let electronLog;
if (!!(window && window.process && window.process.type)) { // If running Electron
electron = require('electron');
electronLog = require('electron-log');
ipcRenderer = require('electron').ipcRenderer;
screen = require('electron').screen;
}
</script>
<script src="https://code.responsivevoice.org/responsivevoice.js?key=ppPpZb3q"></script>
<script src='js/libs/three.min.js'></script>
<script src='js/libs/cannon.min.js'></script>
<script src='js/libs/dice.js'></script>
<script src='js/libs/css_globe_PerspectiveTransform.js'></script>
<script src="node_modules/angular/angular.min.js"></script>
<script src="node_modules/angular-sanitize/angular-sanitize.min.js"></script>
<script src="node_modules/angular-ui-bootstrap/dist/ui-bootstrap.js"></script>
<script src="node_modules/angular-ui-bootstrap/dist/ui-bootstrap-tpls.js"></script>
<script src="node_modules/angularjs-slider/dist/rzslider.min.js"></script>
<script src="node_modules/izitoast/dist/js/iziToast.min.js"></script>
<script src="node_modules/@simonwep/pickr/dist/pickr.min.js"></script>
<script src="node_modules/moment/dist/moment.js"></script>
<script src="node_modules/chroma-js/chroma.min.js"></script>
<script src="assetsDist/app.bundle.js"></script>
<script src="node_modules/jquery/dist/jquery.min.js"></script>
<script src="node_modules/bootstrap/dist/js/bootstrap.min.js"></script>
<script src="node_modules/chart.js/dist/Chart.min.js"></script>
<script src="https://kit.fontawesome.com/b7520ef1d5.js" crossorigin="anonymous"></script>
<!-- Fix for electron -->
<script>if (window.module) module = window.module;</script>
<link href="node_modules/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet" type="text/css">
<link href="node_modules/bootstrap/dist/css/bootstrap-theme.min.css" rel="stylesheet" type="text/css">
<link href="node_modules\izitoast\dist\css\iziToast.min.css" rel="stylesheet" type="text/css">
<link rel="stylesheet" type="text/css" href="node_modules/angularjs-slider/dist/rzslider.css">
<link rel="stylesheet" href="node_modules/@simonwep/pickr/dist/themes/nano.min.css"/>
<link href="cssLibs/animate.css" rel="stylesheet" type="text/css">
<!-- <link href="cssLibs/csshake.css" rel="stylesheet" type="text/css"> -->
<link href="assetsDist/default.css" rel="stylesheet" type="text/css">
<link href='https://fonts.googleapis.com/css?family=Montserrat' rel='stylesheet' type='text/css'>
<!-- <link href="https://fonts.googleapis.com/css?family=Berkshire+Swash" rel="stylesheet"> -->
<link href="https://fonts.googleapis.com/css?family=Cinzel&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.0.13/css/all.css" integrity="sha384-DNOHZ68U8hZfKXOrtjWvjxusGo9WQnrNx2sqG0tfsghAvtVlRW3tvkXWZh58N9jp" crossorigin="anonymous">
<script>
if (process && process.env && process.env.LOGIN_INFO) {
setTimeout(() => {
const userName = process.env.LOGIN_INFO.split(':')[0];
const password = process.env.LOGIN_INFO.split(':')[1];
$('#authenticationBox > div:nth-child(3) > button:nth-child(2)').click();
setTimeout(() => {
console.log('userName', userName)
console.log('password', password)
$('#authenticationBox > div:nth-child(4) > form > div:nth-child(2) > input').val(userName.trim());
$('#authenticationBox > div:nth-child(4) > form > div:nth-child(3) > input').val(password.trim());
setTimeout(() => {
document.querySelector('#authenticationBox > div:nth-child(4) > form > div:nth-child(4) > button').removeAttribute('disabled')
$('#authenticationBox > div:nth-child(4) > form > div:nth-child(4) > button').click();
}, 300);
}, 500);
}, 2000);
}
</script>
</head>
<body ng-app="risk" data-ng-controller="mainController as main">
<div id="backgroundImage"></div>
<div id="backgroundSmoke"></div>
<div id="globalLoading">
<div class="spinner">
<div class="bounce1"></div>
<div class="bounce2"></div>
<div class="bounce3"></div>
</div>
</div>
<ng-include src="'src/views/authenticationBox.html'"></ng-include>
<div class="wrapper mainWrapper" id="mainGameWrapper">
<ng-include src="'src/views/logo.html'"></ng-include>
<div class="container mainContent">
<ng-include src="'src/views/mainMenu.html'"></ng-include>
<ng-include src="'src/views/editorGallery.html'"></ng-include>
<ng-include src="'src/views/settings.html'"></ng-include>
<ng-include src="'src/views/leaderboard.html'"></ng-include>
<ng-include src="'src/views/editor.html'"></ng-include>
<ng-include src="'src/views/playerSetupMultiplayer.html'"></ng-include>
<ng-include src="'src/views/multiplayerSetup.html'"></ng-include>
<ng-include src="'src/views/singleplayerSetup.html'"></ng-include>
<ng-include src="'src/views/editProfile.html'"></ng-include>
<ng-include src="'src/views/profile.html'"></ng-include>
<ng-include src="'src/views/patchLog.html'"></ng-include>
</div>
<ng-include src="'src/views/gameViewSingleplayer.html'"></ng-include>
<ng-include src="'src/views/gameViewTutorial.html'"></ng-include>
<ng-include src="'src/views/gameViewMultiplayer.html'"></ng-include>
<ng-include src="'src/views/endScreen.html'"></ng-include>
</div>
</body>
</html>