-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdrums_helicalpayout.html
113 lines (76 loc) · 4.01 KB
/
drums_helicalpayout.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
<!DOCTYPE html>
<html>
<head>
<title>Drums: Helical Payout</title>
<link rel="shortcut icon" type="image/png" href="../favicon.png" />
<link rel="apple-touch-icon-precomposed" href="../apple-touch-icon-60x60.png">
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="../apple-touch-icon-76x76.png">
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="../apple-touch-icon-152x152.png">
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="../apple-touch-icon-120x120.png">
<meta content="width=device-width, minimum-scale=1, maximum-scale=1" name="viewport">
<link rel="stylesheet" href="css/style.css" />
<link rel="stylesheet" href="https://code.jquery.com/mobile/1.4.5/jquery.mobile-1.4.5.min.css" />
<script src="https://code.jquery.com/jquery-1.11.1.min.js"></script>
<script type="text/javascript" src="script/mdj.math.library.js"></script>
<script type="text/javascript" src="script/drums_payout.js"></script>
<script type="text/javascript">$(document).bind("mobileinit", function () {$.mobile.ajaxEnabled = false;});</script>
<script type="text/javascript" src="https://code.jquery.com/mobile/1.4.5/jquery.mobile-1.4.5.min.js"></script>
</head>
<body>
<!-- ###########################
##### Payout Page #####
########################### -->
<div data-role="page" id="payout_page">
<script>
LoadNavPanel("#payout_page");
$(document).on('pageinit', '#payout_page', function() {getMaxPayout()});
$("#payout_page").on('change', '.user_values', function() {getMaxPayout()});
$(".calculated_values").prop("readonly",true);
</script>
<!-- ##### PANEL ##### -->
<div data-role="panel" id="navpanel" class="navpanel" data-display="reveal" data-position="left">
<ul data-role="listview" id="navigation_links" data-theme="d">
</ul>
</div> <!-- Panel -->
<!-- ##### HEADER ##### -->
<div data-role="header" data-position="fixed" data-theme="b">
<a href="#navpanel" data-role="button" data-icon="bars" data-iconpos="notext">Navigation</a>
<h1>Helical Drum Payout</h1>
</div><!-- /header -->
<!-- ##### CONTENT ##### -->
<div role="main" class="ui-content">
<label for="lead">Lead (in):</label>
<input class="user_values" type="number" data-clear-btn="true" id="lead" value="0.265" step="0.0625" min="0" />
<label for="pitch">Pitch D (in):</label>
<input class="user_values" type="number" data-clear-btn="true" id="pitch" value="11" step="0.25" min="0" />
<label for="width">Width (in):</label>
<input class="user_values" type="number" data-clear-btn="true" id="width" value="11" step="1" min="0" />
<label for="safety_wraps">Safety Wraps:</label>
<input class="user_values" type="number" data-clear-btn="true" id="safety_wraps" value="3" min="0" />
<label for="lines"># of Lines:</label>
<input class="user_values" type="number" data-clear-btn="true" id="lines" value="1" min="0" />
<label for="grooves">Total Grooves:</label>
<input class="calculated_values" type="number" id="grooves" min="0" readonly />
<label for="payout">Payout (ft):</label>
<input class="calculated_values" type="number" id="payout" min="0" readonly />
</div><!-- /content -->
<!-- ##### Footer ##### -->
<div data-role="footer" data-position="fixed" data-theme="b">
<div data-role="controlgroup" data-type="horizontal" align="center">
<a href="https://formulae.scenic-shop.com/drums/drums_helicalpayout/" data-role="button" id="button_formulas" data-icon="gear">Formulas</a>
<a href="#diagram" data-role="button" id="PV_diagram" data-icon="info">Diagram</a>
<a href="disclaimer.html" data-role="button" data-rel="dialog">Disclaimer</a>
</div>
</div> <!-- Footer -->
</div> <!-- Page -->
<!-- ##### DIAGRAM ##### -->
<div data-role="page" id="diagram" data-dialog="true">
<div data-role="header" data-position="fixed" data-theme="b">
<h1>Drum Diagram</h1>
</div><!-- /header -->
<div data-role="content">
<h1> <img class="centered" src="image/drum_helical_payout.jpg" alt="Diagram" /> </h1>
</div>
</div><!-- Page -->
</body>
</html>