-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
54 lines (45 loc) · 2.9 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
<!DOCTYPE html>
<html ng-app="bt">
<head>
<title>Binary Tactics</title>
<link rel="stylesheet" href="res/css/main.css" type="text/css" media="all" />
</head>
<body ng-controller="bt.ng.controller">
<!-- Header -->
<div class="section">
<a>Current user: </a>
<a ng-show=" bt.game.authentication.isAuthenticated ">{{ bt.game.authentication.username }}</a>
<hr/>
<div class="menu">
<div class="link viewAnimationContainer" ng-repeat=" view in bt.config.views.viewsArray | orderBy: view._index ">
<a ng-if=" view.isPublic || bt.game.authentication.isAuthenticated " href="#{{ view._key }}"> {{ view.name }} </a>
</div>
</div>
<div ng-if=" bt.debugging.game.showQuickAuth == true" style="float: right;">
<input class="fast_auth" type="button" value="Authenticate as 'atkr'" ng-click=" services.authenticationService.authenticate('atkr', 'atkr') " />
<input class="fast_auth" type="button" value="Authenticate as 'dfndr'" ng-click=" services.authenticationService.authenticate('dfndr', 'dfndr') " />
</div>
<div style="clear: both"></div>
</div>
<div></div>
<!-- Includes current view -->
<div ng-view class="viewAnimationContainer" ng-animate=" { enter: 'enterFromLeft', leave: 'leaveToRight' } "></div>
<script type="text/javascript" src="res/js/libs/angular.115.js"></script>
<!-- Not yet needed: <script type="text/javascript" src="res/js/libs/angular_resource.115.js"></script> -->
<script type="text/javascript" src="res/js/libs/angular_jsonrpc.js"></script>
<script type="text/javascript" src="res/js/libs/angular_interval.js"></script>
<!-- Not yet needed: <script type="text/javascript" src="res/js/libs/jquery.202.js"></script> -->
<!-- BT: JS inclusions -->
<script type="text/javascript" src="res/js/bt_init.js"></script>
<script type="text/javascript" src="res/js/bt_config.js"></script>
<script type="text/javascript" src="res/js/bt_authentication.js"></script>
<script type="text/javascript" src="res/js/model/bt_model.js"></script>
<script type="text/javascript" src="res/js/bt_game_frontpage.js"></script>
<script type="text/javascript" src="res/js/bt_game_equanimity.js"></script>
<script type="text/javascript" src="res/js/bt_game_battle.js"></script>
<script type="text/javascript" src="res/js/model/bt_model_battle.js"></script>
<script type="text/javascript" src="res/js/ui/bt_ui_battle.js"></script>
<script type="text/javascript" src="res/js/bt_game_equipment.js"></script>
<script type="text/javascript" src="res/js/bt_game_debugging.js"></script>
</body>
</html>