-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
74 lines (64 loc) · 2.55 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
<!doctype html>
<html class="no-js" lang="">
<head>
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dist/css/bootstrap.min.css"
integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<style>
.progress{position: relative; width:600px;margin: auto;}
</style>
</head>
<body>
<!-- Add your site or application content here -->
<p>Hello world! This is HTML5 Boilerplate.</p>
<div id = "container"></div>
<script src="js/vendor/modernizr-3.7.1.min.js"></script>
<script src="https://code.jquery.com/jquery-3.4.1.min.js" integrity="sha256-CSXorXvZcTkaix6Yvo6HppcZGetbYMGWSFlBw8HfCJo=" crossorigin="anonymous"></script>
<script>window.jQuery || document.write('<script src="js/vendor/jquery-3.4.1.min.js"><\/script>')</script>
<script src="js/plugins.js"></script>
<script src="js/main.js"></script>
<table width="auto" border="0" style="margin: auto">
<thead>
<tr>
<th id = "State" width="50%" style="text-align: center; font-size: 40px">
State:
</th>
<th id = "Step" width="50%" style="text-align: center; font-size: 40px">
Step:
</th>
</tr>
</thead>
<tbody>
<tr>
<td colspan="2">
<canvas id="canvas" width=1000 height=350>
你的浏览器居然不支持Canvas?!赶快换一个吧!!
</canvas>
</td>
</tr>
</tbody>
</table>
<table width="auto" style="margin: auto">
<tbody>
<td style="width: 30%">
<div class="btn-group">
<button type="button" class="btn btn-secondary" onclick="settostep(0);"><span class="glyphicon glyphicon-stop" aria-hidden="true"></span></button>
<button type="button" id='play' class="btn btn-secondary" onclick="autoplay();"><span id='icon' class="glyphicon glyphicon-play" aria-hidden="true"></span></button>
<button type="button" class="btn btn-secondary" onclick="pauseit(); nextstepAnimation();"><span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span></button>
</div>
</td>
<td>
<div class="progress" style="position: relative; width:600px;margin: auto;">
<div class="progress-bar" role="progressbar" aria-valuenow="60"
aria-valuemin="0" aria-valuemax="100" style="width: 0%;">
<span class="sr-only">40% 完成</span>
</div>
</div>
</td>
</tbody>
</table>
<script type = "text/javascript" src = "TuringMachineAnime.js">
</script>
</body>
</html>