-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
173 lines (172 loc) · 8.98 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
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<link rel="stylesheet" href="css/main.css" type="text/css">
<title>DTX Charter 1.00</title>
</head>
<body>
<nav class="navbar navbar-default navbar-fixed-top" role="navigation">
<div class="top-bar"></div>
<div class="navbar-header">
<button aria-controls="bs-navbar-1" aria-expanded="true" class="navbar-toggle" data-target="#bs-navbar-1" data-toggle="collapse" type="button">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="index.html">
<span>DTX Charter</span>
</a>
</div>
<div class="collapse navbar-collapse" id="bs-navbar-1">
<ul class="nav navbar-nav">
<li>
<form>
<input id='openFile' type="file" accept=".dtx, .gda" style="visibility: hidden; display:none;">
</form>
<span class="navbar-text"> </span><button id='Open' class="btn btn-default navbar-btn">Open File...</button>
</li>
<li><span class="navbar-text"> Difficulty </span><select id="SelectDifficulty" class="btn btn-primary navbar-btn">
<option value="Basic">Basic</option>
<option value="Advanced">Advanced</option>
<option value="Extreme">Extreme</option>
<option value="Master" selected="selected">Master</option>
</select>
</li>
<li><span class="navbar-text"> Scale factor </span><select id="SelectScaleFactor" class="btn btn-primary navbar-btn">
<option value="0.50">0.50</option>
<option value="0.75">0.75</option>
<option value="1.00" selected="selected">1.00</option>
<option value="1.25">1.25</option>
<option value="1.50">1.50</option>
<option value="1.75">1.75</option>
<option value="2.00">2.00</option>
<option value="2.25">2.25</option>
<option value="2.50">2.50</option>
</select>
</li>
<li><span class="navbar-text"> Page height </span>
<select id="SelectPageHeight" class="btn btn-primary navbar-btn">
<option value="1200">1200</option>
<option value="1300">1300</option>
<option value="1400">1400</option>
<option value="1500">1500</option>
<option value="1600">1600</option>
<option value="1700">1700</option>
<option value="1800">1800</option>
<option value="1900">1900</option>
<option value="2000" selected="selected">2000</option>
<option value="2100">2100</option>
<option value="2200">2200</option>
<option value="2300">2300</option>
<option value="2400">2400</option>
<option value="2500">2500</option>
<option value="2600">2600</option>
<option value="2700">2700</option>
<option value="2800">2800</option>
<option value="2900">2900</option>
<option value="3000">3000</option>
<option value="3100">3100</option>
<option value="3200">3200</option>
<option value="3300">3300</option>
<option value="3400">3400</option>
<option value="3500">3500</option>
<option value="3600">3600</option>
<option value="3700">3700</option>
<option value="3800">3800</option>
<option value="3900">3900</option>
<option value="4000">4000</option>
</select>
</li>
<li><span class="navbar-text"> Page per canvas </span>
<input id="SelectPagePerCanvas" class="btn btn-primary navbar-btn" type="number" min="5" max="110" value="50" />
</li>
<li><span class="navbar-text"> Mode</span><select id="SelectMode" class="btn btn-primary navbar-btn">
<option value="Gitadora" selected="selected">XG/Gitadora</option>
<option value="Vmix">V-series Mix</option>
<option value="full">Full</option>
</select>
</li>
<li><span class="navbar-text"> </span><button id='Draw' class="btn btn-default navbar-btn">Re-Draw</button></li>
<li><span class="navbar-text"> </span><button id='Clear' class="btn btn-default navbar-btn">Clear</button></li>
</ul>
</div>
</nav>
<div id="main_container" class="container-fluid">
<ul class="nav nav-tabs">
<li class="active"><a data-toggle="pill" href="#home">Home</a></li>
<li><a data-toggle="pill" href="#menu1">Drums</a></li>
<li><a data-toggle="pill" href="#menu2">Guitar</a></li>
<li><a data-toggle="pill" href="#menu3">Bass</a></li>
<li><a data-toggle="pill" href="#menu4">Graphs</a></li>
</ul>
<div class="tab-content">
<div id="home" class="tab-pane fade in active">
<div class="row">
<div class="col-md-10 canvasSheetContainer">
<h2>Welcome to DTX Charter</h2>
<p>This page allows user to load in DTX chart files and presents drum/guitar/bass notes on HTML5 canvas in super high resolution.</p>
<p>Graphs are also drawn to show relative proportion of different notes</p>
<p>Supports both .dtx and .gda files</p>
</div>
</div>
</div>
<div id="menu1" class="tab-pane fade">
<div class="row" id="placeholder1">
<div class="col-md-10 canvasSheetContainer">
<h2>No Drum Chart to show</h2>
</div>
</div>
<div id="drum_chart_container">
</div>
</div>
<div id="menu2" class="tab-pane">
<div class="row" id="placeholder2">
<div class="col-md-10 canvasSheetContainer">
<h2>No Guitar Chart to show</h2>
</div>
</div>
<div id="guitar_chart_container">
</div>
</div>
<div id="menu3" class="tab-pane">
<div class="row" id="placeholder3">
<div class="col-md-10 canvasSheetContainer">
<h2>No Bass Chart to show</h2>
</div>
</div>
<div id="bass_chart_container">
</div>
</div>
<div id="menu4" class="tab-pane">
<div class="row" id="placeholder4">
<div class="col-md-10 canvasSheetContainer">
<h2>No Graphs to show</h2>
</div>
</div>
<div id="graph_container">
</div>
</div>
</div>
</div>
<footer>
Copyright © 2017, DTX Charter
</footer>
<script
src="https://code.jquery.com/jquery-3.1.1.min.js" integrity="sha256-hVVnYaiADRTO2PzUGmuLJr8BLUSjGIZsDYGmIJLv2b8=" crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/fabric.js/2.6.0/fabric.min.js" type="text/javascript"></script>
<script src="js/dtxchart.parser.js"></script>
<script src="js/dtxchart.canvasEngine_Fabric.js"></script>
<script src="js/dtxchart.dmdrawmethods.js"></script>
<script src="js/dtxchart.gfdrawmethods.js"></script>
<script src="js/dtxchart.chartsheet.js"></script>
<script src="js/dtxchart.charter.js"></script>
<script src="js/dtxchart.graph.js"></script>
<script src="js/dtxchart.linePositionMapper.js"></script>
<script src="js/main.js"></script>
</body>
</html>