fukuzatsu 0.9.4 → 0.9.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 562361eadd3725159751e2b39121027a28f1c045
4
- data.tar.gz: f008fee1909a8bf3add7ad3c1e562fde7d57a5db
3
+ metadata.gz: ae1e5630765bd90dbe2a9e699e908fdcd2a98572
4
+ data.tar.gz: b3108dfe80f60f0386416d754b0766631f10fc79
5
5
  SHA512:
6
- metadata.gz: 25022e1252246bd0919e7ae8f0d20e1df13811cb28a5e582db9dc3e5553781699a4ed966f2111d761049ddf68980d64644247ab4cf1375201e7709ddbc054f13
7
- data.tar.gz: 19c4510c0428842ddd78fe5f1e55b5fa9f257ae24f3291ec1a06fae4885f104dcaf0d93830042f5a3aa18a217ea948a2c8eb775b9ecc78b87cbf7e6cc4c96078
6
+ metadata.gz: b1b43985860745622a8fc86eb28162334e3c3cdb0fbd5c7d87485bb15e4b77e083e3e0ffe63eac3434c370ecbabdeae1705bc618104cbe1ad21f1c87c3d2ac0f
7
+ data.tar.gz: 655bef7e49ab151b0dae561b96254601db3a4ee692805d249133bca64599daee2b6f87120e7e4f2a0e172c1779c1452058039357a85cd325de7d13881abc8740
@@ -4,13 +4,18 @@
4
4
  %title
5
5
  Fukuzatsu:
6
6
  = class_name
7
+ %link{href: "http://cdn.datatables.net/1.10.0/css/jquery.dataTables.css", rel: "stylesheet"}
8
+ %script{language: "javascript", src: "http://code.jquery.com/jquery-1.11.0.min.js", type: "text/javascript"}
9
+ %script{language: "javascript", src: "http://code.jquery.com/jquery-migrate-1.2.1.min.js", type: "text/javascript"}
10
+ %script{language: "javascript", src: "http://cdn.datatables.net/1.10.0/js/jquery.dataTables.js", type: "text/javascript"}
11
+
7
12
  %style{media: "screen", type: "text/css"}
8
13
  body { background: #593232; color: #fff; font-family: arial, sans-serif; padding: 2em; }
9
14
  table { border: 10px solid #000; border-collapse: collapse; min-width: 50%; }
10
15
  tr { border-top: 1px solid #000; }
11
16
  tr.header { background: rgba(255, 255, 255, 0.75)}
12
- tr.even { background: rgba(128, 128, 128, 0.5);}
13
- tr.odd { background: rgba(128, 128, 128, 0.25);}
17
+ tr.even { background: rgba(128, 128, 128, 0.5) !important;}
18
+ tr.odd { background: rgba(128, 128, 128, 0.25) !important}
14
19
  th { background: #000; text-align: left; padding: .5em; text-transform: uppercase; font-size: .8em}
15
20
  td { text-align: left; padding: .5em;}
16
21
  td.center { text-align: center; }
@@ -18,8 +23,13 @@
18
23
  a:link, a:visited { color: #aaa }
19
24
  h1 { color:#593232; font-size: 1.25em; }
20
25
  h2 { color:#593232; font-size: .75em; margin-top: -1em}
26
+ td.sorting_1 { background: none !important; }
27
+ div.dataTables_filter { display: none !important; }
28
+ div.dataTables_paginate { display: none !important; }
29
+ div.dataTables_info { display: none !important; }
30
+
21
31
  %body
22
- %table
32
+ %table{class: "output-table"}
23
33
  %thead
24
34
  %tr.header
25
35
  %td{colspan: 3}
@@ -42,3 +52,11 @@
42
52
  by
43
53
  %a{href: "https://gitlab.com/coraline/fukuzatsu", target: "_new"}
44
54
  Fukuzatsu
55
+ :javascript
56
+ $(document).ready(function(){
57
+ $('.output-table').dataTable({
58
+ bLengthChange: false,
59
+ iDisplayLength: 25000
60
+ });
61
+ });
62
+
@@ -1,3 +1,3 @@
1
1
  module Fukuzatsu
2
- VERSION = "0.9.4"
2
+ VERSION = "0.9.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fukuzatsu
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.4
4
+ version: 0.9.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bantik