2013-02-17 19:53:33 +00:00
|
|
|
<!DOCTYPE html>
|
2012-09-27 19:57:19 +00:00
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<title>jQuery plugin: Tablesorter 2.4 - Themes</title>
|
|
|
|
|
|
|
|
<!-- demo css -->
|
|
|
|
<style>
|
2013-01-29 22:42:23 +00:00
|
|
|
.minitable {float:left;min-width:190px; min-height: 280px; margin:5px;}
|
2012-09-27 19:57:19 +00:00
|
|
|
.minitable table {width:175px;margin:10px auto;-webkit-box-sizing: border-box;-moz-box-sizing: border-box;box-sizing: border-box;}
|
|
|
|
.minitable table th {font-size:11px;}
|
|
|
|
.minitable table td {font-size:11px;padding:4px !important;text-align:center;}
|
|
|
|
.minitable h3 {text-align:center;text-transform:capitalize;}
|
|
|
|
</style>
|
|
|
|
|
|
|
|
<!-- jQuery -->
|
2013-01-26 15:21:13 +00:00
|
|
|
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
|
2012-09-27 19:57:19 +00:00
|
|
|
|
|
|
|
<!-- Tablesorter themes -->
|
|
|
|
<!-- jquery ui -->
|
2013-01-26 15:21:13 +00:00
|
|
|
<link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1/themes/cupertino/jquery-ui.css" rel="stylesheet">
|
2012-09-27 19:57:19 +00:00
|
|
|
<link href="../css/theme.jui.css" rel="stylesheet">
|
|
|
|
|
|
|
|
<!-- bootstrap -->
|
2014-03-15 01:08:44 +00:00
|
|
|
<link href="http://netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css" rel="stylesheet">
|
2012-09-27 19:57:19 +00:00
|
|
|
<link href="../css/theme.bootstrap.css" rel="stylesheet">
|
|
|
|
|
|
|
|
<!-- more themes -->
|
|
|
|
<link href="../css/theme.black-ice.css" rel="stylesheet">
|
|
|
|
<link href="../css/theme.blue.css" rel="stylesheet">
|
|
|
|
<link href="../css/theme.dark.css" rel="stylesheet">
|
|
|
|
<link href="../css/theme.default.css" rel="stylesheet">
|
|
|
|
<link href="../css/theme.dropbox.css" rel="stylesheet">
|
|
|
|
<link href="../css/theme.green.css" rel="stylesheet">
|
|
|
|
<link href="../css/theme.grey.css" rel="stylesheet">
|
|
|
|
<link href="../css/theme.ice.css" rel="stylesheet">
|
2014-05-05 19:19:29 +00:00
|
|
|
<link href="../css/theme.metro-dark.css" rel="stylesheet">
|
2012-09-27 19:57:19 +00:00
|
|
|
|
|
|
|
<!-- Tablesorter: required -->
|
|
|
|
<script src="../js/jquery.tablesorter.js"></script>
|
|
|
|
<script src="../js/jquery.tablesorter.widgets.js"></script>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
$(function() {
|
|
|
|
|
2013-01-29 22:42:23 +00:00
|
|
|
$.extend($.tablesorter.defaults, {
|
|
|
|
widthFixed: true,
|
|
|
|
widgets : ['zebra','columns'],
|
|
|
|
sortList : [ [0,0],[1,0],[2,0] ]
|
2012-12-26 08:06:26 +00:00
|
|
|
});
|
|
|
|
|
2013-01-29 22:42:23 +00:00
|
|
|
$('.demo').tablesorter();
|
|
|
|
|
2012-12-26 08:06:26 +00:00
|
|
|
// grey & dropbox themes need the {icon} for header icons
|
|
|
|
$('.tablesorter-dropbox,.tablesorter-grey').tablesorter({
|
2013-01-29 22:42:23 +00:00
|
|
|
headerTemplate: '{content}{icon}' // dropbox theme doesn't like a space between the content & icon
|
2012-09-27 19:57:19 +00:00
|
|
|
});
|
|
|
|
|
|
|
|
$('.tablesorter-bootstrap').tablesorter({
|
2012-12-26 08:06:26 +00:00
|
|
|
theme : 'bootstrap',
|
|
|
|
headerTemplate: '{content} {icon}',
|
2013-01-29 22:42:23 +00:00
|
|
|
widgets : ['zebra','columns', 'uitheme']
|
2012-09-27 19:57:19 +00:00
|
|
|
});
|
|
|
|
|
|
|
|
$('.tablesorter-jui').tablesorter({
|
2012-12-26 08:06:26 +00:00
|
|
|
theme : 'jui',
|
|
|
|
headerTemplate: '{content} {icon}',
|
2013-01-29 22:42:23 +00:00
|
|
|
widgets : ['zebra','columns', 'uitheme']
|
2012-09-27 19:57:19 +00:00
|
|
|
});
|
|
|
|
|
|
|
|
});
|
|
|
|
</script>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
|
|
|
|
<div id="main">
|
|
|
|
|
|
|
|
<div class="minitable">
|
|
|
|
<h3>blackice</h3>
|
|
|
|
<table class="demo tablesorter-blackice">
|
|
|
|
<thead><tr><th>A</th><th>B</th><th>C</th><th>D</th></tr></thead>
|
2012-11-23 01:53:41 +00:00
|
|
|
<tfoot><tr><th>A</th><th>B</th><th>C</th><th>D</th></tr></tfoot>
|
2012-09-27 19:57:19 +00:00
|
|
|
<tbody>
|
|
|
|
<tr><td>1</td><td>2</td><td>3</td><td>4</td></tr>
|
|
|
|
<tr><td>14</td><td>15</td><td>16</td><td>5</td></tr>
|
|
|
|
<tr><td>13</td><td>20</td><td>17</td><td>6</td></tr>
|
|
|
|
<tr><td>12</td><td>19</td><td>18</td><td>7</td></tr>
|
|
|
|
<tr><td>11</td><td>10</td><td>9</td><td>8</td></tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
2013-01-29 22:42:23 +00:00
|
|
|
|
2012-09-27 19:57:19 +00:00
|
|
|
<div class="minitable">
|
|
|
|
<h3>blue</h3>
|
|
|
|
<table class="demo tablesorter-blue">
|
|
|
|
<thead><tr><th>A</th><th>B</th><th>C</th><th>D</th></tr></thead>
|
2012-11-23 01:53:41 +00:00
|
|
|
<tfoot><tr><th>A</th><th>B</th><th>C</th><th>D</th></tr></tfoot>
|
2012-09-27 19:57:19 +00:00
|
|
|
<tbody>
|
|
|
|
<tr><td>1</td><td>2</td><td>3</td><td>4</td></tr>
|
|
|
|
<tr><td>14</td><td>15</td><td>16</td><td>5</td></tr>
|
|
|
|
<tr><td>13</td><td>20</td><td>17</td><td>6</td></tr>
|
|
|
|
<tr><td>12</td><td>19</td><td>18</td><td>7</td></tr>
|
|
|
|
<tr><td>11</td><td>10</td><td>9</td><td>8</td></tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
2013-01-29 22:42:23 +00:00
|
|
|
|
2012-09-27 19:57:19 +00:00
|
|
|
<div class="minitable">
|
2013-01-29 22:42:23 +00:00
|
|
|
<h3>dark</h3>
|
|
|
|
<table class="demo tablesorter-dark">
|
2012-09-27 19:57:19 +00:00
|
|
|
<thead><tr><th>A</th><th>B</th><th>C</th><th>D</th></tr></thead>
|
2012-11-23 01:53:41 +00:00
|
|
|
<tfoot><tr><th>A</th><th>B</th><th>C</th><th>D</th></tr></tfoot>
|
2012-09-27 19:57:19 +00:00
|
|
|
<tbody>
|
|
|
|
<tr><td>1</td><td>2</td><td>3</td><td>4</td></tr>
|
|
|
|
<tr><td>14</td><td>15</td><td>16</td><td>5</td></tr>
|
|
|
|
<tr><td>13</td><td>20</td><td>17</td><td>6</td></tr>
|
|
|
|
<tr><td>12</td><td>19</td><td>18</td><td>7</td></tr>
|
|
|
|
<tr><td>11</td><td>10</td><td>9</td><td>8</td></tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="minitable">
|
2013-01-29 22:42:23 +00:00
|
|
|
<h3>default</h3>
|
|
|
|
<table class="demo tablesorter-default">
|
2012-09-27 19:57:19 +00:00
|
|
|
<thead><tr><th>A</th><th>B</th><th>C</th><th>D</th></tr></thead>
|
2012-11-23 01:53:41 +00:00
|
|
|
<tfoot><tr><th>A</th><th>B</th><th>C</th><th>D</th></tr></tfoot>
|
2012-09-27 19:57:19 +00:00
|
|
|
<tbody>
|
|
|
|
<tr><td>1</td><td>2</td><td>3</td><td>4</td></tr>
|
|
|
|
<tr><td>14</td><td>15</td><td>16</td><td>5</td></tr>
|
|
|
|
<tr><td>13</td><td>20</td><td>17</td><td>6</td></tr>
|
|
|
|
<tr><td>12</td><td>19</td><td>18</td><td>7</td></tr>
|
|
|
|
<tr><td>11</td><td>10</td><td>9</td><td>8</td></tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
2013-01-29 22:42:23 +00:00
|
|
|
|
2012-09-27 19:57:19 +00:00
|
|
|
<div class="minitable">
|
2013-01-29 22:42:23 +00:00
|
|
|
<h3>green</h3>
|
|
|
|
<table class="demo tablesorter-green">
|
2012-09-27 19:57:19 +00:00
|
|
|
<thead><tr><th>A</th><th>B</th><th>C</th><th>D</th></tr></thead>
|
2012-11-23 01:53:41 +00:00
|
|
|
<tfoot><tr><th>A</th><th>B</th><th>C</th><th>D</th></tr></tfoot>
|
2012-09-27 19:57:19 +00:00
|
|
|
<tbody>
|
|
|
|
<tr><td>1</td><td>2</td><td>3</td><td>4</td></tr>
|
|
|
|
<tr><td>14</td><td>15</td><td>16</td><td>5</td></tr>
|
|
|
|
<tr><td>13</td><td>20</td><td>17</td><td>6</td></tr>
|
|
|
|
<tr><td>12</td><td>19</td><td>18</td><td>7</td></tr>
|
|
|
|
<tr><td>11</td><td>10</td><td>9</td><td>8</td></tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
2013-01-29 22:42:23 +00:00
|
|
|
|
2012-09-27 19:57:19 +00:00
|
|
|
<div class="minitable">
|
2013-01-29 22:42:23 +00:00
|
|
|
<h3>grey</h3>
|
|
|
|
<table class="tablesorter-grey">
|
2012-09-27 19:57:19 +00:00
|
|
|
<thead><tr><th>A</th><th>B</th><th>C</th><th>D</th></tr></thead>
|
2012-11-23 01:53:41 +00:00
|
|
|
<tfoot><tr><th>A</th><th>B</th><th>C</th><th>D</th></tr></tfoot>
|
2012-09-27 19:57:19 +00:00
|
|
|
<tbody>
|
|
|
|
<tr><td>1</td><td>2</td><td>3</td><td>4</td></tr>
|
|
|
|
<tr><td>14</td><td>15</td><td>16</td><td>5</td></tr>
|
|
|
|
<tr><td>13</td><td>20</td><td>17</td><td>6</td></tr>
|
|
|
|
<tr><td>12</td><td>19</td><td>18</td><td>7</td></tr>
|
|
|
|
<tr><td>11</td><td>10</td><td>9</td><td>8</td></tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="minitable">
|
2013-01-29 22:42:23 +00:00
|
|
|
<h3>ice</h3>
|
|
|
|
<table class="demo tablesorter-ice">
|
2012-09-27 19:57:19 +00:00
|
|
|
<thead><tr><th>A</th><th>B</th><th>C</th><th>D</th></tr></thead>
|
2012-11-23 01:53:41 +00:00
|
|
|
<tfoot><tr><th>A</th><th>B</th><th>C</th><th>D</th></tr></tfoot>
|
2012-09-27 19:57:19 +00:00
|
|
|
<tbody>
|
|
|
|
<tr><td>1</td><td>2</td><td>3</td><td>4</td></tr>
|
|
|
|
<tr><td>14</td><td>15</td><td>16</td><td>5</td></tr>
|
|
|
|
<tr><td>13</td><td>20</td><td>17</td><td>6</td></tr>
|
|
|
|
<tr><td>12</td><td>19</td><td>18</td><td>7</td></tr>
|
|
|
|
<tr><td>11</td><td>10</td><td>9</td><td>8</td></tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
2013-01-29 22:42:23 +00:00
|
|
|
|
2012-09-27 19:57:19 +00:00
|
|
|
<div class="minitable">
|
2013-01-29 22:42:23 +00:00
|
|
|
<h3>Bootstrap</h3>
|
|
|
|
<table class="tablesorter-bootstrap">
|
2012-09-27 19:57:19 +00:00
|
|
|
<thead><tr><th>A</th><th>B</th><th>C</th><th>D</th></tr></thead>
|
2012-11-23 01:53:41 +00:00
|
|
|
<tfoot><tr><th>A</th><th>B</th><th>C</th><th>D</th></tr></tfoot>
|
2012-09-27 19:57:19 +00:00
|
|
|
<tbody>
|
|
|
|
<tr><td>1</td><td>2</td><td>3</td><td>4</td></tr>
|
|
|
|
<tr><td>14</td><td>15</td><td>16</td><td>5</td></tr>
|
|
|
|
<tr><td>13</td><td>20</td><td>17</td><td>6</td></tr>
|
|
|
|
<tr><td>12</td><td>19</td><td>18</td><td>7</td></tr>
|
|
|
|
<tr><td>11</td><td>10</td><td>9</td><td>8</td></tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
2013-01-29 22:42:23 +00:00
|
|
|
|
2012-09-27 19:57:19 +00:00
|
|
|
<div class="minitable">
|
2013-01-29 22:42:23 +00:00
|
|
|
<h3>jQuery UI</h3>
|
|
|
|
<table class="tablesorter-jui">
|
2012-09-27 19:57:19 +00:00
|
|
|
<thead><tr><th>A</th><th>B</th><th>C</th><th>D</th></tr></thead>
|
2012-11-23 01:53:41 +00:00
|
|
|
<tfoot><tr><th>A</th><th>B</th><th>C</th><th>D</th></tr></tfoot>
|
2012-09-27 19:57:19 +00:00
|
|
|
<tbody>
|
|
|
|
<tr><td>1</td><td>2</td><td>3</td><td>4</td></tr>
|
|
|
|
<tr><td>14</td><td>15</td><td>16</td><td>5</td></tr>
|
|
|
|
<tr><td>13</td><td>20</td><td>17</td><td>6</td></tr>
|
|
|
|
<tr><td>12</td><td>19</td><td>18</td><td>7</td></tr>
|
|
|
|
<tr><td>11</td><td>10</td><td>9</td><td>8</td></tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="minitable">
|
2013-01-29 22:42:23 +00:00
|
|
|
<h3>dropbox</h3>
|
|
|
|
<table class="tablesorter-dropbox">
|
2012-09-27 19:57:19 +00:00
|
|
|
<thead><tr><th>A</th><th>B</th><th>C</th><th>D</th></tr></thead>
|
2012-11-23 01:53:41 +00:00
|
|
|
<tfoot><tr><th>A</th><th>B</th><th>C</th><th>D</th></tr></tfoot>
|
2012-09-27 19:57:19 +00:00
|
|
|
<tbody>
|
|
|
|
<tr><td>1</td><td>2</td><td>3</td><td>4</td></tr>
|
|
|
|
<tr><td>14</td><td>15</td><td>16</td><td>5</td></tr>
|
|
|
|
<tr><td>13</td><td>20</td><td>17</td><td>6</td></tr>
|
|
|
|
<tr><td>12</td><td>19</td><td>18</td><td>7</td></tr>
|
|
|
|
<tr><td>11</td><td>10</td><td>9</td><td>8</td></tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
2014-05-05 19:19:29 +00:00
|
|
|
<div class="minitable">
|
|
|
|
<h3>Metro Dark</h3>
|
|
|
|
<table class="tablesorter-metro-dark demo">
|
|
|
|
<thead>
|
|
|
|
<tr class="dark-row"><th class="sorter-false" colspan="4">Title</th></tr>
|
|
|
|
<tr><th>A</th><th>B</th><th>C</th><th>D</th></tr>
|
|
|
|
</thead>
|
|
|
|
<tfoot>
|
|
|
|
<tr><th>A</th><th>B</th><th>C</th><th>D</th></tr>
|
|
|
|
<tr class="dark-row"><th colspan="4"> </th></tr>
|
|
|
|
</tfoot>
|
|
|
|
<tbody>
|
|
|
|
<tr><td>1</td><td>2</td><td>3</td><td>4</td></tr>
|
|
|
|
<tr><td>14</td><td>15</td><td>16</td><td>5</td></tr>
|
|
|
|
<tr><td>13</td><td>20</td><td>17</td><td>6</td></tr>
|
|
|
|
<tr><td>12</td><td>19</td><td>18</td><td>7</td></tr>
|
|
|
|
<tr><td>11</td><td>10</td><td>9</td><td>8</td></tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
2012-09-27 19:57:19 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
</body>
|
|
|
|
</html>
|
|
|
|
|