-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathindex.html
executable file
·334 lines (327 loc) · 14.2 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
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
<!DOCTYPE HTML>
<html>
<head>
<title>R6RC</title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="shortcut icon" href="assets/images/r6rc-icon.png" />
<!--[if lte IE 8]><script src="assets/js/ie/html5shiv.js"></script><![endif]-->
<link rel="stylesheet" href="assets/css/main.css" />
<!--[if lte IE 9]><link rel="stylesheet" href="assets/css/ie9.css" /><![endif]-->
<!--[if lte IE 8]><link rel="stylesheet" href="assets/css/ie8.css" /><![endif]-->
</head>
<body class="noselect" id="background">
<div id="title-bar">
<div id="title-bar-btns">
<button class="titlebarbuttons" id="min-btn">−</button>
<button class="titlebarbuttons" id="max-btn">▢</button>
<button class="titlebarbuttons" id="close-btn">✕</button>
</div>
<div id="title">
<span style="vertical-align: middle;"><img style="width: 15px; height: 15px;" src="assets/images/r6rc-icon.png" alt="" />
<a id="titlename">R6RC | R6 Rank Calculator</a>
</span>
</div>
</div>
<div id="page-wrapper">
<a id="exitfullscreenmessage">Press "F11" to exit fullscreen mode</a>
<section id="content">
<a id="discordclick" href="https://discord.gg/NaAmbbb"><img id="discord" src="assets/images/discord.png" alt="" /></a>
<div id="r6rcpage">
<div id="prompts">
<h1 style="display: none" id="cycletxt-1">Welcome to the most minimalistic rank calculator for Rainbow Six: Siege</h1>
<h1 style="display: none" id="cycletxt-2">Use the buttons on either side of the screen<br>to switch between solving for a preset rank or a custom rank</h1>
<h1 style="display: none" id="cycletxt-3">This application is under heavy development and its features<br>are subject to immediate change</h1>
<h1 style="display: none" id="cycletxt-4">Coming soon, R6RC for Mac!</h1>
</div>
<button class="button small btnalign" id="presetbtn" type="button" onclick="preset();customreset();disable();" disabled="disabled">Preset</button>
<button class="pagechangebtn button small btnalign" type="button" onclick="changelogpage();presetreset();customreset();">View Changelog</button>
<button class="button small btnalign" id="custombtn" type="button" onclick="custom();presetreset();disable1();">Custom</button>
<a id="r6tabclick" href="https://r6tab.com"><img id="r6tab" src="assets/images/r6tablogo.png" alt="" /></a>
<a id="twitterclick" href="https://twitter.com/R6RankCalc"><img id="twitterimg" src="assets/images/twitter.png" alt="" /></a>
<!--Divider-->
<form id="preset" action="">
<h1 style="text-align: center;">Rainbow Six Siege | Rank Calculator (Preset Rank Goal)</h1>
<div class="row uniform 50%">
<div class="6u 12u$(xsmall)">
<input type="number" name="mmr" id="mmr" min="1100" max="10000" value="" placeholder="Enter your current MMR" />
</div>
<div class="6u$ 12u$(xsmall)">
<input type="number" name="elo" id="elo" min="1" max="500" value="" placeholder="Enter your current ELO per match" />
</div>
<div class="12u$">
<div class="select-wrapper">
<select name="goal" id="goal">
<option value="">Select a desired rank</option>
<optgroup label="Champions">
<option value="5000">CHAMPIONS</option>
</optgroup>
<optgroup label="Diamond">
<option value="4700">DIAMOND I</option>
<option value="4400">DIAMOND II</option>
<option value="4100">DIAMOND III</option>
</optgroup>
<optgroup label="Platinum">
<option value="3800">PLATINUM I</option>
<option value="3500">PLATINUM II</option>
<option value="3200">PLATINUM III</option>
</optgroup>
<optgroup label="Gold">
<option value="3000">GOLD I</option>
<option value="2800">GOLD II</option>
<option value="2600">GOLD III</option>
</optgroup>
<optgroup label="Silver">
<option value="2500">SILVER I</option>
<option value="2400">SILVER II</option>
<option value="2300">SILVER III</option>
<option value="2200">SILVER IV</option>
<option value="2100">SILVER V</option>
</optgroup>
<optgroup label="Bronze">
<option value="2000">BRONZE I</option>
<option value="1900">BRONZE II</option>
<option value="1800">BRONZE III</option>
<option value="1700">BRONZE IV</option>
<option value="1600">BRONZE V</option>
</optgroup>
<optgroup label="Copper">
<option value="1500">COPPER I</option>
<option value="1400">COPPER II</option>
<option value="1300">COPPER III</option>
<option value="1200">COPPER IV</option>
<option value="1100">COPPER V</option>
</optgroup>
</select>
</div>
</div>
<div class="12u$">
<ul class="actions">
<li>
<input type="submit" value="Calculate" class="special" onclick="enable();checkmmrfill();checkelofill();checkgoalfill();winorlose();matchcount();dontwinorlose();">
</li>
<li>
<input type="reset" value="Reset" class="special" onclick="disable();">
</li>
<li id="display">
<a id="winorlose"></a>
<a id="result"></a>
<a id="anydiv"></a>
<a id="matchcount"></a>
</li>
<li id="errordialogue">
<a id="mmrerrormessage"></a>
<a id="eloerrormessage"></a>
<a id="goalerrormessage"></a>
</li>
</ul>
</div>
</div>
</form>
<form class="disable" id="custom" action="">
<h1 style="text-align: center;">Rainbow Six Siege | Rank Calculator (Custom Rank Goal)</h1>
<div class="row uniform 50%">
<div class="6u 12u$(xsmall)">
<input id="mmr1" name="mmr1" type="number" min="1100" max="10000" placeholder="Enter your current MMR" value="" />
</div>
<div class="6u$ 12u$(xsmall)">
<input id="elo1" name="elo1" type="number" min="1" max="500" placeholder="Enter your current ELO per match" value="" />
</div>
<div class="12u$">
<div class="12u$">
<input id="goal1" name="goal1" type="number" min="1100" max="10000" placeholder="Enter a custom MMR goal (between 1,100 MMR and 10,000 MMR)" value="" />
</div>
</div>
<div class="12u$">
<ul class="actions">
<li>
<input type="submit" value="Calculate" class="special" onclick="enable1();checkmmrfill1();checkelofill1();checkgoalfill1();winorlose1();matchcount1();dontwinorlose1();">
</li>
<li>
<input type="reset" value="Reset" class="special" onclick="disable1();">
</li>
<li id="display1">
<a id="winorlose1"></a>
<a id="result1"></a>
<a id="anydiv1"></a>
<a id="matchcount1"></a>
</li>
<li id="errordialogue1">
<a id="mmrerrormessage1"></a>
<a id="eloerrormessage1"></a>
<a id="goalerrormessage1"></a>
</li>
</ul>
</div>
</div>
</form>
<div class="versionnum">
Created with care for the community by:
<a id="austinleath.comclick" href="https://austinleath.com">Austin Leath</a><br>
<a>Node.js:
<script>
document.write(process.versions.node)
</script>
</a>
|
<a>Chromium:
<script>
document.write(process.versions.chrome)
</script>
</a>
|
<a>Electron:
<script>
document.write(process.versions.electron)
</script>
</a>
|
<a>R6RC:
<span id="version">vX.Y.Z</span></a>
<a>
<div id="messages"></div>
</a>
</div>
</div>
<div id="changelogpage">
<button class="pagechangebtn button small btnalign" type="button" onclick="r6rcpage();">Return to R6RC</button>
<button class="pagechangebtntlc button small btnalign" type="button" onclick="contributorspage();">Contributors</button>
<button class="pagechangebtnblc button small btnalign" type="button" onclick="hotkeyspage();">Hotkeys</button>
<div class="changelog">
<table>
<tbody>
<tr>
<td>R6RC | R6 Rank Calculator</td>
<td>
<a id="releasesclick" class="button icon fa-download" href="https://github.com/AustinLeath/r6rc/releases/latest/" target="_blank">Releases</a>
</td>
</tr>
</tbody>
</table>
<h1>
<strong>R6RC | Changelog</strong>
</h1>
<h1>VERSION 0.4.6 CHANGE NOTES</h1>
<ul>
<strong>CHANGES</strong>
<li><b>Added</b> profile images to the contributors page</li>
<li><b>Added</b> the Copper V, Bronze V, Silver V and Champion ranks to reflect Ember Rise</li>
<li><b>Removed</b> the Gold IV rank to reflect Ember Rise</li>
<li><b>Changed</b> how the dropdown looks for selecting a rank (now high to low)</li>
<li><b>Changed</b> the values in which MMR is calculated</li>
<li><b>Improved</b> R6RC startup time</li>
<li><b>Updated</b> crucial dependencies to the latest version</li>
</ul>
<ul>
<strong>COMING SOON</strong>
<li>ALL THE THINGS</li>
</ul>
</div>
</div>
<div id="contributorspage">
<button class="pagechangebtn button small btnalign" type="button" onclick="r6rcpage();">Return to R6RC</button>
<button class="pagechangebtntlc button small btnalign" type="button" onclick="changelogpage();">Changelog</button>
<div class="changelog">
<table>
<tbody>
<tr>
<td>
<img src="https://avatars1.githubusercontent.com/u/32113014?s=460&v=4" class="image user" />
</td>
<td>Austin Leath</td>
<td>
<a id="githubprofile_al" class="button" href="https://github.com/AustinLeath/" target="_blank">GitHub Profile</a>
</td>
</tr>
<tr>
<td>
<img src="https://avatars2.githubusercontent.com/u/24600763?s=460&v=4" class="image user" />
</td>
<td>William Hatcher</td>
<td>
<a id="githubprofile_wh" class="button" href="https://github.com/williamhatcher/" target="_blank">GitHub Profile</a>
</td>
</tr>
<tr>
<td>
<img src="https://avatars2.githubusercontent.com/u/40341589?s=460&v=4" class="image user" />
</td>
<td>Jaylon Gowie</td>
<td>
<a id="githubprofile_jg" class="button" href="https://github.com/SonicMastr" target="_blank">GitHub Profile</a>
</td>
</tr>
</tbody>
</table>
<h1>There are no other contributors! To contribute you must add to the repository on GitHub.</h1>
</div>
</div>
</div>
<div id="hotkeyspage">
<button class="pagechangebtnblc button small btnalign" type="button" onclick="changelogpage();">Changelog</button>
<button class="pagechangebtn button small btnalign" type="button" onclick="r6rcpage();">Return to R6RC</button>
<div class="changelog">
<table>
<tbody>
<tr>
<td>Join the R6RC Discord</td>
<td>Ctrl + Shift + D</td>
</tr>
<tr>
<td>Learn more about R6RC</td>
<td>Ctrl + L</td>
</tr>
<tr>
<td>Donate to R6RC</td>
<td>Ctrl + D</td>
</tr>
<tr>
<td>Fullscreen R6RC</td>
<td>F11</td>
</tr>
<tr>
<td>Minimize R6RC</td>
<td>Ctrl + M</td>
</tr>
<tr>
<td>Quit R6RC</td>
<td>Ctrl + Q</td>
</tr>
</tbody>
</table>
<h1>There are no other cool keys to press!
<a href="mailto:austinleath18@gmail.com?Subject=Regarding%20R6RC" target="_top" style="color: red;">Mail</a>
me if you have any suggestions!</h1>
</div>
</div>
</section>
</div>
<!-- Scripts -->
<script>
if (typeof module === 'object') {
window.module = module;
module = undefined;
}
</script>
<script src="assets/js/primaryfunctions.js"></script>
<script src="assets/js/jquery.min.js"></script>
<script src="assets/js/cycletxt.js"></script>
<!--[if lte IE 8]><script src="assets/js/ie/respond.min.js"></script><![endif]-->
<script src="assets/js/skel.min.js"></script>
<script src="assets/js/methodpreset.js"></script>
<script src="assets/js/methodcustom.js"></script>
<script src="assets/js/externalopener.js"></script>
<script src="assets/js/messagecenter.js"></script>
<script src="assets/js/titlebar.js"></script>
<script>
if (window.module)
module = window.module;
</script>
<script>
// Listen for messages
ipcRenderer.on('message', function(event, text) {
document.getElementById("mainWindow").innerHTML = text;
})
</script>
</body>
</html>