rbbt-views 1.0.1 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (177) hide show
  1. data/lib/rbbt/workflow/rest.rb +365 -95
  2. data/lib/rbbt/workflow/rest/client.rb +2 -0
  3. data/lib/rbbt/workflow/rest/entity.rb +82 -76
  4. data/lib/rbbt/workflow/rest/finder.rb +78 -0
  5. data/lib/rbbt/workflow/rest/helpers.rb +288 -47
  6. data/lib/rbbt/workflow/rest/notes.rb +125 -0
  7. data/lib/rbbt/workflow/rest/render.rb +280 -240
  8. data/lib/rbbt/workflow/rest/util.rb +47 -31
  9. data/share/views/compass/_base.sass +0 -8
  10. data/share/views/compass/colors.sass +10 -0
  11. data/share/views/compass/colors/ventana_azul.sass +5 -0
  12. data/share/views/compass/compass.config +2 -1
  13. data/share/views/compass/details.sass +50 -0
  14. data/share/views/compass/dom.sass +64 -0
  15. data/share/views/compass/embedded.sass +111 -0
  16. data/share/views/compass/entities.sass +8 -0
  17. data/share/views/compass/error.sass +13 -0
  18. data/share/views/compass/finder.sass +42 -0
  19. data/share/views/compass/fonts.sass +8 -0
  20. data/share/views/compass/form.sass +49 -1
  21. data/share/views/compass/header.sass +68 -0
  22. data/share/views/compass/{main.sass → helpers.sass} +53 -21
  23. data/share/views/compass/layout.sass +31 -199
  24. data/share/views/compass/lists.sass +128 -0
  25. data/share/views/compass/menu.sass +35 -0
  26. data/share/views/compass/notes.sass +52 -0
  27. data/share/views/compass/sizes.sass +8 -0
  28. data/share/views/compass/tables.sass +22 -0
  29. data/share/views/compass/wait.sass +9 -0
  30. data/share/views/edit_list.haml +41 -30
  31. data/share/views/entity/GOTerm.haml +4 -3
  32. data/share/views/entity/Gene.haml +8 -1
  33. data/share/views/entity/GenomicMutation.haml +4 -1
  34. data/share/views/entity/KeggPathway.haml +1 -1
  35. data/share/views/entity/MutatedIsoform.haml +68 -11
  36. data/share/views/entity/NCIBioCartaPathway.haml +2 -3
  37. data/share/views/entity/NCINaturePathway.haml +3 -3
  38. data/share/views/entity/NCIReactomePathway.haml +2 -3
  39. data/share/views/entity/PfamDomain.haml +2 -0
  40. data/share/views/entity/Transcript.haml +10 -0
  41. data/share/views/entity_list/Default.haml +4 -0
  42. data/share/views/entity_list/Default/compare_to_other_lists.haml +41 -0
  43. data/share/views/entity_list/Default/entity_links.haml +6 -0
  44. data/share/views/entity_list/Default/find_in_other_lists.haml +36 -0
  45. data/share/views/error.haml +6 -1
  46. data/share/views/find.haml +10 -0
  47. data/share/views/form.haml +1 -1
  48. data/share/views/info.haml +1 -1
  49. data/share/views/js/_action_setup.js +250 -0
  50. data/share/views/js/_basic.js +269 -0
  51. data/share/views/js/_cytoscape.js +44 -0
  52. data/share/views/js/_details.js +239 -0
  53. data/share/views/js/_dom_updates.js +384 -0
  54. data/share/views/js/_embedded.js +95 -0
  55. data/share/views/js/_images.js +20 -0
  56. data/share/views/js/_layout.js +21 -0
  57. data/share/views/js/_lists.js +224 -0
  58. data/share/views/js/_table.js +36 -0
  59. data/share/views/js/_workflow.js +42 -0
  60. data/share/views/js/app.js +0 -570
  61. data/share/views/js/fix_tablesorter_scientific.js +25 -0
  62. data/share/views/js/json2.js +487 -0
  63. data/share/views/layout.haml +8 -98
  64. data/share/views/notes.haml +15 -0
  65. data/share/views/partials/_form.haml +22 -7
  66. data/share/views/partials/_job_control.haml +8 -8
  67. data/share/views/partials/_list_control.haml +32 -0
  68. data/share/views/partials/_list_header.haml +6 -0
  69. data/share/views/partials/_note_list.haml +64 -0
  70. data/share/views/partials/_result_table.haml +12 -7
  71. data/share/views/partials/_result_table_controls.haml +11 -5
  72. data/share/views/partials/_table.haml +24 -6
  73. data/share/views/partials/layout/_coda.haml +10 -0
  74. data/share/views/partials/layout/_details.haml +25 -0
  75. data/share/views/partials/layout/_head.haml +22 -0
  76. data/share/views/partials/layout/_header.haml +29 -0
  77. data/share/views/partials/layout/_menu.haml +20 -0
  78. data/share/views/partials/layout/_resources.haml +41 -0
  79. data/share/views/public/background.png +0 -0
  80. data/share/views/public/plugins/cytoscape-web/LICENSE.txt +504 -0
  81. data/share/views/public/plugins/cytoscape-web/README.txt +213 -0
  82. data/share/views/public/plugins/cytoscape-web/js/AC_OETags.js +1 -0
  83. data/share/views/public/plugins/cytoscape-web/js/cytoscapeweb.js +1 -0
  84. data/share/views/public/plugins/cytoscape-web/js/json2.js +1 -0
  85. data/share/views/public/plugins/cytoscape-web/swf/CytoscapeWeb.swf +0 -0
  86. data/share/views/public/plugins/cytoscape-web/swf/playerProductInstall.swf +0 -0
  87. data/share/views/public/plugins/fancybox/CHANGELOG.md +68 -0
  88. data/share/views/public/plugins/fancybox/README.md +220 -0
  89. data/share/views/public/plugins/fancybox/css/blank.gif +0 -0
  90. data/share/views/public/plugins/fancybox/css/fancybox_loading.gif +0 -0
  91. data/share/views/public/plugins/fancybox/css/fancybox_sprite.png +0 -0
  92. data/share/views/public/plugins/fancybox/css/jquery.fancybox.css +234 -0
  93. data/share/views/public/plugins/fancybox/helpers/fancybox_buttons.png +0 -0
  94. data/share/views/public/plugins/fancybox/helpers/jquery.fancybox-buttons.css +85 -0
  95. data/share/views/public/plugins/fancybox/helpers/jquery.fancybox-buttons.js +115 -0
  96. data/share/views/public/plugins/fancybox/helpers/jquery.fancybox-media.js +85 -0
  97. data/share/views/public/plugins/fancybox/helpers/jquery.fancybox-thumbs.css +54 -0
  98. data/share/views/public/plugins/fancybox/helpers/jquery.fancybox-thumbs.js +157 -0
  99. data/share/views/public/plugins/fancybox/js/jquery.fancybox.js +1463 -0
  100. data/share/views/public/plugins/fancybox/js/jquery.mousewheel-3.0.6.pack.js +13 -0
  101. data/share/views/public/plugins/fancybox/lib/jquery-1.7.2.min.js +4 -0
  102. data/share/views/public/plugins/featuredimagezoomer/css/featuredimagezoomer.css +8 -0
  103. data/share/views/public/plugins/featuredimagezoomer/images/spinningred.gif +0 -0
  104. data/share/views/public/plugins/featuredimagezoomer/js/featuredimagezoomer.js +245 -0
  105. data/share/views/public/plugins/jquery-ui.hitarea.js +173 -0
  106. data/share/views/public/plugins/jquery/js/jquery-1.8.0.min.js +2 -0
  107. data/share/views/public/plugins/tablesorter/addons/pager/jquery.tablesorter.pager.css +25 -0
  108. data/share/views/public/plugins/tablesorter/addons/pager/jquery.tablesorter.pager.js +184 -0
  109. data/share/views/public/plugins/tablesorter/build.xml +26 -0
  110. data/share/views/public/plugins/tablesorter/build/ParseMaster.js +106 -0
  111. data/share/views/public/plugins/tablesorter/build/js.jar +0 -0
  112. data/share/views/public/plugins/tablesorter/build/jsmin.js +316 -0
  113. data/share/views/public/plugins/tablesorter/build/min.js +5 -0
  114. data/share/views/public/plugins/tablesorter/build/pack.js +5 -0
  115. data/share/views/public/plugins/tablesorter/build/packer.js +316 -0
  116. data/share/views/public/plugins/tablesorter/build/writeFile.js +19 -0
  117. data/share/views/public/plugins/tablesorter/changelog +41 -0
  118. data/share/views/public/plugins/tablesorter/docs/assets/ajax-content.html +43 -0
  119. data/share/views/public/plugins/tablesorter/docs/css/jq.css +29 -0
  120. data/share/views/public/plugins/tablesorter/docs/example-ajax.html +119 -0
  121. data/share/views/public/plugins/tablesorter/docs/example-empty-table.html +75 -0
  122. data/share/views/public/plugins/tablesorter/docs/example-extending-defaults.html +109 -0
  123. data/share/views/public/plugins/tablesorter/docs/example-meta-headers.html +108 -0
  124. data/share/views/public/plugins/tablesorter/docs/example-meta-parsers.html +105 -0
  125. data/share/views/public/plugins/tablesorter/docs/example-meta-sort-list.html +107 -0
  126. data/share/views/public/plugins/tablesorter/docs/example-option-debug.html +116 -0
  127. data/share/views/public/plugins/tablesorter/docs/example-option-digits.html +106 -0
  128. data/share/views/public/plugins/tablesorter/docs/example-option-sort-force.html +107 -0
  129. data/share/views/public/plugins/tablesorter/docs/example-option-sort-key.html +108 -0
  130. data/share/views/public/plugins/tablesorter/docs/example-option-sort-list.html +108 -0
  131. data/share/views/public/plugins/tablesorter/docs/example-option-sort-order.html +108 -0
  132. data/share/views/public/plugins/tablesorter/docs/example-option-text-extraction.html +85 -0
  133. data/share/views/public/plugins/tablesorter/docs/example-options-headers.html +118 -0
  134. data/share/views/public/plugins/tablesorter/docs/example-pager.html +329 -0
  135. data/share/views/public/plugins/tablesorter/docs/example-parsers.html +112 -0
  136. data/share/views/public/plugins/tablesorter/docs/example-trigger-sort.html +113 -0
  137. data/share/views/public/plugins/tablesorter/docs/example-triggers.html +336 -0
  138. data/share/views/public/plugins/tablesorter/docs/example-update-cell.html +118 -0
  139. data/share/views/public/plugins/tablesorter/docs/example-widgets.html +383 -0
  140. data/share/views/public/plugins/tablesorter/docs/img/external.png +0 -0
  141. data/share/views/public/plugins/tablesorter/docs/index.html +576 -0
  142. data/share/views/public/plugins/tablesorter/docs/js/docs.js +23 -0
  143. data/share/views/public/plugins/tablesorter/docs/js/examples.js +29 -0
  144. data/share/views/public/plugins/tablesorter/jquery-latest.js +154 -0
  145. data/share/views/public/plugins/tablesorter/jquery.metadata.js +122 -0
  146. data/share/views/public/plugins/tablesorter/jquery.tablesorter.js +1031 -0
  147. data/share/views/public/plugins/tablesorter/jquery.tablesorter.min.js +4 -0
  148. data/share/views/public/plugins/tablesorter/tests/assets/ajax-content.html +28 -0
  149. data/share/views/public/plugins/tablesorter/tests/cell.metadata.html +112 -0
  150. data/share/views/public/plugins/tablesorter/tests/checkbox.html +117 -0
  151. data/share/views/public/plugins/tablesorter/tests/colspan.html +149 -0
  152. data/share/views/public/plugins/tablesorter/tests/demo.html +353 -0
  153. data/share/views/public/plugins/tablesorter/tests/index.html +22 -0
  154. data/share/views/public/plugins/tablesorter/tests/large.html +30 -0
  155. data/share/views/public/plugins/tablesorter/tests/lockedOrder.html +355 -0
  156. data/share/views/public/plugins/tablesorter/tests/metadata.html +320 -0
  157. data/share/views/public/plugins/tablesorter/tests/multiple-headers.html +67 -0
  158. data/share/views/public/plugins/tablesorter/tests/pager.html +553 -0
  159. data/share/views/public/plugins/tablesorter/themes/blue/asc.gif +0 -0
  160. data/share/views/public/plugins/tablesorter/themes/blue/bg.gif +0 -0
  161. data/share/views/public/plugins/tablesorter/themes/blue/blue.zip +0 -0
  162. data/share/views/public/plugins/tablesorter/themes/blue/desc.gif +0 -0
  163. data/share/views/public/plugins/tablesorter/themes/blue/style.css +39 -0
  164. data/share/views/public/plugins/tablesorter/themes/green/asc.png +0 -0
  165. data/share/views/public/plugins/tablesorter/themes/green/bg.png +0 -0
  166. data/share/views/public/plugins/tablesorter/themes/green/desc.png +0 -0
  167. data/share/views/public/plugins/tablesorter/themes/green/green.zip +0 -0
  168. data/share/views/public/plugins/tablesorter/themes/green/style.css +39 -0
  169. data/share/views/public/plugins/wz_jsgraphics.js +1108 -0
  170. data/share/views/public/tmp/foo +0 -0
  171. data/share/views/result.haml +6 -1
  172. data/share/views/step_error.haml +5 -0
  173. data/share/views/user_lists.haml +8 -7
  174. data/share/views/wait.haml +40 -2
  175. metadata +302 -106
  176. data/share/views/compass/screen.sass +0 -8
  177. data/share/views/public/plugins/jquery/js/jquery-1.6.2.min.js +0 -18
@@ -0,0 +1,22 @@
1
+
2
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US">
4
+
5
+ <head>
6
+
7
+ <title>Love Peace and Nukes</title>
8
+
9
+ </head>
10
+
11
+ <body>
12
+
13
+ <script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
14
+ </script>
15
+ <script type="text/javascript">
16
+ _uacct = "UA-2189649-1";
17
+ urchinTracker();
18
+ </script>
19
+
20
+ </body>
21
+
22
+ </html>
@@ -0,0 +1,30 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
2
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3
+
4
+ <html>
5
+ <head>
6
+ <title>tablesorter: 296 rows</title>
7
+
8
+ <style type="text/css">@import "assets/css/default.css";</style>
9
+
10
+ <script type="text/javascript" src="../jquery-latest.js"></script>
11
+ <script type="text/javascript" src="../jquery.tablesorter.js"></script>
12
+ <script type="text/javascript" src="../jquery.tablesorter.pager.js"></script>
13
+ <script type="text/javascript">
14
+ $(function() {
15
+ $("table").tablesorter({debug: true, widgets: ['zebra']});
16
+
17
+ });
18
+ </script>
19
+
20
+
21
+
22
+
23
+ </head>
24
+
25
+ <body>
26
+
27
+ </body>
28
+
29
+ </html>
30
+
@@ -0,0 +1,355 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
2
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3
+
4
+ <html>
5
+ <head>
6
+ <title>tablesorter 2.0-dev demo, multi column sorting</title>
7
+
8
+ <style type="text/css">@import "assets/css/default.css";</style>
9
+
10
+
11
+ <script type="text/javascript" src="../jquery-latest.js"></script>
12
+ <script type="text/javascript" src="../jquery.tablesorter.js"></script>
13
+ <script type="text/javascript">
14
+
15
+ $(function() {
16
+ $("table").tablesorter({debug: true, headers: {
17
+ 3: {
18
+ lockedOrder: 1
19
+ }
20
+ }});
21
+ $("a.append").click(appendData);
22
+
23
+
24
+ });
25
+
26
+ var lastStudent = 23;
27
+ var limit = 500;
28
+
29
+ function appendData() {
30
+
31
+ var tdTagStart = '<td>';
32
+ var tdTagEnd = '</td>';
33
+ var sex = ['male','female'];
34
+ var major = ['Mathematics','Languages'];
35
+
36
+
37
+ for(var i = 0; i < limit; i++) {
38
+ var rnd = i % 2;
39
+ var row = '<tr>';
40
+ row += tdTagStart + 'student' + (lastStudent++) + tdTagEnd;
41
+ row += tdTagStart + major[rnd] + tdTagEnd;
42
+ row += tdTagStart + sex[rnd] + tdTagEnd;
43
+
44
+ row += tdTagStart + randomNumber() + tdTagEnd;
45
+ row += tdTagStart + randomNumber() + tdTagEnd;
46
+ row += tdTagStart + randomNumber() + tdTagEnd;
47
+ row += tdTagStart + randomNumber() + tdTagEnd;
48
+
49
+ row += '</tr>';
50
+
51
+ $("table/tbody:first").append(row);
52
+
53
+ };
54
+
55
+
56
+ $("table").trigger('update');
57
+ return false;
58
+ }
59
+
60
+ function randomNumber() {
61
+ return Math.floor(Math.random()*101)
62
+ }
63
+
64
+ </script>
65
+ </head>
66
+
67
+ <body>
68
+ <h1>tablesorter 2.0-dev demo, multi column sorting</h1>
69
+ <p>
70
+ To select more then one column to sort by, hold down your shift key and press the "headers".
71
+ Pressing a all ready sorted column while holding down shift will reverse the order.
72
+ </p>
73
+ <p>
74
+ Releasing the shift key and pressing a column will result in a one column sort.
75
+ </p>
76
+
77
+ <p>Not big enough? <a href="#" class="append">Add 500 random rows of data </a> (can be clicked many times, more then a 1000 rows can be slow)</p>
78
+
79
+ <table id="large" cellspacing="0" class="tablesorter">
80
+
81
+ <thead>
82
+ <tr>
83
+ <th>Name</th>
84
+
85
+ <th>Major</th>
86
+ <th>Sex</th>
87
+ <th>English</th>
88
+ <th>Japanese</th>
89
+ <th>Calculus</th>
90
+ <th>Geometry</th>
91
+
92
+ </tr>
93
+ </thead>
94
+ <tfoot>
95
+ <tr>
96
+ <th>Name</th>
97
+
98
+ <th>Major</th>
99
+ <th>Sex</th>
100
+ <th>English</th>
101
+ <th>Japanese</th>
102
+ <th>Calculus</th>
103
+ <th>Geometry</th>
104
+
105
+ </tr>
106
+ </tfoot>
107
+ <tbody>
108
+ <tr>
109
+ <td>Student01</td>
110
+ <td>Languages</td>
111
+ <td>male</td>
112
+
113
+ <td>80</td>
114
+ <td>70</td>
115
+ <td>75</td>
116
+ <td>80</td>
117
+ </tr>
118
+ <tr>
119
+ <td>Student02</td>
120
+
121
+ <td>Mathematics</td>
122
+ <td>male</td>
123
+ <td>90</td>
124
+ <td>88</td>
125
+ <td>100</td>
126
+ <td>90</td>
127
+
128
+ </tr>
129
+ <tr>
130
+ <td>Student03</td>
131
+ <td>Languages</td>
132
+ <td>female</td>
133
+ <td>85</td>
134
+ <td>95</td>
135
+
136
+ <td>80</td>
137
+ <td>85</td>
138
+ </tr>
139
+ <tr>
140
+ <td>Student04</td>
141
+ <td>Languages</td>
142
+ <td>male</td>
143
+
144
+ <td>60</td>
145
+ <td>55</td>
146
+ <td>100</td>
147
+ <td>100</td>
148
+ </tr>
149
+ <tr>
150
+ <td>Student05</td>
151
+
152
+ <td>Languages</td>
153
+ <td>female</td>
154
+ <td>68</td>
155
+ <td>80</td>
156
+ <td>95</td>
157
+ <td>80</td>
158
+
159
+ </tr>
160
+ <tr>
161
+ <td>Student06</td>
162
+ <td>Mathematics</td>
163
+ <td>male</td>
164
+ <td>100</td>
165
+ <td>99</td>
166
+
167
+ <td>100</td>
168
+ <td>90</td>
169
+ </tr>
170
+ <tr>
171
+ <td>Student07</td>
172
+ <td>Mathematics</td>
173
+ <td>male</td>
174
+
175
+ <td>85</td>
176
+ <td>68</td>
177
+ <td>90</td>
178
+ <td>90</td>
179
+ </tr>
180
+ <tr>
181
+ <td>Student08</td>
182
+
183
+ <td>Languages</td>
184
+ <td>male</td>
185
+ <td>100</td>
186
+ <td>90</td>
187
+ <td>90</td>
188
+ <td>85</td>
189
+
190
+ </tr>
191
+ <tr>
192
+ <td>Student09</td>
193
+ <td>Mathematics</td>
194
+ <td>male</td>
195
+ <td>80</td>
196
+ <td>50</td>
197
+
198
+ <td>65</td>
199
+ <td>75</td>
200
+ </tr>
201
+ <tr>
202
+ <td>Student10</td>
203
+ <td>Languages</td>
204
+ <td>male</td>
205
+
206
+ <td>85</td>
207
+ <td>100</td>
208
+ <td>100</td>
209
+ <td>90</td>
210
+ </tr>
211
+ <tr>
212
+ <td>Student11</td>
213
+
214
+ <td>Languages</td>
215
+ <td>male</td>
216
+ <td>86</td>
217
+ <td>85</td>
218
+ <td>100</td>
219
+ <td>100</td>
220
+
221
+ </tr>
222
+ <tr>
223
+ <td>Student12</td>
224
+ <td>Mathematics</td>
225
+ <td>female</td>
226
+ <td>100</td>
227
+ <td>75</td>
228
+
229
+ <td>70</td>
230
+ <td>85</td>
231
+ </tr>
232
+ <tr>
233
+ <td>Student13</td>
234
+ <td>Languages</td>
235
+ <td>female</td>
236
+
237
+ <td>100</td>
238
+ <td>80</td>
239
+ <td>100</td>
240
+ <td>90</td>
241
+ </tr>
242
+ <tr>
243
+ <td>Student14</td>
244
+
245
+ <td>Languages</td>
246
+ <td>female</td>
247
+ <td>50</td>
248
+ <td>45</td>
249
+ <td>55</td>
250
+ <td>90</td>
251
+
252
+ </tr>
253
+ <tr>
254
+ <td>Student15</td>
255
+ <td>Languages</td>
256
+ <td>male</td>
257
+ <td>95</td>
258
+ <td>35</td>
259
+
260
+ <td>100</td>
261
+ <td>90</td>
262
+ </tr>
263
+ <tr>
264
+ <td>Student16</td>
265
+ <td>Languages</td>
266
+ <td>female</td>
267
+
268
+ <td>100</td>
269
+ <td>50</td>
270
+ <td>30</td>
271
+ <td>70</td>
272
+ </tr>
273
+ <tr>
274
+ <td>Student17</td>
275
+
276
+ <td>Languages</td>
277
+ <td>female</td>
278
+ <td>80</td>
279
+ <td>100</td>
280
+ <td>55</td>
281
+ <td>65</td>
282
+
283
+ </tr>
284
+ <tr>
285
+ <td>Student18</td>
286
+ <td>Mathematics</td>
287
+ <td>male</td>
288
+ <td>30</td>
289
+ <td>49</td>
290
+
291
+ <td>55</td>
292
+ <td>75</td>
293
+ </tr>
294
+ <tr>
295
+ <td>Student19</td>
296
+ <td>Languages</td>
297
+ <td>male</td>
298
+
299
+ <td>68</td>
300
+ <td>90</td>
301
+ <td>88</td>
302
+ <td>70</td>
303
+ </tr>
304
+ <tr>
305
+ <td>Student20</td>
306
+
307
+ <td>Mathematics</td>
308
+ <td>male</td>
309
+ <td>40</td>
310
+ <td>45</td>
311
+ <td>40</td>
312
+ <td>80</td>
313
+
314
+ </tr>
315
+ <tr>
316
+ <td>Student21</td>
317
+ <td>Languages</td>
318
+ <td>male</td>
319
+ <td>50</td>
320
+ <td>45</td>
321
+
322
+ <td>100</td>
323
+ <td>100</td>
324
+ </tr>
325
+ <tr>
326
+ <td>Student22</td>
327
+ <td>Mathematics</td>
328
+ <td>male</td>
329
+
330
+ <td>100</td>
331
+ <td>99</td>
332
+ <td>100</td>
333
+ <td>90</td>
334
+ </tr>
335
+ <tr>
336
+ <td>Student23</td>
337
+
338
+ <td>Languages</td>
339
+ <td>female</td>
340
+ <td>85</td>
341
+ <td>80</td>
342
+ <td>80</td>
343
+ <td>80</td>
344
+
345
+ </tr>
346
+ </tbody>
347
+ </table>
348
+ <script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
349
+ </script>
350
+ <script type="text/javascript">
351
+ _uacct = "UA-2189649-1";
352
+ urchinTracker();
353
+ </script>
354
+ </body>
355
+ </html>
@@ -0,0 +1,320 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
2
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3
+
4
+ <html>
5
+ <head>
6
+ <title>tablesorter 2.0-dev demo, multi column sorting</title>
7
+
8
+ <style type="text/css">@import "assets/css/default.css";</style>
9
+
10
+ <script type="text/javascript" src="http://code.jquery.com/jquery-latest.js"></script>
11
+ <script type="text/javascript" src="../jquery.metadata.js"></script>
12
+ <script type="text/javascript" src="../jquery.tablesorter.js"></script>
13
+ <script type="text/javascript">
14
+
15
+ $(function() {
16
+ /*
17
+ $("table").tablesorter({
18
+                              cssAsc: 'ascsort'
19
+                              ,cssDesc: 'descsort'
20
+                              ,cssHeader: 'unsorted'
21
+                              ,headers: { 0: { sorter: false }
22
+                                        }
23
+                              ,sortForce: [2, 1]
24
+                         });
25
+ */
26
+
27
+
28
+ });
29
+
30
+ </script>
31
+ </head>
32
+
33
+ <body>
34
+ <h1>tablesorter 2.0-dev demo, multi column sorting</h1>
35
+ <p>
36
+ To select more then one column to sort by, hold down your shift key and press the "headers".
37
+ Pressing a all ready sorted column while holding down shift will reverse the order.
38
+ </p>
39
+ <p>
40
+ Releasing the shift key and pressing a column will result in a one column sort.
41
+ </p>
42
+
43
+ <p>Not big enough? <a href="#" class="append">Add 500 random rows of data </a> (can be clicked many times, more then a 1000 rows can be slow)</p>
44
+
45
+ <table id="large" cellspacing="0">
46
+
47
+ <thead>
48
+
49
+ <tr>
50
+ <th>Name</th>
51
+ <th>Major</th>
52
+ <th>Sex</th>
53
+ <th data="sorter:'none'">English</th>
54
+ <th>Japanese</th>
55
+ <th>Calculus</th>
56
+ <th>Geometry</th>
57
+ </tr>
58
+ </thead>
59
+ <tfoot>
60
+ <tr>
61
+ <th>Name</th>
62
+
63
+ <th>Major</th>
64
+ <th>Sex</th>
65
+ <th>English</th>
66
+ <th>Japanese</th>
67
+ <th>Calculus</th>
68
+ <th>Geometry</th>
69
+
70
+ </tr>
71
+ </tfoot>
72
+ <tbody>
73
+ <tr>
74
+ <td>Student01</td>
75
+ <td>Languages</td>
76
+ <td>male</td>
77
+
78
+ <td>80</td>
79
+ <td>70</td>
80
+ <td>75</td>
81
+ <td>80</td>
82
+ </tr>
83
+ <tr>
84
+ <td>Student02</td>
85
+
86
+ <td>Mathematics</td>
87
+ <td>male</td>
88
+ <td>90</td>
89
+ <td>88</td>
90
+ <td>100</td>
91
+ <td>90</td>
92
+
93
+ </tr>
94
+ <tr>
95
+ <td>Student03</td>
96
+ <td>Languages</td>
97
+ <td>female</td>
98
+ <td>85</td>
99
+ <td>95</td>
100
+
101
+ <td>80</td>
102
+ <td>85</td>
103
+ </tr>
104
+ <tr>
105
+ <td>Student04</td>
106
+ <td>Languages</td>
107
+ <td>male</td>
108
+
109
+ <td>60</td>
110
+ <td>55</td>
111
+ <td>100</td>
112
+ <td>100</td>
113
+ </tr>
114
+ <tr>
115
+ <td>Student05</td>
116
+
117
+ <td>Languages</td>
118
+ <td>female</td>
119
+ <td>68</td>
120
+ <td>80</td>
121
+ <td>95</td>
122
+ <td>80</td>
123
+
124
+ </tr>
125
+ <tr>
126
+ <td>Student06</td>
127
+ <td>Mathematics</td>
128
+ <td>male</td>
129
+ <td>100</td>
130
+ <td>99</td>
131
+
132
+ <td>100</td>
133
+ <td>90</td>
134
+ </tr>
135
+ <tr>
136
+ <td>Student07</td>
137
+ <td>Mathematics</td>
138
+ <td>male</td>
139
+
140
+ <td>85</td>
141
+ <td>68</td>
142
+ <td>90</td>
143
+ <td>90</td>
144
+ </tr>
145
+ <tr>
146
+ <td>Student08</td>
147
+
148
+ <td>Languages</td>
149
+ <td>male</td>
150
+ <td>100</td>
151
+ <td>90</td>
152
+ <td>90</td>
153
+ <td>85</td>
154
+
155
+ </tr>
156
+ <tr>
157
+ <td>Student09</td>
158
+ <td>Mathematics</td>
159
+ <td>male</td>
160
+ <td>80</td>
161
+ <td>50</td>
162
+
163
+ <td>65</td>
164
+ <td>75</td>
165
+ </tr>
166
+ <tr>
167
+ <td>Student10</td>
168
+ <td>Languages</td>
169
+ <td>male</td>
170
+
171
+ <td>85</td>
172
+ <td>100</td>
173
+ <td>100</td>
174
+ <td>90</td>
175
+ </tr>
176
+ <tr>
177
+ <td>Student11</td>
178
+
179
+ <td>Languages</td>
180
+ <td>male</td>
181
+ <td>86</td>
182
+ <td>85</td>
183
+ <td>100</td>
184
+ <td>100</td>
185
+
186
+ </tr>
187
+ <tr>
188
+ <td>Student12</td>
189
+ <td>Mathematics</td>
190
+ <td>female</td>
191
+ <td>100</td>
192
+ <td>75</td>
193
+
194
+ <td>70</td>
195
+ <td>85</td>
196
+ </tr>
197
+ <tr>
198
+ <td>Student13</td>
199
+ <td>Languages</td>
200
+ <td>female</td>
201
+
202
+ <td>100</td>
203
+ <td>80</td>
204
+ <td>100</td>
205
+ <td>90</td>
206
+ </tr>
207
+ <tr>
208
+ <td>Student14</td>
209
+
210
+ <td>Languages</td>
211
+ <td>female</td>
212
+ <td>50</td>
213
+ <td>45</td>
214
+ <td>55</td>
215
+ <td>90</td>
216
+
217
+ </tr>
218
+ <tr>
219
+ <td>Student15</td>
220
+ <td>Languages</td>
221
+ <td>male</td>
222
+ <td>95</td>
223
+ <td>35</td>
224
+
225
+ <td>100</td>
226
+ <td>90</td>
227
+ </tr>
228
+ <tr>
229
+ <td>Student16</td>
230
+ <td>Languages</td>
231
+ <td>female</td>
232
+
233
+ <td>100</td>
234
+ <td>50</td>
235
+ <td>30</td>
236
+ <td>70</td>
237
+ </tr>
238
+ <tr>
239
+ <td>Student17</td>
240
+
241
+ <td>Languages</td>
242
+ <td>female</td>
243
+ <td>80</td>
244
+ <td>100</td>
245
+ <td>55</td>
246
+ <td>65</td>
247
+
248
+ </tr>
249
+ <tr>
250
+ <td>Student18</td>
251
+ <td>Mathematics</td>
252
+ <td>male</td>
253
+ <td>30</td>
254
+ <td>49</td>
255
+
256
+ <td>55</td>
257
+ <td>75</td>
258
+ </tr>
259
+ <tr>
260
+ <td>Student19</td>
261
+ <td>Languages</td>
262
+ <td>male</td>
263
+
264
+ <td>68</td>
265
+ <td>90</td>
266
+ <td>88</td>
267
+ <td>70</td>
268
+ </tr>
269
+ <tr>
270
+ <td>Student20</td>
271
+
272
+ <td>Mathematics</td>
273
+ <td>male</td>
274
+ <td>40</td>
275
+ <td>45</td>
276
+ <td>40</td>
277
+ <td>80</td>
278
+
279
+ </tr>
280
+ <tr>
281
+ <td>Student21</td>
282
+ <td>Languages</td>
283
+ <td>male</td>
284
+ <td>50</td>
285
+ <td>45</td>
286
+
287
+ <td>100</td>
288
+ <td>100</td>
289
+ </tr>
290
+ <tr>
291
+ <td>Student22</td>
292
+ <td>Mathematics</td>
293
+ <td>male</td>
294
+
295
+ <td>100</td>
296
+ <td>99</td>
297
+ <td>100</td>
298
+ <td>90</td>
299
+ </tr>
300
+ <tr>
301
+ <td>Student23</td>
302
+
303
+ <td>Languages</td>
304
+ <td>female</td>
305
+ <td>85</td>
306
+ <td>80</td>
307
+ <td>80</td>
308
+ <td>80</td>
309
+
310
+ </tr>
311
+ </tbody>
312
+ </table>
313
+ <script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
314
+ </script>
315
+ <script type="text/javascript">
316
+ _uacct = "UA-2189649-1";
317
+ urchinTracker();
318
+ </script>
319
+ </body>
320
+ </html>