-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
282 lines (274 loc) · 11.7 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
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
<html ng-app="OWI">
<head>
<title>
Overwatch Year of the Rooster Tracker
</title>
<link href="./css/reset.css" rel="stylesheet">
<link href="./css/main.css" rel="stylesheet">
<script src="./angular.min.js">
</script>
</link>
</link>
</head>
</html>
<body ng-controller="MainCtrl as $ctrl">
<div id="header">
<div class="left">
<img src="https://overwatch-a.akamaihd.net/img/nav-logo-wide-b9edec2f5848ebdda9e3781362d7a03c8ded63a3019a12014bba79ae0cc99bd06c88603b7b7e246716526f6c31f0a608c6ff33cf8ec61701c762fe1c7cb4b9df.png">
<h1>
Год петуха
</h1>
<span style="margin-left:25px;">Создано: <a style="color:white" href="https://vk.com/overfire" target="_blank">OverFire</a>
</span>
</div>
<div class="right">
<div class="reset">
<div class="x" ng-click="$ctrl.reset()" ng-mouseleave="reset = false" ng-mouseover="reset = true">
+
</div>
<div class="tooltip" ng-class="{show : reset}">
Сбросить
</div>
</div>
</div>
</div>
<div class="container-fluid">
<div id="items row">
<div class="col-md-6">
<div class="section" id="legendary-skins">
<div id="image-preview" ng-class="{ show: $ctrl.preview }" ng-show="$ctrl.preview.img">
<h2>
Предпросмотр
</h2>
<span>
{{$ctrl.preview.name}}
</span>
<img src="{{$ctrl.preview.img}}"/>
</div>
<div id="image-preview" ng-class="{ show: $ctrl.preview }" ng-if="$ctrl.preview.video">
<h2>
Предпросмотр
</h2>
<span>
{{$ctrl.preview.name}}
</span>
<video autoplay="true" autostart="true" loop="true" src="{{$ctrl.preview.video}}">
</video>
</div>
<div class="inner" ng-class="{ hide: $ctrl.preview }">
<h2>
Легендарные
</h2>
<span>
(21000 кредитов)
</span>
<div class="images">
<div class="item" ng-repeat="skin in $ctrl.items.skins.legendary track by $index"
style="background-image:url({{skin.img}});">
<div class="thing">
<input id="{{'legendary' + $index}}" ng-change="$ctrl.onSelect()"
ng-model="$ctrl.checked.legendary[skin.name]" type="checkbox">
<label for="{{'legendary' + $index}}">
<h3 class="name">
{{skin.name}}
</h3>
</label>
</input>
</div>
</div>
</div>
</div>
</div>
<div class="row skins-potg-emotions">
<div class="col-md-6">
<div class="header">
<h2>
Эпические облики
</h2>
<br/>
<span>
(4500 кредитов)
</span>
</div>
<div class="content">
<div class="item" ng-mouseleave="$ctrl.hidePreview()" ng-mouseover="$ctrl.showPreview(skin)"
ng-repeat="skin in $ctrl.items.skins.epic track by $index">
<input id="{{'epic' + $index}}" ng-change="$ctrl.onSelect()"
ng-model="$ctrl.checked.epic[skin.name]" type="checkbox">
<label for="{{'epic' + $index}}">
<h3>
{{skin.name}}
</h3>
</label>
</input>
</div>
</div>
</div>
<div class="col-md-6">
<div class="header">
<h2>
Лучшие моменты матча
</h2>
<br/>
<span>
(2250 кредитов)
</span>
</div>
<div class="content">
<div class="item" ng-mouseleave="$ctrl.hidePreview()" ng-mouseover="$ctrl.showPreview(intro)"
ng-repeat="intro in $ctrl.items.intros track by $index">
<input id="{{'intro' + $index}}" ng-change="$ctrl.onSelect()"
ng-model="$ctrl.checked.intros[intro.name]" type="checkbox">
<label for="{{'intro' + $index}}">
<h3>
{{intro.name}}
</h3>
</label>
</input>
</div>
</div>
<div class="header">
<h2>
Эмоции
</h2>
<span>
(2250 Кредитов)
</span>
</div>
<div class="content">
<div class="item" ng-repeat="emote in $ctrl.items.emotes track by $index">
<input id="{{'emote' + $index}}" ng-change="$ctrl.onSelect()"
ng-model="$ctrl.checked.emotes[emote]" type="checkbox">
<label for="{{'emote' + $index}}">
<h3>
{{emote}}
</h3>
</label>
</input>
</div>
</div>
</div>
</div>
</div>
<div class="col-md-2">
<div class="row skins-potg-emotions voice">
<div class="col-md-12">
<div class="header">
<h2>
Реплики
</h2>
<span>
(1725 Кредитов)
</span>
</div>
<div class="content">
<div class="items">
<div class="item" ng-repeat="voice in $ctrl.items.voicelines track by $index">
<input id="{{'voice' + $index}}" ng-change="$ctrl.onSelect()"
ng-model="$ctrl.checked.voicelines[voice]" type="checkbox">
<label for="{{'voice' + $index}}">
<h3>
{{voice}}
</h3>
</label>
</input>
</div>
</div>
</div>
</div>
</div>
<div class="row skins-potg-emotions">
<div class="col-md-12">
<div class="header">
<h2>
Победные позы
</h2>
<span>
(1575 Кредитов)
</span>
</div>
<div class="content">
<div class="items">
<div class="item" ng-mouseleave="$ctrl.hidePreview()" ng-mouseover="$ctrl.showPreview(pose)"
ng-repeat="pose in $ctrl.items.victoryposes track by $index">
<input id="{{'pose' + $index}}" ng-change="$ctrl.onSelect()"
ng-model="$ctrl.checked.victoryposes[pose.name]" type="checkbox">
<label for="{{'pose' + $index}}">
<h3>
{{pose.name}}
</h3>
</label>
</input>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="col-md-2">
<div class="row skins-potg-emotions voice">
<div class="header">
<h2>
Граффити
</h2>
<span>
(3750 Кредитов)
</span>
</div>
<div class="items">
<div class="item" ng-mouseleave="$ctrl.hidePreview()" ng-mouseover="$ctrl.showPreview(spray)"
ng-repeat="spray in $ctrl.items.sprays track by $index">
<input id="{{'spray' + $index}}" ng-change="$ctrl.onSelect()"
ng-model="$ctrl.checked.sprays[spray.name]" type="checkbox">
<label for="{{'spray' + $index}}">
<h3>
{{spray.name}}
</h3>
</label>
</input>
</div>
</div>
</div>
</div>
</div>
<div class="col-md-2">
<div class="row skins-potg-emotions">
<div class="col-md-12">
<div class="header">
<h2>
Значки
</h2>
<span>
(Выпадают из сундуков)
</span>
</div>
<div class="content">
<div class="items">
<div class="item" ng-mouseleave="$ctrl.hidePreview()" ng-mouseover="$ctrl.showPreview(icon)"
ng-repeat="icon in $ctrl.items.icons track by $index">
<input id="{{'icon' + $index}}" ng-change="$ctrl.onSelect()"
ng-model="$ctrl.checked.icons[icon.name]" type="checkbox">
<label for="{{'icon' + $index}}">
<h3>
{{icon.name}}
</h3>
</label>
</input>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-90867752-1', 'auto');
ga('send', 'pageview');
</script>
<script src="./main.js">
</script>
</body>