will_filter 5.1.3 → 5.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5e6304d63a34f3a4f0104a74ac1413173a1364804df01106ebe54b11d0f3b99d
4
- data.tar.gz: 783b671764d80029de1234a7ecc4573fc3cb9a85c73c51f7781b2d959d8ae3f7
3
+ metadata.gz: 7d16cdbd001be38a9fc6ee062955a415b0698e526c22a2ddc8ba01cd6bd3c3a4
4
+ data.tar.gz: 55da1b6bf77add3a86dee79b2f539bd97dec640554e76e2de10b8129c1c28971
5
5
  SHA512:
6
- metadata.gz: 50db3336311678af249e7edd0102971c89a8ea43b8d68186a0cd297881688f9bb4c45741606fffc2b7df7da34c44a88f91a5e2009116393ba9651e3435f56658
7
- data.tar.gz: 1376075193974f76b79526471f3d7f8d24eabf3213bd2ad9f36717b835f2fdd80347ed39d5e0374f8d5fd59cc19e1bfeceaa27b7ab1efcc5c38fbdbdb71da214
6
+ metadata.gz: fc75691be767c09e70dbddab5a37518105a011065820f2671d9878d8c629965ae71e433b3990da6ebac1198fdb74c4057d496c20c404e0a0a5fee43d434b9ee5
7
+ data.tar.gz: 51bd829834040a9e7679b22608fbffd14a3a83afa76abece9bb7f2466f8720bfbe75310c123c9a1cc30287b92e8258c062d1471fa680d7b50134ac7c44d18112
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- will_filter (5.1.3)
4
+ will_filter (5.1.4)
5
5
  kaminari (~> 1.1)
6
6
  rails (~> 5.1)
7
7
  sass (~> 3.5)
@@ -37,15 +37,13 @@
37
37
  @include rounded-corners(3px);
38
38
  }
39
39
 
40
-
41
-
42
40
  input {
43
41
  border: 1px solid #ccc;
44
42
  font-size: 12px;
45
43
  font-family: Arial;
46
- margin:0px;
44
+ margin:0;
47
45
  padding: 2px !important;
48
- height: 24px;
46
+ height: 26px;
49
47
  @include rounded-corners(3px);
50
48
  }
51
49
 
@@ -6,28 +6,28 @@
6
6
  </div>
7
7
 
8
8
  <div class="wf_exporter_container">
9
-
10
- <table style="width:100%" cellpadding="0px" cellspacing="0px;">
11
- <thead>
12
- <tr>
13
- <td><input type="checkbox" id="wf_fld_all" onClick="wfExporter.selectAllFields(this);" style="width:20px;"></td>
14
- <td>Name</td>
15
- <td>Type</td>
16
- </tr>
17
- </thead>
18
- <tbody>
19
- <% @wf_filter.model_class.columns.each_with_index do |col, index| %>
9
+ <div style="max-height: 400px; overflow: auto;">
10
+ <table style="width:100%" cellpadding="0px" cellspacing="0px;">
11
+ <thead>
20
12
  <tr>
21
- <td>
22
- <input type="checkbox" id="wf_fld_chk_<%= index %>" onClick="wfExporter.selectField(this);" style="width:20px;"><input type="hidden" id="wf_fld_name_<%= index %>" value="<%= col.name %>">
23
- </td>
24
- <td><%= col.name %></td>
25
- <td><%= col.type %></td>
13
+ <td><input type="checkbox" id="wf_fld_all" onClick="wfExporter.selectAllFields(this);" style="width:20px;"></td>
14
+ <td>Name</td>
15
+ <td>Type</td>
26
16
  </tr>
27
- <% end %>
28
- </tbody>
29
- </table>
30
-
17
+ </thead>
18
+ <tbody>
19
+ <% @wf_filter.model_class.columns.each_with_index do |col, index| %>
20
+ <tr>
21
+ <td>
22
+ <input type="checkbox" id="wf_fld_chk_<%= index %>" onClick="wfExporter.selectField(this);" style="width:20px;"><input type="hidden" id="wf_fld_name_<%= index %>" value="<%= col.name %>">
23
+ </td>
24
+ <td><%= col.name %></td>
25
+ <td><%= col.type %></td>
26
+ </tr>
27
+ <% end %>
28
+ </tbody>
29
+ </table>
30
+ </div>
31
31
 
32
32
  <div class="center" style="border-top: 1px solid #ccc; padding-top: 5px; margin-top: 5px;">
33
33
  Format: <%= select_tag("wf_export_format_selector", options_for_select(@wf_filter.export_formats, @wf_filter.format)) %>
@@ -31,10 +31,10 @@
31
31
  <%= render :partial => "/will_filter/filter/containers/#{condition.container.template_name}", :locals => {:container => condition.container, :index => index} %>
32
32
  </td>
33
33
  <td class="actions">
34
- <button type="button" class="btn btn-default btn-secondary btn-xs" onclick="wfFilter.removeConditionAt('<%= index %>')" style="width: 20px;">
34
+ <button type="button" class="btn btn-default btn-secondary btn-sm" onclick="wfFilter.removeConditionAt('<%= index %>')" style="width: 25px; height: 25px;">
35
35
  -
36
36
  </button>
37
- <button type="button" class="btn btn-default btn-secondary btn-xs" onclick="wfFilter.addConditionAfter('<%= index %>')" style="width: 20px;">
37
+ <button type="button" class="btn btn-default btn-secondary btn-sm" onclick="wfFilter.addConditionAfter('<%= index %>')" style="width: 25px; height: 25px;">
38
38
  +
39
39
  </button>
40
40
  </td>
@@ -12,16 +12,16 @@
12
12
  <% end %>
13
13
 
14
14
  &nbsp;&nbsp;
15
- <button type="button" class="btn btn-primary btn-xs" onclick="wfFilter.submit()">
15
+ <button type="button" class="btn btn-primary btn-sm" onclick="wfFilter.submit()">
16
16
  Submit
17
17
  </button>
18
18
  </div>
19
19
 
20
20
  <div>
21
- <button type="button" class="btn btn-default btn-secondary btn-xs" onclick="wfFilter.addCondition()">
21
+ <button type="button" class="btn btn-default btn-secondary btn-sm" onclick="wfFilter.addCondition()">
22
22
  + Add Condition
23
23
  </button>
24
- <button type="button" class="btn btn-default btn-secondary btn-xs" onclick="wfFilter.removeAllConditions()">
24
+ <button type="button" class="btn btn-default btn-secondary btn-sm" onclick="wfFilter.removeAllConditions()">
25
25
  Clear All
26
26
  </button>
27
27
 
@@ -14,7 +14,7 @@
14
14
  <div class="wf_header">
15
15
  <% if wf_filter.show_export_options? %>
16
16
  <div class="end" style="padding-left:3px;">
17
- <button type="button" class="btn btn-default btn-xs" onclick="wfExporter.show(this)">
17
+ <button type="button" class="btn btn-default btn-secondary btn-sm" onclick="wfExporter.show(this)">
18
18
  Export Data...
19
19
  </button>
20
20
  </div>
@@ -22,15 +22,15 @@
22
22
 
23
23
  <% if wf_filter.show_save_options? %>
24
24
  <div class="end">
25
- <button type="button" class="btn btn-default btn-xs" onclick="wfFilter.saveFilter()">
25
+ <button type="button" class="btn btn-default btn-secondary btn-sm" onclick="wfFilter.saveFilter()">
26
26
  Save As New...
27
27
  </button>
28
28
 
29
29
  <% if wf_filter.id %>
30
- <button type="button" class="btn btn-default btn-xs" onclick="wfFilter.updateFilter()">
30
+ <button type="button" class="btn btn-default btn-secondary btn-sm" onclick="wfFilter.updateFilter()">
31
31
  Update
32
32
  </button>
33
- <button type="button" class="btn btn-default btn-xs" onclick="wfFilter.deleteFilter()">
33
+ <button type="button" class="btn btn-default btn-secondary btn-sm" onclick="wfFilter.deleteFilter()">
34
34
  Delete
35
35
  </button>
36
36
  <% end %>
@@ -31,5 +31,5 @@
31
31
  #++
32
32
 
33
33
  module WillFilter
34
- VERSION = '5.1.3'
34
+ VERSION = '5.1.4'
35
35
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: will_filter
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.1.3
4
+ version: 5.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Berkovich
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-06-13 00:00:00.000000000 Z
11
+ date: 2018-06-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails