-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
98 lines (78 loc) · 3.26 KB
/
index.php
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
<!DOCTYPE html>
<html ng-app='xdm'>
<head>
<title>XDM » Dice Masters Randomiser</title>
<meta charset="UTF-8">
<!-- Google fonts -->
<link href='http://fonts.googleapis.com/css?family=Oswald:700' rel='stylesheet' type='text/css'>
<link href='http://fonts.googleapis.com/css?family=Roboto+Condensed' rel='stylesheet' type='text/css'>
<!-- marked [markdown parser] -->
<script src="js/marked.min.js"></script>
<!-- angular -->
<script type="text/javascript" src="js/angular.min.js"></script>
<script type="text/javascript" src="js/angular-local-storage.min.js"></script>
<script type="text/javascript" src="js/angular-route.min.js"></script>
<!-- bootstrap-->
<link rel="stylesheet" href="css/bootstrap.min.css">
<!-- xeditable -->
<script src="js/xeditable.min.js"></script>
<link rel="stylesheet" href="css/xeditable.css">
<!-- angular md [used marked.js] -->
<script type="text/javascript" src="js/angular-md.min.js"></script>
<!--- XDM -->
<script type="text/javascript" src="js/xdm.js"></script>
<link rel="stylesheet" href="css/xdm.layout.css">
<link rel="stylesheet" href="css/xdm.style.css">
</head>
<body ng-controller='CollectionController as colDB'>
<div id='banner' ng-class='{min : miniTop==true}'>
<div class='minify'><a href ng-click='miniTop=false' ng-show='checkMiniTop()'>maximize</a><a href ng-click='miniTop=true' ng-show='checkMiniTop()'>minimize</a></div>
<div id='bnr'>
<h1>XDM Randomiser</h1>
<h4> < <span class='x' title='fully implemented'>AvX</span>, <span class='x' title='fully implemented'>Ultimate X-men</span>, <span class='x' title='fully implemented'>Yu-Gi-Oh</span>, <span class='x p' title='partially implemented'>D&D</span>, <span class='x c' title='not yet implemented'>DC</span> > Dice Masters</h4>
</div>
<!-- main nav -->
<ul ng-controller='TabController as tab'>
<li ng-class="{ active:colDB.onTab('/') }">
<a href="#manage" ng-click="colDB.onTab">Edit active collection</a>
</li>
<li ng-class="{ active:colDB.onTab('/draft') }">
<a href="#draft" >Draft teams</a>
</li>
<li ng-class="{ active:colDB.onTab('/about') }">
<a href="#about" >About XDM</a>
</li>
</ul>
</div>
<!-- Columns -->
<div ng-controller="ColumnController as columnCtrl">
<!-- left col -->
<section
class='column midd left'
ng-class="{
mind : !columnCtrl.isSet(1),
midd : columnCtrl.isSet(2) && columnCtrl.isSet(1),
maxd : columnCtrl.isSet(1) && !columnCtrl.isSet(2)
}">
<!-- minimize -->
<div class='ccbtn' id='dcbtn'><a ng-hide='columnCtrl.isSet(1)' ng-click="columnCtrl.reset()">»</a><a ng-show='columnCtrl.isSet(1)' ng-click="columnCtrl.minColumn(1)">«</a></div>
<div class='content' ng-view></div>
</section>
<!-- Collection display -->
<section
class='right column midd'
id='collectionDisplay'
ng-class="{
mind : !columnCtrl.isSet(2),
midd : columnCtrl.isSet(1) && columnCtrl.isSet(2),
maxd : columnCtrl.isSet(2) && !columnCtrl.isSet(1)}
">
<!-- minimize -->
<div class='ccbtn' id='ccbtn'><a ng-hide='columnCtrl.isSet(2)' ng-click="columnCtrl.reset()">«</a><a ng-show='columnCtrl.isSet(2)' ng-click="columnCtrl.minColumn(2)">»</a></div>
<div class='content'>
<collection><collection>
</div>
</section>
</div>
</body>
</html>