-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathtables.html
173 lines (163 loc) · 5.92 KB
/
tables.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>
<head>
<meta charset="UTF-8">
<title>Responsive tables</title>
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="format-detection" content="telephone=no">
<meta name="viewport" content="width=device-width, maximum-scale=1.0, minimum-scale=0.5,user-scalable=yes,initial-scale=1.0">
<link rel="stylesheet" href="css/bootstrap.css">
<link rel="stylesheet" href="css/responsive.css">
<link rel="stylesheet" href="content/font/elusive-icons/css/elusive-webfont.min.css">
<link rel="stylesheet" href="css/style.css">
<!--[if lte IE 8]><script src="/wp-content/themes/html5.theme/common/js/html5.js" type="text/javascript"></script><![endif]-->
</head>
<body>
<nav class="navbar navbar-fixed-top">
<div class="navbar-inner">
<div class="container-fluid">
<button type="button" class="btn btn-navbar collapsed" data-toggle="collapse" data-target=".nav-collapse"><i class="icon-list"></i></button>
<a href="index.html" title="Green mind | bootstrap" class="brand"><i class="icon-leaf"></i> Green mind </a>
<div class="nav-collapse collapse">
<ul class="nav nav-pills pull-right">
<li><a href="#" title="Sign in"><i class="icon-white icon-off"></i> Sign in</a></li>
<li class="dropdown">
<a href="#" title="Settings" data-toggle="dropdown"><i class="icon-cog icon-white"></i> Settings</a>
<ul class="dropdown-menu">
<li><a href="#">Setting item A</a></li>
<li><a href="#">Setting item B</a></li>
</ul>
</li>
<li class="dropdown">
<a href="#" title="Settings" data-toggle="dropdown"><i class="icon-white icon-user"></i> Naoki Yamda</a>
<ul class="dropdown-menu">
<li><a href="#">Profile</a></li>
<li><a href="#">Other item</a></li>
</ul>
</li>
</ul>
</div>
</div>
</div>
</nav>
<header class="jumbotron">
<div class="jumbotron-inner">
<h1>
<a href="#" class="dropdown-toggle" data-toggle="dropdown" title="">Responsive tables <i class="caret icon-chevron-down"></i></a>
<ul class="dropdown-menu">
<li><a tabindex="-1" href="listview.html">List views</a></li>
<li><a tabindex="-1" href="tables.html">Responsive tables</a></li>
<li><a tabindex="-1" href="images.html">Images</a></li>
<li class="divider"></li>
<li><a tabindex="-1" href="scaffolding.html">Bootstrap Scaffolding</a></li>
<li><a tabindex="-1" href="base-css.html">Bootstrap Base CSS</a></li>
<li><a tabindex="-1" href="components.html">Bootstrap Components</a></li>
<li><a tabindex="-1" href="javascript.html">Bootstrap JavaScript</a></li>
<li class="divider"></li>
<li><a tabindex="-1" href="index.html">Home</a></li>
</ul>
</h1>
<p class="lead"><i class="icon-ok-sign"></i> Show selectable lists of elements.</p>
</div>
</header>
<section class="page-content">
<section id="tables">
<header class="page-header">
<h1>Responsive tables <small>demo</small></h1>
</header>
<p>A CSS solution for tables that allows them to shrink on small devices without sacrificing the value of tables, comparison of columns.</p>
<div class="bs-doc-example">
<table class="table table-striped table-responsive">
<thead>
<tr>
<th>First Name</th>
<th>Last Name</th>
<th>Age</th>
<th>Total</th>
<th>Discount</th>
<th>Difference</th>
<th>Date</th>
</tr>
</thead>
<tbody>
<tr>
<td>Bruce</td>
<td>Almighty</td>
<td>45</td>
<td>$153.19</td>
<td>44.7%</td>
<td>+77</td>
<td>Jan 18, 2001 9:12 AM</td>
</tr>
<tr>
<td>Bruce</td>
<td>Evans</td>
<td>22</td>
<td>$13.19</td>
<td>11%</td>
<td>-100.9</td>
<td>Jan 18, 2007 9:12 AM</td>
</tr>
<tr>
<td>Bruce</td>
<td>Evans</td>
<td>22</td>
<td>$13.19</td>
<td>11%</td>
<td>0</td>
<td>Jan 18, 2007 9:12 AM</td>
</tr>
<tr>
<td>Clark</td>
<td>Kent</td>
<td>18</td>
<td>$15.89</td>
<td>44%</td>
<td>-26</td>
<td>Jan 12, 2003 11:14 AM</td>
</tr>
<tr>
<td>John</td>
<td>Hood</td>
<td>33</td>
<td>$19.99</td>
<td>25%</td>
<td>+12</td>
<td>Dec 10, 2002 5:14 AM</td>
</tr>
<tr>
<td>Peter</td>
<td>Parker</td>
<td>28</td>
<td>$9.99</td>
<td>20.9%</td>
<td>+12.1</td>
<td>Jul 6, 2006 8:14 AM</td>
</tr>
</tbody>
</table>
</div>
<pre class="prettyprint linenums">
<table class="table table-responsive">
…
</table>
</pre>
</section>
</section>
<footer id="footer" class="footer">
<ul class="nav nav-pills">
<li><a href="http://dev.classmethod.jp/author/yamada-naoki/" title="山田直樹 | Developers.IO"><i class="icon-pencil"></i> Blog</a></li>
<li><a href="https://www.facebook.com/wakamsha" title="山田直樹 | facebook"><i class="icon-facebook"></i> facebook</a></li>
<li><a href="https://github.com/wakamsha" title="wakamsha"><i class="icon-github"></i> Github</a></li>
</ul>
<p>Made by <strong>WAKAMSHA</strong>. Contact him <a href="mailto:[email protected]">[email protected]</a>.</p>
<p>Code licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License v2.0</a>.</p>
<p>Based on <a href="http://twitter.github.com/bootstrap/">Bootstrap</a>. Hosted on <a href="http://pages.github.com/">GitHub</a>. Icons from <a href="http://aristeides.com/elusive-iconfont/">Elusive Icons</a>. Web fonts from <a href="http://www.google.com/webfonts">Google</a>.<p></p>
</footer>
<script src="http://code.jquery.com/jquery.min.js"></script>
<script src="js/bootstrap.js"></script>
<script src="https://google-code-prettify.googlecode.com/svn/loader/prettify.js"></script>
<script src="js/application.js"></script>
</body>
</html>