forked from chain-counter/chain-counter.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
63 lines (61 loc) · 2.79 KB
/
index.html
File metadata and controls
63 lines (61 loc) · 2.79 KB
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
<html>
<head>
<title>Chain Counter</title>
<meta name="description" content="Chain Counter - A Tool for Counting SOS Chains in Pokemon!">
<link rel="shortcut icon" href="favicon.ico" />
<link rel="stylesheet" type="text/css" href="css/bootstrap.css">
<link rel="stylesheet" type="text/css" href="css/pokesprite.min.css">
<link rel="stylesheet" type="text/css" href="css/style.css">
<meta name="viewport" content="width=device-width, initial-scale=1">
<script src="js/counter.js"></script>
<script src="js/pokesprite.min.css"></script>
<script src="js/bootstrap.js"></script>
<script src="night-mode/night.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
<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-57282086-4', 'auto');
ga('send', 'pageview');
</script>
</head>
<body>
<div class="center text-align">
<button type="button" onclick='clickMinus()'>-1</button>
<button class="plus-button" type="button" onclick='clickPlus()'>+1</button>
<br><br>
<p style="font-size:30px;">Chain no: <a id="counterValue">0</a></p>
<div id="messageBox">No guaranteed IVs, 0% HA chance<br>1/4096 shiny chance</div>
<br>
<button class="reset-button" type="button" onclick='clickReset()'>Reset</button>
<br><br><br>
<div id="outer">
<div class="inner">
<form id="more-button" action="https://chain-counter.github.io/more.html" target="_blank">
<button type="submit">Chaining Info</button>
</form>
</div>
<div class="inner">
<button id="toggle-button" type="button" onclick='toggleMode()'>Night mode</button>
</div>
<div class="inner">
<form id="donate-button" action="https://chain-counter.github.io/donate.html" target="_blank">
<button type="submit">Donate</button>
</form>
</div>
</div>
</div>
<script type="text/javascript">
PkSpr.process_dom();
</script>
<script src="/path/to/mousetrap.min.js"></script>
<script>
// single keys
Mousetrap.bind('w', function(clickPlus) { console.log('up'); });
Mousetrap.bind("s", function(clickMinus) { console.log('down'); });
</script>
</body>
<footer><p class="padding">By <a href="https://giacomolaw.github.io" target="_blank">Giacomo Lawrance</a> and <a href="https://twitter.com/Bassab03" target="_blank">Bassab03</a>. - View the <a href="https://github.com/Bassab03/chain-counter" target="_blank">source code</a>.</p></footer>
</html>