-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
163 lines (157 loc) · 5.3 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
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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>FreeSpace Dedicated Server</title>
<link href="css/smoothness/jquery-ui-1.9.2.custom.css" rel="stylesheet"/>
<link href="css/jquery.dataTables.css" rel="stylesheet"/>
<link href="css/jquery.dataTables_themeroller.css" rel="stylesheet"/>
<link href="css/common.css" rel="stylesheet"/>
<script src="js/jquery-1.8.3.min.js"></script>
<script src="js/jquery-ui-1.9.2.custom.min.js"></script>
<script src="js/jquery.dataTables.min.js"></script>
<script src="js/base64.js"></script>
<script src="js/common.js"></script>
<script src="js/tabLogin.js"></script>
<script src="js/tabServer.js"></script>
<script src="js/tabMission.js"></script>
<script src="js/tabChat.js"></script>
<script src="js/tabDebug.js"></script>
<script src="js/main.js"></script>
</head>
<body>
<div id="tabContainer">
<ul id="tabHeaders">
<li style="float: right;"><a href="#tabLogin">Login</a></li>
<li><a href="#tabServer">Server</a></li>
<li><a href="#tabMission">Mission</a></li>
<li><a href="#tabChat">Chat</a></li>
<li><a href="#tabDebug">Debug</a></li>
</ul>
<div id="tabLogin" class="ui-tabs-panel">
<form id="loginForm">
<label for="username">Username:</label>
<input type="text" name="username" id="loginUsername"/>
<br/>
<label for="password">Password:</label>
<input type="password" name="password" id="loginPassword"/>
<br/>
<input type="submit" value="Save"/>
</form>
</div>
<div id="tabServer" class="ui-tabs-panel">
<form id="serverEntityForm" class="fixedWidthBox">
<fieldset class="entityAttributes">
<label for="name">Server Name</label>
<label for="password">Host Password</label>
<label for="framecap">Framecap</label>
</fieldset>
<fieldset class="entityCommon">
<input type="button" name="get" value="Update"/>
<input type="button" name="put" value="Save"/>
<input type="button" name="delete" value="Shutdown" confirm-data="Shutdown the Server ?"/>
</fieldset>
</form>
<form id="netgameInfoForm" class="fixedWidthBox">
<fieldset class="entityAttributes">
<label for="name">Server Name</label>
<label for="mission">Mission Name</label>
<label for="campaign">Campaign Name</label>
<label for="maxPlayers">max Players</label>
<label for="maxObservers">max Observers</label>
<label for="respawn">Respawns</label>
<label for="gameState">Game State</label>
<label for="security">Security</label>
</fieldset>
<fieldset class="entityCommon">
<input type="button" name="get" value="Update"/>
<input type="button" name="put" value="Save"/>
</fieldset>
</form>
<table id='clientsTable'>
<thead>
<tr>
<th>Id</th>
<th>Address</th>
<th>Ping</th>
<th>Host</th>
<th>Observer</th>
<th>Callsign</th>
<th>Ship Type</th>
<th></th>
<th></th>
</tr>
</thead>
</table>
<br/>
<input type="button" id="refresh" value="Refresh Missions"/>
<input type="button" id="reset_all" value="Reset All"/>
</div>
<div id="tabMission" class="ui-tabs-panel">
<form class="fixedWidthBox">
<fieldset class="entityAttributes">
<label for="fps">Mission Fps:</label>
<label for="time">Mission Time:</label>
</fieldset>
<fieldset class="entityCommon">
<input type="button" name="get" value="Update"/>
</fieldset>
</form>
<table id="missionGoalsTable">
<thead>
<tr>
<th>Name</th>
<th>Team</th>
<th>Status</th>
<th>Type</th>
<th>Message</th>
</tr>
</thead>
</table>
</div>
<div id="tabChat" class="ui-tabs-panel">
<textarea id="chatLog" class="logTextarea" readonly></textarea>
<form id="chatNewMessage">
<input type="text" id="chatNewMessageText"/>
<input type="submit" value="Send"/>
</form>
</div>
<div id="tabDebug" class="ui-tabs-panel">
<textarea id="debugLog" class="logTextarea" readonly></textarea>
</div>
</div>
<div id="Templates" style="display:none;">
<div id="PlayerPanel" class="ui-tabs-panel">
<ul class="score-list">
<li template-data="PlayerScoreDetails"/>
<li template-data="PlayerScoreDetails"/>
</ul>
</div>
<li id="PlayerScoreDetails">
<form>
<fieldset class="entityAttributes">
<label for="score">Score</label>
<label for="kills">Kills</label>
<label for="kills-friendly">Friendly Kills</label>
<label for="assists">Assists</label>
<label for="shots-primary">Primary Shots</label>
<label for="hits-primary">Primary Hits</label>
<label for="hits-friendly-primary">Primary BH Hits</label>
<label for="shots-secondary">Secondary Shots</label>
<label for="hits-secondary">Secondary Hits</label>
<label for="hits-friendly-secondary">Secondary BH Hits</label>
<!-- TODO
<label for="primary-hit-percentage" dynamic-data="">Primary Hit %</label>
<label for="primary-friendly-hit-percentage" dynamic-data="">Primary BH Hit %</label>
<label for="secondary-hit-percentage" dynamic-data="">Secondary Hit %</label>
<label for="secondary-friendly-hit-percentage" dynamic-data="">Secondary BH Hit %</label>
-->
</fieldset>
<fieldset class="entityCommon">
<input type="button" name="get" value="Update"/>
</fieldset>
</form>
</li>
</div>
</body>
</html>