footable-on-rails 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (31) hide show
  1. checksums.yaml +15 -0
  2. data/.gitignore +17 -0
  3. data/FooTable-On-Rails.gemspec +23 -0
  4. data/Gemfile +4 -0
  5. data/LICENSE.txt +22 -0
  6. data/README.md +34 -0
  7. data/Rakefile +1 -0
  8. data/lib/footable-on-rails.rb +12 -0
  9. data/lib/footable-on-rails/engine.rb +6 -0
  10. data/lib/footable-on-rails/railtie.rb +5 -0
  11. data/lib/footable-on-rails/version.rb +5 -0
  12. data/vendor/assets/images/footable-on-rails/minus.png +0 -0
  13. data/vendor/assets/images/footable-on-rails/plus.png +0 -0
  14. data/vendor/assets/javascripts/footable-on-rails/footable.js +784 -0
  15. data/vendor/assets/javascripts/footable-on-rails/index.js +2 -0
  16. data/vendor/assets/javascripts/footable-on-rails/plugins/footable.filter.js +144 -0
  17. data/vendor/assets/javascripts/footable-on-rails/plugins/footable.paginate.js +241 -0
  18. data/vendor/assets/javascripts/footable-on-rails/plugins/footable.sort.js +190 -0
  19. data/vendor/assets/javascripts/footable-on-rails/plugins/footable.striping.js +57 -0
  20. data/vendor/assets/stylesheets/footable-on-rails/fonts/footable.eot +0 -0
  21. data/vendor/assets/stylesheets/footable-on-rails/fonts/footable.svg +78 -0
  22. data/vendor/assets/stylesheets/footable-on-rails/fonts/footable.ttf +0 -0
  23. data/vendor/assets/stylesheets/footable-on-rails/fonts/footable.woff +0 -0
  24. data/vendor/assets/stylesheets/footable-on-rails/footable.core.css +178 -0
  25. data/vendor/assets/stylesheets/footable-on-rails/footable.core.min.css +1 -0
  26. data/vendor/assets/stylesheets/footable-on-rails/footable.metro.css +152 -0
  27. data/vendor/assets/stylesheets/footable-on-rails/footable.metro.min.css +1 -0
  28. data/vendor/assets/stylesheets/footable-on-rails/footable.standalone.css +181 -0
  29. data/vendor/assets/stylesheets/footable-on-rails/footable.standalone.min.css +1 -0
  30. data/vendor/assets/stylesheets/footable-on-rails/index.css +9 -0
  31. metadata +101 -0
@@ -0,0 +1,57 @@
1
+ (function ($, w, undefined) {
2
+ if (w.footable === undefined || w.foobox === null)
3
+ throw new Error('Please check and make sure footable.js is included in the page and is loaded prior to this script.');
4
+
5
+ var defaults = {
6
+ striping: {
7
+ enabled: true
8
+ },
9
+ classes: {
10
+ striping: {
11
+ odd: 'footable-odd',
12
+ even: 'footable-even'
13
+ }
14
+ }
15
+ };
16
+
17
+ function Striping() {
18
+ var p = this;
19
+ p.name = 'Footable Striping';
20
+ p.init = function (ft) {
21
+ p.footable = ft;
22
+ $(ft.table)
23
+ .unbind('striping')
24
+ .bind({
25
+ 'footable_initialized.striping footable_row_removed.striping footable_redrawn.striping footable_sorted.striping footable_filtered.striping': function () {
26
+
27
+ if ($(this).data('striping') === false) return;
28
+
29
+ p.setupStriping(ft);
30
+ }
31
+ });
32
+ };
33
+
34
+ p.setupStriping = function (ft) {
35
+
36
+ var rowIndex = 0;
37
+ $(ft.table).find('> tbody > tr:not(.footable-row-detail)').each(function () {
38
+
39
+ var $row = $(this);
40
+
41
+ //Clean off old classes
42
+ $row.removeClass(ft.options.classes.striping.even).removeClass(ft.options.classes.striping.odd);
43
+
44
+ if (rowIndex % 2 === 0) {
45
+ $row.addClass(ft.options.classes.striping.even);
46
+ } else {
47
+ $row.addClass(ft.options.classes.striping.odd);
48
+ }
49
+
50
+ rowIndex++;
51
+ });
52
+ };
53
+ }
54
+
55
+ w.footable.plugins.register(Striping, defaults);
56
+
57
+ })(jQuery, window);
@@ -0,0 +1,78 @@
1
+ <?xml version="1.0" standalone="no"?>
2
+ <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
3
+ <svg xmlns="http://www.w3.org/2000/svg">
4
+ <metadata>
5
+ This is a custom SVG font generated by IcoMoon.
6
+ <iconset grid="16"></iconset>
7
+ </metadata>
8
+ <defs>
9
+ <font id="footable" horiz-adv-x="512" >
10
+ <font-face units-per-em="512" ascent="480" descent="-32" />
11
+ <missing-glyph horiz-adv-x="512" />
12
+ <glyph class="hidden" unicode="&#xf000;" d="M0,480L 512 -32L0 -32 z" horiz-adv-x="0" />
13
+ <glyph unicode="&#xe000;" d="M 496,288L 320,288 L 320,464 c0,8.836-7.164,16-16,16l-96,0 c-8.836,0-16-7.164-16-16l0-176 L 16,288 c-8.836,0-16-7.164-16-16l0-96
14
+ c0-8.836, 7.164-16, 16-16l 176,0 l0-176 c0-8.836, 7.164-16, 16-16l 96,0 c 8.836,0, 16,7.164, 16,16L 320,160 l 176,0 c 8.836,0, 16,7.164, 16,16l0,96
15
+ C 512,280.836, 504.836,288, 496,288z" />
16
+ <glyph unicode="&#xe001;" d="M0,272l0-96 c0-8.836, 7.164-16, 16-16l 480,0 c 8.836,0, 16,7.164, 16,16l0,96 c0,8.836-7.164,16-16,16L 16,288 C 7.164,288,0,280.836,0,272z" />
17
+ <glyph unicode="&#xe002;" d="M 256,480C 114.615,480,0,365.385,0,224s 114.615-256, 256-256s 256,114.615, 256,256S 397.385,480, 256,480z M 288,192l0-128 l-64,0 L 224,192 L 96,192 l0,64
18
+ l 128,0 L 224,384 l 64,0 l0-128 l 128,0 l0-64 L 288,192 z" />
19
+ <glyph unicode="&#xe003;" d="M 256,480C 114.615,480,0,365.385,0,224s 114.615-256, 256-256s 256,114.615, 256,256S 397.385,480, 256,480z M 416,192L 96,192 l0,64 l 320,0 L 416,192 z" />
20
+ <glyph unicode="&#xe004;" d="M 256,480C 114.615,480,0,365.385,0,224s 114.615-256, 256-256s 256,114.615, 256,256S 397.385,480, 256,480z M 256,32
21
+ c-106.039,0-192,85.961-192,192c0,106.039, 85.961,192, 192,192c 106.039,0, 192-85.961, 192-192C 448,117.961, 362.039,32, 256,32zM 384,192 L 288,192 L 288,96 L 224,96 L 224,192 L 128,192 L 128,256 L 224,256 L 224,352 L 288,352 L 288,256 L 384,256 Z" />
22
+ <glyph unicode="&#xe005;" d="M 256,480C 114.615,480,0,365.385,0,224s 114.615-256, 256-256s 256,114.615, 256,256S 397.385,480, 256,480z M 256,32
23
+ c-106.039,0-192,85.961-192,192c0,106.039, 85.961,192, 192,192c 106.039,0, 192-85.961, 192-192C 448,117.961, 362.039,32, 256,32zM 128,256L 384,256L 384,192L 128,192z" />
24
+ <glyph unicode="&#xe006;" d="M 256,214.857l0-18.286 q0-4 -2.571-6.571t-6.571-2.571l-64,0 l0-64 q0-4 -2.571-6.571t-6.571-2.571l-18.286,0 q-4,0 -6.571,2.571t-2.571,6.571l0,64 l-64,0 q-4,0 -6.571,2.571t-2.571,6.571l0,18.286 q0,4 2.571,6.571t 6.571,2.571l 64,0 l0,64 q0,4 2.571,6.571t 6.571,2.571l 18.286,0 q 4,0 6.571-2.571t 2.571-6.571l0-64 l 64,0 q 4,0 6.571-2.571t 2.571-6.571zM 292.571,105.143l0,201.143 q0,11.429 -8,19.429t-19.429,8l-201.143,0 q-11.429,0 -19.429-8 t-8-19.429l0-201.143 q0-11.429 8-19.429t 19.429-8l 201.143,0 q 11.429,0 19.429,8t 8,19.429zM 329.143,306.286l0-201.143 q0-26.286 -18.714-45.143t-45.286-18.857l-201.143,0 q-26.571,0 -45.286,18.857t-18.714,45.143l0,201.143 q0,26.571 18.714,45.286t 45.286,18.714l 201.143,0 q 26.571,0 45.286-18.714t 18.714-45.286z" horiz-adv-x="329.143" />
25
+ <glyph unicode="&#xe007;" d="M 265.143,370.286q 26.571,0 45.286-18.714t 18.714-45.286l0-201.143 q0-26.286 -18.714-45.143t-45.286-18.857l-201.143,0 q-26.571,0 -45.286,18.857t-18.714,45.143l0,201.143 q0,26.571 18.714,45.286t 45.286,18.714l 201.143,0 zM 292.571,105.143l0,201.143 q0,11.429 -8,19.429t-19.429,8l-201.143,0 q-11.429,0 -19.429-8t-8-19.429l0-201.143 q0-11.429 8-19.429t 19.429-8l 201.143,0 q 11.429,0 19.429,8t 8,19.429z M 246.857,224q 4,0 6.571-2.571t 2.571-6.571l0-18.286 q0-4 -2.571-6.571t-6.571-2.571l-164.571,0 q-4,0 -6.571,2.571t-2.571,6.571l0,18.286 q0,4 2.571,6.571t 6.571,2.571l 164.571,0 z" horiz-adv-x="329.143" />
26
+ <glyph unicode="&#xe008;" d="M 365.714,205.714l0,36.571 q0,7.429 -5.429,12.857t-12.857,5.429l-91.429,0 l0,91.429 q0,7.429 -5.429,12.857t-12.857,5.429l-36.571,0 q-7.429,0 -12.857-5.429t-5.429-12.857l0-91.429 l-91.429,0 q-7.429,0 -12.857-5.429t-5.429-12.857l0-36.571 q0-7.429 5.429-12.857t 12.857-5.429l 91.429,0 l0-91.429 q0-7.429 5.429-12.857t 12.857-5.429l 36.571,0 q 7.429,0 12.857,5.429t 5.429,12.857l0,91.429 l 91.429,0 q 7.429,0 12.857,5.429t 5.429,12.857zM 438.857,361.143l0-274.286 q0-34 -24.143-58.143t-58.143-24.143l-274.286,0 q-34,0 -58.143,24.143t-24.143,58.143l0,274.286 q0,34 24.143,58.143t 58.143,24.143l 274.286,0 q 34,0 58.143-24.143t 24.143-58.143z" horiz-adv-x="438.857" />
27
+ <glyph unicode="&#xe009;" d="M 365.714,205.714l0,36.571 q0,7.429 -5.429,12.857t-12.857,5.429l-256,0 q-7.429,0 -12.857-5.429t-5.429-12.857l0-36.571 q0-7.429 5.429-12.857t 12.857-5.429l 256,0 q 7.429,0 12.857,5.429t 5.429,12.857zM 438.857,361.143l0-274.286 q0-34 -24.143-58.143t-58.143-24.143l-274.286,0 q-34,0 -58.143,24.143t-24.143,58.143l0,274.286 q0,34 24.143,58.143t 58.143,24.143l 274.286,0 q 34,0 58.143-24.143 t 24.143-58.143z" horiz-adv-x="438.857" />
28
+ <glyph unicode="&#xe00a;" d="M 512,224C 512,82.615, 397.385-32, 256-32s -256,114.615, -256,256s 114.615,256, 256,256S 512,365.385, 512,224z M 233.372,374.628
29
+ l -128-128.001C 99.124,240.379, 96,232.189, 96,224s 3.124-16.379 9.372-22.627c 12.497-12.497 32.759-12.497, 45.256,0L 224,274.745
30
+ L 224,96 c 0-17.673 14.327-32 32-32c 17.673,0, 32,14.327, 32,32l0,178.745 l 73.373-73.373c 12.497-12.497 32.758-12.497, 45.255,0
31
+ c 12.497,12.497, 12.497,32.758, 0,45.254l -128,128.001C 266.131,387.124, 245.869,387.124, 233.372,374.628z" />
32
+ <glyph unicode="&#xe00b;" d="M 512,224C 512,365.385, 397.385,480, 256,480s -256-114.615, -256-256s 114.615-256, 256-256S 512,82.615, 512,224z M 233.372,73.372
33
+ l -128,128.001C 99.124,207.621, 96,215.811, 96,224s 3.124,16.379 9.372,22.627c 12.497,12.497 32.759,12.497, 45.256,0L 224,173.255
34
+ L 224,352 c 0,17.673 14.327,32 32,32c 17.673,0, 32-14.327, 32-32l0-178.745 l 73.373,73.373c 12.497,12.497 32.758,12.497, 45.255,0
35
+ c 12.497-12.497, 12.497-32.758, 0-45.254l -128-128.001C 266.131,60.876, 245.869,60.876, 233.372,73.372z" />
36
+ <glyph unicode="&#xe00c;" d="M 256,480C 397.385,480, 512,365.385, 512,224s -114.615-256, -256-256s -256,114.615, -256,256S 114.615,480, 256,480z M 105.372,201.372
37
+ l 128.001-128C 239.621,67.124, 247.811,64, 256,64s 16.379,3.124 22.627,9.372c 12.497,12.497 12.497,32.759,0,45.256L 205.255,192
38
+ L 384,192 c 17.673,0 32,14.327 32,32c0,17.673, -14.327,32, -32,32l-178.745,0 l 73.373,73.373c 12.497,12.497 12.497,32.758,0,45.255
39
+ c -12.497,12.497, -32.758,12.497, -45.254,0l -128.001-128C 92.876,234.131, 92.876,213.869, 105.372,201.372z" />
40
+ <glyph unicode="&#xe00d;" d="M 256,480C 114.615,480,0,365.385,0,224s 114.615-256, 256-256s 256,114.615, 256,256S 397.385,480, 256,480z M 406.628,201.372
41
+ l-128.001-128C 272.379,67.124, 264.189,64, 256,64s-16.379,3.124-22.627,9.372c-12.497,12.497-12.497,32.759,0,45.256L 306.745,192
42
+ L 128,192 c-17.673,0-32,14.327-32,32c0,17.673, 14.327,32, 32,32l 178.745,0 l-73.373,73.373c-12.497,12.497-12.497,32.758,0,45.255
43
+ c 12.497,12.497, 32.758,12.497, 45.254,0l 128.001-128C 419.124,234.131, 419.124,213.869, 406.628,201.372z" />
44
+ <glyph unicode="&#xe00e;" d="M0,160L 96,64L 256,224L 416,64L 512,160L 256.001,416 z" />
45
+ <glyph unicode="&#xe00f;" d="M 512,288L 416,384L 256,224L 96,384L0,288L 256,32.001 z" />
46
+ <glyph unicode="&#xe010;" d="M 320-32L 416,64L 256,224L 416,384L 320,480L 64,224 z" />
47
+ <glyph unicode="&#xe011;" d="M 192,480L 96,384L 256,224L 96,64L 192-32L 448,224 z" />
48
+ <glyph unicode="&#xe012;" d="M 292.571,132.571q0-7.429 -5.429-12.857t-12.857-5.429l-256,0 q-7.429,0 -12.857,5.429t-5.429,12.857t 5.429,12.857l 128,128q 5.429,5.429 12.857,5.429t 12.857-5.429l 128-128q 5.429-5.429 5.429-12.857z" horiz-adv-x="292.571" />
49
+ <glyph unicode="&#xe013;" d="M 292.571,278.857q0-7.429 -5.429-12.857l-128-128q-5.429-5.429 -12.857-5.429t-12.857,5.429l-128,128q-5.429,5.429 -5.429,12.857t 5.429,12.857t 12.857,5.429l 256,0 q 7.429,0 12.857-5.429t 5.429-12.857z" horiz-adv-x="292.571" />
50
+ <glyph unicode="&#xe014;" d="M 182.857,352l0-256 q0-7.429 -5.429-12.857t-12.857-5.429t-12.857,5.429l-128,128q-5.429,5.429 -5.429,12.857t 5.429,12.857l 128,128q 5.429,5.429 12.857,5.429t 12.857-5.429t 5.429-12.857z" horiz-adv-x="182.857" />
51
+ <glyph unicode="&#xe015;" d="M 164.571,224q0-7.429 -5.429-12.857l-128-128q-5.429-5.429 -12.857-5.429t-12.857,5.429t-5.429,12.857l0,256 q0,7.429 5.429,12.857t 12.857,5.429t 12.857-5.429l 128-128q 5.429-5.429 5.429-12.857z" horiz-adv-x="182.857" />
52
+ <glyph unicode="&#xe016;" d="M 256,480L 32-32L 256,64L 480-32 z" />
53
+ <glyph unicode="&#xe017;" d="M 256-32L 480,480L 256,384L 32,480 z" />
54
+ <glyph unicode="&#xe018;" d="M0,224L 512,0L 416,224L 512,448 z" />
55
+ <glyph unicode="&#xe019;" d="M 512,224L0,448L 96,224L0,0 z" />
56
+ <glyph unicode="&#xe01a;" d="M 512,224C 512,82.615, 397.385-32, 256-32s -256,114.615, -256,256s 114.615,256, 256,256S 512,365.385, 512,224z M 48,224
57
+ c 0-114.875 93.125-208 208-208S 464,109.125, 464,224s -93.125,208, -208,208S 48,338.875, 48,224zM 278.627,374.628l 128-128.001c 12.497-12.496 12.497-32.757 0-45.254c -12.497-12.497 -32.758-12.497,-45.255,0L 288,274.745
58
+ L 288,96 c 0-17.673 -14.327-32 -32-32c-17.673,0, -32,14.327, -32,32l0,178.745 l -73.372-73.373c -12.497-12.497 -32.759-12.497,-45.256,0
59
+ C 99.124,207.621, 96,215.811, 96,224s 3.124,16.379, 9.372,22.627l 128,128.001C 245.869,387.124, 266.131,387.124, 278.627,374.628z" />
60
+ <glyph unicode="&#xe01b;" d="M 512,224C 512,365.385, 397.385,480, 256,480s -256-114.615, -256-256s 114.615-256, 256-256S 512,82.615, 512,224z M 48,224
61
+ c 0,114.875 93.125,208 208,208S 464,338.875, 464,224s -93.125-208, -208-208S 48,109.125, 48,224zM 278.627,73.372l 128,128.001c 12.497,12.496 12.497,32.757 0,45.254c -12.497,12.497 -32.758,12.497,-45.255,0L 288,173.255
62
+ L 288,352 c 0,17.673 -14.327,32 -32,32c-17.673,0, -32-14.327, -32-32l0-178.745 l -73.372,73.373c -12.497,12.497 -32.759,12.497,-45.256,0
63
+ C 99.124,240.379, 96,232.189, 96,224s 3.124-16.379, 9.372-22.627l 128-128.001C 245.869,60.876, 266.131,60.876, 278.627,73.372z" />
64
+ <glyph unicode="&#xe01c;" d="M 256,480C 397.385,480, 512,365.385, 512,224s -114.615-256, -256-256s -256,114.615, -256,256S 114.615,480, 256,480z M 256,16
65
+ c 114.875,0 208,93.125 208,208S 370.875,432, 256,432s -208-93.125, -208-208S 141.125,16, 256,16zM 105.372,246.627l 128.001,128c 12.496,12.497 32.757,12.497 45.254,0c 12.497-12.497 12.497-32.758,0-45.255L 205.255,256
66
+ L 384,256 c 17.673,0 32-14.327 32-32c0-17.673, -14.327-32, -32-32l-178.745,0 l 73.373-73.372c 12.497-12.497 12.497-32.759,0-45.256
67
+ C 272.379,67.124, 264.189,64, 256,64s -16.379,3.124, -22.627,9.372l -128.001,128C 92.876,213.869, 92.876,234.131, 105.372,246.627z" />
68
+ <glyph unicode="&#xe01d;" d="M 256,480C 114.615,480,0,365.385,0,224s 114.615-256, 256-256s 256,114.615, 256,256S 397.385,480, 256,480z M 256,16
69
+ c-114.875,0-208,93.125-208,208S 141.125,432, 256,432s 208-93.125, 208-208S 370.875,16, 256,16zM 406.628,246.627l-128.001,128c-12.496,12.497-32.757,12.497-45.254,0c-12.497-12.497-12.497-32.758,0-45.255L 306.745,256
70
+ L 128,256 c-17.673,0-32-14.327-32-32c0-17.673, 14.327-32, 32-32l 178.745,0 l-73.373-73.372c-12.497-12.497-12.497-32.759,0-45.256
71
+ C 239.621,67.124, 247.811,64, 256,64s 16.379,3.124, 22.627,9.372l 128.001,128C 419.124,213.869, 419.124,234.131, 406.628,246.627z" />
72
+ <glyph unicode="&#xe01e;" d="M 307.143,141.714q0-3.714 -2.857-6.571l-14.286-14.286q-2.857-2.857 -6.571-2.857t-6.571,2.857l-112.286,112.286l-112.286-112.286q-2.857-2.857 -6.571-2.857t-6.571,2.857l-14.286,14.286q-2.857,2.857 -2.857,6.571t 2.857,6.571l 133.143,133.143q 2.857,2.857 6.571,2.857t 6.571-2.857l 133.143-133.143q 2.857-2.857 2.857-6.571z" horiz-adv-x="329.143" />
73
+ <glyph unicode="&#xe01f;" d="M 307.143,269.714q0-3.714 -2.857-6.571l-133.143-133.143q-2.857-2.857 -6.571-2.857t-6.571,2.857l-133.143,133.143q-2.857,2.857 -2.857,6.571t 2.857,6.571l 14.286,14.286q 2.857,2.857 6.571,2.857t 6.571-2.857l 112.286-112.286l 112.286,112.286q 2.857,2.857 6.571,2.857t 6.571-2.857l 14.286-14.286q 2.857-2.857 2.857-6.571z" horiz-adv-x="329.143" />
74
+ <glyph unicode="&#xe020;" d="M 179.143,324.571q0-3.714 -2.857-6.571l-112.286-112.286l 112.286-112.286q 2.857-2.857 2.857-6.571t-2.857-6.571l-14.286-14.286q-2.857-2.857 -6.571-2.857t-6.571,2.857l-133.143,133.143q-2.857,2.857 -2.857,6.571t 2.857,6.571l 133.143,133.143q 2.857,2.857 6.571,2.857t 6.571-2.857l 14.286-14.286q 2.857-2.857 2.857-6.571z" horiz-adv-x="182.857" />
75
+ <glyph unicode="&#xe021;" d="M 170,205.714q0-3.714 -2.857-6.571l-133.143-133.143q-2.857-2.857 -6.571-2.857t-6.571,2.857l-14.286,14.286q-2.857,2.857 -2.857,6.571t 2.857,6.571l 112.286,112.286l-112.286,112.286q-2.857,2.857 -2.857,6.571t 2.857,6.571l 14.286,14.286q 2.857,2.857 6.571,2.857t 6.571-2.857l 133.143-133.143q 2.857-2.857 2.857-6.571z" horiz-adv-x="182.857" />
76
+ <glyph unicode="&#xe022;" d="M 292.571,169.143q0-7.429 -5.429-12.857l-128-128q-5.429-5.429 -12.857-5.429t-12.857,5.429l-128,128q-5.429,5.429 -5.429,12.857t 5.429,12.857t 12.857,5.429l 256,0 q 7.429,0 12.857-5.429t 5.429-12.857zM 292.571,278.857q0-7.429 -5.429-12.857t-12.857-5.429l-256,0 q-7.429,0 -12.857,5.429t-5.429,12.857t 5.429,12.857l 128,128q 5.429,5.429 12.857,5.429t 12.857-5.429l 128-128q 5.429-5.429 5.429-12.857z" horiz-adv-x="292.571" />
77
+ <glyph unicode="&#x20;" horiz-adv-x="256" />
78
+ </font></defs></svg>
@@ -0,0 +1,178 @@
1
+ @font-face {
2
+ font-family: 'footable';
3
+ src: url('fonts/footable.eot');
4
+ src: url('fonts/footable.eot?#iefix') format('embedded-opentype'), url('fonts/footable.woff') format('woff'), url('fonts/footable.ttf') format('truetype'), url('fonts/footable.svg#footable') format('svg');
5
+ font-weight: normal;
6
+ font-style: normal;
7
+ }
8
+ @media screen and (-webkit-min-device-pixel-ratio: 0) {
9
+ @font-face {
10
+ font-family: 'footable';
11
+ src: url('fonts/footable.svg#footable') format('svg');
12
+ font-weight: normal;
13
+ font-style: normal;
14
+ }
15
+ }
16
+ .footable {
17
+ width: 100%;
18
+ /** SORTING **/
19
+
20
+ /** PAGINATION **/
21
+
22
+ }
23
+ .footable.breakpoint > tbody > tr.footable-detail-show > td {
24
+ border-bottom: none;
25
+ }
26
+ .footable.breakpoint > tbody > tr.footable-detail-show > td > span.footable-toggle:before {
27
+ content: "\e001";
28
+ }
29
+ .footable.breakpoint > tbody > tr:hover:not(.footable-row-detail) {
30
+ cursor: pointer;
31
+ }
32
+ .footable.breakpoint > tbody > tr > td.footable-cell-detail {
33
+ background: #eee;
34
+ border-top: none;
35
+ }
36
+ .footable.breakpoint > tbody > tr > td > span.footable-toggle {
37
+ display: inline-block;
38
+ font-family: 'footable';
39
+ speak: none;
40
+ font-style: normal;
41
+ font-weight: normal;
42
+ font-variant: normal;
43
+ text-transform: none;
44
+ -webkit-font-smoothing: antialiased;
45
+ padding-right: 5px;
46
+ font-size: 14px;
47
+ color: #888888;
48
+ }
49
+ .footable.breakpoint > tbody > tr > td > span.footable-toggle:before {
50
+ content: "\e000";
51
+ }
52
+ .footable.breakpoint.toggle-circle > tbody > tr.footable-detail-show > td > span.footable-toggle:before {
53
+ content: "\e005";
54
+ }
55
+ .footable.breakpoint.toggle-circle > tbody > tr > td > span.footable-toggle:before {
56
+ content: "\e004";
57
+ }
58
+ .footable.breakpoint.toggle-circle-filled > tbody > tr.footable-detail-show > td > span.footable-toggle:before {
59
+ content: "\e003";
60
+ }
61
+ .footable.breakpoint.toggle-circle-filled > tbody > tr > td > span.footable-toggle:before {
62
+ content: "\e002";
63
+ }
64
+ .footable.breakpoint.toggle-square > tbody > tr.footable-detail-show > td > span.footable-toggle:before {
65
+ content: "\e007";
66
+ }
67
+ .footable.breakpoint.toggle-square > tbody > tr > td > span.footable-toggle:before {
68
+ content: "\e006";
69
+ }
70
+ .footable.breakpoint.toggle-square-filled > tbody > tr.footable-detail-show > td > span.footable-toggle:before {
71
+ content: "\e009";
72
+ }
73
+ .footable.breakpoint.toggle-square-filled > tbody > tr > td > span.footable-toggle:before {
74
+ content: "\e008";
75
+ }
76
+ .footable.breakpoint.toggle-arrow > tbody > tr.footable-detail-show > td > span.footable-toggle:before {
77
+ content: "\e00f";
78
+ }
79
+ .footable.breakpoint.toggle-arrow > tbody > tr > td > span.footable-toggle:before {
80
+ content: "\e011";
81
+ }
82
+ .footable.breakpoint.toggle-arrow-small > tbody > tr.footable-detail-show > td > span.footable-toggle:before {
83
+ content: "\e013";
84
+ }
85
+ .footable.breakpoint.toggle-arrow-small > tbody > tr > td > span.footable-toggle:before {
86
+ content: "\e015";
87
+ }
88
+ .footable.breakpoint.toggle-arrow-circle > tbody > tr.footable-detail-show > td > span.footable-toggle:before {
89
+ content: "\e01b";
90
+ }
91
+ .footable.breakpoint.toggle-arrow-circle > tbody > tr > td > span.footable-toggle:before {
92
+ content: "\e01d";
93
+ }
94
+ .footable.breakpoint.toggle-arrow-circle-filled > tbody > tr.footable-detail-show > td > span.footable-toggle:before {
95
+ content: "\e00b";
96
+ }
97
+ .footable.breakpoint.toggle-arrow-circle-filled > tbody > tr > td > span.footable-toggle:before {
98
+ content: "\e00d";
99
+ }
100
+ .footable.breakpoint.toggle-arrow-tiny > tbody > tr.footable-detail-show > td > span.footable-toggle:before {
101
+ content: "\e01f";
102
+ }
103
+ .footable.breakpoint.toggle-arrow-tiny > tbody > tr > td > span.footable-toggle:before {
104
+ content: "\e021";
105
+ }
106
+ .footable.breakpoint.toggle-arrow-alt > tbody > tr.footable-detail-show > td > span.footable-toggle:before {
107
+ content: "\e017";
108
+ }
109
+ .footable.breakpoint.toggle-arrow-alt > tbody > tr > td > span.footable-toggle:before {
110
+ content: "\e019";
111
+ }
112
+ .footable.breakpoint.toggle-medium > tbody > tr > td > span.footable-toggle {
113
+ font-size: 18px;
114
+ }
115
+ .footable.breakpoint.toggle-large > tbody > tr > td > span.footable-toggle {
116
+ font-size: 24px;
117
+ }
118
+ .footable > thead > tr > th {
119
+ -webkit-touch-callout: none;
120
+ -webkit-user-select: none;
121
+ -khtml-user-select: none;
122
+ -moz-user-select: -moz-none;
123
+ -ms-user-select: none;
124
+ user-select: none;
125
+ }
126
+ .footable > thead > tr > th.footable-sortable:hover {
127
+ cursor: pointer;
128
+ }
129
+ .footable > thead > tr > th.footable-sorted > span.footable-sort-indicator:before {
130
+ content: "\e013";
131
+ }
132
+ .footable > thead > tr > th.footable-sorted-desc > span.footable-sort-indicator:before {
133
+ content: "\e012";
134
+ }
135
+ .footable > thead > tr > th > span.footable-sort-indicator {
136
+ display: inline-block;
137
+ font-family: 'footable';
138
+ speak: none;
139
+ font-style: normal;
140
+ font-weight: normal;
141
+ font-variant: normal;
142
+ text-transform: none;
143
+ -webkit-font-smoothing: antialiased;
144
+ padding-left: 5px;
145
+ }
146
+ .footable > thead > tr > th > span.footable-sort-indicator:before {
147
+ content: "\e022";
148
+ }
149
+ .footable > tfoot .pagination {
150
+ margin: 0;
151
+ }
152
+ .footable.no-paging .hide-if-no-paging {
153
+ display: none;
154
+ }
155
+ .footable-row-detail-inner {
156
+ display: table;
157
+ }
158
+ .footable-row-detail-row {
159
+ display: table-row;
160
+ line-height: 1.5em;
161
+ }
162
+ .footable-row-detail-group {
163
+ display: block;
164
+ line-height: 2em;
165
+ font-size: 1.2em;
166
+ font-weight: bold;
167
+ }
168
+ .footable-row-detail-name {
169
+ display: table-cell;
170
+ font-weight: bold;
171
+ padding-right: 0.5em;
172
+ }
173
+ .footable-row-detail-value {
174
+ display: table-cell;
175
+ }
176
+ .footable-odd {
177
+ background-color: #f7f7f7;
178
+ }
@@ -0,0 +1 @@
1
+ @font-face{font-family:'footable';src:url('fonts/footable.eot');src:url('fonts/footable.eot?#iefix') format('embedded-opentype'),url('fonts/footable.woff') format('woff'),url('fonts/footable.ttf') format('truetype'),url('fonts/footable.svg#footable') format('svg');font-weight:normal;font-style:normal}@media screen and (-webkit-min-device-pixel-ratio:0){@font-face{font-family:'footable';src:url('fonts/footable.svg#footable') format('svg');font-weight:normal;font-style:normal}}.footable{width:100%}.footable.breakpoint>tbody>tr.footable-detail-show>td{border-bottom:0}.footable.breakpoint>tbody>tr.footable-detail-show>td>span.footable-toggle:before{content:"\e001"}.footable.breakpoint>tbody>tr:hover:not(.footable-row-detail){cursor:pointer}.footable.breakpoint>tbody>tr>td.footable-cell-detail{background:#eee;border-top:0}.footable.breakpoint>tbody>tr>td>span.footable-toggle{display:inline-block;font-family:'footable';speak:none;font-style:normal;font-weight:normal;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;padding-right:5px;font-size:14px;color:#888}.footable.breakpoint>tbody>tr>td>span.footable-toggle:before{content:"\e000"}.footable.breakpoint.toggle-circle>tbody>tr.footable-detail-show>td>span.footable-toggle:before{content:"\e005"}.footable.breakpoint.toggle-circle>tbody>tr>td>span.footable-toggle:before{content:"\e004"}.footable.breakpoint.toggle-circle-filled>tbody>tr.footable-detail-show>td>span.footable-toggle:before{content:"\e003"}.footable.breakpoint.toggle-circle-filled>tbody>tr>td>span.footable-toggle:before{content:"\e002"}.footable.breakpoint.toggle-square>tbody>tr.footable-detail-show>td>span.footable-toggle:before{content:"\e007"}.footable.breakpoint.toggle-square>tbody>tr>td>span.footable-toggle:before{content:"\e006"}.footable.breakpoint.toggle-square-filled>tbody>tr.footable-detail-show>td>span.footable-toggle:before{content:"\e009"}.footable.breakpoint.toggle-square-filled>tbody>tr>td>span.footable-toggle:before{content:"\e008"}.footable.breakpoint.toggle-arrow>tbody>tr.footable-detail-show>td>span.footable-toggle:before{content:"\e00f"}.footable.breakpoint.toggle-arrow>tbody>tr>td>span.footable-toggle:before{content:"\e011"}.footable.breakpoint.toggle-arrow-small>tbody>tr.footable-detail-show>td>span.footable-toggle:before{content:"\e013"}.footable.breakpoint.toggle-arrow-small>tbody>tr>td>span.footable-toggle:before{content:"\e015"}.footable.breakpoint.toggle-arrow-circle>tbody>tr.footable-detail-show>td>span.footable-toggle:before{content:"\e01b"}.footable.breakpoint.toggle-arrow-circle>tbody>tr>td>span.footable-toggle:before{content:"\e01d"}.footable.breakpoint.toggle-arrow-circle-filled>tbody>tr.footable-detail-show>td>span.footable-toggle:before{content:"\e00b"}.footable.breakpoint.toggle-arrow-circle-filled>tbody>tr>td>span.footable-toggle:before{content:"\e00d"}.footable.breakpoint.toggle-arrow-tiny>tbody>tr.footable-detail-show>td>span.footable-toggle:before{content:"\e01f"}.footable.breakpoint.toggle-arrow-tiny>tbody>tr>td>span.footable-toggle:before{content:"\e021"}.footable.breakpoint.toggle-arrow-alt>tbody>tr.footable-detail-show>td>span.footable-toggle:before{content:"\e017"}.footable.breakpoint.toggle-arrow-alt>tbody>tr>td>span.footable-toggle:before{content:"\e019"}.footable.breakpoint.toggle-medium>tbody>tr>td>span.footable-toggle{font-size:18px}.footable.breakpoint.toggle-large>tbody>tr>td>span.footable-toggle{font-size:24px}.footable>thead>tr>th{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:-moz-none;-ms-user-select:none;user-select:none}.footable>thead>tr>th.footable-sortable:hover{cursor:pointer}.footable>thead>tr>th.footable-sorted>span.footable-sort-indicator:before{content:"\e013"}.footable>thead>tr>th.footable-sorted-desc>span.footable-sort-indicator:before{content:"\e012"}.footable>thead>tr>th>span.footable-sort-indicator{display:inline-block;font-family:'footable';speak:none;font-style:normal;font-weight:normal;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;padding-left:5px}.footable>thead>tr>th>span.footable-sort-indicator:before{content:"\e022"}.footable>tfoot .pagination{margin:0}.footable.no-paging .hide-if-no-paging{display:none}.footable-row-detail-inner{display:table}.footable-row-detail-row{display:table-row;line-height:1.5em}.footable-row-detail-group{display:block;line-height:2em;font-size:1.2em;font-weight:bold}.footable-row-detail-name{display:table-cell;font-weight:bold;padding-right:.5em}.footable-row-detail-value{display:table-cell}.footable-odd{background-color:#f7f7f7}
@@ -0,0 +1,152 @@
1
+ .footable {
2
+ border-collapse: separate;
3
+ border-spacing: 0;
4
+ width: 100%;
5
+ border: 3px solid #52b9e9;
6
+ font-family: "Open Sans", Arial, Helvetica, sans-serif;
7
+ color: #444444;
8
+ background: #efefef;
9
+ -moz-border-radius: 0;
10
+ -webkit-border-radius: 0;
11
+ border-radius: 0;
12
+ }
13
+ .footable.breakpoint > tbody > tr.footable-row-detail {
14
+ background: #eeeeee;
15
+ }
16
+ .footable.breakpoint > tbody > tr:hover:not(.footable-row-detail) {
17
+ cursor: pointer;
18
+ }
19
+ .footable.breakpoint > tbody > tr > td.footable-row-detail-cell {
20
+ background: #fff;
21
+ }
22
+ .footable > tbody img {
23
+ vertical-align: middle;
24
+ }
25
+ .footable > tbody > tr:hover:not(.footable-row-detail) {
26
+ background: #dddddd;
27
+ }
28
+ .footable > tbody > tr:hover:not(.footable-row-detail) > td {
29
+ color: #000000;
30
+ }
31
+ .footable > tbody > tr:last-child > td {
32
+ border-bottom: none;
33
+ }
34
+ .footable > tbody > tr > td {
35
+ border-top: 1px solid #dddddd;
36
+ padding: 10px;
37
+ text-align: left;
38
+ border-left: none;
39
+ }
40
+ .footable > tbody > tr > td.footable-row-detail-cell,
41
+ .footable > tbody > tr > td.footable-first-column {
42
+ border-left: none;
43
+ }
44
+ .footable > thead > tr > th {
45
+ border-bottom: 1px solid #dddddd;
46
+ padding: 10px;
47
+ text-align: left;
48
+ }
49
+ .footable > thead > tr > th,
50
+ .footable > thead > tr > td {
51
+ background-color: #52b9e9;
52
+ border: 1px solid #52b9e9;
53
+ color: #ffffff;
54
+ border-top: none;
55
+ border-left: none;
56
+ font-weight: normal;
57
+ }
58
+ .footable > thead > tr > th.footable-first-column,
59
+ .footable > thead > tr > td.footable-first-column {
60
+ border-left: none;
61
+ }
62
+ .footable > tfoot > tr > th,
63
+ .footable > tfoot > tr > td {
64
+ background-color: #52b9e9;
65
+ border: 1px solid #52b9e9;
66
+ color: #ffffff;
67
+ border-top: none;
68
+ border-left: none;
69
+ padding: 5px;
70
+ }
71
+ .footable > tfoot .pagination {
72
+ text-align: center;
73
+ }
74
+ .footable > tfoot .pagination ul {
75
+ display: inline-block;
76
+ -webkit-box-shadow: none;
77
+ -moz-box-shadow: none;
78
+ box-shadow: none;
79
+ vertical-align: middle;
80
+ margin: 0;
81
+ padding: 0;
82
+ }
83
+ .footable > tfoot .pagination ul > li {
84
+ display: inline;
85
+ }
86
+ .footable > tfoot .pagination ul > li > a,
87
+ .footable > tfoot .pagination ul > li > span {
88
+ float: left;
89
+ border: 2px solid transparent;
90
+ margin: 0 3px;
91
+ color: #ffffff;
92
+ background: transparent;
93
+ padding: 1px 5px;
94
+ text-decoration: none;
95
+ }
96
+ .footable > tfoot .pagination ul > li.disabled > a {
97
+ color: #888;
98
+ }
99
+ .footable > tfoot .pagination ul > li.active > a {
100
+ border-color: #ffffff;
101
+ }
102
+ .footable > tfoot .pagination ul > li:first-child > a,
103
+ .footable > tfoot .pagination ul > li:last-child > a,
104
+ .footable > tfoot .pagination ul > li:first-child > span,
105
+ .footable > tfoot .pagination ul > li:last-child > span {
106
+ -moz-border-radius: 0;
107
+ -webkit-border-radius: 0;
108
+ border-radius: 0;
109
+ }
110
+ .footable.metro-red {
111
+ border-color: #fa3031;
112
+ }
113
+ .footable.metro-red > tfoot > tr > th,
114
+ .footable.metro-red > thead > tr > th,
115
+ .footable.metro-red > tfoot > tr > td,
116
+ .footable.metro-red > thead > tr > td {
117
+ background-color: #fa3031;
118
+ border-color: #fa3031;
119
+ }
120
+ .footable.metro-purple {
121
+ border-color: #932ab6;
122
+ }
123
+ .footable.metro-purple > tfoot > tr > th,
124
+ .footable.metro-purple > thead > tr > th,
125
+ .footable.metro-purple > tfoot > tr > td,
126
+ .footable.metro-purple > thead > tr > td {
127
+ background-color: #932ab6;
128
+ border-color: #932ab6;
129
+ }
130
+ .footable.metro-green {
131
+ border-color: #43c83c;
132
+ }
133
+ .footable.metro-green > tfoot > tr > th,
134
+ .footable.metro-green > thead > tr > th,
135
+ .footable.metro-green > tfoot > tr > td,
136
+ .footable.metro-green > thead > tr > td {
137
+ background-color: #43c83c;
138
+ border-color: #43c83c;
139
+ }
140
+ .footable.metro-blue {
141
+ border-color: #1171a3;
142
+ }
143
+ .footable.metro-blue > tfoot > tr > th,
144
+ .footable.metro-blue > thead > tr > th,
145
+ .footable.metro-blue > tfoot > tr > td,
146
+ .footable.metro-blue > thead > tr > td {
147
+ background-color: #1171a3;
148
+ border-color: #1171a3;
149
+ }
150
+ .footable-odd {
151
+ background-color: #f7f7f7;
152
+ }