-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
205 lines (189 loc) · 5.92 KB
/
index.html
File metadata and controls
205 lines (189 loc) · 5.92 KB
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
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>GMod Loading Screen</title>
<style>
* { box-sizing: border-box; }
html, body {
margin: 0;
padding: 0;
width: 100%;
height: 100%;
background: #1e1e2f;
color: #ddd;
font-family: Arial, Helvetica, sans-serif;
overflow-x: hidden;
}
body {
display: block;
}
#container {
width: 95%;
max-width: 1100px;
padding: 20px;
background: #2f2f47;
border-radius: 10px;
box-shadow: 0 0 20px #000;
margin: 20px auto;
}
h1 {
text-align: center;
margin-bottom: 10px;
font-weight: bold;
color: #fff;
}
h2 {
text-align: center;
margin-top: 0;
margin-bottom: 10px;
font-weight: bold;
color: #5c5ce6;
}
h3 {
text-align: center;
margin-top: 0;
margin-bottom: 5px;
font-weight: normal;
color: #aaa;
}
#extreme-small {
font-size: 10px;
margin-bottom: 30px;
color: #777;
}
#server-info, #status-info {
text-align: center;
margin-bottom: 20px;
font-size: 14px;
color: #bbb;
}
.status-line { margin: 4px 0; }
.category { margin-bottom: 30px; }
.category > h2 {
border-bottom: 2px solid #5c5ce6;
padding-bottom: 5px;
margin-bottom: 15px;
color: #5c5ce6;
font-size: 18px;
text-align: center;
}
.staff-list {
width: 100%;
text-align: center;
}
.staff {
display: inline-block;
vertical-align: top;
background: #3c3c5c;
border-radius: 6px;
padding: 10px;
width: 220px;
margin: 6px;
text-align: center;
box-shadow: inset 0 0 5px #5c5ce6;
}
.staff-header {
display: inline-block;
width: 100%;
margin-bottom: 6px;
}
.staff img {
width: 48px;
height: 48px;
border-radius: 50%;
border: 2px solid #5c5ce6;
background-color: #222;
}
.staff-name {
font-weight: 600;
font-size: 15px;
color: #eee;
display: block;
margin-top: 4px;
}
.staff-role {
margin-top: 6px;
background: #5c5ce6;
border-radius: 4px;
padding: 2px 6px;
font-size: 13px;
color: #fff;
display: inline-block;
font-weight: 600;
}
</style>
</head>
<body>
<div id="container">
<h1>Welcome to Voxel Network Military Roleplay</h1>
<h2>This server is currently in early access</h3>
<h3>Expect frequent updates and new content!</h3>
<h3 id="extreme-small">Expect bugs and problems! Contact Server Leadership when you find them</h3>
<div id="server-info">
<div id="serverName">Server: Loading...</div>
<div id="mapName">Map: Loading...</div>
<div id="gameMode">Game Mode: Loading...</div>
<div id="maxPlayers">Max Players: Loading...</div>
</div>
<div id="status-info">
<div class="status-line" id="status">Status: Waiting...</div>
<div class="status-line" id="filesTotal">Total Files to Download: 0</div>
<div class="status-line" id="filesNeeded">Files Left: 0</div>
<div class="status-line" id="downloadingFile">Downloading: None</div>
</div>
<div class="category" id="management">
<h2>Management</h2>
<div class="staff-list">
<div class="staff">
<div class="staff-header">
<img src="https://cdn.discordapp.com/avatars/1079991330907889766/a20233327d06800a74ec63d6d8c32a0a?size=1024" alt="Artivus">
<span class="staff-name">Artivus</span>
</div>
<div class="staff-role">Owner</div>
</div>
<div class="staff">
<div class="staff-header">
<img src="https://cdn.discordapp.com/avatars/319840934521077762/e1ee3b4873ca27c1fbfb247c01fc5a35?size=1024" alt="HighWorks">
<span class="staff-name">HighWorks</span>
</div>
<div class="staff-role">Community Manager</div>
</div>
<div class="staff">
<div class="staff-header">
<img src="https://cdn.discordapp.com/avatars/412603109207048192/a_683e2e28b2c8b9549ebc4b0b5a5f7504.png?size=1024" alt="Egclo">
<span class="staff-name">Egclo</span>
</div>
<div class="staff-role">Development Manager</div>
</div>
<div class="staff">
<div class="staff-header">
<img src="https://cdn.discordapp.com/avatars/263479792202940416/355f255a0c5c88c92ece088e5499504c.png?size=1024" alt="Lyra">
<span class="staff-name">Lyra</span>
</div>
<div class="staff-role">Server Director</div>
</div>
</div>
</div>
<script>
function GameDetails(servername, serverurl, mapname, maxplayers, steamid, gamemode, volume, language) {
document.getElementById('serverName').innerHTML = 'Server: ' + (servername || 'Unknown');
document.getElementById('mapName').innerHTML = 'Map: ' + (mapname || 'Unknown');
document.getElementById('gameMode').innerHTML = 'Game Mode: ' + (gamemode || 'Unknown');
document.getElementById('maxPlayers').innerHTML = 'Max Players: ' + (maxplayers || '0');
}
function SetStatusChanged(status) {
document.getElementById('status').innerHTML = 'Status: ' + status;
}
function SetFilesTotal(total) {
document.getElementById('filesTotal').innerHTML = 'Total Files to Download: ' + total;
}
function SetFilesNeeded(needed) {
document.getElementById('filesNeeded').innerHTML = 'Files Left: ' + needed;
}
function DownloadingFile(fileName) {
document.getElementById('downloadingFile').innerHTML = 'Downloading: ' + fileName;
}
</script>
</body>
</html>