knitkit 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/GPL-3-LICENSE +674 -0
- data/README.md +6 -0
- data/Rakefile +30 -0
- data/app/assets/javascripts/knitkit/application.js +9 -0
- data/app/assets/stylesheets/knitkit/application.css +7 -0
- data/app/controllers/knitkit/articles_controller.rb +7 -0
- data/app/controllers/knitkit/base_controller.rb +45 -0
- data/app/controllers/knitkit/blogs_controller.rb +27 -0
- data/app/controllers/knitkit/comments_controller.rb +18 -0
- data/app/controllers/knitkit/erp_app/desktop/app_controller.rb +135 -0
- data/app/controllers/knitkit/erp_app/desktop/articles_controller.rb +144 -0
- data/app/controllers/knitkit/erp_app/desktop/comments_controller.rb +43 -0
- data/app/controllers/knitkit/erp_app/desktop/content_controller.rb +27 -0
- data/app/controllers/knitkit/erp_app/desktop/file_assets_controller.rb +145 -0
- data/app/controllers/knitkit/erp_app/desktop/image_assets_controller.rb +28 -0
- data/app/controllers/knitkit/erp_app/desktop/inquiries_controller.rb +68 -0
- data/app/controllers/knitkit/erp_app/desktop/position_controller.rb +20 -0
- data/app/controllers/knitkit/erp_app/desktop/theme_controller.rb +272 -0
- data/app/controllers/knitkit/erp_app/desktop/versions_controller.rb +135 -0
- data/app/controllers/knitkit/erp_app/desktop/website_controller.rb +177 -0
- data/app/controllers/knitkit/erp_app/desktop/website_nav_controller.rb +143 -0
- data/app/controllers/knitkit/erp_app/desktop/website_section_controller.rb +116 -0
- data/app/controllers/knitkit/unauthorized_controller.rb +8 -0
- data/app/controllers/knitkit/website_sections_controller.rb +17 -0
- data/app/helpers/application_helper.rb +132 -0
- data/app/models/article.rb +14 -0
- data/app/models/blog.rb +21 -0
- data/app/models/comment.rb +24 -0
- data/app/models/content.rb +158 -0
- data/app/models/extensions/user.rb +5 -0
- data/app/models/published_element.rb +9 -0
- data/app/models/published_website.rb +118 -0
- data/app/models/theme.rb +239 -0
- data/app/models/website.rb +457 -0
- data/app/models/website_host.rb +3 -0
- data/app/models/website_inquiry.rb +11 -0
- data/app/models/website_inquiry_mailer.rb +12 -0
- data/app/models/website_nav.rb +17 -0
- data/app/models/website_nav_item.rb +21 -0
- data/app/models/website_section.rb +152 -0
- data/app/models/website_section_content.rb +4 -0
- data/app/views/knitkit/articles/index.html.erb +3 -0
- data/app/views/knitkit/articles/show.html.erb +4 -0
- data/app/views/knitkit/blogs/_add_comment.html.erb +28 -0
- data/app/views/knitkit/blogs/_comment.html.erb +8 -0
- data/app/views/knitkit/blogs/index.html.erb +51 -0
- data/app/views/knitkit/blogs/index.rss.builder +23 -0
- data/app/views/knitkit/blogs/show.html.erb +22 -0
- data/app/views/knitkit/unauthorized/index.html.erb +4 -0
- data/app/views/knitkit/website_sections/index.html.erb +6 -0
- data/app/views/layouts/knitkit/base.html.erb +59 -0
- data/app/views/menus/knitkit/_default_menu.html.erb +23 -0
- data/app/views/menus/knitkit/_default_section_menu.html.erb +27 -0
- data/app/views/menus/knitkit/_default_sub_menu.html.erb +45 -0
- data/app/views/menus/knitkit/_default_sub_section_menu.html.erb +49 -0
- data/app/views/shared/knitkit/_bread_crumb.html.erb +7 -0
- data/app/views/shared/knitkit/_footer.html.erb +3 -0
- data/app/views/website_inquiry_mailer/inquiry.erb +3 -0
- data/app/widgets/contact_us/base.rb +86 -0
- data/app/widgets/contact_us/javascript/contact_us.js +13 -0
- data/app/widgets/contact_us/views/_contact_form.html.erb +36 -0
- data/app/widgets/contact_us/views/error.html.erb +10 -0
- data/app/widgets/contact_us/views/index.html.erb +1 -0
- data/app/widgets/contact_us/views/layouts/base.html.erb +7 -0
- data/app/widgets/contact_us/views/success.html.erb +4 -0
- data/app/widgets/google_map/base.rb +48 -0
- data/app/widgets/google_map/javascript/google_map.js +174 -0
- data/app/widgets/google_map/views/index.html.erb +41 -0
- data/app/widgets/login/base.rb +61 -0
- data/app/widgets/login/javascript/login.js +162 -0
- data/app/widgets/login/views/index.html.erb +37 -0
- data/app/widgets/login/views/layouts/base.html.erb +14 -0
- data/app/widgets/login/views/login_header.html.erb +9 -0
- data/app/widgets/login/views/reset_password.html.erb +26 -0
- data/app/widgets/manage_profile/base.rb +327 -0
- data/app/widgets/manage_profile/javascript/manage_profile.js +11 -0
- data/app/widgets/manage_profile/views/_contact_information_form.html.erb +180 -0
- data/app/widgets/manage_profile/views/_password_form.html.erb +20 -0
- data/app/widgets/manage_profile/views/_user_information_form.html.erb +30 -0
- data/app/widgets/manage_profile/views/contact_type_in_use.html.erb +4 -0
- data/app/widgets/manage_profile/views/default_type_error.html.erb +5 -0
- data/app/widgets/manage_profile/views/error.html.erb +3 -0
- data/app/widgets/manage_profile/views/index.html.erb +46 -0
- data/app/widgets/manage_profile/views/layouts/base.html.erb +1 -0
- data/app/widgets/manage_profile/views/password_blank.html.erb +4 -0
- data/app/widgets/manage_profile/views/password_invalid.html.erb +4 -0
- data/app/widgets/manage_profile/views/password_success.html.erb +3 -0
- data/app/widgets/manage_profile/views/success.html.erb +3 -0
- data/app/widgets/reset_password/base.rb +42 -0
- data/app/widgets/reset_password/javascript/reset_password.js +13 -0
- data/app/widgets/reset_password/views/index.html.erb +31 -0
- data/app/widgets/reset_password/views/layouts/base.html.erb +1 -0
- data/app/widgets/search/base.rb +80 -0
- data/app/widgets/search/javascript/search.js +31 -0
- data/app/widgets/search/views/_search.html.erb +39 -0
- data/app/widgets/search/views/index.html.erb +3 -0
- data/app/widgets/search/views/layouts/base.html.erb +24 -0
- data/app/widgets/search/views/show.html.erb +48 -0
- data/app/widgets/signup/base.rb +72 -0
- data/app/widgets/signup/javascript/signup.js +13 -0
- data/app/widgets/signup/views/_signup_form.html.erb +36 -0
- data/app/widgets/signup/views/error.html.erb +11 -0
- data/app/widgets/signup/views/index.html.erb +1 -0
- data/app/widgets/signup/views/layouts/base.html.erb +7 -0
- data/app/widgets/signup/views/success.html.erb +4 -0
- data/config/environment.rb +0 -0
- data/config/routes.rb +41 -0
- data/db/data_migrations/20110509223702_add_publisher_role.rb +11 -0
- data/db/data_migrations/20110816153456_add_knitkit_application.rb +31 -0
- data/db/data_migrations/upgrade/20111011203718_create_paths_for_sections.rb +13 -0
- data/db/data_migrations/upgrade/20111216192114_add_secured_models_to_menu_items.rb +18 -0
- data/db/data_migrations/upgrade/20111216202819_set_contents_iid_to_permalink_where_null.rb +12 -0
- data/db/migrate/20110211002317_setup_knitkit.rb +259 -0
- data/db/migrate/upgrade/20111014190442_update_contents.rb +25 -0
- data/db/migrate/upgrade/20111014201502_add_published_by_to_published_elements.rb +22 -0
- data/db/migrate/upgrade/20111017133851_add_iid_to_section.rb +21 -0
- data/db/migrate/upgrade/20111027145006_add_in_menu_to_section.rb +19 -0
- data/lib/knitkit.rb +12 -0
- data/lib/knitkit/engine.rb +26 -0
- data/lib/knitkit/extensions.rb +18 -0
- data/lib/knitkit/extensions/action_controller/theme_support/acts_as_themed_controller.rb +88 -0
- data/lib/knitkit/extensions/active_record/acts_as_commentable.rb +28 -0
- data/lib/knitkit/extensions/active_record/acts_as_publishable.rb +38 -0
- data/lib/knitkit/extensions/active_record/theme_support/has_many_themes.rb +34 -0
- data/lib/knitkit/extensions/compass/widgets/base.rb +53 -0
- data/lib/knitkit/extensions/core/array.rb +5 -0
- data/lib/knitkit/extensions/railties/action_view.rb +187 -0
- data/lib/knitkit/extensions/railties/theme_support/asset_tag_helper.rb +198 -0
- data/lib/knitkit/extensions/railties/theme_support/theme_file_resolver.rb +44 -0
- data/lib/knitkit/routing_filter/section_router.rb +55 -0
- data/lib/knitkit/syntax_validator.rb +32 -0
- data/lib/knitkit/version.rb +3 -0
- data/lib/tasks/knitkit_tasks.rake +4 -0
- data/public/images/knitkit/bullet.png +0 -0
- data/public/images/knitkit/content.png +0 -0
- data/public/images/knitkit/footer.png +0 -0
- data/public/images/knitkit/graphic.png +0 -0
- data/public/images/knitkit/greyFadeDown.png +0 -0
- data/public/images/knitkit/link.png +0 -0
- data/public/images/knitkit/logo.png +0 -0
- data/public/images/knitkit/menu.png +0 -0
- data/public/images/knitkit/menu_select.png +0 -0
- data/public/images/knitkit/search.png +0 -0
- data/public/javascripts/datepicker.js +440 -0
- data/public/javascripts/erp_app/desktop/applications/knitkit/articles_grid_panel.js +473 -0
- data/public/javascripts/erp_app/desktop/applications/knitkit/center_region.js +576 -0
- data/public/javascripts/erp_app/desktop/applications/knitkit/comments_grid_panel.js +217 -0
- data/public/javascripts/erp_app/desktop/applications/knitkit/east_region.js +26 -0
- data/public/javascripts/erp_app/desktop/applications/knitkit/file_assets_panel.js +109 -0
- data/public/javascripts/erp_app/desktop/applications/knitkit/image_assets_data_view.js +30 -0
- data/public/javascripts/erp_app/desktop/applications/knitkit/image_assets_panel.js +160 -0
- data/public/javascripts/erp_app/desktop/applications/knitkit/inquiries_grid_panel.js +46 -0
- data/public/javascripts/erp_app/desktop/applications/knitkit/module.js +46 -0
- data/public/javascripts/erp_app/desktop/applications/knitkit/publish_window.js +92 -0
- data/public/javascripts/erp_app/desktop/applications/knitkit/published_grid_panel.js +220 -0
- data/public/javascripts/erp_app/desktop/applications/knitkit/section_articles_grid_panel.js +613 -0
- data/public/javascripts/erp_app/desktop/applications/knitkit/themes_tree_panel.js +573 -0
- data/public/javascripts/erp_app/desktop/applications/knitkit/versions_grid_panel.js +664 -0
- data/public/javascripts/erp_app/desktop/applications/knitkit/west_region.js +2161 -0
- data/public/javascripts/erp_app/desktop/applications/knitkit/widgets_panel.js +52 -0
- data/public/stylesheets/datepicker.css +121 -0
- data/public/stylesheets/erp_app/desktop/applications/knitkit/knitkit.css +114 -0
- data/public/stylesheets/extjs/resources/css/knitkit_extjs_4.css +219 -0
- data/public/stylesheets/knitkit/style.css +394 -0
- metadata +289 -0
@@ -0,0 +1,394 @@
|
|
1
|
+
html
|
2
|
+
{ height: 100%;}
|
3
|
+
|
4
|
+
*
|
5
|
+
{ margin: 0;
|
6
|
+
padding: 0;}
|
7
|
+
|
8
|
+
body
|
9
|
+
{ font: normal .80em 'trebuchet ms', arial, sans-serif;
|
10
|
+
background: #F0EFE2;
|
11
|
+
color: #777;}
|
12
|
+
|
13
|
+
strong{
|
14
|
+
font-weight: bold;
|
15
|
+
}
|
16
|
+
|
17
|
+
em{
|
18
|
+
font-style: italic;
|
19
|
+
}
|
20
|
+
|
21
|
+
p
|
22
|
+
{ padding: 0 0 20px 0;
|
23
|
+
line-height: 1.7em;}
|
24
|
+
|
25
|
+
img
|
26
|
+
{ border: 0;}
|
27
|
+
|
28
|
+
h1, h2, h3, h4, h5, h6
|
29
|
+
{ font: normal 175% 'century gothic', arial, sans-serif;
|
30
|
+
color: #43423F;
|
31
|
+
margin: 0 0 15px 0;
|
32
|
+
padding: 15px 0 5px 0;}
|
33
|
+
|
34
|
+
h2
|
35
|
+
{ font: normal 175% 'century gothic', arial, sans-serif;
|
36
|
+
color: #A4AA04;}
|
37
|
+
|
38
|
+
h4, h5, h6
|
39
|
+
{ margin: 0;
|
40
|
+
padding: 0 0 5px 0;
|
41
|
+
font: normal 120% arial, sans-serif;
|
42
|
+
color: #A4AA04;}
|
43
|
+
|
44
|
+
h5, h6
|
45
|
+
{ font: italic 95% arial, sans-serif;
|
46
|
+
padding: 0 0 15px 0;
|
47
|
+
color: #000;}
|
48
|
+
|
49
|
+
h6
|
50
|
+
{ color: #362C20;}
|
51
|
+
|
52
|
+
a, a:hover
|
53
|
+
{ outline: none;
|
54
|
+
text-decoration: underline;
|
55
|
+
color: #1293EE;}
|
56
|
+
|
57
|
+
a:hover
|
58
|
+
{ text-decoration: none;}
|
59
|
+
|
60
|
+
.left
|
61
|
+
{ float: left;
|
62
|
+
width: auto;
|
63
|
+
margin-right: 10px;}
|
64
|
+
|
65
|
+
.right
|
66
|
+
{ float: right;
|
67
|
+
width: auto;
|
68
|
+
margin-left: 10px;}
|
69
|
+
|
70
|
+
.center
|
71
|
+
{ display: block;
|
72
|
+
text-align: center;
|
73
|
+
margin: 20px auto;}
|
74
|
+
|
75
|
+
blockquote
|
76
|
+
{ margin: 20px 0;
|
77
|
+
padding: 10px 20px 0 20px;
|
78
|
+
border: 1px solid #E5E5DB;
|
79
|
+
background: #FFF;}
|
80
|
+
|
81
|
+
ul
|
82
|
+
{ margin: 2px 0 22px 17px;}
|
83
|
+
|
84
|
+
ul li
|
85
|
+
{ list-style-type: circle;
|
86
|
+
margin: 0 0 6px 0;
|
87
|
+
padding: 0 0 4px 5px;}
|
88
|
+
|
89
|
+
ol
|
90
|
+
{ margin: 8px 0 22px 20px;}
|
91
|
+
|
92
|
+
ol li
|
93
|
+
{ margin: 0 0 11px 0;}
|
94
|
+
|
95
|
+
#main, #logo, #menubar, #site_content, #footer
|
96
|
+
{ margin-left: auto;
|
97
|
+
margin-right: auto;}
|
98
|
+
|
99
|
+
#header
|
100
|
+
{ background: #025587;
|
101
|
+
height: 240px;}
|
102
|
+
|
103
|
+
#logo
|
104
|
+
{ width: 825px;
|
105
|
+
position: relative;
|
106
|
+
height: 168px;
|
107
|
+
background: #025587 url(../../images/knitkit/logo.png) no-repeat;}
|
108
|
+
|
109
|
+
#logo #logo_text
|
110
|
+
{ position: absolute;
|
111
|
+
top: 20px;
|
112
|
+
left: 0;}
|
113
|
+
|
114
|
+
#logo h1, #logo h2
|
115
|
+
{ font: normal 300% 'century gothic', arial, sans-serif;
|
116
|
+
border-bottom: 0;
|
117
|
+
text-transform: none;
|
118
|
+
margin: 0;}
|
119
|
+
|
120
|
+
#logo_text h1, #logo_text h1 a, #logo_text h1 a:hover
|
121
|
+
{ padding: 22px 0 0 0;
|
122
|
+
color: #FFF;
|
123
|
+
letter-spacing: 0.1em;
|
124
|
+
text-decoration: none;}
|
125
|
+
|
126
|
+
#logo_text h1 a .logo_colour
|
127
|
+
{ color: #80FFFF;}
|
128
|
+
|
129
|
+
#logo_text h2
|
130
|
+
{ font-size: 100%;
|
131
|
+
padding: 4px 0 0 0;
|
132
|
+
color: #DDD;}
|
133
|
+
|
134
|
+
#menubar
|
135
|
+
{ width: 877px;
|
136
|
+
height: 72px;
|
137
|
+
padding: 0;
|
138
|
+
background: #29415D url(../../images/knitkit/menu.png) repeat-x;}
|
139
|
+
|
140
|
+
ul#menu, ul#menu li
|
141
|
+
{ float: left;
|
142
|
+
margin: 0;
|
143
|
+
padding: 0;}
|
144
|
+
|
145
|
+
ul#menu li
|
146
|
+
{ list-style: none;}
|
147
|
+
|
148
|
+
ul#menu li a
|
149
|
+
{ letter-spacing: 0.1em;
|
150
|
+
font: normal 100% 'lucida sans unicode', arial, sans-serif;
|
151
|
+
display: block;
|
152
|
+
float: left;
|
153
|
+
height: 37px;
|
154
|
+
padding: 29px 26px 6px 26px;
|
155
|
+
text-align: center;
|
156
|
+
color: #FFF;
|
157
|
+
text-transform: uppercase;
|
158
|
+
text-decoration: none;
|
159
|
+
background: transparent;}
|
160
|
+
|
161
|
+
ul#menu li a:hover, ul#menu li.selected a, ul#menu li.selected a:hover
|
162
|
+
{ color: #FFF;
|
163
|
+
background: #1C2C3E url(../../images/knitkit/menu_select.png) repeat-x;}
|
164
|
+
|
165
|
+
#site_content
|
166
|
+
{ width: 837px;
|
167
|
+
overflow: hidden;
|
168
|
+
margin: 0 auto 0 auto;
|
169
|
+
padding: 40px 24px 20px 37px;
|
170
|
+
background: #FFF url(../../images/knitkit/content.png) repeat-y;}
|
171
|
+
|
172
|
+
.sidebar
|
173
|
+
{ float: right;
|
174
|
+
width: 190px;
|
175
|
+
padding: 0 15px 20px 15px;}
|
176
|
+
|
177
|
+
.sidebar ul
|
178
|
+
{ width: 178px;
|
179
|
+
padding: 4px 0 0 0;
|
180
|
+
margin: 4px 0 30px 0;}
|
181
|
+
|
182
|
+
.sidebar li
|
183
|
+
{ list-style: none;
|
184
|
+
padding: 0 0 7px 0; }
|
185
|
+
|
186
|
+
.sidebar li a, .sidebar li a:hover
|
187
|
+
{ padding: 0 0 0 40px;
|
188
|
+
display: block;
|
189
|
+
background: transparent url(../../images/knitkit/link.png) no-repeat left center;}
|
190
|
+
|
191
|
+
.sidebar li a.selected
|
192
|
+
{ color: #444;
|
193
|
+
text-decoration: none;}
|
194
|
+
|
195
|
+
#content
|
196
|
+
{ text-align: left;
|
197
|
+
width: 595px;
|
198
|
+
padding: 0;
|
199
|
+
float: left;}
|
200
|
+
|
201
|
+
#footer
|
202
|
+
{ width: 878px;
|
203
|
+
font: normal 100% 'lucida sans unicode', arial, sans-serif;
|
204
|
+
height: 33px;
|
205
|
+
padding: 24px 0 5px 0;
|
206
|
+
text-align: center;
|
207
|
+
background: #29425E url(../../images/knitkit/footer.png) repeat-x;
|
208
|
+
color: #FFF;
|
209
|
+
text-transform: uppercase;
|
210
|
+
letter-spacing: 0.1em;}
|
211
|
+
|
212
|
+
#footer a
|
213
|
+
{ color: #FFF;
|
214
|
+
text-decoration: none;}
|
215
|
+
|
216
|
+
#footer a:hover
|
217
|
+
{ color: #FFF;
|
218
|
+
text-decoration: underline;}
|
219
|
+
|
220
|
+
.search
|
221
|
+
{ color: #5D5D5D;
|
222
|
+
border: 1px solid #BBB;
|
223
|
+
width: 134px;
|
224
|
+
padding: 4px;
|
225
|
+
font: 100% arial, sans-serif;}
|
226
|
+
|
227
|
+
.form_settings
|
228
|
+
{ margin: 15px 0 0 0;}
|
229
|
+
|
230
|
+
.form_settings p
|
231
|
+
{ padding: 0 0 4px 0;}
|
232
|
+
|
233
|
+
.form_settings span
|
234
|
+
{ float: left;
|
235
|
+
width: 125px;
|
236
|
+
text-align: left;}
|
237
|
+
|
238
|
+
.form_settings input, .form_settings textarea
|
239
|
+
{ padding: 5px;
|
240
|
+
width: 299px;
|
241
|
+
font: 100% arial;
|
242
|
+
border: 1px solid #CCCCCC;
|
243
|
+
background: #FFF;
|
244
|
+
color: #47433F;}
|
245
|
+
|
246
|
+
.form_settings .submit
|
247
|
+
{ font: 100% arial;
|
248
|
+
border: 1px solid;
|
249
|
+
width: 99px;
|
250
|
+
margin: 0 0 0 212px;
|
251
|
+
height: 33px;
|
252
|
+
padding: 2px 0 3px 0;
|
253
|
+
cursor: pointer;
|
254
|
+
background: #263C56;
|
255
|
+
color: #FFF;}
|
256
|
+
|
257
|
+
.form_settings textarea, .form_settings select
|
258
|
+
{ font: 100% arial;
|
259
|
+
width: 299px;}
|
260
|
+
|
261
|
+
.form_settings select
|
262
|
+
{ width: 310px;}
|
263
|
+
|
264
|
+
.form_settings .checkbox
|
265
|
+
{ margin: 4px 0;
|
266
|
+
padding: 0;
|
267
|
+
width: 14px;
|
268
|
+
border: 0;
|
269
|
+
background: none;}
|
270
|
+
|
271
|
+
.separator
|
272
|
+
{ width: 100%;
|
273
|
+
height: 0;
|
274
|
+
border-top: 1px solid #D9D5CF;
|
275
|
+
border-bottom: 1px solid #FFF;
|
276
|
+
margin: 0 0 20px 0;}
|
277
|
+
|
278
|
+
.blog_articles
|
279
|
+
{
|
280
|
+
float: left;
|
281
|
+
min-height: 300px;
|
282
|
+
}
|
283
|
+
|
284
|
+
.blog_post
|
285
|
+
{
|
286
|
+
margin-bottom: 20px;
|
287
|
+
}
|
288
|
+
|
289
|
+
.blog_tags
|
290
|
+
{
|
291
|
+
float: right;
|
292
|
+
}
|
293
|
+
|
294
|
+
.blog_link
|
295
|
+
{
|
296
|
+
margin-bottom: 10px;
|
297
|
+
}
|
298
|
+
|
299
|
+
table
|
300
|
+
{
|
301
|
+
/* Beware that ExtJS uses tables for forms so modifying this class will modify the ExtJS form style */
|
302
|
+
}
|
303
|
+
|
304
|
+
table tr th, table tr td
|
305
|
+
{ background: transparent;
|
306
|
+
color: #FFF;
|
307
|
+
padding: 7px 4px;
|
308
|
+
text-align: left;
|
309
|
+
}
|
310
|
+
|
311
|
+
table tr td
|
312
|
+
{
|
313
|
+
background: transparent;
|
314
|
+
color: #47433F;
|
315
|
+
}
|
316
|
+
|
317
|
+
#commentDiv{
|
318
|
+
-moz-box-shadow: 10px 10px 5px #888888;
|
319
|
+
background-color: #43423F;
|
320
|
+
margin-right: 20px;
|
321
|
+
margin-top: 10px;
|
322
|
+
padding: 20px;
|
323
|
+
color:white;
|
324
|
+
}
|
325
|
+
|
326
|
+
#submenubar
|
327
|
+
{ width: 877px;
|
328
|
+
margin-left: auto;
|
329
|
+
margin-right: auto;
|
330
|
+
padding: 0;}
|
331
|
+
|
332
|
+
ul#submenu, ul#submenu li
|
333
|
+
{ float: left;
|
334
|
+
margin: 0;
|
335
|
+
padding: 0;}
|
336
|
+
|
337
|
+
ul#submenu li
|
338
|
+
{ list-style: none;}
|
339
|
+
|
340
|
+
ul#submenu li a
|
341
|
+
{ letter-spacing: 0.1em;
|
342
|
+
font: normal 100% 'lucida sans unicode', arial, sans-serif;
|
343
|
+
display: block;
|
344
|
+
float: left;
|
345
|
+
height: 37px;
|
346
|
+
padding: 0px 26px 0px 26px;
|
347
|
+
text-align: center;
|
348
|
+
color: #1293EE;
|
349
|
+
text-transform: uppercase;
|
350
|
+
text-decoration: none;
|
351
|
+
background: transparent;}
|
352
|
+
|
353
|
+
ul#submenu li a:hover, ul#submenu li.selected a, ul#submenu li.selected a:hover
|
354
|
+
{ color: #000;}
|
355
|
+
|
356
|
+
ul.side_menu_children{
|
357
|
+
margin: 2px 0 2px 17px;
|
358
|
+
}
|
359
|
+
|
360
|
+
ul#side_menu li{
|
361
|
+
list-style-type: none;
|
362
|
+
color:#1293EE;
|
363
|
+
}
|
364
|
+
|
365
|
+
#side_menu_container{
|
366
|
+
float: left;
|
367
|
+
background-image: url('../../images/knitkit/greyFadeDown.png');
|
368
|
+
margin: 20px 20px 0 0;
|
369
|
+
width: 125px;
|
370
|
+
}
|
371
|
+
|
372
|
+
ul#side_menu{
|
373
|
+
margin: 4px 22px 22px;
|
374
|
+
}
|
375
|
+
|
376
|
+
ul#side_menu li a:hover, ul#side_menu li.selected a, ul#side_menu li.selected a:hover
|
377
|
+
{
|
378
|
+
text-decoration:none;
|
379
|
+
color:black;
|
380
|
+
}
|
381
|
+
|
382
|
+
.sexyerror{
|
383
|
+
background: #FFEBE8 none repeat scroll 0;
|
384
|
+
border: 1px solid #DD3C10;
|
385
|
+
padding: 1em;
|
386
|
+
font-weight: bold;
|
387
|
+
}
|
388
|
+
|
389
|
+
.sexynotice{
|
390
|
+
background: #CCFFCC none repeat scroll 0;
|
391
|
+
border: 1px solid #99FF99;
|
392
|
+
padding: 1em;
|
393
|
+
font-weight: bold;
|
394
|
+
}
|
metadata
ADDED
@@ -0,0 +1,289 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: knitkit
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 2.0.0
|
5
|
+
prerelease:
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- Rick Koloski, Russell Holmes
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2012-01-06 00:00:00.000000000Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: routing-filter
|
16
|
+
requirement: &2165190040 !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - =
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: 0.2.4
|
22
|
+
type: :runtime
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: *2165190040
|
25
|
+
- !ruby/object:Gem::Dependency
|
26
|
+
name: nokogiri
|
27
|
+
requirement: &2165188420 !ruby/object:Gem::Requirement
|
28
|
+
none: false
|
29
|
+
requirements:
|
30
|
+
- - =
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: 1.5.0
|
33
|
+
type: :runtime
|
34
|
+
prerelease: false
|
35
|
+
version_requirements: *2165188420
|
36
|
+
- !ruby/object:Gem::Dependency
|
37
|
+
name: rubyzip
|
38
|
+
requirement: &2165187300 !ruby/object:Gem::Requirement
|
39
|
+
none: false
|
40
|
+
requirements:
|
41
|
+
- - =
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: 0.9.4
|
44
|
+
type: :runtime
|
45
|
+
prerelease: false
|
46
|
+
version_requirements: *2165187300
|
47
|
+
- !ruby/object:Gem::Dependency
|
48
|
+
name: permalink_fu
|
49
|
+
requirement: &2165186500 !ruby/object:Gem::Requirement
|
50
|
+
none: false
|
51
|
+
requirements:
|
52
|
+
- - =
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: 1.0.0
|
55
|
+
type: :runtime
|
56
|
+
prerelease: false
|
57
|
+
version_requirements: *2165186500
|
58
|
+
- !ruby/object:Gem::Dependency
|
59
|
+
name: acts-as-taggable-on
|
60
|
+
requirement: &2165185640 !ruby/object:Gem::Requirement
|
61
|
+
none: false
|
62
|
+
requirements:
|
63
|
+
- - =
|
64
|
+
- !ruby/object:Gem::Version
|
65
|
+
version: 2.2.0
|
66
|
+
type: :runtime
|
67
|
+
prerelease: false
|
68
|
+
version_requirements: *2165185640
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: erp_forms
|
71
|
+
requirement: &2165184980 !ruby/object:Gem::Requirement
|
72
|
+
none: false
|
73
|
+
requirements:
|
74
|
+
- - ! '>='
|
75
|
+
- !ruby/object:Gem::Version
|
76
|
+
version: '0'
|
77
|
+
type: :runtime
|
78
|
+
prerelease: false
|
79
|
+
version_requirements: *2165184980
|
80
|
+
- !ruby/object:Gem::Dependency
|
81
|
+
name: erp_dev_svcs
|
82
|
+
requirement: &2165184040 !ruby/object:Gem::Requirement
|
83
|
+
none: false
|
84
|
+
requirements:
|
85
|
+
- - ! '>='
|
86
|
+
- !ruby/object:Gem::Version
|
87
|
+
version: '0'
|
88
|
+
type: :development
|
89
|
+
prerelease: false
|
90
|
+
version_requirements: *2165184040
|
91
|
+
description: Knitkit is CompassAE's content and digital asset management application.
|
92
|
+
It is based on ideas and code adapted from Mephisto and adva_cms, with significant
|
93
|
+
changes to integrate with the CompassAE object-relational layer and to harmonize
|
94
|
+
the user interface with the rest of CompassAE.
|
95
|
+
email:
|
96
|
+
- russonrails@gmail.com
|
97
|
+
executables: []
|
98
|
+
extensions: []
|
99
|
+
extra_rdoc_files: []
|
100
|
+
files:
|
101
|
+
- public/images/knitkit/bullet.png
|
102
|
+
- public/images/knitkit/content.png
|
103
|
+
- public/images/knitkit/footer.png
|
104
|
+
- public/images/knitkit/graphic.png
|
105
|
+
- public/images/knitkit/greyFadeDown.png
|
106
|
+
- public/images/knitkit/link.png
|
107
|
+
- public/images/knitkit/logo.png
|
108
|
+
- public/images/knitkit/menu.png
|
109
|
+
- public/images/knitkit/menu_select.png
|
110
|
+
- public/images/knitkit/search.png
|
111
|
+
- public/javascripts/datepicker.js
|
112
|
+
- public/javascripts/erp_app/desktop/applications/knitkit/articles_grid_panel.js
|
113
|
+
- public/javascripts/erp_app/desktop/applications/knitkit/center_region.js
|
114
|
+
- public/javascripts/erp_app/desktop/applications/knitkit/comments_grid_panel.js
|
115
|
+
- public/javascripts/erp_app/desktop/applications/knitkit/east_region.js
|
116
|
+
- public/javascripts/erp_app/desktop/applications/knitkit/file_assets_panel.js
|
117
|
+
- public/javascripts/erp_app/desktop/applications/knitkit/image_assets_data_view.js
|
118
|
+
- public/javascripts/erp_app/desktop/applications/knitkit/image_assets_panel.js
|
119
|
+
- public/javascripts/erp_app/desktop/applications/knitkit/inquiries_grid_panel.js
|
120
|
+
- public/javascripts/erp_app/desktop/applications/knitkit/module.js
|
121
|
+
- public/javascripts/erp_app/desktop/applications/knitkit/publish_window.js
|
122
|
+
- public/javascripts/erp_app/desktop/applications/knitkit/published_grid_panel.js
|
123
|
+
- public/javascripts/erp_app/desktop/applications/knitkit/section_articles_grid_panel.js
|
124
|
+
- public/javascripts/erp_app/desktop/applications/knitkit/themes_tree_panel.js
|
125
|
+
- public/javascripts/erp_app/desktop/applications/knitkit/versions_grid_panel.js
|
126
|
+
- public/javascripts/erp_app/desktop/applications/knitkit/west_region.js
|
127
|
+
- public/javascripts/erp_app/desktop/applications/knitkit/widgets_panel.js
|
128
|
+
- public/stylesheets/datepicker.css
|
129
|
+
- public/stylesheets/erp_app/desktop/applications/knitkit/knitkit.css
|
130
|
+
- public/stylesheets/extjs/resources/css/knitkit_extjs_4.css
|
131
|
+
- public/stylesheets/knitkit/style.css
|
132
|
+
- app/assets/javascripts/knitkit/application.js
|
133
|
+
- app/assets/stylesheets/knitkit/application.css
|
134
|
+
- app/controllers/knitkit/articles_controller.rb
|
135
|
+
- app/controllers/knitkit/base_controller.rb
|
136
|
+
- app/controllers/knitkit/blogs_controller.rb
|
137
|
+
- app/controllers/knitkit/comments_controller.rb
|
138
|
+
- app/controllers/knitkit/erp_app/desktop/app_controller.rb
|
139
|
+
- app/controllers/knitkit/erp_app/desktop/articles_controller.rb
|
140
|
+
- app/controllers/knitkit/erp_app/desktop/comments_controller.rb
|
141
|
+
- app/controllers/knitkit/erp_app/desktop/content_controller.rb
|
142
|
+
- app/controllers/knitkit/erp_app/desktop/file_assets_controller.rb
|
143
|
+
- app/controllers/knitkit/erp_app/desktop/image_assets_controller.rb
|
144
|
+
- app/controllers/knitkit/erp_app/desktop/inquiries_controller.rb
|
145
|
+
- app/controllers/knitkit/erp_app/desktop/position_controller.rb
|
146
|
+
- app/controllers/knitkit/erp_app/desktop/theme_controller.rb
|
147
|
+
- app/controllers/knitkit/erp_app/desktop/versions_controller.rb
|
148
|
+
- app/controllers/knitkit/erp_app/desktop/website_controller.rb
|
149
|
+
- app/controllers/knitkit/erp_app/desktop/website_nav_controller.rb
|
150
|
+
- app/controllers/knitkit/erp_app/desktop/website_section_controller.rb
|
151
|
+
- app/controllers/knitkit/unauthorized_controller.rb
|
152
|
+
- app/controllers/knitkit/website_sections_controller.rb
|
153
|
+
- app/helpers/application_helper.rb
|
154
|
+
- app/models/article.rb
|
155
|
+
- app/models/blog.rb
|
156
|
+
- app/models/comment.rb
|
157
|
+
- app/models/content.rb
|
158
|
+
- app/models/extensions/user.rb
|
159
|
+
- app/models/published_element.rb
|
160
|
+
- app/models/published_website.rb
|
161
|
+
- app/models/theme.rb
|
162
|
+
- app/models/website.rb
|
163
|
+
- app/models/website_host.rb
|
164
|
+
- app/models/website_inquiry.rb
|
165
|
+
- app/models/website_inquiry_mailer.rb
|
166
|
+
- app/models/website_nav.rb
|
167
|
+
- app/models/website_nav_item.rb
|
168
|
+
- app/models/website_section.rb
|
169
|
+
- app/models/website_section_content.rb
|
170
|
+
- app/views/knitkit/articles/index.html.erb
|
171
|
+
- app/views/knitkit/articles/show.html.erb
|
172
|
+
- app/views/knitkit/blogs/_add_comment.html.erb
|
173
|
+
- app/views/knitkit/blogs/_comment.html.erb
|
174
|
+
- app/views/knitkit/blogs/index.html.erb
|
175
|
+
- app/views/knitkit/blogs/index.rss.builder
|
176
|
+
- app/views/knitkit/blogs/show.html.erb
|
177
|
+
- app/views/knitkit/unauthorized/index.html.erb
|
178
|
+
- app/views/knitkit/website_sections/index.html.erb
|
179
|
+
- app/views/layouts/knitkit/base.html.erb
|
180
|
+
- app/views/menus/knitkit/_default_menu.html.erb
|
181
|
+
- app/views/menus/knitkit/_default_section_menu.html.erb
|
182
|
+
- app/views/menus/knitkit/_default_sub_menu.html.erb
|
183
|
+
- app/views/menus/knitkit/_default_sub_section_menu.html.erb
|
184
|
+
- app/views/shared/knitkit/_bread_crumb.html.erb
|
185
|
+
- app/views/shared/knitkit/_footer.html.erb
|
186
|
+
- app/views/website_inquiry_mailer/inquiry.erb
|
187
|
+
- app/widgets/contact_us/base.rb
|
188
|
+
- app/widgets/contact_us/javascript/contact_us.js
|
189
|
+
- app/widgets/contact_us/views/_contact_form.html.erb
|
190
|
+
- app/widgets/contact_us/views/error.html.erb
|
191
|
+
- app/widgets/contact_us/views/index.html.erb
|
192
|
+
- app/widgets/contact_us/views/layouts/base.html.erb
|
193
|
+
- app/widgets/contact_us/views/success.html.erb
|
194
|
+
- app/widgets/google_map/base.rb
|
195
|
+
- app/widgets/google_map/javascript/google_map.js
|
196
|
+
- app/widgets/google_map/views/index.html.erb
|
197
|
+
- app/widgets/login/base.rb
|
198
|
+
- app/widgets/login/javascript/login.js
|
199
|
+
- app/widgets/login/views/index.html.erb
|
200
|
+
- app/widgets/login/views/layouts/base.html.erb
|
201
|
+
- app/widgets/login/views/login_header.html.erb
|
202
|
+
- app/widgets/login/views/reset_password.html.erb
|
203
|
+
- app/widgets/manage_profile/base.rb
|
204
|
+
- app/widgets/manage_profile/javascript/manage_profile.js
|
205
|
+
- app/widgets/manage_profile/views/_contact_information_form.html.erb
|
206
|
+
- app/widgets/manage_profile/views/_password_form.html.erb
|
207
|
+
- app/widgets/manage_profile/views/_user_information_form.html.erb
|
208
|
+
- app/widgets/manage_profile/views/contact_type_in_use.html.erb
|
209
|
+
- app/widgets/manage_profile/views/default_type_error.html.erb
|
210
|
+
- app/widgets/manage_profile/views/error.html.erb
|
211
|
+
- app/widgets/manage_profile/views/index.html.erb
|
212
|
+
- app/widgets/manage_profile/views/layouts/base.html.erb
|
213
|
+
- app/widgets/manage_profile/views/password_blank.html.erb
|
214
|
+
- app/widgets/manage_profile/views/password_invalid.html.erb
|
215
|
+
- app/widgets/manage_profile/views/password_success.html.erb
|
216
|
+
- app/widgets/manage_profile/views/success.html.erb
|
217
|
+
- app/widgets/reset_password/base.rb
|
218
|
+
- app/widgets/reset_password/javascript/reset_password.js
|
219
|
+
- app/widgets/reset_password/views/index.html.erb
|
220
|
+
- app/widgets/reset_password/views/layouts/base.html.erb
|
221
|
+
- app/widgets/search/base.rb
|
222
|
+
- app/widgets/search/javascript/search.js
|
223
|
+
- app/widgets/search/views/_search.html.erb
|
224
|
+
- app/widgets/search/views/index.html.erb
|
225
|
+
- app/widgets/search/views/layouts/base.html.erb
|
226
|
+
- app/widgets/search/views/show.html.erb
|
227
|
+
- app/widgets/signup/base.rb
|
228
|
+
- app/widgets/signup/javascript/signup.js
|
229
|
+
- app/widgets/signup/views/_signup_form.html.erb
|
230
|
+
- app/widgets/signup/views/error.html.erb
|
231
|
+
- app/widgets/signup/views/index.html.erb
|
232
|
+
- app/widgets/signup/views/layouts/base.html.erb
|
233
|
+
- app/widgets/signup/views/success.html.erb
|
234
|
+
- config/environment.rb
|
235
|
+
- config/routes.rb
|
236
|
+
- db/data_migrations/20110509223702_add_publisher_role.rb
|
237
|
+
- db/data_migrations/20110816153456_add_knitkit_application.rb
|
238
|
+
- db/data_migrations/upgrade/20111011203718_create_paths_for_sections.rb
|
239
|
+
- db/data_migrations/upgrade/20111216192114_add_secured_models_to_menu_items.rb
|
240
|
+
- db/data_migrations/upgrade/20111216202819_set_contents_iid_to_permalink_where_null.rb
|
241
|
+
- db/migrate/20110211002317_setup_knitkit.rb
|
242
|
+
- db/migrate/upgrade/20111014190442_update_contents.rb
|
243
|
+
- db/migrate/upgrade/20111014201502_add_published_by_to_published_elements.rb
|
244
|
+
- db/migrate/upgrade/20111017133851_add_iid_to_section.rb
|
245
|
+
- db/migrate/upgrade/20111027145006_add_in_menu_to_section.rb
|
246
|
+
- lib/knitkit/engine.rb
|
247
|
+
- lib/knitkit/extensions/action_controller/theme_support/acts_as_themed_controller.rb
|
248
|
+
- lib/knitkit/extensions/active_record/acts_as_commentable.rb
|
249
|
+
- lib/knitkit/extensions/active_record/acts_as_publishable.rb
|
250
|
+
- lib/knitkit/extensions/active_record/theme_support/has_many_themes.rb
|
251
|
+
- lib/knitkit/extensions/compass/widgets/base.rb
|
252
|
+
- lib/knitkit/extensions/core/array.rb
|
253
|
+
- lib/knitkit/extensions/railties/action_view.rb
|
254
|
+
- lib/knitkit/extensions/railties/theme_support/asset_tag_helper.rb
|
255
|
+
- lib/knitkit/extensions/railties/theme_support/theme_file_resolver.rb
|
256
|
+
- lib/knitkit/extensions.rb
|
257
|
+
- lib/knitkit/routing_filter/section_router.rb
|
258
|
+
- lib/knitkit/syntax_validator.rb
|
259
|
+
- lib/knitkit/version.rb
|
260
|
+
- lib/knitkit.rb
|
261
|
+
- lib/tasks/knitkit_tasks.rake
|
262
|
+
- GPL-3-LICENSE
|
263
|
+
- Rakefile
|
264
|
+
- README.md
|
265
|
+
homepage: http://development.compassagile.com
|
266
|
+
licenses: []
|
267
|
+
post_install_message:
|
268
|
+
rdoc_options: []
|
269
|
+
require_paths:
|
270
|
+
- lib
|
271
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
272
|
+
none: false
|
273
|
+
requirements:
|
274
|
+
- - ! '>='
|
275
|
+
- !ruby/object:Gem::Version
|
276
|
+
version: '0'
|
277
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
278
|
+
none: false
|
279
|
+
requirements:
|
280
|
+
- - ! '>='
|
281
|
+
- !ruby/object:Gem::Version
|
282
|
+
version: '0'
|
283
|
+
requirements: []
|
284
|
+
rubyforge_project:
|
285
|
+
rubygems_version: 1.8.10
|
286
|
+
signing_key:
|
287
|
+
specification_version: 3
|
288
|
+
summary: CMS built for the Compass AE framework
|
289
|
+
test_files: []
|