-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
72 lines (70 loc) · 3.53 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
<!DOCTYPE html>
<html>
<head>
<title>EU4 Tradition Calculator</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300&display=swap" rel="stylesheet">
<link href="tradition.css" rel="stylesheet">
<link href="https://eu4.paradoxwikis.com/images/thumb/f/ff/EU4_icon.png/50px-EU4_icon.png" rel="icon">
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-2D9SQC8YWE"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-2D9SQC8YWE');
</script>
</head>
<body>
<div class="graphcontainer">
<div class="graphbackground">
<div class="graph" id="traditionGraphFrame">
<h1 class="graphtitle">Tradition</h1>
<canvas class="graphcanvas" id="traditionGraph" width="600" height="400"></canvas>
</div>
</div>
<div class="graphbackground">
<div class="graph" id="pipGraphFrame">
<h1 class="graphtitle">Leader Pip Pool Distribution</h1>
<canvas class="graphcanvas" id="pipGraph" width="600" height="400"></canvas>
</div>
</div>
</div>
<div class="sliders">
<h1 class="sliderboxtitle">Modifiers</h1>
<div class="sliderframe">
<div class="sliderrow">
<h3 class="sliderlabel" id="startlabel">Starting Tradition</h3>
<input type="range" min="0" max="100" step=0.1 value="20" class="slider" id="startslider">
</div>
<div class="sliderrow">
<h3 class="sliderlabel" id="gainlabel">Tradition Gain</h3>
<input type="range" min="0" max="5" step=0.05 value="0" class="slider" id="gainslider">
</div>
<div class="sliderrow">
<h3 class="sliderlabel" id="decayreductionlabel">Tradition Decay Reduction</h3>
<input type="range" min="0" max="0.05" step=0.005 value="0" class="slider"id="decayreductionslider">
</div>
<div class="sliderrow"></div>
<!-- Bonus pips -->
<div class="sliderrow">
<h3 class="sliderlabel" id="firepiplabel">Leader Fire</h3>
<input type="range" min=0 max=6 step=1 value=0 class="slider"id="firepipslider">
</div>
<div class="sliderrow">
<h3 class="sliderlabel" id="shockpiplabel">Leader Shock</h3>
<input type="range" min=0 max=6 step=1 value=0 class="slider"id="shockpipslider">
</div>
<div class="sliderrow">
<h3 class="sliderlabel" id="maneuverpiplabel">Leader Maneuver</h3>
<input type="range" min=0 max=6 step=1 value=0 class="slider"id="maneuverpipslider">
</div>
<div class="sliderrow">
<h3 class="sliderlabel" id="siegepiplabel">Leader Siege</h3>
<input type="range" min=0 max=6 step=1 value=0 class="slider"id="siegepipslider">
</div>
</div>
</div>
<script src="tradition.js"></script>
</body>
</html>