Skip to content
Browse files

updated docs

  • Loading branch information...
1 parent 56f987a commit c29e651ebf8f74766040b00fc955960b3877891c @Mottie committed
Showing with 5,138 additions and 1,850 deletions.
  1. BIN README.markdown
  2. BIN addons/pager/icons/loading.gif
  3. +12 −12 addons/pager/jquery.tablesorter.pager.css
  4. +135 −84 addons/pager/jquery.tablesorter.pager.js
  5. +2 −2 addons/pager/jquery.tablesorter.pager.min.js
  6. +0 −413 css/theme.all.css
  7. +3 −3 css/theme.black-ice.css
  8. +9 −9 css/theme.blue.css
  9. +8 −3 css/theme.bootstrap.css
  10. +4 −3 css/theme.dark.css
  11. +3 −3 css/theme.default.css
  12. +3 −3 css/theme.dropbox.css
  13. +0 −87 css/theme.global.css
  14. +9 −9 css/theme.green.css
  15. +12 −11 css/theme.grey.css
  16. +3 −3 css/theme.ice.css
  17. +727 −0 docs/css/bootstrap.min.css
  18. +9 −4 docs/css/jq.css
  19. +2 −2 docs/example-add-rows.html
  20. +2 −2 docs/example-ajax.html
  21. +2 −2 docs/example-apply-widget.html
  22. +134 −133 docs/example-child-rows-filtered.html
  23. +140 −134 docs/example-child-rows.html
  24. +2 −2 docs/example-empty-table.html
  25. +2 −2 docs/example-extending-defaults.html
  26. +3 −3 docs/example-header-column-span.html
  27. +4 −3 docs/example-locale-sort.html
  28. +2 −2 docs/example-meta-headers.html
  29. +2 −2 docs/example-meta-parsers.html
  30. +3 −4 docs/example-meta-sort-list.html
  31. +2 −1 docs/example-multiple-tbodies.html
  32. +4 −19 docs/example-option-custom-sort.html
  33. +9 −8 docs/example-option-date-format.html
  34. +2 −1 docs/example-option-debug.html
  35. +4 −4 docs/example-option-digits.html
  36. +2 −1 docs/example-option-render-header.html
  37. +1,127 −0 docs/example-option-show-processing.html
  38. +3 −1 docs/example-option-sort-append.html
  39. +16 −14 docs/example-option-sort-empty.html
  40. +3 −1 docs/example-option-sort-force.html
  41. +3 −1 docs/example-option-sort-key.html
  42. +3 −1 docs/example-option-sort-list.html
  43. +3 −1 docs/example-option-sort-order.html
  44. +9 −8 docs/example-option-sortreset-sortrestart.html
  45. +2 −2 docs/example-option-text-extraction.html
  46. +16 −15 docs/example-options-headers-digits-strings.html
  47. +7 −6 docs/example-options-headers-locked.html
  48. +14 −13 docs/example-options-headers-order.html
  49. +8 −6 docs/example-options-headers.html
  50. +6 −5 docs/example-pager-ajax.html
  51. +445 −0 docs/example-pager-filtered.html
  52. +155 −101 docs/example-pager.html
  53. +10 −2 docs/example-parsers-advanced.html
  54. +7 −7 docs/example-parsers-class-name.html
  55. +2 −2 docs/example-parsers-jquery-data.html
  56. +31 −3 docs/example-parsers.html
  57. +2 −2 docs/example-trigger-sort.html
  58. +5 −2 docs/example-triggers.html
  59. +2 −2 docs/example-update-cell.html
  60. +286 −0 docs/example-widget-bootstrap-theme.html
  61. +63 −34 docs/example-widget-columns.html
  62. +166 −85 docs/example-widget-filter-custom.html
  63. +296 −64 docs/example-widget-filter.html
  64. +8 −7 docs/example-widget-resizable.html
  65. +3 −2 docs/example-widget-savesort.html
  66. +44 −24 docs/example-widget-sticky-header.html
  67. +50 −100 docs/example-widget-ui-theme.html
  68. +2 −1 docs/example-widget-zebra.html
  69. +10 −3 docs/example-widgets.html
  70. BIN docs/img/glyphicons-halflings-white.png
  71. BIN docs/img/glyphicons-halflings.png
  72. +757 −272 docs/index.html
  73. +11 −11 docs/js/chili/recipes.js
  74. +10 −10 docs/js/docs.js
  75. +217 −0 docs/themes.html
  76. +1 −1 index.html
  77. +2 −2 js/jquery.tablesorter.min.js
  78. +61 −53 js/jquery.tablesorter.widgets.js
  79. +10 −10 js/jquery.tablesorter.widgets.min.js
  80. +2 −2 package.json
View
BIN README.markdown
Binary file not shown.
View
BIN addons/pager/icons/loading.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
24 addons/pager/jquery.tablesorter.pager.css
@@ -1,39 +1,39 @@
/* pager wrapper, div */
-.pager {
+.tablesorter-pager {
padding: 5px;
}
/* pager wrapper, in thead/tfoot */
-td.pager {
+td.tablesorter-pager {
background-color: #e6eeee;
+ margin: 0; /* needed for bootstrap .pager gets a 18px bottom margin */
}
/* pager navigation arrows */
-.pager img {
+.tablesorter-pager img {
vertical-align: middle;
margin-right: 2px;
cursor: pointer;
}
+
/* pager output text */
-.pager .pagedisplay {
- font-size: 11px;
+.tablesorter-pager .pagedisplay {
padding: 0 5px 0 5px;
width: 50px;
text-align: center;
}
-/*** loading ajax indeterminate progress indicator ***/
-#tablesorterPagerLoading {
- background: rgba(255,255,255,0.8) url(icons/loading.gif) center center no-repeat;
- position: absolute;
- z-index: 1000;
+/* pager element reset (needed for bootstrap) */
+.tablesorter-pager select {
+ margin: 0;
+ padding: 0;
}
/*** css used when "updateArrows" option is true ***/
/* the pager itself gets a disabled class when the number of rows is less than the size */
-.pager.disabled {
+.tablesorter-pager.disabled {
display: none;
}
/* hide or fade out pager arrows when the first or last row is visible */
-.pager img.disabled {
+.tablesorter-pager .disabled {
/* visibility: hidden */
opacity: 0.5;
filter: alpha(opacity=50);
View
219 addons/pager/jquery.tablesorter.pager.js
@@ -1,8 +1,10 @@
/*!
* tablesorter pager plugin
- * updated 5/28/2012
+ * updated 9/27/2012
*/
+/*jshint browser:true, jquery:true */
;(function($) {
+ "use strict";
$.extend({tablesorterPager: new function() {
this.defaults = {
@@ -29,6 +31,7 @@
ajaxProcessing: function(ajax){ return [ 0, [], null ]; },
// output default: '{page}/{totalPages}'
+ // possible variables: {page}, {totalPages}, {filteredPages}, {startRow}, {endRow}, {filteredRows} and {totalRows}
output: '{startRow} to {endRow} of {totalRows} rows', // '{page}/{totalPages}'
// apply disabled classname to the pager arrows when the rows at either extreme is visible
@@ -46,13 +49,14 @@
// remove rows from the table to speed up the sort of large tables.
// setting this to false, only hides the non-visible rows; needed if you plan to add/remove rows with the pager enabled.
- removeRows: true, // removing rows in larger tables speeds up the sort
+ removeRows: false, // removing rows in larger tables speeds up the sort
// css class names of pager arrows
- cssNext: '.next', // next page arrow
+ cssFirst: '.first', // go to first page arrow
cssPrev: '.prev', // previous page arrow
- cssFirst: '.first', // first page arrow
- cssLast: '.last', // last page arrow
+ cssNext: '.next', // next page arrow
+ cssLast: '.last', // go to last page arrow
+ cssGoto: '.gotoPage', // go to page selector - select dropdown that sets the current page
cssPageDisplay: '.pagedisplay', // location of where the "output" is displayed
cssPageSize: '.pagesize', // page size selector - select dropdown that sets the "size" option
@@ -61,7 +65,9 @@
// stuff not set by the user
totalRows: 0,
- totalPages: 0
+ totalPages: 0,
+ filteredRows: 0,
+ filteredPages : 0
};
@@ -69,32 +75,50 @@
// hide arrows at extremes
pagerArrows = function(c, disable) {
- var a = 'addClass', r = 'removeClass',
- d = c.cssDisabled, dis = !!disable;
- if (c.updateArrows) {
- c.container[(c.totalRows < c.size) ? a : r](d);
- $(c.cssFirst + ',' + c.cssPrev, c.container)[(dis || c.page === 0) ? a : r](d);
- $(c.cssNext + ',' + c.cssLast, c.container)[(dis || c.page === c.totalPages - 1) ? a : r](d);
+ var a = 'addClass',
+ r = 'removeClass',
+ d = c.cssDisabled,
+ dis = !!disable,
+ // tr = Math.min( c.totalRows, c.filteredRows ),
+ tp = Math.min( c.totalPages, c.filteredPages );
+ if ( c.updateArrows ) {
+ $(c.cssFirst + ',' + c.cssPrev, c.container)[ ( dis || c.page === 0 ) ? a : r ](d);
+ $(c.cssNext + ',' + c.cssLast, c.container)[ ( dis || c.page === tp - 1 ) ? a : r ](d);
}
},
updatePageDisplay = function(table, c) {
- if (c.totalPages > 0) {
- c.startRow = c.size * (c.page) + 1;
- c.endRow = Math.min(c.totalRows, c.size * (c.page+1));
- var out = $(c.cssPageDisplay, c.container),
+ var i, p, s, t, out, f = $(table).hasClass('hasFilters');
+ c.filteredRows = (f) ? $(table).find('tbody tr:not(.filtered)').length : c.totalRows;
+ c.filteredPages = (f) ? Math.ceil( c.filteredRows / c.size ) : c.totalPages;
+ if ( Math.min( c.totalPages, c.filteredPages ) > 0 ) {
+ t = (c.size * c.page > c.filteredRows);
+ c.startRow = (t) ? 1 : ( c.size * c.page ) + 1;
+ c.page = (t) ? 0 : c.page;
+ c.endRow = Math.min( c.filteredRows, c.totalRows, c.size * ( c.page + 1 ) );
+ out = $(c.cssPageDisplay, c.container);
// form the output string
- s = c.output.replace(/\{(page|totalPages|startRow|endRow|totalRows)\}/gi, function(m){
+ s = c.output.replace(/\{(page|filteredRows|filteredPages|totalPages|startRow|endRow|totalRows)\}/gi, function(m){
return {
- '{page}' : c.page + 1,
- '{totalPages}' : c.totalPages,
- '{startRow}' : c.startRow,
- '{endRow}' : c.endRow,
- '{totalRows}' : c.totalRows
+ '{page}' : c.page + 1,
+ '{filteredRows}' : c.filteredRows,
+ '{filteredPages}' : c.filteredPages,
+ '{totalPages}' : c.totalPages,
+ '{startRow}' : c.startRow,
+ '{endRow}' : c.endRow,
+ '{totalRows}' : c.totalRows
}[m];
});
if (out[0]) {
out[ (out[0].tagName === 'INPUT') ? 'val' : 'html' ](s);
+ if ( $(c.cssGoto, c.container).length ) {
+ t = '';
+ p = Math.min( c.totalPages, c.filteredPages );
+ for ( i = 1; i <= p; i++ ) {
+ t += '<option>' + i + '</option>';
+ }
+ $(c.cssGoto, c.container).html(t).val(c.page + 1);
+ }
}
}
pagerArrows(c);
@@ -108,7 +132,7 @@
h = $.data(table, 'pagerSavedHeight');
if (h) {
d = h - $b.height();
- if (d > 5 && $.data(table, 'pagerLastSize') === c.size && $b.find('tr:visible').length < c.size) {
+ if ( d > 5 && $.data(table, 'pagerLastSize') === c.size && $b.find('tr:visible').length < c.size ) {
$b.append('<tr class="pagerSavedHeightSpacer remove-me" style="height:' + d + 'px;"></tr>');
}
}
@@ -124,23 +148,27 @@
},
hideRows = function(table, c){
- var i, rows = $('tr:not(.' + table.config.cssChildRow + ')', table.tBodies),
+ var i,
+ rows = $('tr:not(.' + table.config.cssChildRow + ')', table.tBodies),
l = rows.length,
- s = (c.page * c.size),
- e = (s + c.size);
- if (e > l) { e = l; }
- for (i = 0; i < l; i++){
- rows[i].style.display = (i >= s && i < e) ? '' : 'none';
+ s = ( c.page * c.size ),
+ e = s + c.size,
+ j = 0; // size counter
+ for ( i = 0; i < l; i++ ){
+ if (!/filtered/.test(rows[i].className)) {
+ rows[i].style.display = ( j >= s && j < e ) ? '' : 'none';
+ j++;
+ }
}
},
hideRowsSetup = function(table, c){
- c.size = parseInt($(c.cssPageSize, c.container).val(), 10) || c.size;
+ c.size = parseInt( $(c.cssPageSize, c.container).val(), 10 ) || c.size;
$.data(table, 'pagerLastSize', c.size);
pagerArrows(c);
- if (!c.removeRows) {
+ if ( !c.removeRows ) {
hideRows(table, c);
- $(table).bind('sortEnd.pager', function(){
+ $(table).bind('sortEnd.pager filterEnd.pager', function(){
hideRows(table, c);
});
}
@@ -148,18 +176,22 @@
renderAjax = function(data, table, c, exception){
// process data
- if (typeof(c.ajaxProcessing) === "function") {
+ if ( typeof(c.ajaxProcessing) === "function" ) {
// ajaxProcessing result: [ total, rows, headers ]
- var i, j, k, hsh, $f, $sh, $t = $(table), $b = $(table.tBodies).filter(':not(.' + table.config.cssInfoBlock + ')'),
+ var i, j, hsh, $f, $sh,
+ $t = $(table),
+ $b = $(table.tBodies).filter(':not(.' + table.config.cssInfoBlock + ')'),
hl = $t.find('thead th').length, tds = '',
err = '<tr class="remove-me"><td style="text-align: center;" colspan="' + hl + '">' +
(exception ? exception.message + ' (' + exception.name + ')' : 'No rows found') + '</td></tr>',
result = c.ajaxProcessing(data) || [ 0, [] ],
- d = result[1] || [], l = d.length, th = result[2];
- if (l > 0) {
- for ( i=0; i < l; i++ ) {
+ d = result[1] || [],
+ l = d.length,
+ th = result[2];
+ if ( l > 0 ) {
+ for ( i = 0; i < l; i++ ) {
tds += '<tr>';
- for (j=0; j < d[i].length; j++) {
+ for ( j = 0; j < d[i].length; j++ ) {
// build tbody cells
tds += '<td>' + d[i][j] + '</td>';
}
@@ -167,34 +199,34 @@
}
}
// only add new header text if the length matches
- if (th && th.length === hl) {
+ if ( th && th.length === hl ) {
hsh = $t.hasClass('hasStickyHeaders');
$sh = $t.find('.' + ((c.widgetOptions && c.widgetOptions.stickyHeaders) || 'tablesorter-stickyheader'));
$f = $t.find('tfoot tr:first').children();
$t.find('thead tr.tablesorter-header th').each(function(j){
var $t = $(this),
// add new test within the first span it finds, or just in the header
- tar = ($t.find('span').length) ? $t.find('span:first') : $t;
- tar.html(th[j]);
- $f.eq(j).html(th[j]);
+ tar = ( $t.find('span').length ) ? $t.find('span:first') : $t;
+ tar.html( th[j] );
+ $f.eq(j).html( th[j] );
// update sticky headers
- if (hsh && $sh.length){
+ if ( hsh && $sh.length ){
tar = $sh.find('th').eq(j);
- tar = (tar.find('span').length) ? tar.find('span:first') : tar;
- tar.html(th[j]);
+ tar = ( tar.find('span').length ) ? tar.find('span:first') : tar;
+ tar.html( th[j] );
}
});
}
- if (exception) {
+ if ( exception ) {
// add error row to thead instead of tbody, or clicking on the header will result in a parser error
$t.find('thead').append(err);
} else {
- $b.html(tds); // add tbody
+ $b.html( tds ); // add tbody
}
c.temp.remove(); // remove loading icon
$t.trigger('update');
c.totalRows = result[0] || 0;
- c.totalPages = Math.ceil(c.totalRows / c.size);
+ c.totalPages = Math.ceil( c.totalRows / c.size );
updatePageDisplay(table, c);
fixHeight(table, c);
$t.trigger('pagerChange', c);
@@ -204,14 +236,14 @@
getAjax = function(table, c){
var $t = $(table),
url = c.ajaxUrl.replace(/\{page\}/g, c.page).replace(/\{size\}/g, c.size);
- if (url !== '') {
+ if ( url !== '' ) {
// loading icon
c.temp = $('<div/>', {
- id : 'tablesorterPagerLoading',
+ 'class' : 'tablesorter-processing',
width : $t.outerWidth(true),
height: $t.outerHeight(true)
});
- $t.before(c.temp);
+ $t.before( c.temp );
$(document).ajaxError(function(e, xhr, settings, exception) {
renderAjax(null, table, c, exception);
});
@@ -225,22 +257,22 @@
var i, j, o,
f = document.createDocumentFragment(),
l = rows.length,
- s = (c.page * c.size),
- e = (s + c.size);
- if (l < 1) { return; } // empty table, abort!
+ s = ( c.page * c.size ),
+ e = ( s + c.size );
+ if ( l < 1 ) { return; } // empty table, abort!
$(table).trigger('pagerChange', c);
- if (!c.removeRows) {
+ if ( !c.removeRows ) {
hideRows(table, c);
} else {
- if (e > rows.length ) {
+ if ( e > rows.length ) {
e = rows.length;
}
$(table.tBodies[0]).addClass('tablesorter-hidden');
$.tablesorter.clearTableBody(table);
- for (i = s; i < e; i++) {
+ for ( i = s; i < e; i++ ) {
o = rows[i];
l = o.length;
- for (j = 0; j < l; j++) {
+ for ( j = 0; j < l; j++ ) {
f.appendChild(o[j]);
}
}
@@ -251,12 +283,12 @@
moveToLastPage(table, c);
}
updatePageDisplay(table, c);
- if (!c.isDisabled) { fixHeight(table, c); }
+ if ( !c.isDisabled ) { fixHeight(table, c); }
$(table).trigger('applyWidgets');
},
showAllRows = function(table, c){
- if (c.ajax) {
+ if ( c.ajax ) {
pagerArrows(c, true);
} else {
c.isDisabled = true;
@@ -273,12 +305,13 @@
},
moveToPage = function(table, c) {
- if (c.isDisabled) { return; }
- if (c.page < 0 || c.page > (c.totalPages-1)) {
+ if ( c.isDisabled ) { return; }
+ var p = Math.min( c.totalPages, c.filteredPages );
+ if ( c.page < 0 || c.page > ( p - 1 ) ) {
c.page = 0;
}
$.data(table, 'pagerLastPage', c.page);
- if (c.ajax) {
+ if ( c.ajax ) {
getAjax(table, c);
} else {
renderTable(table, table.config.rowsCopy, c);
@@ -289,7 +322,7 @@
c.size = size;
$.data(table, 'pagerLastPage', c.page);
$.data(table, 'pagerLastSize', c.size);
- c.totalPages = Math.ceil(c.totalRows / c.size);
+ c.totalPages = Math.ceil( c.totalRows / c.size );
moveToPage(table, c);
},
@@ -299,21 +332,21 @@
},
moveToLastPage = function(table, c) {
- c.page = (c.totalPages-1);
+ c.page = ( Math.min( c.totalPages, c.filteredPages ) - 1 );
moveToPage(table, c);
},
moveToNextPage = function(table, c) {
c.page++;
- if (c.page >= (c.totalPages-1)) {
- c.page = (c.totalPages-1);
+ if ( c.page >= ( Math.min( c.totalPages, c.filteredPages ) - 1 ) ) {
+ c.page = ( Math.min( c.totalPages, c.filteredPages ) - 1 );
}
moveToPage(table, c);
},
moveToPrevPage = function(table, c) {
c.page--;
- if (c.page <= 0) {
+ if ( c.page <= 0 ) {
c.page = 0;
}
moveToPage(table, c);
@@ -321,9 +354,9 @@
destroyPager = function(table, c){
showAllRows(table, c);
- c.container.hide(); // hide pager
+ $(c.container).hide(); // hide pager
table.config.appender = null; // remove pager appender function
- $(table).unbind('destroy.pager sortEnd.pager enable.pager disable.pager');
+ $(table).unbind('destroy.pager sortEnd.pager filterEnd.pager enable.pager disable.pager');
},
enablePager = function(table, c, triggered){
@@ -331,8 +364,8 @@
c.isDisabled = false;
c.page = $.data(table, 'pagerLastPage') || c.page || 0;
c.size = $.data(table, 'pagerLastSize') || parseInt(p.val(), 10) || c.size;
- c.totalPages = Math.ceil(c.totalRows / c.size);
- if (triggered) {
+ c.totalPages = Math.ceil( Math.min( c.totalPages, c.filteredPages ) / c.size);
+ if ( triggered ) {
$(table).trigger('update');
setPageSize(table, c.size, c);
hideRowsSetup(table, c);
@@ -342,7 +375,7 @@
$this.appender = function(table, rows) {
var c = table.config.pager;
- if (!c.ajax) {
+ if ( !c.ajax ) {
table.config.rowsCopy = rows;
c.totalRows = rows.length;
c.size = $.data(table, 'pagerLastSize') || c.size;
@@ -354,13 +387,13 @@
$this.construct = function(settings) {
return this.each(function() {
var config = this.config,
- c = config.pager = $.extend({}, $.tablesorterPager.defaults, settings),
+ c = config.pager = $.extend( {}, $.tablesorterPager.defaults, settings ),
table = this,
$t = $(table),
- pager = $(c.container).show(); // added in case the pager is reinitialized after being destroyed.
+ pager = $(c.container).addClass('tablesorter-pager').show(); // added in case the pager is reinitialized after being destroyed.
config.appender = $this.appender;
enablePager(table, c, false);
- if (typeof(c.ajaxUrl) === 'string') {
+ if ( typeof(c.ajaxUrl) === 'string' ) {
// ajax pager; interact with database
c.ajax = true;
getAjax(table, c);
@@ -371,33 +404,48 @@
hideRowsSetup(table, c);
}
+ if ( $(table).hasClass('hasFilters') ) {
+ $(table).unbind('filterEnd.pager').bind('filterEnd.pager', function() {
+ c.page = 0;
+ updatePageDisplay(table, c);
+ moveToPage(table, c);
+ changeHeight(table, c);
+ });
+ }
+ if ( $(c.cssGoto, pager).length ) {
+ $(c.cssGoto, pager).bind('change', function(){
+ c.page = $(this).val() - 1;
+ moveToPage(table, c);
+ });
+ updatePageDisplay(table, c);
+ }
$(c.cssFirst,pager).unbind('click.pager').bind('click.pager', function() {
- if (!$(this).hasClass(c.cssDisabled)) { moveToFirstPage(table, c); }
+ if ( !$(this).hasClass(c.cssDisabled) ) { moveToFirstPage(table, c); }
return false;
});
$(c.cssNext,pager).unbind('click.pager').bind('click.pager', function() {
- if (!$(this).hasClass(c.cssDisabled)) { moveToNextPage(table, c); }
+ if ( !$(this).hasClass(c.cssDisabled) ) { moveToNextPage(table, c); }
return false;
});
$(c.cssPrev,pager).unbind('click.pager').bind('click.pager', function() {
- if (!$(this).hasClass(c.cssDisabled)) { moveToPrevPage(table, c); }
+ if ( !$(this).hasClass(c.cssDisabled) ) { moveToPrevPage(table, c); }
return false;
});
$(c.cssLast,pager).unbind('click.pager').bind('click.pager', function() {
- if (!$(this).hasClass(c.cssDisabled)) { moveToLastPage(table, c); }
+ if ( !$(this).hasClass(c.cssDisabled) ) { moveToLastPage(table, c); }
return false;
});
$(c.cssPageSize,pager).unbind('change.pager').bind('change.pager', function() {
$(c.cssPageSize,pager).val( $(this).val() ); // in case there are more than one pagers
- if (!$(this).hasClass(c.cssDisabled)) {
- setPageSize(table, parseInt($(this).val(), 10), c);
+ if ( !$(this).hasClass(c.cssDisabled) ) {
+ setPageSize(table, parseInt( $(this).val(), 10 ), c);
changeHeight(table, c);
}
return false;
});
$t
- .unbind('disable.pager enable.pager destroy.pager')
+ .unbind('disable.pager enable.pager destroy.pager update.pager')
.bind('disable.pager', function(){
showAllRows(table, c);
})
@@ -406,11 +454,14 @@
})
.bind('destroy.pager', function(){
destroyPager(table, c);
+ })
+ .bind('update.pager', function(){
+ hideRows(table, c);
});
});
};
- }
+ }()
});
// extend plugin scope
$.fn.extend({
View
4 addons/pager/jquery.tablesorter.pager.min.js
@@ -1,2 +1,2 @@
-/*! tablesorter pager plugin minified - updated 5/28/2012 */
-;(function(d){d.extend({tablesorterPager:new function(){this.defaults={container:null,ajaxUrl:null,ajaxProcessing:function(){return[0,[],null]},output:"{startRow} to {endRow} of {totalRows} rows",updateArrows:!0,page:0,size:10,fixedHeight:!1,removeRows:!0,cssNext:".next",cssPrev:".prev",cssFirst:".first",cssLast:".last",cssPageDisplay:".pagedisplay",cssPageSize:".pagesize",cssDisabled:"disabled",totalRows:0,totalPages:0};var o=this,p=function(c,b){var a=c.cssDisabled,e=!!b;c.updateArrows&&(c.container[c.totalRows< c.size?"addClass":"removeClass"](a),d(c.cssFirst+","+c.cssPrev,c.container)[e||0===c.page?"addClass":"removeClass"](a),d(c.cssNext+","+c.cssLast,c.container)[e||c.page===c.totalPages-1?"addClass":"removeClass"](a))},t=function(c,b){if(0<b.totalPages){b.startRow=b.size*b.page+1;b.endRow=Math.min(b.totalRows,b.size*(b.page+1));var a=d(b.cssPageDisplay,b.container),e=b.output.replace(/\{(page|totalPages|startRow|endRow|totalRows)\}/gi,function(a){return{"{page}":b.page+1,"{totalPages}":b.totalPages, "{startRow}":b.startRow,"{endRow}":b.endRow,"{totalRows}":b.totalRows}[a]});if(a[0])a["INPUT"===a[0].tagName?"val":"html"](e)}p(b);d(c).trigger("pagerComplete",b)},s=function(c,b){var a,e=d(c.tBodies[0]);if(b.fixedHeight&&(e.find("tr.pagerSavedHeightSpacer").remove(),a=d.data(c,"pagerSavedHeight")))a-=e.height(),5<a&&(d.data(c,"pagerLastSize")===b.size&&e.find("tr:visible").length<b.size)&&e.append('<tr class="pagerSavedHeightSpacer remove-me" style="height:'+a+'px;"></tr>')},l=function(c,b){var a, e=d("tr:not(."+c.config.cssChildRow+")",c.tBodies),g=e.length,f=b.page*b.size,i=f+b.size;i>g&&(i=g);for(a=0;a<g;a++)e[a].style.display=a>=f&&a<i?"":"none"},q=function(c,b){b.size=parseInt(d(b.cssPageSize,b.container).val(),10)||b.size;d.data(c,"pagerLastSize",b.size);p(b);b.removeRows||(l(c,b),d(c).bind("sortEnd.pager",function(){l(c,b)}))},u=function(c,b,a,e){if("function"===typeof a.ajaxProcessing){var g,f,i,j,h=d(b),k=d(b.tBodies).filter(":not(."+b.config.cssInfoBlock+")"),o=h.find("thead th").length, m="",p='<tr class="remove-me"><td style="text-align: center;" colspan="'+o+'">'+(e?e.message+" ("+e.name+")":"No rows found")+"</td></tr>",l=a.ajaxProcessing(c)||[0,[]],n=l[1]||[],q=n.length,r=l[2];if(0<q)for(c=0;c<q;c++){m+="<tr>";for(g=0;g<n[c].length;g++)m+="<td>"+n[c][g]+"</td>";m+="</tr>"}r&&r.length===o&&(f=h.hasClass("hasStickyHeaders"),j=h.find("."+(a.widgetOptions&&a.widgetOptions.stickyHeaders||"tablesorter-stickyheader")),i=h.find("tfoot tr:first").children(),h.find("thead tr.tablesorter-header th").each(function(a){var b= d(this),b=b.find("span").length?b.find("span:first"):b;b.html(r[a]);i.eq(a).html(r[a]);f&&j.length&&(b=j.find("th").eq(a),b=b.find("span").length?b.find("span:first"):b,b.html(r[a]))}));e?h.find("thead").append(p):k.html(m);a.temp.remove();h.trigger("update");a.totalRows=l[0]||0;a.totalPages=Math.ceil(a.totalRows/a.size);t(b,a);s(b,a);h.trigger("pagerChange",a)}},v=function(c,b){var a=d(c),e=b.ajaxUrl.replace(/\{page\}/g,b.page).replace(/\{size\}/g,b.size);""!==e&&(b.temp=d("<div/>",{id:"tablesorterPagerLoading", width:a.outerWidth(!0),height:a.outerHeight(!0)}),a.before(b.temp),d(document).ajaxError(function(a,d,e,j){u(null,c,b,j)}),d.getJSON(e,function(a){u(a,c,b)}))},n=function(c,b,a){var e,g,f,i=document.createDocumentFragment(),j=b.length;e=a.page*a.size;var h=e+a.size;if(!(1>j)){d(c).trigger("pagerChange",a);if(a.removeRows){h>b.length&&(h=b.length);d(c.tBodies[0]).addClass("tablesorter-hidden");for(d.tablesorter.clearTableBody(c);e<h;e++){f=b[e];j=f.length;for(g=0;g<j;g++)i.appendChild(f[g])}c.tBodies[0].appendChild(i); d(c.tBodies[0]).removeClass("tablesorter-hidden")}else l(c,a);a.page>=a.totalPages&&(a.page=a.totalPages-1,k(c,a));t(c,a);a.isDisabled||s(c,a);d(c).trigger("applyWidgets")}},w=function(c,b){b.ajax?p(b,!0):(b.isDisabled=!0,d.data(c,"pagerLastPage",b.page),d.data(c,"pagerLastSize",b.size),b.page=0,b.size=b.totalRows,b.totalPages=1,d("tr.pagerSavedHeightSpacer",c.tBodies[0]).remove(),n(c,c.config.rowsCopy,b));d(b.cssPageSize,b.container).addClass(b.cssDisabled)[0].disabled=!0},k=function(c,b){if(!b.isDisabled){if(0> b.page||b.page>b.totalPages-1)b.page=0;d.data(c,"pagerLastPage",b.page);b.ajax?v(c,b):n(c,c.config.rowsCopy,b)}},x=function(c,b,a){a.size=b;d.data(c,"pagerLastPage",a.page);d.data(c,"pagerLastSize",a.size);a.totalPages=Math.ceil(a.totalRows/a.size);k(c,a)},y=function(c,b,a){var e=d(b.cssPageSize,b.container).removeClass(b.cssDisabled).removeAttr("disabled");b.isDisabled=!1;b.page=d.data(c,"pagerLastPage")||b.page||0;b.size=d.data(c,"pagerLastSize")||parseInt(e.val(),10)||b.size;b.totalPages=Math.ceil(b.totalRows/ b.size);a&&(d(c).trigger("update"),x(c,b.size,b),q(c,b),s(c,b))};o.appender=function(c,b){var a=c.config.pager;a.ajax||(c.config.rowsCopy=b,a.totalRows=b.length,a.size=d.data(c,"pagerLastSize")||a.size,a.totalPages=Math.ceil(a.totalRows/a.size),n(c,b,a))};o.construct=function(c){return this.each(function(){var b=this.config,a=b.pager=d.extend({},d.tablesorterPager.defaults,c),e=this,g=d(e),f=d(a.container).show();b.appender=o.appender;y(e,a,!1);"string"===typeof a.ajaxUrl?(a.ajax=!0,v(e,a)):(a.ajax= !1,d(this).trigger("appendCache",!0),q(e,a));d(a.cssFirst,f).unbind("click.pager").bind("click.pager",function(){if(!d(this).hasClass(a.cssDisabled)){a.page=0;k(e,a)}return false});d(a.cssNext,f).unbind("click.pager").bind("click.pager",function(){if(!d(this).hasClass(a.cssDisabled)){a.page++;if(a.page>=a.totalPages-1)a.page=a.totalPages-1;k(e,a)}return false});d(a.cssPrev,f).unbind("click.pager").bind("click.pager",function(){if(!d(this).hasClass(a.cssDisabled)){a.page--;if(a.page<=0)a.page=0;k(e, a)}return false});d(a.cssLast,f).unbind("click.pager").bind("click.pager",function(){if(!d(this).hasClass(a.cssDisabled)){a.page=a.totalPages-1;k(e,a)}return false});d(a.cssPageSize,f).unbind("change.pager").bind("change.pager",function(){d(a.cssPageSize,f).val(d(this).val());if(!d(this).hasClass(a.cssDisabled)){x(e,parseInt(d(this).val(),10),a);var b=d(e.tBodies[0]);b.find("tr.pagerSavedHeightSpacer").remove();d.data(e,"pagerSavedHeight",b.height());s(e,a);d.data(e,"pagerLastSize",a.size)}return false}); g.unbind("disable.pager enable.pager destroy.pager").bind("disable.pager",function(){w(e,a)}).bind("enable.pager",function(){y(e,a,true)}).bind("destroy.pager",function(){w(e,a);a.container.hide();e.config.appender=null;d(e).unbind("destroy.pager sortEnd.pager enable.pager disable.pager")})})}}});d.fn.extend({tablesorterPager:d.tablesorterPager.construct})})(jQuery);
+/*! tablesorter pager plugin minified - updated 9/27/2012 */
+;(function(d){d.extend({tablesorterPager:new function(){this.defaults={container:null,ajaxUrl:null,ajaxProcessing:function(){return[0,[],null]},output:"{startRow} to {endRow} of {totalRows} rows",updateArrows:!0,page:0,size:10,fixedHeight:!1,removeRows:!1,cssFirst:".first",cssPrev:".prev",cssNext:".next",cssLast:".last",cssGoto:".gotoPage",cssPageDisplay:".pagedisplay",cssPageSize:".pagesize",cssDisabled:"disabled",totalRows:0,totalPages:0,filteredRows:0,filteredPages:0};var m=this,p=function(c,a){var b= c.cssDisabled,e=!!a,f=Math.min(c.totalPages,c.filteredPages);c.updateArrows&&(d(c.cssFirst+","+c.cssPrev,c.container)[e||0===c.page?"addClass":"removeClass"](b),d(c.cssNext+","+c.cssLast,c.container)[e||c.page===f-1?"addClass":"removeClass"](b))},s=function(c,a){var b,e,f;b=d(c).hasClass("hasFilters");a.filteredRows=b?d(c).find("tbody tr:not(.filtered)").length:a.totalRows;a.filteredPages=b?Math.ceil(a.filteredRows/a.size):a.totalPages;if(0<Math.min(a.totalPages,a.filteredPages)&&(f=a.size*a.page> a.filteredRows,a.startRow=f?1:a.size*a.page+1,a.page=f?0:a.page,a.endRow=Math.min(a.filteredRows,a.totalRows,a.size*(a.page+1)),e=d(a.cssPageDisplay,a.container),b=a.output.replace(/\{(page|filteredRows|filteredPages|totalPages|startRow|endRow|totalRows)\}/gi,function(b){return{"{page}":a.page+1,"{filteredRows}":a.filteredRows,"{filteredPages}":a.filteredPages,"{totalPages}":a.totalPages,"{startRow}":a.startRow,"{endRow}":a.endRow,"{totalRows}":a.totalRows}[b]}),e[0]&&(e["INPUT"===e[0].tagName?"val": "html"](b),d(a.cssGoto,a.container).length))){f="";e=Math.min(a.totalPages,a.filteredPages);for(b=1;b<=e;b++)f+="<option>"+b+"</option>";d(a.cssGoto,a.container).html(f).val(a.page+1)}p(a);d(c).trigger("pagerComplete",a)},t=function(c,a){var b,e=d(c.tBodies[0]);if(a.fixedHeight&&(e.find("tr.pagerSavedHeightSpacer").remove(),b=d.data(c,"pagerSavedHeight")))b-=e.height(),5<b&&(d.data(c,"pagerLastSize")===a.size&&e.find("tr:visible").length<a.size)&&e.append('<tr class="pagerSavedHeightSpacer remove-me" style="height:'+ b+'px;"></tr>')},q=function(c,a){var b=d(c.tBodies[0]);b.find("tr.pagerSavedHeightSpacer").remove();d.data(c,"pagerSavedHeight",b.height());t(c,a);d.data(c,"pagerLastSize",a.size)},n=function(c,a){var b,e=d("tr:not(."+c.config.cssChildRow+")",c.tBodies),f=e.length,g=a.page*a.size,h=g+a.size,j=0;for(b=0;b<f;b++)/filtered/.test(e[b].className)||(e[b].style.display=j>=g&&j<h?"":"none",j++)},v=function(c,a){a.size=parseInt(d(a.cssPageSize,a.container).val(),10)||a.size;d.data(c,"pagerLastSize",a.size); p(a);a.removeRows||(n(c,a),d(c).bind("sortEnd.pager filterEnd.pager",function(){n(c,a)}))},w=function(c,a,b,e){if("function"===typeof b.ajaxProcessing){var f,g,h,j,i=d(a),n=d(a.tBodies).filter(":not(."+a.config.cssInfoBlock+")"),m=i.find("thead th").length,l="",p='<tr class="remove-me"><td style="text-align: center;" colspan="'+m+'">'+(e?e.message+" ("+e.name+")":"No rows found")+"</td></tr>",k=b.ajaxProcessing(c)||[0,[]],u=k[1]||[],q=u.length,r=k[2];if(0<q)for(c=0;c<q;c++){l+="<tr>";for(f=0;f<u[c].length;f++)l+= "<td>"+u[c][f]+"</td>";l+="</tr>"}r&&r.length===m&&(g=i.hasClass("hasStickyHeaders"),j=i.find("."+(b.widgetOptions&&b.widgetOptions.stickyHeaders||"tablesorter-stickyheader")),h=i.find("tfoot tr:first").children(),i.find("thead tr.tablesorter-header th").each(function(b){var a=d(this),a=a.find("span").length?a.find("span:first"):a;a.html(r[b]);h.eq(b).html(r[b]);g&&j.length&&(a=j.find("th").eq(b),a=a.find("span").length?a.find("span:first"):a,a.html(r[b]))}));e?i.find("thead").append(p):n.html(l); b.temp.remove();i.trigger("update");b.totalRows=k[0]||0;b.totalPages=Math.ceil(b.totalRows/b.size);s(a,b);t(a,b);i.trigger("pagerChange",b)}},x=function(c,a){var b=d(c),e=a.ajaxUrl.replace(/\{page\}/g,a.page).replace(/\{size\}/g,a.size);""!==e&&(a.temp=d("<div/>",{"class":"tablesorter-processing",width:b.outerWidth(!0),height:b.outerHeight(!0)}),b.before(a.temp),d(document).ajaxError(function(b,d,e,h){w(null,c,a,h)}),d.getJSON(e,function(b){w(b,c,a)}))},k=function(c,a,b){var e,f,g,k=document.createDocumentFragment(), j=a.length;e=b.page*b.size;var i=e+b.size;if(!(1>j)){d(c).trigger("pagerChange",b);if(b.removeRows){i>a.length&&(i=a.length);d(c.tBodies[0]).addClass("tablesorter-hidden");for(d.tablesorter.clearTableBody(c);e<i;e++){g=a[e];j=g.length;for(f=0;f<j;f++)k.appendChild(g[f])}c.tBodies[0].appendChild(k);d(c.tBodies[0]).removeClass("tablesorter-hidden")}else n(c,b);b.page>=b.totalPages&&(b.page=Math.min(b.totalPages,b.filteredPages)-1,h(c,b));s(c,b);b.isDisabled||t(c,b);d(c).trigger("applyWidgets")}},y= function(c,a){a.ajax?p(a,!0):(a.isDisabled=!0,d.data(c,"pagerLastPage",a.page),d.data(c,"pagerLastSize",a.size),a.page=0,a.size=a.totalRows,a.totalPages=1,d("tr.pagerSavedHeightSpacer",c.tBodies[0]).remove(),k(c,c.config.rowsCopy,a));d(a.cssPageSize,a.container).addClass(a.cssDisabled)[0].disabled=!0},h=function(c,a){if(!a.isDisabled){var b=Math.min(a.totalPages,a.filteredPages);if(0>a.page||a.page>b-1)a.page=0;d.data(c,"pagerLastPage",a.page);a.ajax?x(c,a):k(c,c.config.rowsCopy,a)}},z=function(c, a,b){b.size=a;d.data(c,"pagerLastPage",b.page);d.data(c,"pagerLastSize",b.size);b.totalPages=Math.ceil(b.totalRows/b.size);h(c,b)},A=function(c,a,b){var e=d(a.cssPageSize,a.container).removeClass(a.cssDisabled).removeAttr("disabled");a.isDisabled=!1;a.page=d.data(c,"pagerLastPage")||a.page||0;a.size=d.data(c,"pagerLastSize")||parseInt(e.val(),10)||a.size;a.totalPages=Math.ceil(Math.min(a.totalPages,a.filteredPages)/a.size);b&&(d(c).trigger("update"),z(c,a.size,a),v(c,a),t(c,a))};m.appender=function(c, a){var b=c.config.pager;b.ajax||(c.config.rowsCopy=a,b.totalRows=a.length,b.size=d.data(c,"pagerLastSize")||b.size,b.totalPages=Math.ceil(b.totalRows/b.size),k(c,a,b))};m.construct=function(c){return this.each(function(){var a=this.config,b=a.pager=d.extend({},d.tablesorterPager.defaults,c),e=this,f=d(e),g=d(b.container).addClass("tablesorter-pager").show();a.appender=m.appender;A(e,b,!1);"string"===typeof b.ajaxUrl?(b.ajax=!0,x(e,b)):(b.ajax=!1,d(this).trigger("appendCache",!0),v(e,b));d(e).hasClass("hasFilters")&& d(e).unbind("filterEnd.pager").bind("filterEnd.pager",function(){b.page=0;s(e,b);h(e,b);q(e,b)});d(b.cssGoto,g).length&&(d(b.cssGoto,g).bind("change",function(){b.page=d(this).val()-1;h(e,b)}),s(e,b));d(b.cssFirst,g).unbind("click.pager").bind("click.pager",function(){d(this).hasClass(b.cssDisabled)||(b.page=0,h(e,b));return!1});d(b.cssNext,g).unbind("click.pager").bind("click.pager",function(){d(this).hasClass(b.cssDisabled)||(b.page++,b.page>=Math.min(b.totalPages,b.filteredPages)-1&&(b.page=Math.min(b.totalPages, b.filteredPages)-1),h(e,b));return!1});d(b.cssPrev,g).unbind("click.pager").bind("click.pager",function(){d(this).hasClass(b.cssDisabled)||(b.page--,0>=b.page&&(b.page=0),h(e,b));return!1});d(b.cssLast,g).unbind("click.pager").bind("click.pager",function(){d(this).hasClass(b.cssDisabled)||(b.page=Math.min(b.totalPages,b.filteredPages)-1,h(e,b));return!1});d(b.cssPageSize,g).unbind("change.pager").bind("change.pager",function(){d(b.cssPageSize,g).val(d(this).val());d(this).hasClass(b.cssDisabled)|| (z(e,parseInt(d(this).val(),10),b),q(e,b));return!1});f.unbind("disable.pager enable.pager destroy.pager update.pager").bind("disable.pager",function(){y(e,b)}).bind("enable.pager",function(){A(e,b,!0)}).bind("destroy.pager",function(){y(e,b);d(b.container).hide();e.config.appender=null;d(e).unbind("destroy.pager sortEnd.pager filterEnd.pager enable.pager disable.pager")}).bind("update.pager",function(){n(e,b)})})}}});d.fn.extend({tablesorterPager:d.tablesorterPager.construct})})(jQuery);
View
413 css/theme.all.css
@@ -1,413 +0,0 @@
-/*!
-* TableSorter 2.3.11
-* https://github.com/Mottie/tablesorter/
-*
-* Dual licensed: MIT & GPLv2
-* Original Copyright (c) 2007 Christian Bach
-* Date: Mon Jul 16 23:06:22 UTC 2012
-*/
-/* =======================================================================
-theme.blue.css
-========================================================================== */
-table.tablesorter-blue {
- width: 100%;
- font: 11px/18px Arial, Sans-serif;
- text-align: left;
- background-color: #cdcdcd;
- border-spacing: 0;
-}
-table.tablesorter-blue,
-table.tablesorter-blue th,
-table.tablesorter-blue td {
- border: #cdcdcd 1px solid;
-}
-table.tablesorter-blue th {
- padding: 4px;
- font: 12px/18px Arial, Sans-serif;
- color: #000;
- background-color: #99bfe6;
- border-collapse: collapse;
-}
-table.tablesorter-blue .header,
-table.tablesorter-blue .tablesorter-header {
- padding: 4px 20px 4px 4px;
- cursor: pointer;
- /* black double arrow */
- background-image: url(data:image/gif;base64,R0lGODlhFQAJAIAAACMtMP///yH5BAEAAAEALAAAAAAVAAkAAAIXjI+AywnaYnhUMoqt3gZXPmVg94yJVQAAOw==);
- /* white double arrow */
- /* background-image: url(data:image/gif;base64,R0lGODlhFQAJAIAAAP///////yH5BAEAAAEALAAAAAAVAAkAAAIXjI+AywnaYnhUMoqt3gZXPmVg94yJVQAAOw==); */
- /* image */
- /* background-image: url(black-bg.gif); */
- background-position: center right;
- background-repeat: no-repeat;
-}
-table.tablesorter-blue tbody td {
- padding: 4px;
- color: #3d3d3d;
- vertical-align: top;
- background-color: #fff;
-}
-table.tablesorter-blue th.headerSortUp,
-table.tablesorter-blue th.tablesorter-headerSortUp {
- background-color: #9fbfdf;
- /* black asc arrow */
- background-image: url(data:image/gif;base64,R0lGODlhFQAEAIAAACMtMP///yH5BAEAAAEALAAAAAAVAAQAAAINjB+gC+jP2ptn0WskLQA7);
- /* white asc arrow */
- /* background-image: url(data:image/gif;base64,R0lGODlhFQAEAIAAAP///////yH5BAEAAAEALAAAAAAVAAQAAAINjB+gC+jP2ptn0WskLQA7); */
- /* image */
- /* background-image: url(black-asc.gif); */
-}
-table.tablesorter-blue th.headerSortDown,
-table.tablesorter-blue th.tablesorter-headerSortDown {
- background-color: #8cb3d9;
- /* black desc arrow */
- background-image: url(data:image/gif;base64,R0lGODlhFQAEAIAAACMtMP///yH5BAEAAAEALAAAAAAVAAQAAAINjI8Bya2wnINUMopZAQA7);
- /* white desc arrow */
- /* background-image: url(data:image/gif;base64,R0lGODlhFQAEAIAAAP///////yH5BAEAAAEALAAAAAAVAAQAAAINjI8Bya2wnINUMopZAQA7); */
- /* image */
- /* background-image: url(black-desc.gif); */
-}
-
-/* hovered row colors */
-table.tablesorter-blue tbody tr:hover td,
-table.tablesorter-blue tbody tr.even:hover td {
- background: #d9d9d9;
-}
-table.tablesorter-blue tbody tr.odd:hover td {
- background: #bfbfbf;
-}
-
-/* Zebra Widget - row alternating colors */
-table.tablesorter-blue tr.odd td {
- background-color: #ebf2fa;
-}
-table.tablesorter-blue tr.even td {
- background-color: #fff;
-}
-
-/* Column Widget - column sort colors */
-.tablesorter-blue td.primary,
-.tablesorter-blue tr.odd td.primary {
- background-color: #99b3e6;
-}
-.tablesorter-blue tr.even td.primary {
- background-color: #c2d1f0;
-}
-.tablesorter-blue td.secondary,
-.tablesorter-blue tr.odd td.secondary {
- background-color: #c2d1f0;
-}
-.tablesorter-blue tr.even td.secondary {
- background-color: #d6e0f5;
-}
-.tablesorter-blue td.tertiary,
-.tablesorter-blue tr.odd td.tertiary {
- background-color: #d6e0f5;
-}
-.tablesorter-blue tr.even td.tertiary {
- background-color: #ebf0fa;
-}
-
-/* filter widget */
-table.tablesorter-blue input.tablesorter-filter,
-table.tablesorter-blue select.tablesorter-filter {
- width: 95%;
- height: inherit;
- -webkit-box-sizing: border-box;
- -moz-box-sizing: border-box;
- box-sizing: border-box;
-}
-table.tablesorter-blue tr.tablesorter-filter,
-table.tablesorter-blue tr.tablesorter-filter td {
- text-align: center;
- background: #fff;
-}
-table.tablesorter-blue input.tablesorter-filter.disabled,
-table.tablesorter-blue select.tablesorter-filter.disabled {
- opacity: 0.5;
- filter: alpha(opacity=50);
-}
-/* ======================================================================= */
-
-/* =======================================================================
-theme.green.css
-========================================================================== */
-table.tablesorter-green {
- width: 100%;
- font: 12px/16px Arial;
- text-align: left;
- background-color: #cdcdcd;
- border-spacing: 0;
-}
-table.tablesorter-green,
-table.tablesorter-green th,
-table.tablesorter-green td {
- border: #cdcdcd 1px solid;
-}
-table.tablesorter-green th {
- padding: 5px;
- border-collapse: collapse;
-}
-table.tablesorter-green td {
- padding: 5px;
- color: #3d3d3d;
-}
-table.tablesorter-green thead tr,
-table.tablesorter-green tfoot tr {
- background: url(bkgd.png) center center repeat-x;
-}
-table.tablesorter-green th.header,
-table.tablesorter-green th.tablesorter-header {
- height: auto;
- padding: 9px;
- cursor: pointer;
- background: transparent;
- border-right: #cdcdcd 1px solid;
-}
-table.tablesorter-green th.header span:first-child,
-table.tablesorter-green th.tablesorter-header .tablesorter-header-inner {
- padding: 2px 0 2px 25px;
- background: url(none.png) no-repeat;
-}
-table.tablesorter-green th.headerSortUp span:first-child,
-table.tablesorter-green th.tablesorter-headerSortUp .tablesorter-header-inner {
- background: url(asc.png) no-repeat;
-}
-table.tablesorter-green th.headerSortDown span:first-child,
-table.tablesorter-green th.tablesorter-headerSortDown .tablesorter-header-inner {
- background: url(desc.png) no-repeat;
-}
-
-/* hovered row colors */
-table.tablesorter-green tbody tr:hover td,
-table.tablesorter-green tbody tr.even:hover td {
- background: #dfe5d7;
-}
-table.tablesorter-green tbody tr.odd:hover td {
- background: #e9f0e2;
-}
-
-/* Zebra Widget - row alternating colors */
-table.tablesorter-green tr.odd td {
- background-color: #ebfaeb;
-}
-table.tablesorter-green tr.even td {
- background-color: #fff;
-}
-
-/* Column Widget - column sort colors */
-.tablesorter-green td.primary,
-.tablesorter-green tr.odd td.primary {
- background-color: #99e6a6;
-}
-.tablesorter-green tr.even td.primary {
- background-color: #c2f0c9;
-}
-.tablesorter-green td.secondary,
-.tablesorter-green tr.odd td.secondary {
- background-color: #c2f0c9;
-}
-.tablesorter-green tr.even td.secondary {
- background-color: #d6f5db;
-}
-.tablesorter-green td.tertiary,
-.tablesorter-green tr.odd td.tertiary {
- background-color: #d6f5db;
-}
-.tablesorter-green tr.even td.tertiary {
- background-color: #ebfaed;
-}
-
-/* Filter Widget */
-table.tablesorter-green input.tablesorter-filter,
-table.tablesorter-green select.tablesorter-filter {
- width: 95%;
- height: inherit;
- -webkit-box-sizing: border-box;
- -moz-box-sizing: border-box;
- box-sizing: border-box;
-}
-table.tablesorter-green tr.tablesorter-filter,
-table.tablesorter-green tr.tablesorter-filter td {
- text-align: center;
- background: #fff;
-}
-table.tablesorter-green input.tablesorter-filter.disabled,
-table.tablesorter-green select.tablesorter-filter.disabled {
- opacity: 0.5;
- filter: alpha(opacity=50);
-}
-/* ======================================================================= */
-
-/* =======================================================================
-theme.ice.css
-========================================================================== */
-table.tablesorter-ice {
- width: 100%;
- margin-right: auto;
- margin-left: auto;
- font: 11px/18px Arial, Sans-serif;
- text-align: left;
- background-color: #fff;
- border-collapse: collapse;
- border-spacing: 0;
-}
-table.tablesorter-ice th {
- font: bold 13px/20px Arial, Sans-serif;
- color: #000;
- text-align: left;
- background: #f6f8f9;
- border: 1px solid #ccc;
-}
-table.tablesorter-ice td {
- padding: 4px;
- color: #333;
- vertical-align: top;
- border: 1px solid #ccc;
-}
-table.tablesorter-ice .header,
-table.tablesorter-ice .tablesorter-header {
- padding: 4px 18px 4px 4px;
- cursor: pointer;
- background: #f6f8f9 url(ice-none.gif) no-repeat center right;
-}
-table.tablesorter-ice th.headerSortUp,
-table.tablesorter-ice th.tablesorter-headerSortUp {
- background: #ebedee url(ice-asc.gif) no-repeat center right;
-}
-table.tablesorter-ice th.headerSortDown,
-table.tablesorter-ice th.tablesorter-headerSortDown {
- background: #ebedee url(ice-desc.gif) no-repeat center right;
-}
-
-/* hovered row colors */
-table.tablesorter-ice tbody tr:hover td,
-table.tablesorter-ice tbody tr.even:hover td,
-table.tablesorter-ice tbody tr.odd:hover td {
- background: #ebf2fa;
-}
-
-/* Zebra Widget - row alternating colors */
-table.tablesorter-ice tr.odd td {
- background-color: #dfdfdf;
-}
-table.tablesorter-ice tr.even td {
- background-color: #efefef;
-}
-
-/* Column Widget - column sort colors */
-.tablesorter-ice td.primary,
-.tablesorter-ice tr.odd td.primary {
- background-color: #9ae5e5;
-}
-.tablesorter-ice tr.even td.primary {
- background-color: #c2f0f0;
-}
-.tablesorter-ice td.secondary,
-.tablesorter-ice tr.odd td.secondary {
- background-color: #c2f0f0;
-}
-.tablesorter-ice tr.even td.secondary {
- background-color: #d5f5f5;
-}
-.tablesorter-ice td.tertiary,
-.tablesorter-ice tr.odd td.tertiary {
- background-color: #d5f5f5;
-}
-.tablesorter-ice tr.even td.tertiary {
- background-color: #ebfafa;
-}
-
-/* Filter Widget */
-table.tablesorter-ice input.tablesorter-filter {
- width: 100%;
- height: inherit;
- -webkit-box-sizing: border-box;
- -moz-box-sizing: border-box;
- box-sizing: border-box;
-}
-table.tablesorter-ice tr.tablesorter-filter,
-table.tablesorter-ice tr.tablesorter-filter td {
- text-align: center;
- background: #eee;
-}
-table.tablesorter-ice input.tablesorter-filter.disabled,
-table.tablesorter-ice select.tablesorter-filter.disabled {
- opacity: 0.5;
- filter:alpha(opacity=50);
-}
-
-/* StickyHeaders Widget */
-table.tablesorter-ice thead tr.tablesorter-stickyHeader {
- padding: 2px 1px;
- background-color: #fff;
-}
-/* fix messed up offset by sticky header calc */
-table.tablesorter-ice thead tr.tablesorter-stickyHeader th.tablesorter-header {
- padding: 4px 18px 4px 3px;
-}
-/* ======================================================================= */
-
-/* =======================================================================
-uitheme.jui.css
-========================================================================== */
-table.tablesorter-uitheme {
- width: 100%;
- font: 11px/18px Arial, Sans-serif;
- text-align: left;
- padding: 5px;
-}
-table.tablesorter-uitheme thead tr th,
-table.tablesorter-uitheme tfoot tr th {
- border-collapse: collapse;
- font-size: 8pt;
- padding: 4px;
-}
-table.tablesorter-uitheme thead tr th {
- background-repeat: no-repeat;
- background-position: center right;
- cursor: pointer;
- white-space: normal;
- /* UI hover and active states make the font normal and the table resizes, this fixes it */
- font-weight: bold !important;
-}
-table.tablesorter-uitheme thead tr th .tablesorter-inner {
- position: relative;
- padding-right: 20px; /* wider than the icon */
-}
-table.tablesorter-uitheme thead tr th .ui-icon {
- position: absolute;
- right: 3px;
- top: 50%;
- margin-top: -8px; /* half the icon height; older IE doesn't like this */
-}
-
-table.tablesorter-uitheme tbody td {
- padding: 4px;
- vertical-align: top;
-}
-/* This allows you to use ui-state-default as the zebra stripe color */
-table.tablesorter-uitheme tr.ui-state-default {
- background-image: url();
- font-weight: normal;
-}
-
-/* Filter Widget */
-table.tablesorter-uitheme input.tablesorter-filter,
-table.tablesorter-uitheme select.tablesorter-filter {
- width: 95%;
- height: inherit;
- -webkit-box-sizing: border-box;
- -moz-box-sizing: border-box;
- box-sizing: border-box;
-}
-table.tablesorter-uitheme tr.tablesorter-filter,
-table.tablesorter-uitheme tr.tablesorter-filter td {
- text-align: center;
-}
-table.tablesorter-uitheme input.tablesorter-filter.disabled,
-table.tablesorter-uitheme select.tablesorter-filter.disabled {
- opacity: 0.5;
- filter: alpha(opacity=50);
-}
-/* ======================================================================= */
View
6 css/theme.black-ice.css
@@ -60,9 +60,9 @@
}
/* hovered row colors */
-.tablesorter-blackice tbody tr:hover td,
-.tablesorter-blackice tbody tr.even:hover td,
-.tablesorter-blackice tbody tr.odd:hover td {
+.tablesorter-blackice tbody > tr:hover > td,
+.tablesorter-blackice tbody > tr.even:hover > td,
+.tablesorter-blackice tbody > tr.odd:hover > td {
background: #000;
}
View
18 css/theme.blue.css
@@ -87,17 +87,17 @@
you'll need to add additional lines for
rows with more than 2 child rows
*/
-.tablesorter-blue tbody tr:hover td,
-.tablesorter-blue tbody tr:hover + tr.tablesorter-childRow td,
-.tablesorter-blue tbody tr:hover + tr.tablesorter-childRow + tr.tablesorter-childRow td,
-.tablesorter-blue tbody tr.even:hover td,
-.tablesorter-blue tbody tr.even:hover + tr.tablesorter-childRow td,
-.tablesorter-blue tbody tr.even:hover + tr.tablesorter-childRow + tr.tablesorter-childRow td {
+.tablesorter-blue tbody > tr:hover > td,
+.tablesorter-blue tbody > tr:hover + tr.tablesorter-childRow > td,
+.tablesorter-blue tbody > tr:hover + tr.tablesorter-childRow + tr.tablesorter-childRow > td,
+.tablesorter-blue tbody > tr.even:hover > td,
+.tablesorter-blue tbody > tr.even:hover + tr.tablesorter-childRow > td,
+.tablesorter-blue tbody > tr.even:hover + tr.tablesorter-childRow + tr.tablesorter-childRow > td {
background: #d9d9d9;
}
-.tablesorter-blue tbody tr.odd:hover td,
-.tablesorter-blue tbody tr.odd:hover + tr.tablesorter-childRow td,
-.tablesorter-blue tbody tr.odd:hover + tr.tablesorter-childRow + tr.tablesorter-childRow td {
+.tablesorter-blue tbody > tr.odd:hover > td,
+.tablesorter-blue tbody > tr.odd:hover + tr.tablesorter-childRow > td,
+.tablesorter-blue tbody > tr.odd:hover + tr.tablesorter-childRow + tr.tablesorter-childRow > td {
background: #bfbfbf;
}
View
11 css/theme.bootstrap.css
@@ -25,10 +25,15 @@
box-shadow: inset 0 1px 0 white;
}
+.tablesorter-bootstrap .tablesorter-header-inner {
+ position: relative;
+ padding: 4px 18px 4px 4px;
+}
+
/* bootstrap uses <i> for icons */
.tablesorter-bootstrap .tablesorter-header i {
position: absolute;
- right: 5px;
+ right: 2px;
top: 50%;
margin-top: -7px; /* half the icon height; older IE doesn't like this */
width: 14px;
@@ -45,8 +50,8 @@
.tablesorter-bootstrap tr.odd td {
background-color: #f9f9f9;
}
-.tablesorter-bootstrap .odd:hover td,
-.tablesorter-bootstrap .even:hover td {
+.tablesorter-bootstrap tbody > .odd:hover > td,
+.tablesorter-bootstrap tbody > .even:hover > td {
background-color: #f5f5f5;
}
.tablesorter-bootstrap tr.even td {
View
7 css/theme.dark.css
@@ -55,12 +55,13 @@
padding: 4px;
background-color: #000;
border-bottom: #333 1px solid;
+ color: #ccc;
}
/* hovered row colors */
-.tablesorter-dark tbody tr:hover td,
-.tablesorter-dark tbody tr.even:hover td,
-.tablesorter-dark tbody tr.odd:hover td {
+.tablesorter-dark tbody > tr:hover > td,
+.tablesorter-dark tbody > tr.even:hover > td,
+.tablesorter-dark tbody > tr.odd:hover > td {
background: #000;
}
View
6 css/theme.default.css
@@ -61,9 +61,9 @@ Default Theme
}
/* hovered row colors */
-.tablesorter-default tbody tr:hover td,
-.tablesorter-default tbody tr.even:hover td,
-.tablesorter-default tbody tr.odd:hover td {
+.tablesorter-default tbody > tr:hover > td,
+.tablesorter-default tbody > tr.even:hover > td,
+.tablesorter-default tbody > tr.odd:hover > td {
background: #fff;
color: #000;
}
View
6 css/theme.dropbox.css
@@ -75,9 +75,9 @@
}
/* hovered row colors */
-.tablesorter-dropbox tbody tr:hover td,
-.tablesorter-dropbox tbody tr.even:hover td,
-.tablesorter-dropbox tbody tr.odd:hover td {
+.tablesorter-dropbox tbody > tr:hover > td,
+.tablesorter-dropbox tbody > tr.even:hover > td,
+.tablesorter-dropbox tbody > tr.odd:hover > td {
background-color: rgba(230, 245, 255, 0.3);
border-right: 0;
border-left: 0;
View
87 css/theme.global.css
@@ -1,87 +0,0 @@
-/*************
- global css
- *************/
-.tablesorter {
- font: 11px/18px Arial, Sans-serif;
- margin: 10px 0 15px;
- width: 100%;
- text-align: left;
- border-spacing: 0;
-}
-.tablesorter th,
-.tablesorter thead td {
- border-collapse: collapse;
- font: 12px/18px Arial, Sans-serif;
- padding: 4px;
-}
-
-.tablesorter-header {
- cursor: pointer;
- white-space: normal;
-}
-
-/* needed for Firefox */
-.tablesorter .tablesorter-header-inner {
- position: relative;
-}
-
-.tablesorter tbody td {
- padding: 4px;
- vertical-align: top;
-}
-
-/* table processing indicator */
-.tablesorter-processing {
- /* background-image: url(icons/loading.gif); */
- background-image: url('data:image/gif;base64,R0lGODlhFAAUAKEAAO7u7lpaWgAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh+QQBCgACACwAAAAAFAAUAAACQZRvoIDtu1wLQUAlqKTVxqwhXIiBnDg6Y4eyx4lKW5XK7wrLeK3vbq8J2W4T4e1nMhpWrZCTt3xKZ8kgsggdJmUFACH5BAEKAAIALAcAAAALAAcAAAIUVB6ii7jajgCAuUmtovxtXnmdUAAAIfkEAQoAAgAsDQACAAcACwAAAhRUIpmHy/3gUVQAQO9NetuugCFWAAAh+QQBCgACACwNAAcABwALAAACE5QVcZjKbVo6ck2AF95m5/6BSwEAIfkEAQoAAgAsBwANAAsABwAAAhOUH3kr6QaAcSrGWe1VQl+mMUIBACH5BAEKAAIALAIADQALAAcAAAIUlICmh7ncTAgqijkruDiv7n2YUAAAIfkEAQoAAgAsAAAHAAcACwAAAhQUIGmHyedehIoqFXLKfPOAaZdWAAAh+QQFCgACACwAAAIABwALAAACFJQFcJiXb15zLYRl7cla8OtlGGgUADs=');
- background-position: center center;
- background-repeat: no-repeat;
-/*
- position: absolute;
- z-index: 1000;
-*/
-}
-
-/* optional disabled input styling */
-.tablesorter-filter-row .disabled {
- opacity: 0.5;
- filter: alpha(opacity=50);
- cursor: not-allowed;
-}
-
-/* filter widget */
-.tablesorter-filter-row .tablesorter-filter {
- width: 95%;
- height: inherit;
- margin: 0;
- padding: 0;
- background-color: #fff;
- color: #333;
- -webkit-box-sizing: border-box;
- -moz-box-sizing: border-box;
- box-sizing: border-box;
-}
-.tablesorter-filter-row td {
- background: #eee;
-}
-.tablesorter-filter-row.hideme td {
- margin: 0;
- height: 0;
- line-height: 0;
- overflow: hidden;
- -webkit-transition: height 0.2s ease;
- -moz-transition: height 0.2s ease;
- -o-transition: height 0.2s ease;
- transition: height 0.2s ease;
-}
-.tablesorter-filter-row.hideme .tablesorter-filter {
- height: 1px;
- min-height: 0;
- border: 0;
- padding: 0;
- margin: 0;
- -webkit-transition: height 0.2s ease;
- -moz-transition: height 0.2s ease;
- -o-transition: height 0.2s ease;
- transition: height 0.2s ease;
-}
View
18 css/theme.green.css
@@ -65,17 +65,17 @@
you'll need to add additional lines for
rows with more than 2 child rows
*/
-.tablesorter-green tbody tr:hover td,
-.tablesorter-green tbody tr:hover + tr.tablesorter-childRow td,
-.tablesorter-green tbody tr:hover + tr.tablesorter-childRow + tr.tablesorter-childRow td,
-.tablesorter-green tbody tr.even:hover td,
-.tablesorter-green tbody tr.even:hover + tr.tablesorter-childRow td,
-.tablesorter-green tbody tr.even:hover + tr.tablesorter-childRow + tr.tablesorter-childRow td {
+.tablesorter-green tbody > tr:hover > td,
+.tablesorter-green tbody > tr:hover + tr.tablesorter-childRow > td,
+.tablesorter-green tbody > tr:hover + tr.tablesorter-childRow + tr.tablesorter-childRow > td,
+.tablesorter-green tbody > tr.even:hover > td,
+.tablesorter-green tbody > tr.even:hover + tr.tablesorter-childRow > td,
+.tablesorter-green tbody > tr.even:hover + tr.tablesorter-childRow + tr.tablesorter-childRow > td {
background: #d9d9d9;
}
-.tablesorter-green tbody tr.odd:hover td,
-.tablesorter-green tbody tr.odd:hover + tr.tablesorter-childRow td,
-.tablesorter-green tbody tr.odd:hover + tr.tablesorter-childRow + tr.tablesorter-childRow td {
+.tablesorter-green tbody > tr.odd:hover > td,
+.tablesorter-green tbody > tr.odd:hover + tr.tablesorter-childRow > td,
+.tablesorter-green tbody > tr.odd:hover + tr.tablesorter-childRow + tr.tablesorter-childRow > td {
background: #bfbfbf;
}
View
23 css/theme.grey.css
@@ -41,8 +41,9 @@
width: 18px;
height: 10px;
position: absolute;
- right: 5px;
- top: 20%;
+ right: 2px;
+ top: 50%;
+ margin-top: -10px;
/* white (unsorted) double arrow */
background-image: url(data:image/gif;base64,R0lGODlhFQAJAIAAAP///////yH5BAEAAAEALAAAAAAVAAkAAAIXjI+AywnaYnhUMoqt3gZXPmVg94yJVQAAOw==);
background-repeat: no-repeat;
@@ -101,17 +102,17 @@
you'll need to add additional lines for
rows with more than 2 child rows
*/
-.tablesorter-grey tbody tr:hover td,
-.tablesorter-grey tbody tr:hover + tr.tablesorter-childRow td,
-.tablesorter-grey tbody tr:hover + tr.tablesorter-childRow + tr.tablesorter-childRow td,
-.tablesorter-grey tbody tr.even:hover td,
-.tablesorter-grey tbody tr.even:hover + tr.tablesorter-childRow td,
-.tablesorter-grey tbody tr.even:hover + tr.tablesorter-childRow + tr.tablesorter-childRow td {
+.tablesorter-grey tbody > tr:hover > td,
+.tablesorter-grey tbody > tr:hover + tr.tablesorter-childRow > td,
+.tablesorter-grey tbody > tr:hover + tr.tablesorter-childRow + tr.tablesorter-childRow > td,
+.tablesorter-grey tbody > tr.even:hover > td,
+.tablesorter-grey tbody > tr.even:hover + tr.tablesorter-childRow > td,
+.tablesorter-grey tbody > tr.even:hover + tr.tablesorter-childRow + tr.tablesorter-childRow > td {
background: #134b78;
}
-.tablesorter-grey tbody tr.odd:hover td,
-.tablesorter-grey tbody tr.odd:hover + tr.tablesorter-childRow td,
-.tablesorter-grey tbody tr.odd:hover + tr.tablesorter-childRow + tr.tablesorter-childRow td {
+.tablesorter-grey tbody > tr.odd:hover > td,
+.tablesorter-grey tbody > tr.odd:hover + tr.tablesorter-childRow > td,
+.tablesorter-grey tbody > tr.odd:hover + tr.tablesorter-childRow + tr.tablesorter-childRow > td {
background: #134b78;
}
View
6 css/theme.ice.css
@@ -63,9 +63,9 @@
}
/* hovered row colors */
-.tablesorter-ice tbody tr:hover td,
-.tablesorter-ice tbody tr.even:hover td,
-.tablesorter-ice tbody tr.odd:hover td {
+.tablesorter-ice tbody > tr:hover > td,
+.tablesorter-ice tbody > tr.even:hover > td,
+.tablesorter-ice tbody > tr.odd:hover > td {
background: #ebf2fa;
}
View
727 docs/css/bootstrap.min.css
@@ -0,0 +1,727 @@
+/*!
+ * Bootstrap v2.0.4
+ *
+ * Copyright 2012 Twitter, Inc
+ * Licensed under the Apache License v2.0
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Designed and built with all the love in the world @twitter by @mdo and @fat.
+ */
+.clearfix{*zoom:1;}.clearfix:before,.clearfix:after{display:table;content:"";}
+.clearfix:after{clear:both;}
+.hide-text{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0;}
+.input-block-level{display:block;width:100%;min-height:28px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box;}
+article,aside,details,figcaption,figure,footer,header,hgroup,nav,section{display:block;}
+audio,canvas,video{display:inline-block;*display:inline;*zoom:1;}
+audio:not([controls]){display:none;}
+html{font-size:100%;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;}
+a:focus{outline:thin dotted #333;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px;}
+a:hover,a:active{outline:0;}
+sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline;}
+sup{top:-0.5em;}
+sub{bottom:-0.25em;}
+img{max-width:100%;vertical-align:middle;border:0;-ms-interpolation-mode:bicubic;}
+#map_canvas img{max-width:none;}
+button,input,select,textarea{margin:0;font-size:100%;vertical-align:middle;}
+button,input{*overflow:visible;line-height:normal;}
+button::-moz-focus-inner,input::-moz-focus-inner{padding:0;border:0;}
+button,input[type="button"],input[type="reset"],input[type="submit"]{cursor:pointer;-webkit-appearance:button;}
+input[type="search"]{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;-webkit-appearance:textfield;}
+input[type="search"]::-webkit-search-decoration,input[type="search"]::-webkit-search-cancel-button{-webkit-appearance:none;}
+textarea{overflow:auto;vertical-align:top;}
+body{margin:0;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:13px;line-height:18px;color:#333333;background-color:#ffffff;}
+a{color:#0088cc;text-decoration:none;}
+a:hover{color:#005580;text-decoration:underline;}
+.row{margin-left:-20px;*zoom:1;}.row:before,.row:after{display:table;content:"";}
+.row:after{clear:both;}
+[class*="span"]{float:left;margin-left:20px;}
+.container,.navbar-fixed-top .container,.navbar-fixed-bottom .container{width:940px;}
+.span12{width:940px;}
+.span11{width:860px;}
+.span10{width:780px;}
+.span9{width:700px;}
+.span8{width:620px;}
+.span7{width:540px;}
+.span6{width:460px;}
+.span5{width:380px;}
+.span4{width:300px;}
+.span3{width:220px;}
+.span2{width:140px;}
+.span1{width:60px;}
+.offset12{margin-left:980px;}
+.offset11{margin-left:900px;}
+.offset10{margin-left:820px;}
+.offset9{margin-left:740px;}
+.offset8{margin-left:660px;}
+.offset7{margin-left:580px;}
+.offset6{margin-left:500px;}
+.offset5{margin-left:420px;}
+.offset4{margin-left:340px;}
+.offset3{margin-left:260px;}
+.offset2{margin-left:180px;}
+.offset1{margin-left:100px;}
+.row-fluid{width:100%;*zoom:1;}.row-fluid:before,.row-fluid:after{display:table;content:"";}
+.row-fluid:after{clear:both;}
+.row-fluid [class*="span"]{display:block;width:100%;min-height:28px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box;float:left;margin-left:2.127659574%;*margin-left:2.0744680846382977%;}
+.row-fluid [class*="span"]:first-child{margin-left:0;}
+.row-fluid .span12{width:99.99999998999999%;*width:99.94680850063828%;}
+.row-fluid .span11{width:91.489361693%;*width:91.4361702036383%;}
+.row-fluid .span10{width:82.97872339599999%;*width:82.92553190663828%;}
+.row-fluid .span9{width:74.468085099%;*width:74.4148936096383%;}
+.row-fluid .span8{width:65.95744680199999%;*width:65.90425531263828%;}
+.row-fluid .span7{width:57.446808505%;*width:57.3936170156383%;}
+.row-fluid .span6{width:48.93617020799999%;*width:48.88297871863829%;}
+.row-fluid .span5{width:40.425531911%;*width:40.3723404216383%;}
+.row-fluid .span4{width:31.914893614%;*width:31.8617021246383%;}
+.row-fluid .span3{width:23.404255317%;*width:23.3510638276383%;}
+.row-fluid .span2{width:14.89361702%;*width:14.8404255306383%;}
+.row-fluid .span1{width:6.382978723%;*width:6.329787233638298%;}
+.container{margin-right:auto;margin-left:auto;*zoom:1;}.container:before,.container:after{display:table;content:"";}
+.container:after{clear:both;}
+.container-fluid{padding-right:20px;padding-left:20px;*zoom:1;}.container-fluid:before,.container-fluid:after{display:table;content:"";}
+.container-fluid:after{clear:both;}
+p{margin:0 0 9px;}p small{font-size:11px;color:#999999;}
+.lead{margin-bottom:18px;font-size:20px;font-weight:200;line-height:27px;}
+h1,h2,h3,h4,h5,h6{margin:0;font-family:inherit;font-weight:bold;color:inherit;text-rendering:optimizelegibility;}h1 small,h2 small,h3 small,h4 small,h5 small,h6 small{font-weight:normal;color:#999999;}
+h1{font-size:30px;line-height:36px;}h1 small{font-size:18px;}
+h2{font-size:24px;line-height:36px;}h2 small{font-size:18px;}
+h3{font-size:18px;line-height:27px;}h3 small{font-size:14px;}
+h4,h5,h6{line-height:18px;}
+h4{font-size:14px;}h4 small{font-size:12px;}
+h5{font-size:12px;}
+h6{font-size:11px;color:#999999;text-transform:uppercase;}
+.page-header{padding-bottom:17px;margin:18px 0;border-bottom:1px solid #eeeeee;}
+.page-header h1{line-height:1;}
+ul,ol{padding:0;margin:0 0 9px 25px;}
+ul ul,ul ol,ol ol,ol ul{margin-bottom:0;}
+ul{list-style:disc;}
+ol{list-style:decimal;}
+li{line-height:18px;}
+ul.unstyled,ol.unstyled{margin-left:0;list-style:none;}
+dl{margin-bottom:18px;}
+dt,dd{line-height:18px;}
+dt{font-weight:bold;line-height:17px;}
+dd{margin-left:9px;}
+.dl-horizontal dt{float:left;width:120px;clear:left;text-align:right;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
+.dl-horizontal dd{margin-left:130px;}
+hr{margin:18px 0;border:0;border-top:1px solid #eeeeee;border-bottom:1px solid #ffffff;}
+strong{font-weight:bold;}
+em{font-style:italic;}
+.muted{color:#999999;}
+abbr[title]{cursor:help;border-bottom:1px dotted #999999;}
+abbr.initialism{font-size:90%;text-transform:uppercase;}
+blockquote{padding:0 0 0 15px;margin:0 0 18px;border-left:5px solid #eeeeee;}blockquote p{margin-bottom:0;font-size:16px;font-weight:300;line-height:22.5px;}
+blockquote small{display:block;line-height:18px;color:#999999;}blockquote small:before{content:'\2014 \00A0';}
+blockquote.pull-right{float:right;padding-right:15px;padding-left:0;border-right:5px solid #eeeeee;border-left:0;}blockquote.pull-right p,blockquote.pull-right small{text-align:right;}
+q:before,q:after,blockquote:before,blockquote:after{content:"";}
+address{display:block;margin-bottom:18px;font-style:normal;line-height:18px;}
+small{font-size:100%;}
+cite{font-style:normal;}
+code,pre{padding:0 3px 2px;font-family:Menlo,Monaco,Consolas,"Courier New",monospace;font-size:12px;color:#333333;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;}
+code{padding:2px 4px;color:#d14;background-color:#f7f7f9;border:1px solid #e1e1e8;}
+pre{display:block;padding:8.5px;margin:0 0 9px;font-size:12.025px;line-height:18px;word-break:break-all;word-wrap:break-word;white-space:pre;white-space:pre-wrap;background-color:#f5f5f5;border:1px solid #ccc;border:1px solid rgba(0, 0, 0, 0.15);-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;}pre.prettyprint{margin-bottom:18px;}
+pre code{padding:0;color:inherit;background-color:transparent;border:0;}
+.pre-scrollable{max-height:340px;overflow-y:scroll;}
+.label,.badge{font-size:10.998px;font-weight:bold;line-height:14px;color:#ffffff;vertical-align:baseline;white-space:nowrap;text-shadow:0 -1px 0 rgba(0, 0, 0, 0.25);background-color:#999999;}
+.label{padding:1px 4px 2px;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;}
+.badge{padding:1px 9px 2px;-webkit-border-radius:9px;-moz-border-radius:9px;border-radius:9px;}
+a.label:hover,a.badge:hover{color:#ffffff;text-decoration:none;cursor:pointer;}
+.label-important,.badge-important{background-color:#b94a48;}
+.label-important[href],.badge-important[href]{background-color:#953b39;}
+.label-warning,.badge-warning{background-color:#f89406;}
+.label-warning[href],.badge-warning[href]{background-color:#c67605;}
+.label-success,.badge-success{background-color:#468847;}
+.label-success[href],.badge-success[href]{background-color:#356635;}
+.label-info,.badge-info{background-color:#3a87ad;}
+.label-info[href],.badge-info[href]{background-color:#2d6987;}
+.label-inverse,.badge-inverse{background-color:#333333;}
+.label-inverse[href],.badge-inverse[href]{background-color:#1a1a1a;}
+table{max-width:100%;background-color:transparent;border-collapse:collapse;border-spacing:0;}
+.table{width:100%;margin-bottom:18px;}.table th,.table td{padding:8px;line-height:18px;text-align:left;vertical-align:top;border-top:1px solid #dddddd;}
+.table th{font-weight:bold;}
+.table thead th{vertical-align:bottom;}
+.table caption+thead tr:first-child th,.table caption+thead tr:first-child td,.table colgroup+thead tr:first-child th,.table colgroup+thead tr:first-child td,.table thead:first-child tr:first-child th,.table thead:first-child tr:first-child td{border-top:0;}
+.table tbody+tbody{border-top:2px solid #dddddd;}
+.table-condensed th,.table-condensed td{padding:4px 5px;}
+.table-bordered{border:1px solid #dddddd;border-collapse:separate;*border-collapse:collapsed;border-left:0;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;}.table-bordered th,.table-bordered td{border-left:1px solid #dddddd;}
+.table-bordered caption+thead tr:first-child th,.table-bordered caption+tbody tr:first-child th,.table-bordered caption+tbody tr:first-child td,.table-bordered colgroup+thead tr:first-child th,.table-bordered colgroup+tbody tr:first-child th,.table-bordered colgroup+tbody tr:first-child td,.table-bordered thead:first-child tr:first-child th,.table-bordered tbody:first-child tr:first-child th,.table-bordered tbody:first-child tr:first-child td{border-top:0;}
+.table-bordered thead:first-child tr:first-child th:first-child,.table-bordered tbody:first-child tr:first-child td:first-child{-webkit-border-top-left-radius:4px;border-top-left-radius:4px;-moz-border-radius-topleft:4px;}
+.table-bordered thead:first-child tr:first-child th:last-child,.table-bordered tbody:first-child tr:first-child td:last-child{-webkit-border-top-right-radius:4px;border-top-right-radius:4px;-moz-border-radius-topright:4px;}
+.table-bordered thead:last-child tr:last-child th:first-child,.table-bordered tbody:last-child tr:last-child td:first-child{-webkit-border-radius:0 0 0 4px;-moz-border-radius:0 0 0 4px;border-radius:0 0 0 4px;-webkit-border-bottom-left-radius:4px;border-bottom-left-radius:4px;-moz-border-radius-bottomleft:4px;}
+.table-bordered thead:last-child tr:last-child th:last-child,.table-bordered tbody:last-child tr:last-child td:last-child{-webkit-border-bottom-right-radius:4px;border-bottom-right-radius:4px;-moz-border-radius-bottomright:4px;}
+.table-striped tbody tr:nth-child(odd) td,.table-striped tbody tr:nth-child(odd) th{background-color:#f9f9f9;}
+.table tbody tr:hover td,.table tbody tr:hover th{background-color:#f5f5f5;}
+table .span1{float:none;width:44px;margin-left:0;}
+table .span2{float:none;width:124px;margin-left:0;}
+table .span3{float:none;width:204px;margin-left:0;}
+table .span4{float:none;width:284px;margin-left:0;}
+table .span5{float:none;width:364px;margin-left:0;}
+table .span6{float:none;width:444px;margin-left:0;}
+table .span7{float:none;width:524px;margin-left:0;}
+table .span8{float:none;width:604px;margin-left:0;}
+table .span9{float:none;width:684px;margin-left:0;}
+table .span10{float:none;width:764px;margin-left:0;}
+table .span11{float:none;width:844px;margin-left:0;}
+table .span12{float:none;width:924px;margin-left:0;}
+table .span13{float:none;width:1004px;margin-left:0;}
+table .span14{float:none;width:1084px;margin-left:0;}
+table .span15{float:none;width:1164px;margin-left:0;}
+table .span16{float:none;width:1244px;margin-left:0;}
+table .span17{float:none;width:1324px;margin-left:0;}
+table .span18{float:none;width:1404px;margin-left:0;}
+table .span19{float:none;width:1484px;margin-left:0;}
+table .span20{float:none;width:1564px;margin-left:0;}
+table .span21{float:none;width:1644px;margin-left:0;}
+table .span22{float:none;width:1724px;margin-left:0;}
+table .span23{float:none;width:1804px;margin-left:0;}
+table .span24{float:none;width:1884px;margin-left:0;}
+form{margin:0 0 18px;}
+fieldset{padding:0;margin:0;border:0;}
+legend{display:block;width:100%;padding:0;margin-bottom:27px;font-size:19.5px;line-height:36px;color:#333333;border:0;border-bottom:1px solid #e5e5e5;}legend small{font-size:13.5px;color:#999999;}
+label,input,button,select,textarea{font-size:13px;font-weight:normal;line-height:18px;}
+input,button,select,textarea{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;}
+label{display:block;margin-bottom:5px;}
+select,textarea,input[type="text"],input[type="password"],input[type="datetime"],input[type="datetime-local"],input[type="date"],input[type="month"],input[type="time"],input[type="week"],input[type="number"],input[type="email"],input[type="url"],input[type="search"],input[type="tel"],input[type="color"],.uneditable-input{display:inline-block;height:18px;padding:4px;margin-bottom:9px;font-size:13px;line-height:18px;color:#555555;}
+input,textarea{width:210px;}
+textarea{height:auto;}
+textarea,input[type="text"],input[type="password"],input[type="datetime"],input[type="datetime-local"],input[type="date"],input[type="month"],input[type="time"],input[type="week"],input[type="number"],input[type="email"],input[type="url"],input[type="search"],input[type="tel"],input[type="color"],.uneditable-input{background-color:#ffffff;border:1px solid #cccccc;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;-webkit-box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.075);-moz-box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.075);box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.075);-webkit-transition:border linear 0.2s,box-shadow linear 0.2s;-moz-transition:border linear 0.2s,box-shadow linear 0.2s;-ms-transition:border linear 0.2s,box-shadow linear 0.2s;-o-transition:border linear 0.2s,box-shadow linear 0.2s;transition:border linear 0.2s,box-shadow linear 0.2s;}textarea:focus,input[type="text"]:focus,input[type="password"]:focus,input[type="datetime"]:focus,input[type="datetime-local"]:focus,input[type="date"]:focus,input[type="month"]:focus,input[type="time"]:focus,input[type="week"]:focus,input[type="number"]:focus,input[type="email"]:focus,input[type="url"]:focus,input[type="search"]:focus,input[type="tel"]:focus,input[type="color"]:focus,.uneditable-input:focus{border-color:rgba(82, 168, 236, 0.8);outline:0;outline:thin dotted \9;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(82,168,236,.6);-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(82,168,236,.6);box-shadow:inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(82,168,236,.6);}
+input[type="radio"],input[type="checkbox"]{margin:3px 0;*margin-top:0;line-height:normal;cursor:pointer;}
+input[type="submit"],input[type="reset"],input[type="button"],input[type="radio"],input[type="checkbox"]{width:auto;}
+.uneditable-textarea{width:auto;height:auto;}
+select,input[type="file"]{height:28px;*margin-top:4px;line-height:28px;}
+select{width:220px;border:1px solid #bbb;}
+select[multiple],select[size]{height:auto;}
+select:focus,input[type="file"]:focus,input[type="radio"]:focus,input[type="checkbox"]:focus{outline:thin dotted #333;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px;}
+.radio,.checkbox{min-height:18px;padding-left:18px;}
+.radio input[type="radio"],.checkbox input[type="checkbox"]{float:left;margin-left:-18px;}
+.controls>.radio:first-child,.controls>.checkbox:first-child{padding-top:5px;}
+.radio.inline,.checkbox.inline{display:inline-block;padding-top:5px;margin-bottom:0;vertical-align:middle;}
+.radio.inline+.radio.inline,.checkbox.inline+.checkbox.inline{margin-left:10px;}
+.input-mini{width:60px;}
+.input-small{width:90px;}
+.input-medium{width:150px;}
+.input-large{width:210px;}
+.input-xlarge{width:270px;}
+.input-xxlarge{width:530px;}
+input[class*="span"],select[class*="span"],textarea[class*="span"],.uneditable-input[class*="span"],.row-fluid input[class*="span"],.row-fluid select[class*="span"],.row-fluid textarea[class*="span"],.row-fluid .uneditable-input[class*="span"]{float:none;margin-left:0;}
+.input-append input[class*="span"],.input-append .uneditable-input[class*="span"],.input-prepend input[class*="span"],.input-prepend .uneditable-input[class*="span"],.row-fluid .input-prepend [class*="span"],.row-fluid .input-append [class*="span"]{display:inline-block;}
+input,textarea,.uneditable-input{margin-left:0;}
+input.span12, textarea.span12, .uneditable-input.span12{width:930px;}
+input.span11, textarea.span11, .uneditable-input.span11{width:850px;}
+input.span10, textarea.span10, .uneditable-input.span10{width:770px;}
+input.span9, textarea.span9, .uneditable-input.span9{width:690px;}
+input.span8, textarea.span8, .uneditable-input.span8{width:610px;}
+input.span7, textarea.span7, .uneditable-input.span7{width:530px;}
+input.span6, textarea.span6, .uneditable-input.span6{width:450px;}
+input.span5, textarea.span5, .uneditable-input.span5{width:370px;}
+input.span4, textarea.span4, .uneditable-input.span4{width:290px;}
+input.span3, textarea.span3, .uneditable-input.span3{width:210px;}
+input.span2, textarea.span2, .uneditable-input.span2{width:130px;}
+input.span1, textarea.span1, .uneditable-input.span1{width:50px;}
+input[disabled],select[disabled],textarea[disabled],input[readonly],select[readonly],textarea[readonly]{cursor:not-allowed;background-color:#eeeeee;border-color:#ddd;}
+input[type="radio"][disabled],input[type="checkbox"][disabled],input[type="radio"][readonly],input[type="checkbox"][readonly]{background-color:transparent;}
+.control-group.warning>label,.control-group.warning .help-block,.control-group.warning .help-inline{color:#c09853;}
+.control-group.warning .checkbox,.control-group.warning .radio,.control-group.warning input,.control-group.warning select,.control-group.warning textarea{color:#c09853;border-color:#c09853;}.control-group.warning .checkbox:focus,.control-group.warning .radio:focus,.control-group.warning input:focus,.control-group.warning select:focus,.control-group.warning textarea:focus{border-color:#a47e3c;-webkit-box-shadow:0 0 6px #dbc59e;-moz-box-shadow:0 0 6px #dbc59e;box-shadow:0 0 6px #dbc59e;}
+.control-group.warning .input-prepend .add-on,.control-group.warning .input-append .add-on{color:#c09853;background-color:#fcf8e3;border-color:#c09853;}
+.control-group.error>label,.control-group.error .help-block,.control-group.error .help-inline{color:#b94a48;}
+.control-group.error .checkbox,.control-group.error .radio,.control-group.error input,.control-group.error select,.control-group.error textarea{color:#b94a48;border-color:#b94a48;}.control-group.error .checkbox:focus,.control-group.error .radio:focus,.control-group.error input:focus,.control-group.error select:focus,.control-group.error textarea:focus{border-color:#953b39;-webkit-box-shadow:0 0 6px #d59392;-moz-box-shadow:0 0 6px #d59392;box-shadow:0 0 6px #d59392;}
+.control-group.error .input-prepend .add-on,.control-group.error .input-append .add-on{color:#b94a48;background-color:#f2dede;border-color:#b94a48;}
+.control-group.success>label,.control-group.success .help-block,.control-group.success .help-inline{color:#468847;}
+.control-group.success .checkbox,.control-group.success .radio,.control-group.success input,.control-group.success select,.control-group.success textarea{color:#468847;border-color:#468847;}.control-group.success .checkbox:focus,.control-group.success .radio:focus,.control-group.success input:focus,.control-group.success select:focus,.control-group.success textarea:focus{border-color:#356635;-webkit-box-shadow:0 0 6px #7aba7b;-moz-box-shadow:0 0 6px #7aba7b;box-shadow:0 0 6px #7aba7b;}
+.control-group.success .input-prepend .add-on,.control-group.success .input-append .add-on{color:#468847;background-color:#dff0d8;border-color:#468847;}
+input:focus:required:invalid,textarea:focus:required:invalid,select:focus:required:invalid{color:#b94a48;border-color:#ee5f5b;}input:focus:required:invalid:focus,textarea:focus:required:invalid:focus,select:focus:required:invalid:focus{border-color:#e9322d;-webkit-box-shadow:0 0 6px #f8b9b7;-moz-box-shadow:0 0 6px #f8b9b7;box-shadow:0 0 6px #f8b9b7;}
+.form-actions{padding:17px 20px 18px;margin-top:18px;margin-bottom:18px;background-color:#f5f5f5;border-top:1px solid #e5e5e5;*zoom:1;}.form-actions:before,.form-actions:after{display:table;content:"";}
+.form-actions:after{clear:both;}
+.uneditable-input{overflow:hidden;white-space:nowrap;cursor:not-allowed;background-color:#ffffff;border-color:#eee;-webkit-box-shadow:inset 0 1px 2px rgba(0, 0, 0, 0.025);-moz-box-shadow:inset 0 1px 2px rgba(0, 0, 0, 0.025);box-shadow:inset 0 1px 2px rgba(0, 0, 0, 0.025);}
+:-moz-placeholder{color:#999999;}
+:-ms-input-placeholder{color:#999999;}
+::-webkit-input-placeholder{color:#999999;}
+.help-block,.help-inline{color:#555555;}
+.help-block{display:block;margin-bottom:9px;}
+.help-inline{display:inline-block;*display:inline;*zoom:1;vertical-align:middle;padding-left:5px;}
+.input-prepend,.input-append{margin-bottom:5px;}.input-prepend input,.input-append input,.input-prepend select,.input-append select,.input-prepend .uneditable-input,.input-append .uneditable-input{position:relative;margin-bottom:0;*margin-left:0;vertical-align:middle;-webkit-border-radius:0 3px 3px 0;-moz-border-radius:0 3px 3px 0;border-radius:0 3px 3px 0;}.input-prepend input:focus,.input-append input:focus,.input-prepend select:focus,.input-append select:focus,.input-prepend .uneditable-input:focus,.input-append .uneditable-input:focus{z-index:2;}
+.input-prepend .uneditable-input,.input-append .uneditable-input{border-left-color:#ccc;}
+.input-prepend .add-on,.input-append .add-on{display:inline-block;width:auto;height:18px;min-width:16px;padding:4px 5px;font-weight:normal;line-height:18px;text-align:center;text-shadow:0 1px 0 #ffffff;vertical-align:middle;background-color:#eeeeee;border:1px solid #ccc;}
+.input-prepend .add-on,.input-append .add-on,.input-prepend .btn,.input-append .btn{margin-left:-1px;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;}
+.input-prepend .active,.input-append .active{background-color:#a9dba9;border-color:#46a546;}
+.input-prepend .add-on,.input-prepend .btn{margin-right:-1px;}
+.input-prepend .add-on:first-child,.input-prepend .btn:first-child{-webkit-border-radius:3px 0 0 3px;-moz-border-radius:3px 0 0 3px;border-radius:3px 0 0 3px;}
+.input-append input,.input-append select,.input-append .uneditable-input{-webkit-border-radius:3px 0 0 3px;-moz-border-radius:3px 0 0 3px;border-radius:3px 0 0 3px;}
+.input-append .uneditable-input{border-right-color:#ccc;border-left-color:#eee;}
+.input-append .add-on:last-child,.input-append .btn:last-child{-webkit-border-radius:0 3px 3px 0;-moz-border-radius:0 3px 3px 0;border-radius:0 3px 3px 0;}
+.input-prepend.input-append input,.input-prepend.input-append select,.input-prepend.input-append .uneditable-input{-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;}
+.input-prepend.input-append .add-on:first-child,.input-prepend.input-append .btn:first-child{margin-right:-1px;-webkit-border-radius:3px 0 0 3px;-moz-border-radius:3px 0 0 3px;border-radius:3px 0 0 3px;}
+.input-prepend.input-append .add-on:last-child,.input-prepend.input-append .btn:last-child{margin-left:-1px;-webkit-border-radius:0 3px 3px 0;-moz-border-radius:0 3px 3px 0;border-radius:0 3px 3px 0;}
+.search-query{padding-right:14px;padding-right:4px \9;padding-left:14px;padding-left:4px \9;margin-bottom:0;-webkit-border-radius:14px;-moz-border-radius:14px;border-radius:14px;}
+.form-search input,.form-inline input,.form-horizontal input,.form-search textarea,.form-inline textarea,.form-horizontal textarea,.form-search select,.form-inline select,.form-horizontal select,.form-search .help-inline,.form-inline .help-inline,.form-horizontal .help-inline,.form-search .uneditable-input,.form-inline .uneditable-input,.form-horizontal .uneditable-input,.form-search .input-prepend,.form-inline .input-prepend,.form-horizontal .input-prepend,.form-search .input-append,.form-inline .input-append,.form-horizontal .input-append{display:inline-block;*display:inline;*zoom:1;margin-bottom:0;}
+.form-search .hide,.form-inline .hide,.form-horizontal .hide{display:none;}
+.form-search label,.form-inline label{display:inline-block;}
+.form-search .input-append,.form-inline .input-append,.form-search .input-prepend,.form-inline .input-prepend{margin-bottom:0;}
+.form-search .radio,.form-search .checkbox,.form-inline .radio,.form-inline .checkbox{padding-left:0;margin-bottom:0;vertical-align:middle;}
+.form-search .radio input[type="radio"],.form-search .checkbox input[type="checkbox"],.form-inline .radio input[type="radio"],.form-inline .checkbox input[type="checkbox"]{float:left;margin-right:3px;margin-left:0;}
+.control-group{margin-bottom:9px;}
+legend+.control-group{margin-top:18px;-webkit-margin-top-collapse:separate;}
+.form-horizontal .control-group{margin-bottom:18px;*zoom:1;}.form-horizontal .control-group:before,.form-horizontal .control-group:after{display:table;content:"";}
+.form-horizontal .control-group:after{clear:both;}
+.form-horizontal .control-label{float:left;width:140px;padding-top:5px;text-align:right;}
+.form-horizontal .controls{*display:inline-block;*padding-left:20px;margin-left:160px;*margin-left:0;}.form-horizontal .controls:first-child{*padding-left:160px;}
+.form-horizontal .help-block{margin-top:9px;margin-bottom:0;}
+.form-horizontal .form-actions{padding-left:160px;}
+.btn{display:inline-block;*display:inline;*zoom:1;padding:4px 10px 4px;margin-bottom:0;font-size:13px;line-height:18px;*line-height:20px;color:#333333;text-align:center;text-shadow:0 1px 1px rgba(255, 255, 255, 0.75);vertical-align:middle;cursor:pointer;background-color:#f5f5f5;background-image:-moz-linear-gradient(top, #ffffff, #e6e6e6);background-image:-ms-linear-gradient(top, #ffffff, #e6e6e6);background-image:-webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6e6e6));background-image:-webkit-linear-gradient(top, #ffffff, #e6e6e6);background-image:-o-linear-gradient(top, #ffffff, #e6e6e6);background-image:linear-gradient(top, #ffffff, #e6e6e6);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#e6e6e6', GradientType=0);border-color:#e6e6e6 #e6e6e6 #bfbfbf;border-color:rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);*background-color:#e6e6e6;filter:progid:DXImageTransform.Microsoft.gradient(enabled = false);border:1px solid #cccccc;*border:0;border-bottom-color:#b3b3b3;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;*margin-left:.3em;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);-moz-box-shadow:inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);box-shadow:inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);}.btn:hover,.btn:active,.btn.active,.btn.disabled,.btn[disabled]{background-color:#e6e6e6;*background-color:#d9d9d9;}
+.btn:active,.btn.active{background-color:#cccccc \9;}
+.btn:first-child{*margin-left:0;}
+.btn:hover{color:#333333;text-decoration:none;background-color:#e6e6e6;*background-color:#d9d9d9;background-position:0 -15px;-webkit-transition:background-position 0.1s linear;-moz-transition:background-position 0.1s linear;-ms-transition:background-position 0.1s linear;-o-transition:background-position 0.1s linear;transition:background-position 0.1s linear;}
+.btn:focus{outline:thin dotted #333;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px;}
+.btn.active,.btn:active{background-color:#e6e6e6;background-color:#d9d9d9 \9;background-image:none;outline:0;-webkit-box-shadow:inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05);-moz-box-shadow:inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05);box-shadow:inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05);}
+.btn.disabled,.btn[disabled]{cursor:default;background-color:#e6e6e6;background-image:none;opacity:0.65;filter:alpha(opacity=65);-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;}
+.btn-large{padding:9px 14px;font-size:15px;line-height:normal;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px;}
+.btn-large [class^="icon-"]{margin-top:1px;}
+.btn-small{padding:5px 9px;font-size:11px;line-height:16px;}
+.btn-small [class^="icon-"]{margin-top:-1px;}
+.btn-mini{padding:2px 6px;font-size:11px;line-height:14px;}
+.btn-primary,.btn-primary:hover,.btn-warning,.btn-warning:hover,.btn-danger,.btn-danger:hover,.btn-success,.btn-success:hover,.btn-info,.btn-info:hover,.btn-inverse,.btn-inverse:hover{color:#ffffff;text-shadow:0 -1px 0 rgba(0, 0, 0, 0.25);}
+.btn-primary.active,.btn-warning.active,.btn-danger.active,.btn-success.active,.btn-info.active,.btn-inverse.active{color:rgba(255, 255, 255, 0.75);}
+.btn{border-color:#ccc;border-color:rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);}
+.btn-primary{background-color:#0074cc;background-image:-moz-linear-gradient(top, #0088cc, #0055cc);background-image:-ms-linear-gradient(top, #0088cc, #0055cc);background-image:-webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0055cc));background-image:-webkit-linear-gradient(top, #0088cc, #0055cc);background-image:-o-linear-gradient(top, #0088cc, #0055cc);background-image:linear-gradient(top, #0088cc, #0055cc);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#0088cc', endColorstr='#0055cc', GradientType=0);border-color:#0055cc #0055cc #003580;border-color:rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);*background-color:#0055cc;filter:progid:DXImageTransform.Microsoft.gradient(enabled = false);}.btn-primary:hover,.btn-primary:active,.btn-primary.active,.btn-primary.disabled,.btn-primary[disabled]{background-color:#0055cc;*background-color:#004ab3;}
+.btn-primary:active,.btn-primary.active{background-color:#004099 \9;}
+.btn-warning{background-color:#faa732;background-image:-moz-linear-gradient(top, #fbb450, #f89406);background-image:-ms-linear-gradient(top, #fbb450, #f89406);background-image:-webkit-gradient(linear, 0 0, 0 100%, from(#fbb450), to(#f89406));background-image:-webkit-linear-gradient(top, #fbb450, #f89406);background-image:-o-linear-gradient(top, #fbb450, #f89406);background-image:linear-gradient(top, #fbb450, #f89406);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fbb450', endColorstr='#f89406', GradientType=0);border-color:#f89406 #f89406 #ad6704;border-color:rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);*background-color:#f89406;filter:progid:DXImageTransform.Microsoft.gradient(enabled = false);}.btn-warning:hover,.btn-warning:active,.btn-warning.active,.btn-warning.disabled,.btn-warning[disabled]{background-color:#f89406;*background-color:#df8505;}
+.btn-warning:active,.btn-warning.active{background-color:#c67605 \9;}
+.btn-danger{background-color:#da4f49;background-image:-moz-linear-gradient(top, #ee5f5b, #bd362f);background-image:-ms-linear-gradient(top, #ee5f5b, #bd362f);background-image:-webkit-gradient(linear, 0 0, 0 100%, from(#ee5f5b), to(#bd362f));background-image:-webkit-linear-gradient(top, #ee5f5b, #bd362f);background-image:-o-linear-gradient(top, #ee5f5b, #bd362f);background-image:linear-gradient(top, #ee5f5b, #bd362f);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ee5f5b', endColorstr='#bd362f', GradientType=0);border-color:#bd362f #bd362f #802420;border-color:rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);*background-color:#bd362f;filter:progid:DXImageTransform.Microsoft.gradient(enabled = false);}.btn-danger:hover,.btn-danger:active,.btn-danger.active,.btn-danger.disabled,.btn-danger[disabled]{background-color:#bd362f;*background-color:#a9302a;}
+.btn-danger:active,.btn-danger.active{background-color:#942a25 \9;}
+.btn-success{background-color:#5bb75b;background-image:-moz-linear-gradient(top, #62c462, #51a351);background-image:-ms-linear-gradient(top, #62c462, #51a351);background-image:-webkit-gradient(linear, 0 0, 0 100%, from(#62c462), to(#51a351));background-image:-webkit-linear-gradient(top, #62c462, #51a351);background-image:-o-linear-gradient(top, #62c462, #51a351);background-image:linear-gradient(top, #62c462, #51a351);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#62c462', endColorstr='#51a351', GradientType=0);border-color:#51a351 #51a351 #387038;border-color:rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);*background-color:#51a351;filter:progid:DXImageTransform.Microsoft.gradient(enabled = false);}.btn-success:hover,.btn-success:active,.btn-success.active,.btn-success.disabled,.btn-success[disabled]{background-color:#51a351;*background-color:#499249;}
+.btn-success:active,.btn-success.active{background-color:#408140 \9;}
+.btn-info{background-color:#49afcd;background-image:-moz-linear-gradient(top, #5bc0de, #2f96b4);background-image:-ms-linear-gradient(top, #5bc0de, #2f96b4);background-image:-webkit-gradient(linear, 0 0, 0 100%, from(#5bc0de), to(#2f96b4));background-image:-webkit-linear-gradient(top, #5bc0de, #2f96b4);background-image:-o-linear-gradient(top, #5bc0de, #2f96b4);background-image:linear-gradient(top, #5bc0de, #2f96b4);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#5bc0de', endColorstr='#2f96b4', GradientType=0);border-color:#2f96b4 #2f96b4 #1f6377;border-color:rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);*background-color:#2f96b4;filter:progid:DXImageTransform.Microsoft.gradient(enabled = false);}.btn-info:hover,.btn-info:active,.btn-info.active,.btn-info.disabled,.btn-info[disabled]{background-color:#2f96b4;*background-color:#2a85a0;}
+.btn-info:active,.btn-info.active{background-color:#24748c \9;}
+.btn-inverse{background-color:#414141;background-image:-moz-linear-gradient(top, #555555, #222222);background-image:-ms-linear-gradient(top, #555555, #222222);background-image:-webkit-gradient(linear, 0 0, 0 100%, from(#555555), to(#222222));background-image:-webkit-linear-gradient(top, #555555, #222222);background-image:-o-linear-gradient(top, #555555, #222222);background-image:linear-gradient(top, #555555, #222222);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#555555', endColorstr='#222222', GradientType=0);border-color:#222222 #222222 #000000;border-color:rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);*background-color:#222222;filter:progid:DXImageTransform.Microsoft.gradient(enabled = false);}.btn-inverse:hover,.btn-inverse:active,.btn-inverse.active,.btn-inverse.disabled,.btn-inverse[disabled]{background-color:#222222;*background-color:#151515;}
+.btn-inverse:active,.btn-inverse.active{background-color:#080808 \9;}
+button.btn,input[type="submit"].btn{*padding-top:2px;*padding-bottom:2px;}button.btn::-moz-focus-inner,input[type="submit"].btn::-moz-focus-inner{padding:0;border:0;}
+button.btn.btn-large,input[type="submit"].btn.btn-large{*padding-top:7px;*padding-bottom:7px;}
+button.btn.btn-small,input[type="submit"].btn.btn-small{*padding-top:3px;*padding-bottom:3px;}
+button.btn.btn-mini,input[type="submit"].btn.btn-mini{*padding-top:1px;*padding-bottom:1px;}
+[class^="icon-"],[class*=" icon-"]{display:inline-block;width:14px;height:14px;*margin-right:.3em;line-height:14px;vertical-align:text-top;background-image:url("../img/glyphicons-halflings.png");background-position:14px 14px;background-repeat:no-repeat;}[class^="icon-"]:last-child,[class*=" icon-"]:last-child{*margin-left:0;}
+.icon-white{background-image:url("../img/glyphicons-halflings-white.png");}
+.icon-glass{background-position:0 0;}
+.icon-music{background-position:-24px 0;}
+.icon-search{background-position:-48px 0;}
+.icon-envelope{background-position:-72px 0;}
+.icon-heart{background-position:-96px 0;}
+.icon-star{background-position:-120px 0;}
+.icon-star-empty{background-position:-144px 0;}
+.icon-user{background-position:-168px 0;}
+.icon-film{background-position:-192px 0;}
+.icon-th-large{background-position:-216px 0;}
+.icon-th{background-position:-240px 0;}
+.icon-th-list{background-position:-264px 0;}
+.icon-ok{background-position:-288px 0;}
+.icon-remove{background-position:-312px 0;}
+.icon-zoom-in{background-position:-336px 0;}
+.icon-zoom-out{background-position:-360px 0;}
+.icon-off{background-position:-384px 0;}
+.icon-signal{background-position:-408px 0;}
+.icon-cog{background-position:-432px 0;}
+.icon-trash{background-position:-456px 0;}
+.icon-home{background-position:0 -24px;}
+.icon-file{background-position:-24px -24px;}
+.icon-time{background-position:-48px -24px;}
+.icon-road{background-position:-72px -24px;}
+.icon-download-alt{background-position:-96px -24px;}
+.icon-download{background-position:-120px -24px;}
+.icon-upload{background-position:-144px -24px;}
+.icon-inbox{background-position:-168px -24px;}
+.icon-play-circle{background-position:-192px -24px;}
+.icon-repeat{background-position:-216px -24px;}
+.icon-refresh{background-position:-240px -24px;}
+.icon-list-alt{background-position:-264px -24px;}
+.icon-lock{