-
Notifications
You must be signed in to change notification settings - Fork 4
/
index.html
261 lines (247 loc) · 10.8 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Weapon Bench v2</title>
<link rel="icon" href="favicon.ico" type="image/x-icon" />
<link rel="stylesheet" href="style.css">
<script src="scripts/weapons.js" defer></script>
<script src="scripts/attachments.js" defer></script>
<script src="scripts/curve-data.js" defer></script>
<script src="scripts/localisation.js" defer></script>
<script src="scripts/app.js" defer></script>
</head>
<body>
<aside id="sidebar-weapon-selector">
<div id="sidebar-header">
<input
id="sidebar-collapse-toggle"
type="checkbox"
/>
<label for="sidebar-collapse-toggle">
<svg
id="collapse-button"
viewBox="0 0 24 24"
stroke-width="1.5"
stroke="currentColor"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
d="M3.75 6.75h16.5M3.75 12h16.5m-16.5 5.25H12"
/>
</svg>
</label>
</div>
<fieldset id="weapon-list">
<template
class="selectable-weapon"
style="--image-x-offset: 0; --image-y-offset: 0; --image-url: url()"
>
<input type="radio" id="" name="weapon" value="">
<label for="" class=selectable-weapon-name></label>
<label for="" class="selectable-weapon-dlc"></label>
</template>
</fieldset>
</aside>
<main>
<div id="main-header">
<h1 data-localisation-key="title">Payday 3 Weapon Bench</h1>
<div id="options">
<div id="icons">
<svg
xmlns="http://www.w3.org/2000/svg"
fill="none"
viewBox="0 0 24 24"
stroke-width="1.5"
stroke="currentColor"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
d="M3.75 6A2.25 2.25 0 0 1 6 3.75h2.25A2.25 2.25 0 0 1 10.5 6v2.25a2.25 2.25 0 0 1-2.25 2.25H6a2.25 2.25 0 0 1-2.25-2.25V6ZM3.75 15.75A2.25 2.25 0 0 1 6 13.5h2.25a2.25 2.25 0 0 1 2.25 2.25V18a2.25 2.25 0 0 1-2.25 2.25H6A2.25 2.25 0 0 1 3.75 18v-2.25ZM13.5 6a2.25 2.25 0 0 1 2.25-2.25H18A2.25 2.25 0 0 1 20.25 6v2.25A2.25 2.25 0 0 1 18 10.5h-2.25a2.25 2.25 0 0 1-2.25-2.25V6ZM13.5 15.75a2.25 2.25 0 0 1 2.25-2.25H18a2.25 2.25 0 0 1 2.25 2.25V18A2.25 2.25 0 0 1 18 20.25h-2.25A2.25 2.25 0 0 1 13.5 18v-2.25Z" />
</svg>
<select name="icons-switcher" id="icons-switcher">
<option value="sydch">Sydch UI</option>
<option value="payday">Payday</option>
</select>
</div>
<div id="locale">
<svg
xmlns="http://www.w3.org/2000/svg"
fill="none"
viewBox="0 0 24 24"
stroke-width="1.5"
stroke="currentColor"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
d="m10.5 21 5.25-11.25L21 21m-9-3h7.5M3 5.621a48.474 48.474 0 0 1 6-.371m0 0c1.12 0 2.233.038 3.334.114M9 5.25V3m3.334 2.364C11.176 10.658 7.69 15.08 3 17.502m9.334-12.138c.896.061 1.785.147 2.666.257m-4.589 8.495a18.023 18.023 0 0 1-3.827-5.802"
/>
</svg>
<select name="locale-switcher" id="locale-switcher"></select> </select>
</div>
</div>
</div>
<div id="content">
<section id="loadout">
<div id="loadout-header">
<div id="weapon-name">
<h3>Assault Rifle</h3>
<h2>Car-4</h2>
</div>
</div>
<fieldset id="skill-selector" class="loadout-category">
<div class="loadout-category-container">
<template class="skill">
<input
type="checkbox"
id="edge"
name="skill"/>
<label for="edge"></label>
</template>
</div>
</fieldset>
<div id="loadout-attachments">
<template id="attachment-selector" class="loadout-category">
<legend></legend>
<div class="loadout-category-container"></div>
</template>
<template class="attachment">
<input type="radio" id="" name="sight" value="">
<label for=""></label>
</template>
</div>
</section>
<section id="stats">
<div id="stats-header">
<div id="weapon-stats">
<div class="weapon-stat-container" id="weapon-stats-damage">
<span class="weapon-stat-category-title" data-localisation-key="stats-damage"></span>
<div>
<div class="weapon-stat-category"">
<template class="weapon-stat">
<span>Range</span>
<span>Stat</span>
</template>
</div>
<div class="weapon-stat-category">
</div>
</div>
</div>
</div>
</div>
<div id="damage-stats">
<template class="damage-stat-container">
<div class="enemy-info">
</div>
<div class="optimal-ttk">
<span class="damage-stat-category-title" data-localisation-key="stats-optimal-ttk"></span>
<div class="ttk-stats stat-group"></div>
</div>
<div class="body-ttk">
<span class="damage-stat-category-title" data-localisation-key="stats-body-ttk"></span>
<div class="ttk-stats stat-group"></div>
</div>
</template>
</div>
</section>
</div>
<footer>
<span data-localisation-key="credits"></span>
<span data-localisation-key="whats-new">Updated to Fear & Greed</span>
</footer>
<div id="tooltip"></div>
</main>
<aside id="sidebar-stats">
<div id="stat-previews">
<div id="main-stats" class="stat-container">
<div class="stat-group">
<div>
<span data-localisation-key="stats-damage"></span>
<span id="stat-base-damage">30.4/30m</span>
</div>
<div>
<span data-localisation-key="stats-critical-multiplier"></span>
<span id="stat-base-multiplier">5x/10m</span>
</div>
<div>
<span data-localisation-key="stats-armor-penetration"></span>
<span id="stat-armor-penetration">0.92</span>
</div>
</div>
<div class="stat-group">
<div>
<span data-localisation-key="stats-fire-mode"></span>
<span id="stat-fire-type">Auto</span>
</div>
<div>
<span data-localisation-key="stats-fire-rate"></span>
<span id="stat-rpm">720 RPM</span>
</div>
</div>
<div class="stat-group">
<div>
<span data-localisation-key="stats-magazine"></span>
<span id="stat-magazine">30/300</span>
</div>
<div>
<span data-localisation-key="stats-ammo-pickup"></span>
<span id="stat-ammo-pickup">3-5</span>
</div>
<div>
<span data-localisation-key="stats-reload"></span>
<span id="stat-reload">2.33s</span>
</div>
<div>
<span data-localisation-key="stats-reload-from-empty"></span>
<span id="stat-full-reload">2.67s</span>
</div>
</div>
</div>
<div class="stat-container">
<svg
id="recoil-pattern"
viewBox="0 0 100 100"
></svg>
</div>
<div class="stat-container">
<div class="stat-group">
<div>
<span data-localisation-key="stats-hipfire-multiplier"></span>
<span id="stat-hipfire-multiplier">2.2×</span>
</div>
<div>
<span data-localisation-key="stats-initial-num"></span>
<span id="stat-initial-num">3</span>
</div>
</div>
<div class="stat-group">
<div>
<span data-localisation-key="stats-equip"></span>
<span id="stat-equip-time"></span>
</div>
<div>
<span data-localisation-key="stats-unequip"></span>
<span id="stat-unequip-time"></span>
</div>
<div>
<span data-localisation-key="stats-sprint-exit"></span>
<span id="stat-sprint-exit-time"></span>
</div>
</div>
</div>
<!--
<div class="stat-container">
<svg
id="gunkick"
viewBox="0 0 100 100"
></svg>
</div>
-->
</div>
</aside>
</body>
</html>