-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
240 lines (196 loc) · 9.07 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
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
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
<!DOCTYPE HTML>
<html>
<head>
<meta charset="UTF-8" />
<title>OverChart</title>
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1, maximum-scale=1">
<!--<link href="./css/main.css" rel="stylesheet">-->
<style>
html body {
font-family: helvetica;
font-size: 14px;
background-color: rgb(51, 51, 51);
/* for shake effect in editor*/
overflow-x: hidden;
}
.mainscreen{
}
.main-background, .editor-background, .chart-background{
background-image:url("./img/Overwatch_circle_logo.svg");
background-repeat: no-repeat;
background-position: center;
height: 100vh;
z-index: -10;
position: fixed;
top: 0;
left: 0;
width: 100vw;
opacity: 0.2;
}
.mainscreen button{
transform: scale(2);
}
.mainscreen .btn-Editor{
margin-right: 100px;
}
.main-loading{
color: white;
position: absolute;
top: 50%;
left: 50%;
-webkit-transform: translate(-50%,-50%);
transform: translate(-50%,-50%);
font-size: 3em;
}
.main-body{
width: 100%;
text-align: center;
top: 50%;
-webkit-transform: translate(0,-50%);
transform: translate(0,-50%);
position: absolute;
}
.main-credit{
position: absolute;
bottom: 0;
right:0;
color:floralwhite;
margin-right: 10px;
margin-bottom: 5px;
text-decoration : underline;
}
</style>
</head>
<body>
<div class="mainscreen">
<div class="main-background"></div>
<div class="main-loading">Loading, please wait..</div>
<div class="main-body" style="display: none;">
<button type="button" class="btn btn-primary btn-Editor" title="edit or create your own rules JSON" value="button">
Editor
</button>
<button type="button" class="btn btn-primary btn-Chart" title="choose a team and rules to be used and get an OverChart"/>
Chart
</button>
</div>
<a href="http://rabierambroise.fr/" class="main-credit">Developed by Ambroise Rabier</a>
</div>
<div class="editorscreen" style="display: none;">
<div class="editor-background"></div>
<div class="editor-menu">
<label for="editor-input-file">Load </label>
<input id="editor-input-file" type="file" name="files"/>
<button type="button" class="btn btn-primary editor-save" title="save your JSON"/>
Save
</button>
<button type="button" class="btn btn-primary editor-create" title="create your JSON"/>
Create
</button>
<!-- UNACTIVE BTN -->
<button type="button" class="btn btn-primary editor-load-default" title="example JSON" style="display: none;"/>
Example
</button>
<button type="button" class="btn btn-primary editor-back" title="return to menu"/>
Back To Menu
</button>
<div class="help" data-help="editor-menu"><i class="icon-help-circled" aria-hidden="true"></i></div>
</div>
<span class="editor-json-selected"></span>
<div class="editor-json-heroes" style="display: none;">
<div class="editor-json-heroes-role" data-role="ATTACK"><img src="./img/OffenseIcon.png" alt="" class="img-role"></div>
<div class="editor-json-heroes-role" data-role="DEFENSE"><img src="./img/DefenseIcon.png" alt="" class="img-role"></div>
<div class="editor-json-heroes-role" data-role="TANK"><img src="./img/TankIcon.png" alt="" class="img-role"></div>
<div class="editor-json-heroes-role" data-role="SUPPORT"><img src="./img/SupportIcon.png" alt="" class="img-role"></div>
</div>
<div class="editor-add-related" style="display: none;">
<div class="editor-input-container">
<button class="editor-input-choice">
<i class="icon-adjust" aria-hidden="true"></i>
</button>
<div class="editor-input-container-pro" style="display: none;">
<label for="editor-input-command">Quick add </label>
<input type="text" id="editor-input-command" placeholder="winston < bastion">
<input type="submit" class="editor-input-submit" value="Add">
</div>
<div class="editor-input-container-easy">
<div class="editor-input-first-heroe-container">
<select id="editor-input-first-heroe" class="select2"></select>
</div>
<div style="display: inline-block;">
<select id="editor-input-filter" class="select2">
<option value="<"><</option>
<option value=">">></option>
<option value="+">+</option>
</select>
</div>
<div class="editor-input-second-heroe-container">
<select id="editor-input-second-heroe" class="select2"></select>
</div>
<input type="submit" class="editor-input-submit" value="Add">
</div>
</div>
<textarea id="editor-input-reason" rows="4" cols="50" placeholder="Explain why here"></textarea>
</div>
<div class="editor-heroe-data"></div>
<div class="editor-map-synergy" style="display: none">
<div class="editor-map-synergy-header">
<h1 style="color: whitesmoke;text-align: center;">
Synergy with Maps
</h1>
<div class="help" data-help="editor-map-synergy">
<i class="icon-help-circled" aria-hidden="true"></i>
</div>
<p class="switch-text-attack">Attack</p>
<div class="switch-container">
<label class="switch">
<input type="checkbox">
<div class="slider round"></div>
</label>
</div>
<p class="switch-text-defense">Defense</p>
</div>
</div>
<a id="editor-save" href="" style="display: none;"></a>
</div>
<div class="chartscreen" style="display: none;">
<div class="chart-background"></div>
<div class="chart-menu">
<input id="chart-input-file" type="file" name="files" multiple/>
<div class="help" data-help="chart">
<i class="icon-help-circled" aria-hidden="true"></i>
</div>
<button type="button" class="btn btn-primary chart-back" title="return to menu"/>
Back To Menu
</button>
<div class="chart-menu-team-container">
<select multiple="true" id="chart-menu-team-attack" style="display: none;" class="select2">
</select>
<select multiple="true" id="chart-menu-team-defend" style="display: none;" class="select2">
</select>
<select multiple="true" id="chart-menu-map" style="display: none;" class="select2">
</select>
</div>
</div>
<div class="retractible" data-menu=".chart-menu">
<i class="icon-sort-up icon-sort-down" aria-hidden="true"></i>
</div>
<div id="chart-cy"></div>
<div class="chart-loading" style="display: none;">
<p>Loading Chart, please wait..</p>
</div>
</div>
<link href="./css/bootstrap/bootstrap-theme.min.css" rel="stylesheet">
<link href="./css/bootstrap/bootstrap.min.css" rel="stylesheet">
<!--<link rel="stylesheet" type="text/css" href="http://cdnjs.cloudflare.com/ajax/libs/qtip2/2.2.0/jquery.qtip.css">-->
<link href="./css/qtip/jquery.qtip.css" rel="stylesheet" type="text/css" >
<link href="./css/select2/select2.min.css" rel="stylesheet">
<link href="./css/jquery-ui-sortable/jquery-ui.min.css" rel="stylesheet">
<link href="./css/jquery-ui-sortable/jquery-ui.structure.min.css" rel="stylesheet">
<link href="./css/fontawesome/icons-font.css" rel="stylesheet">
<link href="./css/slider.css" rel="stylesheet">
<link href="./css/editor.css" rel="stylesheet">
<link href="./css/chart.css" rel="stylesheet">
<link href="./css/style.css" rel="stylesheet">
<script type="text/javascript" data-main="./scripts/main.js" src="./scripts/require.js" ></script>
</body>
</html>