Mercurial > nebulaweb3
comparison default/node_modules/tablesaw/demo/kitchensink.html @ 0:1d038bc9b3d2 default tip
Up:default
author | Liny <dev@neowd.com> |
---|---|
date | Sat, 31 May 2025 09:21:51 +0800 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:1d038bc9b3d2 |
---|---|
1 <!doctype html> | |
2 <html lang="en"> | |
3 <head> | |
4 <meta charset="utf-8"> | |
5 <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | |
6 <meta name="viewport" content="width=device-width, initial-scale=1"> | |
7 <title>TableSaw Column Toggle Table</title> | |
8 | |
9 <link rel="stylesheet" href="../dist/tablesaw.css"> | |
10 <link rel="stylesheet" href="demo.css"> | |
11 <link rel="stylesheet" href="//filamentgroup.github.io/demo-head/demohead.css"> | |
12 | |
13 <!-- <script src="../dist/dependencies/jquery.js"></script> | |
14 <script src="../dist/tablesaw.jquery.js"></script> --> | |
15 <script src="../dist/tablesaw.js"></script> | |
16 <script src="../dist/tablesaw-init.js"></script> | |
17 <script src="//filamentgroup.github.io/demo-head/loadfont.js"></script> | |
18 </head> | |
19 <body> | |
20 <div class="demo-header"> | |
21 <div class="company"> | |
22 <img src="http://filamentgroup.com/images/fg-logo-positive-sm-crop.png"> | |
23 </div> | |
24 <div class="details"> | |
25 <h1 class="description-container">Demo of <span class="repo-name">Tablesaw</span> | |
26 <span class="description">A group of plugins for responsive tables.</span> | |
27 </h1> | |
28 <ul class="outbound-links"> | |
29 <li><a href="https://github.com/filamentgroup/tablesaw">Code</a></li> | |
30 <li><a href="https://github.com/filamentgroup/tablesaw/issues">Issues</a></li> | |
31 </ul> | |
32 </div> | |
33 </div> | |
34 <div class="nav-container"> | |
35 <div class="docs-globalnav"> | |
36 <nav class="docs-nav"> | |
37 <a href="kitchensink.html" class="current">Kitchen Sink</a> | |
38 <a href="modeswitch.html">Mode Switch</a> | |
39 <a href="sort.html">Sortable</a> | |
40 <a href="stack.html">Stack</a> | |
41 <a href="stackonly.html">Stack Only</a> | |
42 <a href="swipe.html">Swipe Table</a> | |
43 <a href="toggle.html">Toggle</a> | |
44 <a href="checkall.html">Check All</a> | |
45 </nav> | |
46 </div> | |
47 </div> | |
48 <div class="docs-main"> | |
49 <h2>Kitchen Sink</h2> | |
50 <p>This demonstration table contains all of the bells and whistles available in tablesaw: Swipe Mode, ModeSwitch, Minimap, Sortable, and SortableSwitch.</p> | |
51 | |
52 <table class="tablesaw" data-tablesaw-mode="swipe" data-tablesaw-sortable data-tablesaw-sortable-switch data-tablesaw-minimap data-tablesaw-mode-switch> | |
53 <thead> | |
54 <tr> | |
55 <th scope="col" data-tablesaw-sortable-col data-tablesaw-priority="persist">Movie Title</th> | |
56 <th scope="col" data-tablesaw-sortable-col data-tablesaw-sortable-default-col data-tablesaw-priority="3">Rank</th> | |
57 <th scope="col" data-tablesaw-sortable-col data-tablesaw-priority="2">Year</th> | |
58 <th scope="col" data-tablesaw-sortable-col data-tablesaw-priority="1"><abbr title="Rotten Tomato Rating">Rating</abbr></th> | |
59 <th scope="col" data-tablesaw-sortable-col data-tablesaw-priority="4">Gross</th> | |
60 </tr> | |
61 </thead> | |
62 <tbody> | |
63 <tr> | |
64 <td class="title"><a href="http://en.wikipedia.org/wiki/Avatar_(2009_film)">Avatar</a></td> | |
65 <td>1</td> | |
66 <td>2009</td> | |
67 <td>83%</td> | |
68 <td>$2.7B</td> | |
69 </tr> | |
70 <tr> | |
71 <td class="title"><a href="http://en.wikipedia.org/wiki/Titanic_(1997_film)">Titanic</a></td> | |
72 <td>2</td> | |
73 <td>1997</td> | |
74 <td>88%</td> | |
75 <td>$2.1B</td> | |
76 </tr> | |
77 <tr> | |
78 <td class="title"><a href="http://en.wikipedia.org/wiki/The_Avengers_(2012_film)">The Avengers</a></td> | |
79 <td>3</td> | |
80 <td>2012</td> | |
81 <td>92%</td> | |
82 <td>$1.5B</td> | |
83 </tr> | |
84 <tr> | |
85 <td class="title"><a href="http://en.wikipedia.org/wiki/Harry_Potter_and_the_Deathly_Hallows_%E2%80%93_Part_2">Harry Potter and the Deathly Hallows—Part 2</a></td> | |
86 <td>4</td> | |
87 <td>2011</td> | |
88 <td>96%</td> | |
89 <td>$1.3B</td> | |
90 </tr> | |
91 <tr> | |
92 <td class="title"><a href="http://en.wikipedia.org/wiki/Frozen_(2013_film)">Frozen</a></td> | |
93 <td>5</td> | |
94 <td>2013</td> | |
95 <td>89%</td> | |
96 <td>$1.2B</td> | |
97 </tr> | |
98 <tr> | |
99 <td class="title"><a href="http://en.wikipedia.org/wiki/Iron_Man_3">Iron Man 3</a></td> | |
100 <td>6</td> | |
101 <td>2013</td> | |
102 <td>78%</td> | |
103 <td>$1.2B</td> | |
104 </tr> | |
105 <tr> | |
106 <td class="title"><a href="http://en.wikipedia.org/wiki/Transformers:_Dark_of_the_Moon">Transformers: Dark of the Moon</a></td> | |
107 <td>7</td> | |
108 <td>2011</td> | |
109 <td>36%</td> | |
110 <td>$1.1B</td> | |
111 </tr> | |
112 <tr> | |
113 <td class="title"><a href="http://en.wikipedia.org/wiki/The_Lord_of_the_Rings:_The_Return_of_the_King">The Lord of the Rings: The Return of the King</a></td> | |
114 <td>8</td> | |
115 <td>2003</td> | |
116 <td>95%</td> | |
117 <td>$1.1B</td> | |
118 </tr> | |
119 <tr> | |
120 <td class="title"><a href="http://en.wikipedia.org/wiki/Skyfall">Skyfall</a></td> | |
121 <td>9</td> | |
122 <td>2012</td> | |
123 <td>92%</td> | |
124 <td>$1.1B</td> | |
125 </tr> | |
126 <tr> | |
127 <td class="title"><a href="http://en.wikipedia.org/wiki/Transformers:_Age_of_Extinction">Transformers: Age of Extinction</a></td> | |
128 <td>10</td> | |
129 <td>2014</td> | |
130 <td>18%</td> | |
131 <td>$1.0B</td> | |
132 </tr> | |
133 </tbody> | |
134 </table> | |
135 | |
136 <h2>Kitchen Sink with overflow on Column Toggle</h2> | |
137 | |
138 <div class="tablesaw-overflow"> | |
139 <table class="tablesaw" data-tablesaw-mode="columntoggle" data-tablesaw-sortable data-tablesaw-sortable-switch data-tablesaw-minimap data-tablesaw-mode-switch> | |
140 <thead> | |
141 <tr> | |
142 <th scope="col" data-tablesaw-sortable-col data-tablesaw-priority="persist">Movie Title</th> | |
143 <th scope="col" data-tablesaw-sortable-col data-tablesaw-sortable-default-col data-tablesaw-priority="3">Rank</th> | |
144 <th scope="col" data-tablesaw-sortable-col data-tablesaw-priority="2">Year</th> | |
145 <th scope="col" data-tablesaw-sortable-col data-tablesaw-priority="1"><abbr title="Rotten Tomato Rating">Rating</abbr></th> | |
146 <th scope="col" data-tablesaw-sortable-col data-tablesaw-priority="4">Gross</th> | |
147 </tr> | |
148 </thead> | |
149 <tbody> | |
150 <tr> | |
151 <td class="title"><a href="http://en.wikipedia.org/wiki/Avatar_(2009_film)">Avatar</a></td> | |
152 <td>1</td> | |
153 <td>2009</td> | |
154 <td>83%</td> | |
155 <td>$2.7B</td> | |
156 </tr> | |
157 <tr> | |
158 <td class="title"><a href="http://en.wikipedia.org/wiki/Titanic_(1997_film)">Titanic</a></td> | |
159 <td>2</td> | |
160 <td>1997</td> | |
161 <td>88%</td> | |
162 <td>$2.1B</td> | |
163 </tr> | |
164 <tr> | |
165 <td class="title"><a href="http://en.wikipedia.org/wiki/The_Avengers_(2012_film)">The Avengers</a></td> | |
166 <td>3</td> | |
167 <td>2012</td> | |
168 <td>92%</td> | |
169 <td>$1.5B</td> | |
170 </tr> | |
171 <tr> | |
172 <td class="title"><a href="http://en.wikipedia.org/wiki/Harry_Potter_and_the_Deathly_Hallows_%E2%80%93_Part_2">Harry Potter and the Deathly Hallows—Part 2</a></td> | |
173 <td>4</td> | |
174 <td>2011</td> | |
175 <td>96%</td> | |
176 <td>$1.3B</td> | |
177 </tr> | |
178 <tr> | |
179 <td class="title"><a href="http://en.wikipedia.org/wiki/Frozen_(2013_film)">Frozen</a></td> | |
180 <td>5</td> | |
181 <td>2013</td> | |
182 <td>89%</td> | |
183 <td>$1.2B</td> | |
184 </tr> | |
185 <tr> | |
186 <td class="title"><a href="http://en.wikipedia.org/wiki/Iron_Man_3">Iron Man 3</a></td> | |
187 <td>6</td> | |
188 <td>2013</td> | |
189 <td>78%</td> | |
190 <td>$1.2B</td> | |
191 </tr> | |
192 <tr> | |
193 <td class="title"><a href="http://en.wikipedia.org/wiki/Transformers:_Dark_of_the_Moon">Transformers: Dark of the Moon</a></td> | |
194 <td>7</td> | |
195 <td>2011</td> | |
196 <td>36%</td> | |
197 <td>$1.1B</td> | |
198 </tr> | |
199 <tr> | |
200 <td class="title"><a href="http://en.wikipedia.org/wiki/The_Lord_of_the_Rings:_The_Return_of_the_King">The Lord of the Rings: The Return of the King</a></td> | |
201 <td>8</td> | |
202 <td>2003</td> | |
203 <td>95%</td> | |
204 <td>$1.1B</td> | |
205 </tr> | |
206 <tr> | |
207 <td class="title"><a href="http://en.wikipedia.org/wiki/Skyfall">Skyfall</a></td> | |
208 <td>9</td> | |
209 <td>2012</td> | |
210 <td>92%</td> | |
211 <td>$1.1B</td> | |
212 </tr> | |
213 <tr> | |
214 <td class="title"><a href="http://en.wikipedia.org/wiki/Transformers:_Age_of_Extinction">Transformers: Age of Extinction</a></td> | |
215 <td>10</td> | |
216 <td>2014</td> | |
217 <td>18%</td> | |
218 <td>$1.0B</td> | |
219 </tr> | |
220 </tbody> | |
221 </table> | |
222 </div><!-- /tablesaw-overflow --> | |
223 </div> | |
224 | |
225 </body> | |
226 </html> |