wco_models 3.1.0.109 → 3.1.0.110
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 +4 -4
- data/app/assets/stylesheets/dark_theme.scss +16 -0
- data/app/assets/stylesheets/production_theme.scss +20 -0
- data/app/assets/stylesheets/wco/application.css +1 -1
- metadata +3 -16
- data/app/models/wco/premium_item.rb-trash +0 -13
- data/app/models/wco_hosting/appliance_tmpl_leadset.rb-trash +0 -11
- data/app/views/wco/galleries/_menu.haml-trash +0 -10
- data/app/views/wco/invoices/_form.haml-trash +0 -29
- data/app/views/wco/videos/trash/_embed.haml +0 -5
- data/app/views/wco/videos/trash/_embed_half.erb +0 -4
- data/app/views/wco/videos/trash/_embed_mini.erb +0 -4
- data/app/views/wco/videos/trash/_embed_s3.erb +0 -6
- data/app/views/wco/videos/trash/_embed_youtube.erb +0 -4
- data/app/views/wco/videos/trash/_index_title.haml +0 -27
- data/app/views/wco/videos/trash/_list.haml +0 -14
- data/app/views/wco/videos/trash/_list_small.haml +0 -9
- data/app/views/wco/videos/trash/_meta_edit.haml +0 -4
- data/app/views/wco/videos/trash/_preview.haml +0 -2
- data/app/views/wco_hosting/scripts/create_subdomain.json.erb-trash +0 -16
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 96d1a6538ea2a92417ecfd9ee6082742ba762c97ab8868a56ec83b5e926bbc90
|
|
4
|
+
data.tar.gz: 4d7933dee72745b2012070469e952f3a7a76169a15bcecfac57085f9ed1efec8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: bdeef7345ba87ce80604fe6dd0eb80786b765534725baa49b6e6c6ce8d7a530ea15ffda49c6bfa3d0445fa7665bc3f87e16376a914ea9d65a4445efcadd8abfc
|
|
7
|
+
data.tar.gz: c6a7f928aeb937509e6579b4b07de853a25a70cd73611a0c2ac6d5cdd4be0bd0f0ddd88008b3ca6d91c7bca833d0620f8417094b9050771085019824486253b8
|
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.
|
|
4
|
+
version: 3.1.0.110
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Victor Pudeyev
|
|
@@ -376,6 +376,8 @@ files:
|
|
|
376
376
|
- app/assets/javascripts/wco/invoices.js
|
|
377
377
|
- app/assets/javascripts/wco/office_action_templates.js
|
|
378
378
|
- app/assets/javascripts/wco/shared.js
|
|
379
|
+
- app/assets/stylesheets/dark_theme.scss
|
|
380
|
+
- app/assets/stylesheets/production_theme.scss
|
|
379
381
|
- app/assets/stylesheets/vendor/bootstrap-4.6.2.min.css
|
|
380
382
|
- app/assets/stylesheets/wco/alerts_notices.scss
|
|
381
383
|
- app/assets/stylesheets/wco/application.css
|
|
@@ -422,7 +424,6 @@ files:
|
|
|
422
424
|
- app/models/wco/office_action_template.rb
|
|
423
425
|
- app/models/wco/office_action_template_tie.rb
|
|
424
426
|
- app/models/wco/photo.rb
|
|
425
|
-
- app/models/wco/premium_item.rb-trash
|
|
426
427
|
- app/models/wco/price.rb
|
|
427
428
|
- app/models/wco/product.rb
|
|
428
429
|
- app/models/wco/profile.rb
|
|
@@ -447,7 +448,6 @@ files:
|
|
|
447
448
|
- app/models/wco_email/unsubscribe.rb
|
|
448
449
|
- app/models/wco_hosting/appliance.rb
|
|
449
450
|
- app/models/wco_hosting/appliance_tmpl.rb
|
|
450
|
-
- app/models/wco_hosting/appliance_tmpl_leadset.rb-trash
|
|
451
451
|
- app/models/wco_hosting/domain.rb
|
|
452
452
|
- app/models/wco_hosting/environment.rb
|
|
453
453
|
- app/models/wco_hosting/serverhost.rb
|
|
@@ -467,7 +467,6 @@ files:
|
|
|
467
467
|
- app/views/wco/galleries/_form.haml
|
|
468
468
|
- app/views/wco/galleries/_header.haml
|
|
469
469
|
- app/views/wco/galleries/_index.haml
|
|
470
|
-
- app/views/wco/galleries/_menu.haml-trash
|
|
471
470
|
- app/views/wco/galleries/_menu_secondary.haml
|
|
472
471
|
- app/views/wco/galleries/_thumbs.haml
|
|
473
472
|
- app/views/wco/galleries/_title.haml
|
|
@@ -479,7 +478,6 @@ files:
|
|
|
479
478
|
- app/views/wco/headlines/_index.haml
|
|
480
479
|
- app/views/wco/headlines/edit.haml
|
|
481
480
|
- app/views/wco/headlines/new.haml
|
|
482
|
-
- app/views/wco/invoices/_form.haml-trash
|
|
483
481
|
- app/views/wco/invoices/_header.haml
|
|
484
482
|
- app/views/wco/invoices/_index_list.haml
|
|
485
483
|
- app/views/wco/invoices/_index_table.haml
|
|
@@ -581,16 +579,6 @@ files:
|
|
|
581
579
|
- app/views/wco/videos/edit.haml
|
|
582
580
|
- app/views/wco/videos/new.haml
|
|
583
581
|
- app/views/wco/videos/show.haml
|
|
584
|
-
- app/views/wco/videos/trash/_embed.haml
|
|
585
|
-
- app/views/wco/videos/trash/_embed_half.erb
|
|
586
|
-
- app/views/wco/videos/trash/_embed_mini.erb
|
|
587
|
-
- app/views/wco/videos/trash/_embed_s3.erb
|
|
588
|
-
- app/views/wco/videos/trash/_embed_youtube.erb
|
|
589
|
-
- app/views/wco/videos/trash/_index_title.haml
|
|
590
|
-
- app/views/wco/videos/trash/_list.haml
|
|
591
|
-
- app/views/wco/videos/trash/_list_small.haml
|
|
592
|
-
- app/views/wco/videos/trash/_meta_edit.haml
|
|
593
|
-
- app/views/wco/videos/trash/_preview.haml
|
|
594
582
|
- app/views/wco_email/application_mailer/_footer_unsubscribe.html.erb
|
|
595
583
|
- app/views/wco_email/application_mailer/_header_logo.html.erb
|
|
596
584
|
- app/views/wco_email/application_mailer/forwarder_notify.html.erb
|
|
@@ -622,7 +610,6 @@ files:
|
|
|
622
610
|
- app/views/wco_hosting/docker-compose/dc-helloworld.erb
|
|
623
611
|
- app/views/wco_hosting/docker-compose/dc-react.erb
|
|
624
612
|
- app/views/wco_hosting/docker-compose/dc-wordpress.erb
|
|
625
|
-
- app/views/wco_hosting/scripts/create_subdomain.json.erb-trash
|
|
626
613
|
- app/views/wco_hosting/scripts/create_volume.erb
|
|
627
614
|
- app/views/wco_hosting/scripts/nginx_site.conf.erb
|
|
628
615
|
- config/initializers/assets.rb
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
module Wco::PremiumItem
|
|
3
|
-
|
|
4
|
-
def self.included base
|
|
5
|
-
base.send :field, :premium_tier, type: Integer, default: 0 # how many unlocks are need, to get access? 0 = free
|
|
6
|
-
base.send :has_many, :premium_purchases, class_name: '::Ish::Payment', as: :item
|
|
7
|
-
end
|
|
8
|
-
|
|
9
|
-
def is_premium
|
|
10
|
-
premium_tier > 0
|
|
11
|
-
end
|
|
12
|
-
|
|
13
|
-
end
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
class WcoHosting::ApplianceTmplLeadset
|
|
3
|
-
include Mongoid::Document
|
|
4
|
-
include Mongoid::Timestamps
|
|
5
|
-
store_in collection: 'wco_appliance_tmpl_leadsets'
|
|
6
|
-
|
|
7
|
-
belongs_to :leadset, class_name: 'Wco::Leadset'
|
|
8
|
-
belongs_to :appliance_tmpl, class_name: 'WcoHosting::ApplianceTmpl'
|
|
9
|
-
|
|
10
|
-
end
|
|
11
|
-
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
- url = invoice.persisted? ? invoice_path( invoice.id ) : invoices_path
|
|
3
|
-
|
|
4
|
-
= form_for invoice, :as => :invoice, :url => url do |f|
|
|
5
|
-
= hidden_field_tag 'invoice[leadset_id]', @leadset.id
|
|
6
|
-
|
|
7
|
-
.input-field
|
|
8
|
-
%label Email
|
|
9
|
-
= @leadset.email
|
|
10
|
-
-# - if @leadset.email
|
|
11
|
-
-# = f.text_field :email, value: @leadset.email
|
|
12
|
-
-# - elsif @leadset.employees.length == 1
|
|
13
|
-
-# = f.text_field :email, value: @leadset.employees[0].email
|
|
14
|
-
-# - else
|
|
15
|
-
-# = f.select :email, options_for_select([[nil,nil]] + @leadset.employees.map { |i| [ i.email, i.email ] } )
|
|
16
|
-
|
|
17
|
-
.input-field
|
|
18
|
-
%label item
|
|
19
|
-
= select_tag 'invoice[items][]', options_for_select( @products_list )
|
|
20
|
-
|
|
21
|
-
-# .input-field
|
|
22
|
-
-# %label number
|
|
23
|
-
-# = f.number_field :number
|
|
24
|
-
|
|
25
|
-
-# .input-field
|
|
26
|
-
-# %label Description
|
|
27
|
-
-# = f.text_area :description
|
|
28
|
-
|
|
29
|
-
= f.submit 'Save'
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
<div class="" style="" >
|
|
3
|
-
<!-- <iframe width="430" height="322" src="<%= video.video.url %>" frameborder="0" allowfullscreen></iframe> -->
|
|
4
|
-
<iframe width="640" height="480" src="<%= video.video.url %>" frameborder="0" allowfullscreen></iframe>
|
|
5
|
-
<!-- <iframe src="<%= video.video.url %>" frameborder="0" allowfullscreen></iframe> -->
|
|
6
|
-
</div>
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
-# videos ||= @videos
|
|
3
|
-
-# videos = videos.page params[:videos_page]
|
|
4
|
-
|
|
5
|
-
.row
|
|
6
|
-
.col.s12
|
|
7
|
-
%h5
|
|
8
|
-
Videos (#{videos.count})
|
|
9
|
-
= link_to image_new, new_video_path
|
|
10
|
-
|
|
11
|
-
= paginate videos, :param_name => :videos_page, :views_prefix => 'ish_manager'
|
|
12
|
-
|
|
13
|
-
- videos.each do |video|
|
|
14
|
-
.panel
|
|
15
|
-
.panel-content
|
|
16
|
-
.row
|
|
17
|
-
.col.s12
|
|
18
|
-
.float-left= youtube_image_tag( video )
|
|
19
|
-
.a
|
|
20
|
-
= link_to video.name, video_path( video )
|
|
21
|
-
= link_to image_edit, edit_video_path( video )
|
|
22
|
-
.inline= button_to '[x]', video_path( video ), :method => :delete, :data => { :confirm => 'Are you sure?' }
|
|
23
|
-
= render 'meta', :item => video
|
|
24
|
-
|
|
25
|
-
= paginate videos, :param_name => :videos_page, :views_prefix => 'ish_manager'
|
|
26
|
-
|
|
27
|
-
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
.videos-list
|
|
3
|
-
- if videos.blank?
|
|
4
|
-
= t('videos.no_videos')
|
|
5
|
-
- else
|
|
6
|
-
= paginate videos, :param_name => :videos_page, :views_prefix => 'templates'
|
|
7
|
-
- videos.each do |video|
|
|
8
|
-
.callout
|
|
9
|
-
%h5= link_to (video.name.blank? ? t('videos.no_title') : video.name), video_path( video.youtube_id )
|
|
10
|
-
.text-center= render 'videos/embed', :video => video
|
|
11
|
-
= video.descr
|
|
12
|
-
= paginate videos, :param_name => :videos_page, :views_prefix => 'templates'
|
|
13
|
-
.c
|
|
14
|
-
.c
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
.list-small
|
|
3
|
-
%ul
|
|
4
|
-
- videos.each do |v|
|
|
5
|
-
%li
|
|
6
|
-
= image_tag( "http://img.youtube.com/vi/#{v.youtube_id}/1.jpg" )
|
|
7
|
-
= link_to '[~]', edit_video_path( v )
|
|
8
|
-
= link_to '[_]', video_path( v )
|
|
9
|
-
= paginate videos, :param_name => :videos_page, :views_prefix => 'templates'
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
{
|
|
4
|
-
"Comment": "optional",
|
|
5
|
-
"Changes": [
|
|
6
|
-
{
|
|
7
|
-
"Action": "CREATE",
|
|
8
|
-
"ResourceRecordSet": {
|
|
9
|
-
"Name": "<%= @app.host %>",
|
|
10
|
-
"Type": "A",
|
|
11
|
-
"TTL": 3600,
|
|
12
|
-
"ResourceRecords": [{ "Value": "<%= @app.serverhost.public_ip %>" }]
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
]
|
|
16
|
-
}
|