wco_models 3.1.0.63 → 3.1.0.64

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: 022fabea87e14814a23f90a1b42ef55f7bca33c9bb3d7f3378880979499226af
4
- data.tar.gz: cfe8b62245ca4c1a855a6a4b24b7b7fec129877d9d63aca24bd2912b2b89f797
3
+ metadata.gz: 8ce47664d92d06b21e041449c5aeb596b55bad9f380dfbf8e34361fd2d549bdb
4
+ data.tar.gz: 80728ff93a9d6f89820ca2ef4257d8fa62244ebdc0a5fc872a0d28758100dc78
5
5
  SHA512:
6
- metadata.gz: d60322babfd64996de63d0ddee99ba32c890ef234d56abd6aa487c3b3613f8a418970fc46f8ffae5ccab177e55626247d08bb0ac8155b40ce36b35b708717b8f
7
- data.tar.gz: 9a32bd30edd8e8b414cc635a31c09be17592098a672834d452b48b1e49f442aabdc6f471ea054673cb691c18c417151964f183cdbac2aa3dd6dc10160e7ca95e
6
+ metadata.gz: b2d62471c373c7d89933be5afeb0e406917cc61c690c19064184d93fe9bd9fa99a0acd58eaff09400e6a1fa9a85bf4803aa08f762cc50c9d52e24244bf29b333
7
+ data.tar.gz: 4faf4a69f74c8b1b1487978b6b377dd6c2413261e818241d5a736d5d23e657fc82df95f97a125ada9e89a002f535d99a37157c65b31e5afb13886006f98cb0ba
@@ -0,0 +1,8 @@
1
+
2
+ $(function () {
3
+
4
+ $(".close").click(function(ev) {
5
+ $(this).parent().slideToggle()
6
+ })
7
+
8
+ })
@@ -14,11 +14,11 @@
14
14
  //
15
15
  // require select2
16
16
  //
17
+ //= require ./alerts-notices
17
18
  //= require ./collapse-expand
18
19
  //= require ./file_upload
19
20
  //= require ./shared
20
21
  //
21
- console.log('Loading wco/application.js')
22
22
 
23
23
  $(function() {
24
24
 
@@ -0,0 +1,14 @@
1
+
2
+ .alert {
3
+ border: 1px solid red;
4
+ padding: .8em;
5
+ margin: 0.8em;
6
+ position: relative;
7
+ }
8
+
9
+ .notice {
10
+ border: 1px solid green;
11
+ padding: .8em;
12
+ margin: 0.8em;
13
+ position: relative;
14
+ }
@@ -5,25 +5,16 @@
5
5
  *= require_tree .
6
6
  **/
7
7
 
8
- /* body {
9
- color: red !important;
10
- } */
11
-
12
8
  .select2 {
13
9
  min-width: 200px;
14
- /* width: 100%; */
15
- }
16
-
17
- .wco--alerts-notices {
18
- border-bottom: 1px solid red;
19
10
  }
20
11
 
21
12
  .main-footer {
22
- border-top: 1px solid red;
13
+ border-top: 2px solid #6395b9;
23
14
  }
24
15
 
25
16
  .main-header {
26
- // border-bottom: 1px solid red;
17
+ border-bottom: 2px solid #6395b9;
27
18
 
28
19
  li {
29
20
  display: flex;
@@ -26,7 +26,7 @@ module Wco::ApplicationHelper
26
26
  def pp_time date
27
27
  return nil if !date
28
28
  # return date.strftime('%l:%M%P %z')
29
- return date.in_time_zone( Rails.application.config.time_zone ).strftime('%l:%M%P')
29
+ return date.in_time_zone( Rails.application.config.time_zone ).strftime('%l:%M%P %Z')
30
30
  end
31
31
 
32
32
  def pp_amount a
@@ -100,7 +100,7 @@ class WcoEmail::Message
100
100
  WcoEmail::Context.create({
101
101
  email_template: filter.email_template,
102
102
  lead_id: lead.id,
103
- send_at: Time.now + 22.minutes,
103
+ send_at: Time.now,
104
104
  })
105
105
 
106
106
  when WcoEmail::EmailFilter::KIND_AUTORESPOND_EACT
@@ -108,7 +108,7 @@ class WcoEmail::Message
108
108
  email_action: filter.email_action,
109
109
  state: ::Sch::STATE_ACTIVE,
110
110
  lead_id: lead.id,
111
- perform_at: Time.now + 22.minutes,
111
+ perform_at: Time.now,
112
112
  })
113
113
 
114
114
  else
@@ -1,6 +1,6 @@
1
1
 
2
2
  -# 2023-12-25 v.0.0.0
3
- .wco--alerts-notices.maxwidth
3
+ .wco--alerts-notices.flexwidth
4
4
 
5
5
  - if notice&.class == String
6
6
  .notice
@@ -12,26 +12,21 @@
12
12
  .row
13
13
  .col-sm-4
14
14
  %ul
15
- %li <b>Email:</b> #{@current_profile.email}
15
+ %li
16
+ <b>Email:</b> #{@current_profile.email}
17
+ = button_to 'Logout', main_app.destroy_user_session_path, :method => :delete, data: { confirm: 'Are you sure?' }
16
18
  %li= link_to 'sidekiq', '/sidekiq', target: :_blank
17
19
  %li= link_to 'Iron Warbler', '/iron_warbler'
18
20
 
21
+
19
22
  .col-sm-4
20
23
  %ul
21
24
  %li ~__^ &nbsp; &nbsp; v#{@version}
22
- -# %li= Time.now.in_time_zone.to_s
23
25
  %li
24
26
  = pp_date Time.now
25
27
  = pp_time Time.now
26
- -# <pre>#{@changelog}</pre>
27
28
 
28
29
  .col-sm-4
29
- = button_to 'Logout', main_app.destroy_user_session_path, :method => :delete, data: { confirm: 'Are you sure?' }
30
-
31
- -# .set-jwt-token
32
- -# = button_tag 'Set JWT', class: 'set-jwt-token'
33
- -# .jwt-token
34
-
35
30
  = form_for @current_profile, url: wco.profile_path(@current_profile), as: :profile do |f|
36
31
  .flex-row
37
32
  = f.label :per_page
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wco_models
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.0.63
4
+ version: 3.1.0.64
5
5
  platform: ruby
6
6
  authors:
7
7
  - Victor Pudeyev
@@ -355,11 +355,13 @@ files:
355
355
  - app/assets/javascripts/vendor/jquery.ui.widget.js
356
356
  - app/assets/javascripts/vendor/popper-1.14.0.min.js
357
357
  - app/assets/javascripts/vendor/summernote-bs4.min.js
358
+ - app/assets/javascripts/wco/alerts-notices.js
358
359
  - app/assets/javascripts/wco/application.js
359
360
  - app/assets/javascripts/wco/collapse-expand.js
360
361
  - app/assets/javascripts/wco/file_upload.js
361
362
  - app/assets/javascripts/wco/shared.js
362
363
  - app/assets/stylesheets/vendor/bootstrap-4.6.2.min.css
364
+ - app/assets/stylesheets/wco/alerts_notices.scss
363
365
  - app/assets/stylesheets/wco/application.css
364
366
  - app/assets/stylesheets/wco/pagination.scss
365
367
  - app/assets/stylesheets/wco/utils.scss