forked from Yellow-Me/bikegeo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
145 lines (133 loc) · 4.81 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
<!DOCTYPE html>
<!-- This file is part of BikeGeo.
BikeGeo is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License version 3 as
published by the Free Software Foundation.
BikeGeo is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with BikeGeo. If not, see <http://www.gnu.org/licenses/>.
Copyright 2014 Juha Virtakoivu -->
<html lang="en">
<head>
<meta http-equiv="content-type" content="text/html;charset=utf-8">
<meta name="keywords" content="stack, reach, bike, bicycle">
<meta name="description" content="Bicycle stack and reach calculator with visualization.">
<link rel="stylesheet" type="text/css" href="bikegeo.css">
<title>Stack and reach calculator</title>
</head>
<body>
<!-- hidden help image-->
<div style="visibility:hidden;height:0">
<img id="helpPng" src="help.png" alt="Error in help function">
</div>
<div class = "body">
<div id = "canvases" class = "LeftColumn" >
<canvas id="bg" width="600" height="320" class="bike"
style="z-index: 0; background-color:#F8F8F8;">
</canvas>
<canvas id="help" width="600" height="320" class="bike"
style="z-index: 10;">
</canvas>
<div class="disclaimer">
<a href="#" id="helpLink"> Toggle help </a> <br>
The calculated reach and stack values are only approximate values. The bike manufacturer should be contacted, if exact values are needed.
</div>
</div>
<script src="./bike.js"></script>
<!-- "virtual" dedicated forms for the bikes-->
<div id="bikeForms">
</div>
<div class="RightColumn">
<form name="BikesData" method="GET">
<table class="BikeInputTable">
<thead>
<tr id = "row_bikes">
<th class="label">Geometry</th>
<!-- style="color:#ff0000;" -->
</thead>
<tbody>
<tr id="row_ws"><td>Wheel size(1)</td>
</tr>
<tr id="row_tireSize"><td>Tire size(1.5)</td>
</tr>
<tr id="row_bbDrop"><td>BB drop(2)</td>
</tr>
<tr id="row_fl"><td>Fork length(3) </td>
</tr>
<tr id="row_fo"><td>Fork offset(4) </td>
</tr>
<tr id="row_ttl"><td>Top tube length(5) </td>
</tr>
<tr id="row_htl"><td>Head tube length(6)</td>
</tr>
<tr id="row_hta"><td>Head tube angle(7) </td>
</tr>
<tr id="row_sta"><td>Seat tube angle(8) </td>
</tr>
<tr id="row_csl"><td>Chainstay length(9)</td>
</tr>
<tr id="row_spacers"><td>Spacers height(10)</td>
</tr>
<tr id="row_sl"><td>Stem length(11)</td>
</tr>
<tr id="row_sa"><td>Stem angle(12)</td>
</tr>
<tr id="row_toeLength"><td>Toe length(20)</td>
</tr>
<tr id="row_crankLength"><td>Crank length(20.1)</td>
</tr>
</tbody>
<tfoot>
<tr id="row_wb"><td>Wheelbase(13)</td>
</tr>
<tr id="row_frontCenter"><td>Front Center(13.1)</td>
</tr>
<tr id="row_rearCenter"><td>Rear Center(13.1)</td>
</tr>
<tr id="row_toeOvlp"><td>Toe Overlap(14)</td>
</tr>
<tr id="row_groundTrail"><td>Ground Trail(15)</td>
</tr>
<tr id="row_mechTrail"><td>Mechanical Trail(16)</td>
</tr>
<tr id="row_reach" class="divider"><td>Reach(frame)(17)</td>
</tr>
<tr id="row_stack"><td>Stack(frame)(18)</td>
</tr>
<tr id="row_reachWspc" class="divider"><td>Reach(spacers)(19)</td>
</tr>
<tr id="row_stackWspc"><td>Stack(spacers)(20)</td>
</tr>
<tr id="row_reachWstm" class="divider"><td>Reach(stem)(21)</td>
</tr>
<tr id="row_stackWstm"><td>Stack(stem)(22)</td>
</tr>
<tr id="row_color"><td>Graphics color</td>
</tr>
<tr id="row_controls"><td><button onclick="addBike(null, bikes)">Add</button></td>
</tr>
</tfoot>
</table>
</form>
</div>
<script src="./init.js"></script>
<div class="footer">
<p class="credits"> This web site was developed with free open source tools:
<a href="http://www.gnu.org/software/emacs/"> Emacs</a>,
<a href="https://wiki.gnome.org/Apps/Dia">Dia</a>, <BR>
<a href="https://wiki.debian.org/Iceweasel"> Iceweasel</a>
<a href="https://www.mozilla.org/firefox">(Firefox)</a>,
<a href="https://wiki.gnome.org/Apps/Web">Epiphany</a> and
<a href="http://www.gimp.org/">GIMP</a>
packaged by
<a href="https://www.debian.org/">Debian project</a>.</p>
<p class="cr">Copyright 2014<a href="mailto:[email protected]">Juha Virtakoivu</a> , 2020 Scott Phillips, 2022 Valentin Chirikov
<BR>
The source code is available at <a href="https://github.com/Yellow-Me/bikegeo">GitHub</a></p>
</div>
</div>
</body>
</html>