-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathattack.html
91 lines (86 loc) · 4.17 KB
/
attack.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
<!DOCTYPE html>
<html>
<!--
Copyright (C) Work Bandits
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-->
<head>
<title>Starfight</title>
<meta charset="UTF-8"/>
<link rel="stylesheet" href="static/css/reset.css"/>
<link rel="stylesheet" href="static/css/jquery.jgrowl.css"/>
<link rel="stylesheet" href="static/css/common.css"/>
<link rel="stylesheet" href="static/css/attack.css"/>
</head>
<body>
<div id="diroot"></div>
<div id="site">
<div id="ban"></div>
<div id="hudTop">
<div id="resource"><span data-bind="text: player.dynProp.platinium"></span></div>
<div id="xp"><span data-bind="text: player.dynProp.xp"></span></div>
<div id="pop"><span data-bind="text: player.dynProp.pop"></span></div>
<div id="nav">
<a href="report.html"><div class="buttonNav">Report</div></a>
<a href="resource.html"><div class="buttonNav">Resource</div></a>
<a href="army.html"><div class="buttonNav">Army</div></a>
<a href="attack.html"><div class="buttonNavActive">Attack <span data-bind="text: player.dynProp.nbAttack"></span></div></a>
<a href="ladder.html"><div class="buttonNav">Ladder</div></a>
</div>
</div>
<div id="hudMiddle">
<div id="hudMiddleTop">
<table class="title">
<tbody>
<tr>
<td class="name">Players</td>
<td class="xp">XP</td>
<td class="cost">Cost: 5</td>
</tr>
</tbody>
</table>
<table class="linePlayer">
<tbody>
<tr>
<td class="name"></td>
<td class="xp"></td>
<td class="spy"></td>
<td class="attack"></td>
</tr>
</tbody>
</table>
</div>
<div id="hudMiddleContent" data-bind="foreach: players">
<table class="linePlayer">
<tbody>
<tr>
<td class="name"><span data-bind="text: name"></span></td>
<td class="xp"><span data-bind="text: dynProp.xp"></span></td>
<td class="spy"><a data-bind="attr: {href: spy}"><div class="spyButton">Spy</div></a></td>
<td class="attack"><a data-bind="attr: {href: attack}"><div class="attackButton">Attack</div></a></td>
</tr>
</tbody>
</table>
</div>
</div>
<div id="hudBottom">
</div>
</div>
<script src="static/js/lib/jquery-1.7.1.min.js"></script>
<script src="static/js/lib/knockout-2.0.0.js"></script>
<script src="static/js/lib/knockout.mapping-latest.js"></script>
<script src="static/js/lib/jquery.jgrowl.js"></script>
<script src="static/js/attack.js"></script>
<script src="static/js/connect.js"></script>
</body>
</html>