will_filter 5.1.3 → 5.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/app/assets/stylesheets/will_filter/filter.css.scss +2 -4
- data/app/views/will_filter/exporter/index.html.erb +20 -20
- data/app/views/will_filter/filter/_condition.html.erb +2 -2
- data/app/views/will_filter/filter/_conditions_footer.html.erb +3 -3
- data/app/views/will_filter/filter/_conditions_header.html.erb +4 -4
- data/lib/will_filter/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7d16cdbd001be38a9fc6ee062955a415b0698e526c22a2ddc8ba01cd6bd3c3a4
|
4
|
+
data.tar.gz: 55da1b6bf77add3a86dee79b2f539bd97dec640554e76e2de10b8129c1c28971
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fc75691be767c09e70dbddab5a37518105a011065820f2671d9878d8c629965ae71e433b3990da6ebac1198fdb74c4057d496c20c404e0a0a5fee43d434b9ee5
|
7
|
+
data.tar.gz: 51bd829834040a9e7679b22608fbffd14a3a83afa76abece9bb7f2466f8720bfbe75310c123c9a1cc30287b92e8258c062d1471fa680d7b50134ac7c44d18112
|
data/Gemfile.lock
CHANGED
@@ -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:
|
44
|
+
margin:0;
|
47
45
|
padding: 2px !important;
|
48
|
-
height:
|
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
|
-
|
11
|
-
|
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
|
-
|
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
|
-
|
28
|
-
|
29
|
-
|
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-
|
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-
|
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
|
|
15
|
-
<button type="button" class="btn btn-primary btn-
|
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-
|
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-
|
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-
|
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-
|
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-
|
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-
|
33
|
+
<button type="button" class="btn btn-default btn-secondary btn-sm" onclick="wfFilter.deleteFilter()">
|
34
34
|
Delete
|
35
35
|
</button>
|
36
36
|
<% end %>
|
data/lib/will_filter/version.rb
CHANGED
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.
|
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-
|
11
|
+
date: 2018-06-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|