refinerycms-project_portfolios 0.0.1
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.
- data/app/controllers/admin/project_portfolios_controller.rb +8 -0
- data/app/controllers/project_portfolios_controller.rb +33 -0
- data/app/helpers/project_portfolio_helper.rb +17 -0
- data/app/models/project_portfolio.rb +12 -0
- data/app/views/admin/project_portfolios/_actions.html.erb +28 -0
- data/app/views/admin/project_portfolios/_form.html.erb +86 -0
- data/app/views/admin/project_portfolios/_project_portfolio.html.erb +18 -0
- data/app/views/admin/project_portfolios/_project_portfolios.html.erb +2 -0
- data/app/views/admin/project_portfolios/_records.html.erb +18 -0
- data/app/views/admin/project_portfolios/_sortable_list.html.erb +7 -0
- data/app/views/admin/project_portfolios/edit.html.erb +1 -0
- data/app/views/admin/project_portfolios/index.html.erb +10 -0
- data/app/views/admin/project_portfolios/new.html.erb +1 -0
- data/app/views/project_portfolios/_popup_portfolio.html.erb +14 -0
- data/app/views/project_portfolios/index.html.erb +68 -0
- data/app/views/project_portfolios/show.html.erb +51 -0
- data/config/locales/en.yml +25 -0
- data/config/locales/fr.yml +25 -0
- data/config/locales/lolcat.yml +25 -0
- data/config/locales/nb.yml +21 -0
- data/config/locales/nl.yml +21 -0
- data/config/routes.rb +11 -0
- data/db/migrate/create_project_portfolios.rb +34 -0
- data/db/seeds/project_portfolios.rb +21 -0
- data/lib/generators/refinerycms_project_portfolios_generator.rb +6 -0
- data/lib/refinerycms-project_portfolios.rb +30 -0
- data/lib/tasks/project_portfolios.rake +13 -0
- data/public/images/close_yellow_icon.png +0 -0
- data/public/javascripts/jquery.bpopup.js +10 -0
- data/public/javascripts/jquery.easing.js +205 -0
- data/public/javascripts/jquery.quicksand.js +307 -0
- data/public/stylesheets/portfolio.css +130 -0
- metadata +125 -0
@@ -0,0 +1,130 @@
|
|
1
|
+
/* Tags */
|
2
|
+
#tags {
|
3
|
+
margin-top: 10px;
|
4
|
+
}
|
5
|
+
#tags a {
|
6
|
+
text-decoration: none;
|
7
|
+
}
|
8
|
+
|
9
|
+
#tags label {
|
10
|
+
margin-left: 5px;;
|
11
|
+
}
|
12
|
+
|
13
|
+
.button, .box {
|
14
|
+
border-top: 1px solid #987b48;
|
15
|
+
background: #987b48;
|
16
|
+
background: -webkit-gradient(linear, left top, left bottom, from(#322511), to(#987b48));
|
17
|
+
background: -webkit-linear-gradient(top, #322511, #987b48);
|
18
|
+
background: -moz-linear-gradient(top, #322511, #987b48);
|
19
|
+
background: -ms-linear-gradient(top, #322511, #987b48);
|
20
|
+
background: -o-linear-gradient(top, #322511, #987b48);
|
21
|
+
padding: 5px 10px;
|
22
|
+
-webkit-border-radius: 8px;
|
23
|
+
-moz-border-radius: 8px;
|
24
|
+
border-radius: 8px;
|
25
|
+
-webkit-box-shadow: rgba(0,0,0,1) 0 1px 0;
|
26
|
+
-moz-box-shadow: rgba(0,0,0,1) 0 1px 0;
|
27
|
+
box-shadow: rgba(0,0,0,1) 0 1px 0;
|
28
|
+
text-shadow: rgba(0,0,0,.4) 0 1px 0;
|
29
|
+
color: white;
|
30
|
+
font-size: 14px;
|
31
|
+
font-family: Georgia, serif;
|
32
|
+
text-decoration: none;
|
33
|
+
vertical-align: middle;
|
34
|
+
}
|
35
|
+
.button:hover, .box:hover {
|
36
|
+
border-top-color: #302410;
|
37
|
+
background: #302410;
|
38
|
+
color: #ccc;
|
39
|
+
}
|
40
|
+
.active {
|
41
|
+
border-top-color: #302410;
|
42
|
+
background: #302410;
|
43
|
+
}
|
44
|
+
|
45
|
+
/* grid portfolio layout */
|
46
|
+
.image-grid {
|
47
|
+
width: 700px;
|
48
|
+
list-style: none;
|
49
|
+
}
|
50
|
+
.image-grid li img{
|
51
|
+
width: 128px;
|
52
|
+
max-height: 60px;
|
53
|
+
}
|
54
|
+
.image-grid li {
|
55
|
+
width: 132px;
|
56
|
+
margin: 20px 0 0 20px;
|
57
|
+
float: left;
|
58
|
+
text-align: center;
|
59
|
+
line-height: 17px;
|
60
|
+
height: 80px;
|
61
|
+
overflow: hidden;
|
62
|
+
}
|
63
|
+
.image-grid li img, .image-grid li strong {
|
64
|
+
display: block;
|
65
|
+
}
|
66
|
+
.image-grid li strong {
|
67
|
+
margin-top: 2px;
|
68
|
+
color: #fff;
|
69
|
+
}
|
70
|
+
|
71
|
+
.box {
|
72
|
+
background: #987b48;
|
73
|
+
background: -webkit-gradient(linear, left top, left bottom, from(#664c24), to(#987b48));
|
74
|
+
background: -webkit-linear-gradient(top, #664c24, #987b48);
|
75
|
+
background: -moz-linear-gradient(top, #664c24, #987b48);
|
76
|
+
background: -ms-linear-gradient(top, #664c24, #987b48);
|
77
|
+
background: -o-linear-gradient(top, #664c24, #987b48);
|
78
|
+
padding: 7px;
|
79
|
+
}
|
80
|
+
|
81
|
+
.box img {
|
82
|
+
-webkit-border-radius: 5px;
|
83
|
+
-moz-border-radius: 5px;
|
84
|
+
border-radius: 5px;
|
85
|
+
border: 2px solid #664c24;
|
86
|
+
}
|
87
|
+
|
88
|
+
/* popup */
|
89
|
+
.popup {
|
90
|
+
background: #6C5D48;
|
91
|
+
border: 2px solid #A89479;
|
92
|
+
-moz-box-shadow: 0px 0px 7px #777;
|
93
|
+
-webkit-box-shadow: 0px 0px 7px #777;
|
94
|
+
-moz-border-radius: 5px;
|
95
|
+
-webkit-border-radius: 5px;
|
96
|
+
width: 800px;
|
97
|
+
}
|
98
|
+
.popup .bClose {
|
99
|
+
cursor: pointer;
|
100
|
+
}
|
101
|
+
.popup h2{
|
102
|
+
color: #BEB09A;
|
103
|
+
margin: 0px;
|
104
|
+
}
|
105
|
+
.popup .title {
|
106
|
+
padding: 7px 12px 7px 12px;
|
107
|
+
background: #322511;
|
108
|
+
text-shadow: 0px 1px 1px #000;
|
109
|
+
}
|
110
|
+
.popup .content{
|
111
|
+
margin: 10px;
|
112
|
+
}
|
113
|
+
.popup .content img{
|
114
|
+
margin: 0px 10px 10px 0px;
|
115
|
+
border: 2px solid #A89479;
|
116
|
+
-moz-box-shadow: 5px 5px 5px #333;
|
117
|
+
-webkit-box-shadow: 5px 5px 5px #333;
|
118
|
+
-moz-border-radius: 5px;
|
119
|
+
-webkit-border-radius: 5px;
|
120
|
+
|
121
|
+
}
|
122
|
+
.popup p{
|
123
|
+
color: #DFDCD8;
|
124
|
+
}
|
125
|
+
|
126
|
+
.close_icon {
|
127
|
+
background: url("/images/close_yellow_icon.png") no-repeat scroll 0 0 transparent;
|
128
|
+
height: 24px;
|
129
|
+
width: 24px;
|
130
|
+
}
|
metadata
ADDED
@@ -0,0 +1,125 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: refinerycms-project_portfolios
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 29
|
5
|
+
prerelease:
|
6
|
+
segments:
|
7
|
+
- 0
|
8
|
+
- 0
|
9
|
+
- 1
|
10
|
+
version: 0.0.1
|
11
|
+
platform: ruby
|
12
|
+
authors:
|
13
|
+
- A.K.M. Ashrafuzzaman
|
14
|
+
autorequire:
|
15
|
+
bindir: bin
|
16
|
+
cert_chain: []
|
17
|
+
|
18
|
+
date: 2011-11-18 00:00:00 Z
|
19
|
+
dependencies:
|
20
|
+
- !ruby/object:Gem::Dependency
|
21
|
+
name: acts-as-taggable-on
|
22
|
+
prerelease: false
|
23
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
24
|
+
none: false
|
25
|
+
requirements:
|
26
|
+
- - ">="
|
27
|
+
- !ruby/object:Gem::Version
|
28
|
+
hash: 3
|
29
|
+
segments:
|
30
|
+
- 0
|
31
|
+
version: "0"
|
32
|
+
type: :runtime
|
33
|
+
version_requirements: *id001
|
34
|
+
- !ruby/object:Gem::Dependency
|
35
|
+
name: refinerycms
|
36
|
+
prerelease: false
|
37
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
38
|
+
none: false
|
39
|
+
requirements:
|
40
|
+
- - ~>
|
41
|
+
- !ruby/object:Gem::Version
|
42
|
+
hash: 5
|
43
|
+
segments:
|
44
|
+
- 1
|
45
|
+
- 0
|
46
|
+
- 9
|
47
|
+
version: 1.0.9
|
48
|
+
type: :runtime
|
49
|
+
version_requirements: *id002
|
50
|
+
description: Ruby on Rails Project Portfolios engine for Refinery CMS
|
51
|
+
email: ashrafuzzaman.g2@gmail.com
|
52
|
+
executables: []
|
53
|
+
|
54
|
+
extensions: []
|
55
|
+
|
56
|
+
extra_rdoc_files: []
|
57
|
+
|
58
|
+
files:
|
59
|
+
- lib/generators/refinerycms_project_portfolios_generator.rb
|
60
|
+
- lib/refinerycms-project_portfolios.rb
|
61
|
+
- lib/tasks/project_portfolios.rake
|
62
|
+
- config/locales/en.yml
|
63
|
+
- config/locales/fr.yml
|
64
|
+
- config/locales/lolcat.yml
|
65
|
+
- config/locales/nb.yml
|
66
|
+
- config/locales/nl.yml
|
67
|
+
- config/routes.rb
|
68
|
+
- app/controllers/admin/project_portfolios_controller.rb
|
69
|
+
- app/controllers/project_portfolios_controller.rb
|
70
|
+
- app/helpers/project_portfolio_helper.rb
|
71
|
+
- app/models/project_portfolio.rb
|
72
|
+
- app/views/admin/project_portfolios/edit.html.erb
|
73
|
+
- app/views/admin/project_portfolios/index.html.erb
|
74
|
+
- app/views/admin/project_portfolios/new.html.erb
|
75
|
+
- app/views/admin/project_portfolios/_actions.html.erb
|
76
|
+
- app/views/admin/project_portfolios/_form.html.erb
|
77
|
+
- app/views/admin/project_portfolios/_project_portfolio.html.erb
|
78
|
+
- app/views/admin/project_portfolios/_project_portfolios.html.erb
|
79
|
+
- app/views/admin/project_portfolios/_records.html.erb
|
80
|
+
- app/views/admin/project_portfolios/_sortable_list.html.erb
|
81
|
+
- app/views/project_portfolios/index.html.erb
|
82
|
+
- app/views/project_portfolios/show.html.erb
|
83
|
+
- app/views/project_portfolios/_popup_portfolio.html.erb
|
84
|
+
- db/migrate/create_project_portfolios.rb
|
85
|
+
- db/seeds/project_portfolios.rb
|
86
|
+
- public/images/close_yellow_icon.png
|
87
|
+
- public/javascripts/jquery.bpopup.js
|
88
|
+
- public/javascripts/jquery.easing.js
|
89
|
+
- public/javascripts/jquery.quicksand.js
|
90
|
+
- public/stylesheets/portfolio.css
|
91
|
+
homepage: http://www.ashrafuzzaman.com
|
92
|
+
licenses: []
|
93
|
+
|
94
|
+
post_install_message:
|
95
|
+
rdoc_options: []
|
96
|
+
|
97
|
+
require_paths:
|
98
|
+
- lib
|
99
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
100
|
+
none: false
|
101
|
+
requirements:
|
102
|
+
- - ">="
|
103
|
+
- !ruby/object:Gem::Version
|
104
|
+
hash: 3
|
105
|
+
segments:
|
106
|
+
- 0
|
107
|
+
version: "0"
|
108
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
109
|
+
none: false
|
110
|
+
requirements:
|
111
|
+
- - ">="
|
112
|
+
- !ruby/object:Gem::Version
|
113
|
+
hash: 3
|
114
|
+
segments:
|
115
|
+
- 0
|
116
|
+
version: "0"
|
117
|
+
requirements: []
|
118
|
+
|
119
|
+
rubyforge_project:
|
120
|
+
rubygems_version: 1.7.2
|
121
|
+
signing_key:
|
122
|
+
specification_version: 3
|
123
|
+
summary: Project Portfolios engine for Refinery CMS
|
124
|
+
test_files: []
|
125
|
+
|