cloudrider 0.1.0 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/generica/app/assets/javascripts/templates/components/site-footer.emblem +4 -2
- data/generica/app/assets/stylesheets/apiv1/components/_product-listing.css.scss +2 -2
- data/generica/app/varissets/javascripts/templates/components/site-footer.emblem.erb +11 -0
- data/generica/app/varissets/stylesheets/apiv1/_application.css.scss.erb +4 -0
- data/generica/app/varissets/stylesheets/apiv1/components/_product-listing.css.scss.erb +2 -2
- data/lib/cloudrider/apiv1/site_footer_component.rb +15 -0
- data/lib/cloudrider/application_commander.rb +8 -1
- data/lib/cloudrider/version.rb +1 -1
- data/lib/generators/cloudrider/client/client_generator.rb +0 -1
- metadata +3 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 05a29639cf08f4f2e7362d0cc0237aad78986877
|
4
|
+
data.tar.gz: 13ef20006e8fdb367f1eaa3d641c7e464b413a62
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0f39683895a5950e036f581782a6e4bcce630d43bf1f1bbc0a5146b0a218bebd86bafe02145157411fb79e29cade52ff5a4d5d4dca0a9ebd342d732a5aac7cda
|
7
|
+
data.tar.gz: f5bc75eb145b4e79e7c2fd53f7ae8c385e907f2516fa38fcc43cbd7f2fd1b076a436530890fb7d4a5053f710d60476eff115528b9ed734c95dbea28d972c36dc
|
@@ -1,9 +1,11 @@
|
|
1
1
|
.row
|
2
2
|
.medium-push-2.large-push-2.large-10.medium-10.small-12.columns
|
3
|
-
h1.footer-title
|
3
|
+
h1.footer-title
|
4
|
+
tr-span en="some company tagline"
|
4
5
|
.footer-divider
|
5
6
|
p.copyright <%= my_company_name %>. All Rights Reserved
|
6
7
|
.medium-pull-10.large-pull-10.large-2.medium-2.small-12.columns
|
7
8
|
select-locale class="lang-btn"
|
8
9
|
button click="displayModal 'login'" class="admin-btn button secondary expand"
|
9
|
-
span.capitalize
|
10
|
+
span.capitalize
|
11
|
+
tr-span en="admin"
|
@@ -0,0 +1,11 @@
|
|
1
|
+
.row
|
2
|
+
.medium-push-2.large-push-2.large-10.medium-10.small-12.columns
|
3
|
+
h1.footer-title
|
4
|
+
tr-span en=<%= my_company_tagline.inspect %>
|
5
|
+
.footer-divider
|
6
|
+
p.copyright <%= my_company_name %>. All Rights Reserved
|
7
|
+
.medium-pull-10.large-pull-10.large-2.medium-2.small-12.columns
|
8
|
+
select-locale class="lang-btn"
|
9
|
+
button click="displayModal 'login'" class="admin-btn button secondary expand"
|
10
|
+
span.capitalize
|
11
|
+
tr-span en="admin"
|
@@ -8,6 +8,9 @@
|
|
8
8
|
@import 'apiv1/components/hero-splash';
|
9
9
|
@import 'apiv1/components/introductory-lobby';
|
10
10
|
@import 'apiv1/components/products-showcase';
|
11
|
+
@import 'apiv1/components/product-display';
|
12
|
+
@import 'apiv1/components/products-catalog';
|
13
|
+
@import 'apiv1/components/product-listing';
|
11
14
|
@import 'apiv1/components/table-booths';
|
12
15
|
@import 'apiv1/components/site-footer';
|
13
16
|
@import 'apiv1/components/flash-message';
|
@@ -15,6 +18,7 @@
|
|
15
18
|
@import 'apiv1/components/block-grid-pictures';
|
16
19
|
@import 'apiv1/components/fancy-paginator';
|
17
20
|
@import "apiv1/modals/login";
|
21
|
+
@import 'apiv1/products/product/show';
|
18
22
|
|
19
23
|
body {
|
20
24
|
background: {
|
@@ -0,0 +1,15 @@
|
|
1
|
+
class Cloudrider::Apiv1::SiteFooterComponent < Cloudrider::Apiv1::Base
|
2
|
+
class Context
|
3
|
+
def my_company_name
|
4
|
+
"Cloudrider"
|
5
|
+
end
|
6
|
+
def my_company_tagline
|
7
|
+
"Some sort of company tagline"
|
8
|
+
end
|
9
|
+
end
|
10
|
+
|
11
|
+
private
|
12
|
+
def _context
|
13
|
+
Context.new
|
14
|
+
end
|
15
|
+
end
|
@@ -30,7 +30,8 @@ class Cloudrider::ApplicationCommander
|
|
30
30
|
_products_catalog,
|
31
31
|
_products_showcase,
|
32
32
|
_site_nav,
|
33
|
-
_table_booths
|
33
|
+
_table_booths,
|
34
|
+
_site_footer
|
34
35
|
].flatten.map { |ac| ac.new _varisset_style }.map(&:protofile)
|
35
36
|
end
|
36
37
|
|
@@ -68,6 +69,9 @@ class Cloudrider::ApplicationCommander
|
|
68
69
|
def _table_booths
|
69
70
|
[Cloudrider::Apiv1::TableBoothsComponent, Cloudrider::Apiv1::TableBoothsSass]
|
70
71
|
end
|
72
|
+
def _site_footer
|
73
|
+
[Cloudrider::Apiv1::SiteFooterComponent]
|
74
|
+
end
|
71
75
|
def _varisset_name
|
72
76
|
@params[:name]
|
73
77
|
end
|
@@ -94,6 +98,8 @@ class Cloudrider::ApplicationCommander
|
|
94
98
|
_products_catalog
|
95
99
|
when "products-showcase"
|
96
100
|
_products_showcase
|
101
|
+
when "site-footer"
|
102
|
+
_site_footer
|
97
103
|
when "site-nav"
|
98
104
|
_site_nav
|
99
105
|
when "table-booths"
|
@@ -113,6 +119,7 @@ class Cloudrider::ApplicationCommander
|
|
113
119
|
"products-catalog",
|
114
120
|
"products-showcase",
|
115
121
|
"site-nav",
|
122
|
+
"site-footer",
|
116
123
|
"table-booths"
|
117
124
|
]
|
118
125
|
end
|
data/lib/cloudrider/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cloudrider
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Thomas Chen
|
@@ -359,6 +359,7 @@ files:
|
|
359
359
|
- generica/app/varissets/javascripts/templates/components/product-listing.emblem.erb
|
360
360
|
- generica/app/varissets/javascripts/templates/components/products-catalog.emblem.erb
|
361
361
|
- generica/app/varissets/javascripts/templates/components/products-showcase.emblem.erb
|
362
|
+
- generica/app/varissets/javascripts/templates/components/site-footer.emblem.erb
|
362
363
|
- generica/app/varissets/javascripts/templates/components/site-nav.emblem.erb
|
363
364
|
- generica/app/varissets/javascripts/templates/components/table-booths.emblem.erb
|
364
365
|
- generica/app/varissets/javascripts/templates/index.emblem.erb
|
@@ -509,6 +510,7 @@ files:
|
|
509
510
|
- lib/cloudrider/apiv1/products_catalog_sass.rb
|
510
511
|
- lib/cloudrider/apiv1/products_showcase_component.rb
|
511
512
|
- lib/cloudrider/apiv1/products_showcase_sass.rb
|
513
|
+
- lib/cloudrider/apiv1/site_footer_component.rb
|
512
514
|
- lib/cloudrider/apiv1/site_nav_component.rb
|
513
515
|
- lib/cloudrider/apiv1/site_nav_sass.rb
|
514
516
|
- lib/cloudrider/apiv1/table_booths_component.rb
|