-
Notifications
You must be signed in to change notification settings - Fork 0
/
0340_table.html
56 lines (54 loc) · 1.86 KB
/
0340_table.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
<!-- テーブルまとめ -->
<!-- 2系から tablesorter は外されたが、1系のを持ってくれば使える -->
<!-- ソートしたときの th のクラスは .header .headerSort(Up|Down) -->
<!DOCTYPE html>
<html lang="ja">
<html>
<head>
<meta charset="UTF-8" />
<link href="assets/bootstrap.css" media="screen" rel="stylesheet" type="text/css" />
<link href="assets/bootstrap_table_colors.css" media="screen" rel="stylesheet" type="text/css" />
<script src="assets/jquery.js" type="text/javascript"></script>
<script src="assets/coffee-script.js" type="text/javascript"></script>
<script src="assets/jquery.tablesorter.min.js" type="text/javascript"></script>
<script src="assets/coffee-script.js" type="text/javascript"></script>
<script type="text/coffeescript">
$ ->
$(".table").tablesorter()
</script>
</head>
<body>
<div class="container">
<h2>table</h2>
<table class="table">
<thead>
<tr><th class="blue">Id</th><th class="blue">Name</th></tr>
</thead>
<tbody>
<tr><td>1</td><td>A</td></tr>
<tr><td>2</td><td>B</td></tr>
</tbody>
</table>
<h2>table table-bordered table-striped</h2>
<table class="table table-bordered table-striped">
<thead>
<tr><th class="blue">Id</th><th class="blue">Name</th></tr>
</thead>
<tbody>
<tr><td>1</td><td>A</td></tr>
<tr><td>2</td><td>B</td></tr>
</tbody>
</table>
<h2>table table-condensed table-striped</h2>
<table class="table table-condensed table-striped">
<thead>
<tr><th class="blue">Id</th><th class="blue">Name</th></tr>
</thead>
<tbody>
<tr><td>1</td><td>A</td></tr>
<tr><td>2</td><td>B</td></tr>
</tbody>
</table>
</div>
</body>
</html>