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.
- data/lib/rbbt/workflow/rest.rb +365 -95
- data/lib/rbbt/workflow/rest/client.rb +2 -0
- data/lib/rbbt/workflow/rest/entity.rb +82 -76
- data/lib/rbbt/workflow/rest/finder.rb +78 -0
- data/lib/rbbt/workflow/rest/helpers.rb +288 -47
- data/lib/rbbt/workflow/rest/notes.rb +125 -0
- data/lib/rbbt/workflow/rest/render.rb +280 -240
- data/lib/rbbt/workflow/rest/util.rb +47 -31
- data/share/views/compass/_base.sass +0 -8
- data/share/views/compass/colors.sass +10 -0
- data/share/views/compass/colors/ventana_azul.sass +5 -0
- data/share/views/compass/compass.config +2 -1
- data/share/views/compass/details.sass +50 -0
- data/share/views/compass/dom.sass +64 -0
- data/share/views/compass/embedded.sass +111 -0
- data/share/views/compass/entities.sass +8 -0
- data/share/views/compass/error.sass +13 -0
- data/share/views/compass/finder.sass +42 -0
- data/share/views/compass/fonts.sass +8 -0
- data/share/views/compass/form.sass +49 -1
- data/share/views/compass/header.sass +68 -0
- data/share/views/compass/{main.sass → helpers.sass} +53 -21
- data/share/views/compass/layout.sass +31 -199
- data/share/views/compass/lists.sass +128 -0
- data/share/views/compass/menu.sass +35 -0
- data/share/views/compass/notes.sass +52 -0
- data/share/views/compass/sizes.sass +8 -0
- data/share/views/compass/tables.sass +22 -0
- data/share/views/compass/wait.sass +9 -0
- data/share/views/edit_list.haml +41 -30
- data/share/views/entity/GOTerm.haml +4 -3
- data/share/views/entity/Gene.haml +8 -1
- data/share/views/entity/GenomicMutation.haml +4 -1
- data/share/views/entity/KeggPathway.haml +1 -1
- data/share/views/entity/MutatedIsoform.haml +68 -11
- data/share/views/entity/NCIBioCartaPathway.haml +2 -3
- data/share/views/entity/NCINaturePathway.haml +3 -3
- data/share/views/entity/NCIReactomePathway.haml +2 -3
- data/share/views/entity/PfamDomain.haml +2 -0
- data/share/views/entity/Transcript.haml +10 -0
- data/share/views/entity_list/Default.haml +4 -0
- data/share/views/entity_list/Default/compare_to_other_lists.haml +41 -0
- data/share/views/entity_list/Default/entity_links.haml +6 -0
- data/share/views/entity_list/Default/find_in_other_lists.haml +36 -0
- data/share/views/error.haml +6 -1
- data/share/views/find.haml +10 -0
- data/share/views/form.haml +1 -1
- data/share/views/info.haml +1 -1
- data/share/views/js/_action_setup.js +250 -0
- data/share/views/js/_basic.js +269 -0
- data/share/views/js/_cytoscape.js +44 -0
- data/share/views/js/_details.js +239 -0
- data/share/views/js/_dom_updates.js +384 -0
- data/share/views/js/_embedded.js +95 -0
- data/share/views/js/_images.js +20 -0
- data/share/views/js/_layout.js +21 -0
- data/share/views/js/_lists.js +224 -0
- data/share/views/js/_table.js +36 -0
- data/share/views/js/_workflow.js +42 -0
- data/share/views/js/app.js +0 -570
- data/share/views/js/fix_tablesorter_scientific.js +25 -0
- data/share/views/js/json2.js +487 -0
- data/share/views/layout.haml +8 -98
- data/share/views/notes.haml +15 -0
- data/share/views/partials/_form.haml +22 -7
- data/share/views/partials/_job_control.haml +8 -8
- data/share/views/partials/_list_control.haml +32 -0
- data/share/views/partials/_list_header.haml +6 -0
- data/share/views/partials/_note_list.haml +64 -0
- data/share/views/partials/_result_table.haml +12 -7
- data/share/views/partials/_result_table_controls.haml +11 -5
- data/share/views/partials/_table.haml +24 -6
- data/share/views/partials/layout/_coda.haml +10 -0
- data/share/views/partials/layout/_details.haml +25 -0
- data/share/views/partials/layout/_head.haml +22 -0
- data/share/views/partials/layout/_header.haml +29 -0
- data/share/views/partials/layout/_menu.haml +20 -0
- data/share/views/partials/layout/_resources.haml +41 -0
- data/share/views/public/background.png +0 -0
- data/share/views/public/plugins/cytoscape-web/LICENSE.txt +504 -0
- data/share/views/public/plugins/cytoscape-web/README.txt +213 -0
- data/share/views/public/plugins/cytoscape-web/js/AC_OETags.js +1 -0
- data/share/views/public/plugins/cytoscape-web/js/cytoscapeweb.js +1 -0
- data/share/views/public/plugins/cytoscape-web/js/json2.js +1 -0
- data/share/views/public/plugins/cytoscape-web/swf/CytoscapeWeb.swf +0 -0
- data/share/views/public/plugins/cytoscape-web/swf/playerProductInstall.swf +0 -0
- data/share/views/public/plugins/fancybox/CHANGELOG.md +68 -0
- data/share/views/public/plugins/fancybox/README.md +220 -0
- data/share/views/public/plugins/fancybox/css/blank.gif +0 -0
- data/share/views/public/plugins/fancybox/css/fancybox_loading.gif +0 -0
- data/share/views/public/plugins/fancybox/css/fancybox_sprite.png +0 -0
- data/share/views/public/plugins/fancybox/css/jquery.fancybox.css +234 -0
- data/share/views/public/plugins/fancybox/helpers/fancybox_buttons.png +0 -0
- data/share/views/public/plugins/fancybox/helpers/jquery.fancybox-buttons.css +85 -0
- data/share/views/public/plugins/fancybox/helpers/jquery.fancybox-buttons.js +115 -0
- data/share/views/public/plugins/fancybox/helpers/jquery.fancybox-media.js +85 -0
- data/share/views/public/plugins/fancybox/helpers/jquery.fancybox-thumbs.css +54 -0
- data/share/views/public/plugins/fancybox/helpers/jquery.fancybox-thumbs.js +157 -0
- data/share/views/public/plugins/fancybox/js/jquery.fancybox.js +1463 -0
- data/share/views/public/plugins/fancybox/js/jquery.mousewheel-3.0.6.pack.js +13 -0
- data/share/views/public/plugins/fancybox/lib/jquery-1.7.2.min.js +4 -0
- data/share/views/public/plugins/featuredimagezoomer/css/featuredimagezoomer.css +8 -0
- data/share/views/public/plugins/featuredimagezoomer/images/spinningred.gif +0 -0
- data/share/views/public/plugins/featuredimagezoomer/js/featuredimagezoomer.js +245 -0
- data/share/views/public/plugins/jquery-ui.hitarea.js +173 -0
- data/share/views/public/plugins/jquery/js/jquery-1.8.0.min.js +2 -0
- data/share/views/public/plugins/tablesorter/addons/pager/jquery.tablesorter.pager.css +25 -0
- data/share/views/public/plugins/tablesorter/addons/pager/jquery.tablesorter.pager.js +184 -0
- data/share/views/public/plugins/tablesorter/build.xml +26 -0
- data/share/views/public/plugins/tablesorter/build/ParseMaster.js +106 -0
- data/share/views/public/plugins/tablesorter/build/js.jar +0 -0
- data/share/views/public/plugins/tablesorter/build/jsmin.js +316 -0
- data/share/views/public/plugins/tablesorter/build/min.js +5 -0
- data/share/views/public/plugins/tablesorter/build/pack.js +5 -0
- data/share/views/public/plugins/tablesorter/build/packer.js +316 -0
- data/share/views/public/plugins/tablesorter/build/writeFile.js +19 -0
- data/share/views/public/plugins/tablesorter/changelog +41 -0
- data/share/views/public/plugins/tablesorter/docs/assets/ajax-content.html +43 -0
- data/share/views/public/plugins/tablesorter/docs/css/jq.css +29 -0
- data/share/views/public/plugins/tablesorter/docs/example-ajax.html +119 -0
- data/share/views/public/plugins/tablesorter/docs/example-empty-table.html +75 -0
- data/share/views/public/plugins/tablesorter/docs/example-extending-defaults.html +109 -0
- data/share/views/public/plugins/tablesorter/docs/example-meta-headers.html +108 -0
- data/share/views/public/plugins/tablesorter/docs/example-meta-parsers.html +105 -0
- data/share/views/public/plugins/tablesorter/docs/example-meta-sort-list.html +107 -0
- data/share/views/public/plugins/tablesorter/docs/example-option-debug.html +116 -0
- data/share/views/public/plugins/tablesorter/docs/example-option-digits.html +106 -0
- data/share/views/public/plugins/tablesorter/docs/example-option-sort-force.html +107 -0
- data/share/views/public/plugins/tablesorter/docs/example-option-sort-key.html +108 -0
- data/share/views/public/plugins/tablesorter/docs/example-option-sort-list.html +108 -0
- data/share/views/public/plugins/tablesorter/docs/example-option-sort-order.html +108 -0
- data/share/views/public/plugins/tablesorter/docs/example-option-text-extraction.html +85 -0
- data/share/views/public/plugins/tablesorter/docs/example-options-headers.html +118 -0
- data/share/views/public/plugins/tablesorter/docs/example-pager.html +329 -0
- data/share/views/public/plugins/tablesorter/docs/example-parsers.html +112 -0
- data/share/views/public/plugins/tablesorter/docs/example-trigger-sort.html +113 -0
- data/share/views/public/plugins/tablesorter/docs/example-triggers.html +336 -0
- data/share/views/public/plugins/tablesorter/docs/example-update-cell.html +118 -0
- data/share/views/public/plugins/tablesorter/docs/example-widgets.html +383 -0
- data/share/views/public/plugins/tablesorter/docs/img/external.png +0 -0
- data/share/views/public/plugins/tablesorter/docs/index.html +576 -0
- data/share/views/public/plugins/tablesorter/docs/js/docs.js +23 -0
- data/share/views/public/plugins/tablesorter/docs/js/examples.js +29 -0
- data/share/views/public/plugins/tablesorter/jquery-latest.js +154 -0
- data/share/views/public/plugins/tablesorter/jquery.metadata.js +122 -0
- data/share/views/public/plugins/tablesorter/jquery.tablesorter.js +1031 -0
- data/share/views/public/plugins/tablesorter/jquery.tablesorter.min.js +4 -0
- data/share/views/public/plugins/tablesorter/tests/assets/ajax-content.html +28 -0
- data/share/views/public/plugins/tablesorter/tests/cell.metadata.html +112 -0
- data/share/views/public/plugins/tablesorter/tests/checkbox.html +117 -0
- data/share/views/public/plugins/tablesorter/tests/colspan.html +149 -0
- data/share/views/public/plugins/tablesorter/tests/demo.html +353 -0
- data/share/views/public/plugins/tablesorter/tests/index.html +22 -0
- data/share/views/public/plugins/tablesorter/tests/large.html +30 -0
- data/share/views/public/plugins/tablesorter/tests/lockedOrder.html +355 -0
- data/share/views/public/plugins/tablesorter/tests/metadata.html +320 -0
- data/share/views/public/plugins/tablesorter/tests/multiple-headers.html +67 -0
- data/share/views/public/plugins/tablesorter/tests/pager.html +553 -0
- data/share/views/public/plugins/tablesorter/themes/blue/asc.gif +0 -0
- data/share/views/public/plugins/tablesorter/themes/blue/bg.gif +0 -0
- data/share/views/public/plugins/tablesorter/themes/blue/blue.zip +0 -0
- data/share/views/public/plugins/tablesorter/themes/blue/desc.gif +0 -0
- data/share/views/public/plugins/tablesorter/themes/blue/style.css +39 -0
- data/share/views/public/plugins/tablesorter/themes/green/asc.png +0 -0
- data/share/views/public/plugins/tablesorter/themes/green/bg.png +0 -0
- data/share/views/public/plugins/tablesorter/themes/green/desc.png +0 -0
- data/share/views/public/plugins/tablesorter/themes/green/green.zip +0 -0
- data/share/views/public/plugins/tablesorter/themes/green/style.css +39 -0
- data/share/views/public/plugins/wz_jsgraphics.js +1108 -0
- data/share/views/public/tmp/foo +0 -0
- data/share/views/result.haml +6 -1
- data/share/views/step_error.haml +5 -0
- data/share/views/user_lists.haml +8 -7
- data/share/views/wait.haml +40 -2
- metadata +302 -106
- data/share/views/compass/screen.sass +0 -8
- data/share/views/public/plugins/jquery/js/jquery-1.6.2.min.js +0 -18
@@ -0,0 +1,107 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
2
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
3
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-us">
|
4
|
+
<head>
|
5
|
+
<title>jQuery plugin: Tablesorter 2.0 - Setting initial sorting order with metadata</title>
|
6
|
+
<link rel="stylesheet" href="css/jq.css" type="text/css" media="print, projection, screen" />
|
7
|
+
<link rel="stylesheet" href="../themes/blue/style.css" type="text/css" id="" media="print, projection, screen" />
|
8
|
+
<script type="text/javascript" src="../jquery-latest.js"></script>
|
9
|
+
|
10
|
+
<script type="text/javascript" src="../jquery.metadata.js"></script>
|
11
|
+
<script type="text/javascript" src="../jquery.tablesorter.js"></script>
|
12
|
+
<script type="text/javascript" src="../addons/pager/jquery.tablesorter.pager.js"></script>
|
13
|
+
<script type="text/javascript" src="js/chili/chili-1.8b.js"></script>
|
14
|
+
<script type="text/javascript" src="js/docs.js"></script>
|
15
|
+
<script type="text/javascript" src="js/examples.js"></script>
|
16
|
+
<script type="text/javascript" id="js">$(document).ready(function() {
|
17
|
+
// call the tablesorter plugin, the magic happens in the markup
|
18
|
+
$("table").tablesorter();
|
19
|
+
}); </script>
|
20
|
+
</head>
|
21
|
+
<body>
|
22
|
+
<div id="banner">
|
23
|
+
<h1>table<em>sorter</em></h1>
|
24
|
+
<h2>Setting initial sorting order with metadata</h2>
|
25
|
+
<h3>Flexible client-side table sorting</h3>
|
26
|
+
<a href="index.html">Back to documentation</a>
|
27
|
+
</div>
|
28
|
+
<div id="main">
|
29
|
+
<h1>Demo</h1>
|
30
|
+
<div id="demo">
|
31
|
+
<!-- sortlist is appended to the table using the class attribute and is picked up by metadata plugin -->
|
32
|
+
<table cellspacing="1" class="tablesorter {sortlist: [[0,0],[4,0]]}">
|
33
|
+
<thead>
|
34
|
+
<tr>
|
35
|
+
<th>First Name</th>
|
36
|
+
<th>Last Name</th>
|
37
|
+
<th>Age</th>
|
38
|
+
<th>Total</th>
|
39
|
+
<th>Discount</th>
|
40
|
+
<th>Date</th>
|
41
|
+
|
42
|
+
</tr>
|
43
|
+
</thead>
|
44
|
+
<tbody>
|
45
|
+
<tr>
|
46
|
+
<td>Peter</td>
|
47
|
+
<td>Parker</td>
|
48
|
+
<td>28</td>
|
49
|
+
<td>$9.99</td>
|
50
|
+
<td>20%</td>
|
51
|
+
|
52
|
+
<td>Jul 6, 2006 8:14 AM</td>
|
53
|
+
</tr>
|
54
|
+
<tr>
|
55
|
+
<td>John</td>
|
56
|
+
<td>Hood</td>
|
57
|
+
<td>33</td>
|
58
|
+
<td>$19.99</td>
|
59
|
+
<td>25%</td>
|
60
|
+
|
61
|
+
<td>Dec 10, 2002 5:14 AM</td>
|
62
|
+
</tr>
|
63
|
+
<tr>
|
64
|
+
<td>Clark</td>
|
65
|
+
<td>Kent</td>
|
66
|
+
<td>18</td>
|
67
|
+
<td>$15.89</td>
|
68
|
+
<td>44%</td>
|
69
|
+
<td>Jan 12, 2003 11:14 AM</td>
|
70
|
+
</tr>
|
71
|
+
<tr>
|
72
|
+
<td>Bruce</td>
|
73
|
+
<td>Almighty</td>
|
74
|
+
<td>45</td>
|
75
|
+
<td>$153.19</td>
|
76
|
+
<td>44%</td>
|
77
|
+
|
78
|
+
<td>Jan 18, 2001 9:12 AM</td>
|
79
|
+
</tr>
|
80
|
+
<tr>
|
81
|
+
<td>Bruce</td>
|
82
|
+
<td>Evans</td>
|
83
|
+
<td>22</td>
|
84
|
+
<td>$13.19</td>
|
85
|
+
<td>11%</td>
|
86
|
+
<td>Jan 18, 2007 9:12 AM</td>
|
87
|
+
</tr>
|
88
|
+
</tbody>
|
89
|
+
</table>
|
90
|
+
</div>
|
91
|
+
<h1>Javascript</h1>
|
92
|
+
<div id="javascript">
|
93
|
+
<pre class="javascript"></pre>
|
94
|
+
</div>
|
95
|
+
<h1>HTML</h1>
|
96
|
+
<div id="html">
|
97
|
+
<pre class="html"></pre>
|
98
|
+
</div>
|
99
|
+
</div>
|
100
|
+
<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script>
|
101
|
+
<script type="text/javascript">
|
102
|
+
_uacct = "UA-2189649-2";
|
103
|
+
urchinTracker();
|
104
|
+
</script>
|
105
|
+
</body>
|
106
|
+
</html>
|
107
|
+
|
@@ -0,0 +1,116 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
2
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
3
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-us">
|
4
|
+
<head>
|
5
|
+
<title>jQuery plugin: Tablesorter 2.0 - Enabling debug mode</title>
|
6
|
+
<link rel="stylesheet" href="css/jq.css" type="text/css" media="print, projection, screen" />
|
7
|
+
<link rel="stylesheet" href="../themes/blue/style.css" type="text/css" id="" media="print, projection, screen" />
|
8
|
+
<script type="text/javascript" src="../jquery-latest.js"></script>
|
9
|
+
|
10
|
+
<script type="text/javascript" src="../jquery.tablesorter.js"></script>
|
11
|
+
<script type="text/javascript" src="../addons/pager/jquery.tablesorter.pager.js"></script>
|
12
|
+
<script type="text/javascript" src="js/chili/chili-1.8b.js"></script>
|
13
|
+
<script type="text/javascript" src="js/docs.js"></script>
|
14
|
+
<script type="text/javascript" src="js/examples.js"></script>
|
15
|
+
<script type="text/javascript" id="js">$(document).ready(function() {
|
16
|
+
// call the tablesorter plugin
|
17
|
+
$("table").tablesorter({
|
18
|
+
// enable debug mode
|
19
|
+
debug: true
|
20
|
+
});
|
21
|
+
}); </script>
|
22
|
+
</head>
|
23
|
+
<body>
|
24
|
+
<div id="banner">
|
25
|
+
<h1>table<em>sorter</em></h1>
|
26
|
+
<h2>Enabling debug mode</h2>
|
27
|
+
<h3>Flexible client-side table sorting</h3>
|
28
|
+
<a href="index.html">Back to documentation</a>
|
29
|
+
</div>
|
30
|
+
<div id="main">
|
31
|
+
|
32
|
+
<p class="tip">
|
33
|
+
<em>NOTE!</em> If firebug is installed the debuging information will be displayed in the firebug console.
|
34
|
+
</p>
|
35
|
+
|
36
|
+
<h1>Demo</h1>
|
37
|
+
<div id="demo">
|
38
|
+
|
39
|
+
<table cellspacing="1" class="tablesorter">
|
40
|
+
<thead>
|
41
|
+
<tr>
|
42
|
+
<th>First Name</th>
|
43
|
+
<th>Last Name</th>
|
44
|
+
<th>Age</th>
|
45
|
+
<th>Total</th>
|
46
|
+
<th>Discount</th>
|
47
|
+
<th>Date</th>
|
48
|
+
|
49
|
+
</tr>
|
50
|
+
</thead>
|
51
|
+
<tbody>
|
52
|
+
<tr>
|
53
|
+
<td>Peter</td>
|
54
|
+
<td>Parker</td>
|
55
|
+
<td>28</td>
|
56
|
+
<td>$9.99</td>
|
57
|
+
<td>20%</td>
|
58
|
+
|
59
|
+
<td>Jul 6, 2006 8:14 AM</td>
|
60
|
+
</tr>
|
61
|
+
<tr>
|
62
|
+
<td>John</td>
|
63
|
+
<td>Hood</td>
|
64
|
+
<td>33</td>
|
65
|
+
<td>$19.99</td>
|
66
|
+
<td>25%</td>
|
67
|
+
|
68
|
+
<td>Dec 10, 2002 5:14 AM</td>
|
69
|
+
</tr>
|
70
|
+
<tr>
|
71
|
+
<td>Clark</td>
|
72
|
+
<td>Kent</td>
|
73
|
+
<td>18</td>
|
74
|
+
<td>$15.89</td>
|
75
|
+
<td>44%</td>
|
76
|
+
<td>Jan 12, 2003 11:14 AM</td>
|
77
|
+
</tr>
|
78
|
+
<tr>
|
79
|
+
<td>Bruce</td>
|
80
|
+
<td>Almighty</td>
|
81
|
+
<td>45</td>
|
82
|
+
<td>$153.19</td>
|
83
|
+
<td>44%</td>
|
84
|
+
|
85
|
+
<td>Jan 18, 2001 9:12 AM</td>
|
86
|
+
</tr>
|
87
|
+
<tr>
|
88
|
+
<td>Bruce</td>
|
89
|
+
<td>Evans</td>
|
90
|
+
<td>22</td>
|
91
|
+
<td>$13.19</td>
|
92
|
+
<td>11%</td>
|
93
|
+
<td>Jan 18, 2007 9:12 AM</td>
|
94
|
+
</tr>
|
95
|
+
</tbody>
|
96
|
+
</table>
|
97
|
+
|
98
|
+
</div>
|
99
|
+
|
100
|
+
<h1>Javascript</h1>
|
101
|
+
<div id="javascript">
|
102
|
+
<pre class="javascript"></pre>
|
103
|
+
</div>
|
104
|
+
<h1>HTML</h1>
|
105
|
+
<div id="html">
|
106
|
+
<pre class="html"></pre>
|
107
|
+
</div>
|
108
|
+
</div>
|
109
|
+
<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script>
|
110
|
+
<script type="text/javascript">
|
111
|
+
_uacct = "UA-2189649-2";
|
112
|
+
urchinTracker();
|
113
|
+
</script>
|
114
|
+
</body>
|
115
|
+
</html>
|
116
|
+
|
@@ -0,0 +1,106 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
2
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
3
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-us">
|
4
|
+
<head>
|
5
|
+
<title>jQuery plugin: Tablesorter 2.0 - Enabling debug mode</title>
|
6
|
+
<link rel="stylesheet" href="css/jq.css" type="text/css" media="print, projection, screen" />
|
7
|
+
<link rel="stylesheet" href="../themes/blue/style.css" type="text/css" id="" media="print, projection, screen" />
|
8
|
+
<script type="text/javascript" src="../jquery-latest.js"></script>
|
9
|
+
|
10
|
+
<script type="text/javascript" src="../jquery.tablesorter.js"></script>
|
11
|
+
<script type="text/javascript" src="../addons/pager/jquery.tablesorter.pager.js"></script>
|
12
|
+
<script type="text/javascript" src="js/chili/chili-1.8b.js"></script>
|
13
|
+
<script type="text/javascript" src="js/docs.js"></script>
|
14
|
+
<script type="text/javascript" src="js/examples.js"></script>
|
15
|
+
<script type="text/javascript" id="js">$(document).ready(function() {
|
16
|
+
// call the tablesorter plugin
|
17
|
+
$("table").tablesorter();
|
18
|
+
}); </script>
|
19
|
+
</head>
|
20
|
+
<body>
|
21
|
+
<div id="banner">
|
22
|
+
<h1>table<em>sorter</em></h1>
|
23
|
+
<h2>Dealing with digits</h2>
|
24
|
+
<h3>Flexible client-side table sorting</h3>
|
25
|
+
<a href="index.html">Back to documentation</a>
|
26
|
+
</div>
|
27
|
+
<div id="main">
|
28
|
+
|
29
|
+
<h1>Demo</h1>
|
30
|
+
<div id="demo">
|
31
|
+
|
32
|
+
<table cellspacing="1" class="tablesorter">
|
33
|
+
<thead>
|
34
|
+
<tr>
|
35
|
+
<th>First Name</th>
|
36
|
+
<th>Last Name</th>
|
37
|
+
<th>Age</th>
|
38
|
+
<th>Total</th>
|
39
|
+
<th>Discount</th>
|
40
|
+
<th>Diff</th>
|
41
|
+
|
42
|
+
</tr>
|
43
|
+
</thead>
|
44
|
+
<tbody>
|
45
|
+
<tr>
|
46
|
+
<td>Peter</td>
|
47
|
+
<td>Parker</td>
|
48
|
+
<td>28</td>
|
49
|
+
<td>9.99</td>
|
50
|
+
<td>20.3%</td>
|
51
|
+
<td>+3.0</td>
|
52
|
+
</tr>
|
53
|
+
<tr>
|
54
|
+
<td>John</td>
|
55
|
+
<td>Hood</td>
|
56
|
+
<td>33</td>
|
57
|
+
<td>19.99</td>
|
58
|
+
<td>25.1%</td>
|
59
|
+
<td>-7</td>
|
60
|
+
</tr>
|
61
|
+
<tr>
|
62
|
+
<td>Clark</td>
|
63
|
+
<td>Kent</td>
|
64
|
+
<td>18</td>
|
65
|
+
<td>15.89</td>
|
66
|
+
<td>44.2%</td>
|
67
|
+
<td>-15</td>
|
68
|
+
</tr>
|
69
|
+
<tr>
|
70
|
+
<td>Bruce</td>
|
71
|
+
<td>Almighty</td>
|
72
|
+
<td>45</td>
|
73
|
+
<td>153.19</td>
|
74
|
+
<td>44%</td>
|
75
|
+
<td>+19</td>
|
76
|
+
</tr>
|
77
|
+
<tr>
|
78
|
+
<td>Bruce</td>
|
79
|
+
<td>Evans</td>
|
80
|
+
<td>56</td>
|
81
|
+
<td>153.19</td>
|
82
|
+
<td>23%</td>
|
83
|
+
<td>+9</td>
|
84
|
+
</tr>
|
85
|
+
</tbody>
|
86
|
+
</table>
|
87
|
+
|
88
|
+
</div>
|
89
|
+
|
90
|
+
<h1>Javascript</h1>
|
91
|
+
<div id="javascript">
|
92
|
+
<pre class="javascript"></pre>
|
93
|
+
</div>
|
94
|
+
<h1>HTML</h1>
|
95
|
+
<div id="html">
|
96
|
+
<pre class="html"></pre>
|
97
|
+
</div>
|
98
|
+
</div>
|
99
|
+
<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script>
|
100
|
+
<script type="text/javascript">
|
101
|
+
_uacct = "UA-2189649-2";
|
102
|
+
urchinTracker();
|
103
|
+
</script>
|
104
|
+
</body>
|
105
|
+
</html>
|
106
|
+
|
@@ -0,0 +1,107 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
2
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
3
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-us">
|
4
|
+
<head>
|
5
|
+
<title>jQuery plugin: Tablesorter 2.0 - Force a default sorting order</title>
|
6
|
+
<link rel="stylesheet" href="css/jq.css" type="text/css" media="print, projection, screen" />
|
7
|
+
<link rel="stylesheet" href="../themes/blue/style.css" type="text/css" id="" media="print, projection, screen" />
|
8
|
+
<script type="text/javascript" src="../jquery-latest.js"></script>
|
9
|
+
|
10
|
+
<script type="text/javascript" src="../jquery.tablesorter.js"></script>
|
11
|
+
<script type="text/javascript" src="js/chili/chili-1.8b.js"></script>
|
12
|
+
<script type="text/javascript" src="js/docs.js"></script>
|
13
|
+
<script type="text/javascript" src="js/examples.js"></script>
|
14
|
+
<script type="text/javascript" id="js">$(document).ready(function() {
|
15
|
+
// call the tablesorter plugin
|
16
|
+
$("table").tablesorter({
|
17
|
+
// set forced sort on the fourth column and i decending order.
|
18
|
+
sortForce: [[0,0]]
|
19
|
+
});
|
20
|
+
}); </script>
|
21
|
+
</head>
|
22
|
+
<body>
|
23
|
+
<div id="banner">
|
24
|
+
<h1>table<em>sorter</em></h1>
|
25
|
+
<h2>Force a default sorting order</h2>
|
26
|
+
<h3>Flexible client-side table sorting</h3>
|
27
|
+
<a href="index.html">Back to documentation</a>
|
28
|
+
</div>
|
29
|
+
<div id="main">
|
30
|
+
<h1>Demo</h1>
|
31
|
+
<div id="demo">
|
32
|
+
<table cellspacing="1" class="tablesorter">
|
33
|
+
<thead>
|
34
|
+
<tr>
|
35
|
+
<th>First Name</th>
|
36
|
+
<th>Last Name</th>
|
37
|
+
<th>Age</th>
|
38
|
+
<th>Total</th>
|
39
|
+
<th>Discount</th>
|
40
|
+
<th>Date</th>
|
41
|
+
|
42
|
+
</tr>
|
43
|
+
</thead>
|
44
|
+
<tbody>
|
45
|
+
<tr>
|
46
|
+
<td>Peter</td>
|
47
|
+
<td>Parker</td>
|
48
|
+
<td>28</td>
|
49
|
+
<td>$9.99</td>
|
50
|
+
<td>20%</td>
|
51
|
+
|
52
|
+
<td>Jul 6, 2006 8:14 AM</td>
|
53
|
+
</tr>
|
54
|
+
<tr>
|
55
|
+
<td>John</td>
|
56
|
+
<td>Hood</td>
|
57
|
+
<td>33</td>
|
58
|
+
<td>$19.99</td>
|
59
|
+
<td>25%</td>
|
60
|
+
|
61
|
+
<td>Dec 10, 2002 5:14 AM</td>
|
62
|
+
</tr>
|
63
|
+
<tr>
|
64
|
+
<td>Clark</td>
|
65
|
+
<td>Kent</td>
|
66
|
+
<td>18</td>
|
67
|
+
<td>$15.89</td>
|
68
|
+
<td>44%</td>
|
69
|
+
<td>Jan 12, 2003 11:14 AM</td>
|
70
|
+
</tr>
|
71
|
+
<tr>
|
72
|
+
<td>Bruce</td>
|
73
|
+
<td>Almighty</td>
|
74
|
+
<td>45</td>
|
75
|
+
<td>$153.19</td>
|
76
|
+
<td>44%</td>
|
77
|
+
|
78
|
+
<td>Jan 18, 2001 9:12 AM</td>
|
79
|
+
</tr>
|
80
|
+
<tr>
|
81
|
+
<td>Bruce</td>
|
82
|
+
<td>Evans</td>
|
83
|
+
<td>22</td>
|
84
|
+
<td>$13.19</td>
|
85
|
+
<td>11%</td>
|
86
|
+
<td>Jan 18, 2007 9:12 AM</td>
|
87
|
+
</tr>
|
88
|
+
</tbody>
|
89
|
+
</table>
|
90
|
+
</div>
|
91
|
+
<h1>Javascript</h1>
|
92
|
+
<div id="javascript">
|
93
|
+
<pre class="javascript"></pre>
|
94
|
+
</div>
|
95
|
+
<h1>HTML</h1>
|
96
|
+
<div id="html">
|
97
|
+
<pre class="html"></pre>
|
98
|
+
</div>
|
99
|
+
</div>
|
100
|
+
<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script>
|
101
|
+
<script type="text/javascript">
|
102
|
+
_uacct = "UA-2189649-2";
|
103
|
+
urchinTracker();
|
104
|
+
</script>
|
105
|
+
</body>
|
106
|
+
</html>
|
107
|
+
|
@@ -0,0 +1,108 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
2
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
3
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-us">
|
4
|
+
<head>
|
5
|
+
<title>jQuery plugin: Tablesorter 2.0 - Change multi-column sorting key</title>
|
6
|
+
<link rel="stylesheet" href="css/jq.css" type="text/css" media="print, projection, screen" />
|
7
|
+
<link rel="stylesheet" href="../themes/blue/style.css" type="text/css" id="" media="print, projection, screen" />
|
8
|
+
<script type="text/javascript" src="../jquery-latest.js"></script>
|
9
|
+
|
10
|
+
<script type="text/javascript" src="../jquery.tablesorter.js"></script>
|
11
|
+
<script type="text/javascript" src="../addons/pager/jquery.tablesorter.pager.js"></script>
|
12
|
+
<script type="text/javascript" src="js/chili/chili-1.8b.js"></script>
|
13
|
+
<script type="text/javascript" src="js/docs.js"></script>
|
14
|
+
<script type="text/javascript" src="js/examples.js"></script>
|
15
|
+
<script type="text/javascript" id="js">$(document).ready(function() {
|
16
|
+
// call the tablesorter plugin
|
17
|
+
$("table").tablesorter({
|
18
|
+
// change the multi sort key from the default shift to alt button
|
19
|
+
sortMultiSortKey: 'altKey'
|
20
|
+
});
|
21
|
+
}); </script>
|
22
|
+
</head>
|
23
|
+
<body>
|
24
|
+
<div id="banner">
|
25
|
+
<h1>table<em>sorter</em></h1>
|
26
|
+
<h2>Change multi-column sorting key</h2>
|
27
|
+
<h3>Flexible client-side table sorting</h3>
|
28
|
+
<a href="index.html">Back to documentation</a>
|
29
|
+
</div>
|
30
|
+
<div id="main">
|
31
|
+
<h1>Demo</h1>
|
32
|
+
<div id="demo">
|
33
|
+
<table cellspacing="1" class="tablesorter">
|
34
|
+
<thead>
|
35
|
+
<tr>
|
36
|
+
<th>First Name</th>
|
37
|
+
<th>Last Name</th>
|
38
|
+
<th>Age</th>
|
39
|
+
<th>Total</th>
|
40
|
+
<th>Discount</th>
|
41
|
+
<th>Date</th>
|
42
|
+
|
43
|
+
</tr>
|
44
|
+
</thead>
|
45
|
+
<tbody>
|
46
|
+
<tr>
|
47
|
+
<td>Peter</td>
|
48
|
+
<td>Parker</td>
|
49
|
+
<td>28</td>
|
50
|
+
<td>$9.99</td>
|
51
|
+
<td>20%</td>
|
52
|
+
|
53
|
+
<td>Jul 6, 2006 8:14 AM</td>
|
54
|
+
</tr>
|
55
|
+
<tr>
|
56
|
+
<td>John</td>
|
57
|
+
<td>Hood</td>
|
58
|
+
<td>33</td>
|
59
|
+
<td>$19.99</td>
|
60
|
+
<td>25%</td>
|
61
|
+
|
62
|
+
<td>Dec 10, 2002 5:14 AM</td>
|
63
|
+
</tr>
|
64
|
+
<tr>
|
65
|
+
<td>Clark</td>
|
66
|
+
<td>Kent</td>
|
67
|
+
<td>18</td>
|
68
|
+
<td>$15.89</td>
|
69
|
+
<td>44%</td>
|
70
|
+
<td>Jan 12, 2003 11:14 AM</td>
|
71
|
+
</tr>
|
72
|
+
<tr>
|
73
|
+
<td>Bruce</td>
|
74
|
+
<td>Almighty</td>
|
75
|
+
<td>45</td>
|
76
|
+
<td>$153.19</td>
|
77
|
+
<td>44%</td>
|
78
|
+
|
79
|
+
<td>Jan 18, 2001 9:12 AM</td>
|
80
|
+
</tr>
|
81
|
+
<tr>
|
82
|
+
<td>Bruce</td>
|
83
|
+
<td>Evans</td>
|
84
|
+
<td>22</td>
|
85
|
+
<td>$13.19</td>
|
86
|
+
<td>11%</td>
|
87
|
+
<td>Jan 18, 2007 9:12 AM</td>
|
88
|
+
</tr>
|
89
|
+
</tbody>
|
90
|
+
</table>
|
91
|
+
</div>
|
92
|
+
<h1>Javascript</h1>
|
93
|
+
<div id="javascript">
|
94
|
+
<pre class="javascript"></pre>
|
95
|
+
</div>
|
96
|
+
<h1>HTML</h1>
|
97
|
+
<div id="html">
|
98
|
+
<pre class="html"></pre>
|
99
|
+
</div>
|
100
|
+
</div>
|
101
|
+
<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script>
|
102
|
+
<script type="text/javascript">
|
103
|
+
_uacct = "UA-2189649-2";
|
104
|
+
urchinTracker();
|
105
|
+
</script>
|
106
|
+
</body>
|
107
|
+
</html>
|
108
|
+
|