ish_manager 0.1.8.473 → 0.1.8.474

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
  SHA256:
3
- metadata.gz: a3b95fb98acfcf04033ba69dbd7a10b86c21515d0ccbe1c7f6ad109f2f2fd88a
4
- data.tar.gz: 14f7b4fcd867f2db13a52f5134ae1b76370dad9f4ca2da263c1c6fb1d584d0ff
3
+ metadata.gz: cbbc91cb570b304f736dd6e68707c5c7edfff70ad472c69abc16c3843da06ed8
4
+ data.tar.gz: fa2e9004f24a7a65712a3cec0958a84cac0bd2897dc6ea0f2cc86373671447ba
5
5
  SHA512:
6
- metadata.gz: 3b9020667e6773781f76920a5f39716d255ca222d12dd94463e7a6bcc65ba214432cd372f1a472c5c286549edf04f9ef288f1eeccd94ffeb96fbcda2a0d112ab
7
- data.tar.gz: 9ea41fd43030d3453c7ef25972b907773d4f2efba71fbd0ac0b8268eb756e1bb01d85b6d41a3405c4b5d151f671c83fed8c0a81fa5b44a6052f6ee6f2f7f0f5c
6
+ metadata.gz: 556eeb65e43c306a5c38083d24dcc524e84cc29e0949f7dbf0f9c845181a58aafbc050887c98a53021b1000d686dfe796107a27119a7eea3e15dc082965aa66e
7
+ data.tar.gz: cae31230ce606af64343b8dcb8401a1317da7b40dea460f345e492f5c3fb46286ce9def4a30c5ae2f1f225cd66941804783c982db65e19d38cd7283ef809dc1c
@@ -127,8 +127,12 @@ $(function () {
127
127
  lengthMenu: [[10, 25, 100, -1], [10, 25, 100, 'All']],
128
128
  lengthChange: true,
129
129
  }
130
- $('#dataTable').DataTable(_props)
131
- $('.data-table').DataTable(_props)
130
+ // $('#dataTable').DataTable(_props)
131
+ var dataTable = $('.data-table').DataTable(_props)
132
+
133
+ $('#dataTableSearch').on( 'keyup', function () {
134
+ dataTable.search( this.value ).draw();
135
+ } );
132
136
  }
133
137
 
134
138
  if ('function' === typeof $('body').datepicker) {
@@ -5,19 +5,21 @@
5
5
  Email Filters (#{@email_filters.length})
6
6
  = link_to '[+]', new_email_filter_path
7
7
 
8
- %table.bordered
9
- %tr
10
- %th  
11
- %th  
12
- %th From Regex
13
- %th From Exact
14
- %th Subject Regex
15
- %th Subject Exact
16
- %th Body Exact
17
- %th Kind
18
- %th Email Action
19
- %th Email Template
20
- %th Email Tag
8
+ -# %input#dataTableSearch
9
+ %table.bordered.data-table
10
+ %thead
11
+ %tr
12
+ %th  
13
+ %th  
14
+ %th From Regex
15
+ %th From Exact
16
+ %th Subject Regex
17
+ %th Subject Exact
18
+ %th Body Exact
19
+ %th Kind
20
+ %th Email Action
21
+ %th Email Template
22
+ %th Email Tag
21
23
  - @email_filters.each do |ef|
22
24
 
23
25
  %tr
@@ -25,8 +27,10 @@
25
27
  %td
26
28
  = link_to '[~]', edit_email_filter_path(ef)
27
29
  .inline-block= button_to '[x]', email_filter_path(ef), method: :delete, data: { confirm: 'Are you sure?' }
28
- %td= ef.from_regex
29
- %td= ef.from_exact
30
+ %td
31
+ `#{ef.from_regex}`
32
+ %td
33
+ `#{ef.from_exact}`
30
34
  %td= ef.subject_regex
31
35
  %td= ef.subject_exact
32
36
  %td= ef.body_exact
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ish_manager
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8.473
4
+ version: 0.1.8.474
5
5
  platform: ruby
6
6
  authors:
7
7
  - piousbox