forge-cli 0.1.9 → 0.1.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/forge-cli/version.rb +1 -1
- data/lib/forge/Gemfile +3 -2
- data/lib/forge/app/assets/images/{ajax-loader-dialog.gif → forge/ajax-loader-dialog.gif} +0 -0
- data/lib/forge/app/assets/images/{ajax-loader.gif → forge/ajax-loader.gif} +0 -0
- data/lib/forge/app/assets/images/{asset-icons → forge/asset-icons}/audio.jpg +0 -0
- data/lib/forge/app/assets/images/{asset-icons → forge/asset-icons}/misc.jpg +0 -0
- data/lib/forge/app/assets/images/{asset-icons → forge/asset-icons}/pdf.jpg +0 -0
- data/lib/forge/app/assets/images/{asset-icons → forge/asset-icons}/presentation.jpg +0 -0
- data/lib/forge/app/assets/images/{asset-icons → forge/asset-icons}/spreadsheet.jpg +0 -0
- data/lib/forge/app/assets/images/{asset-icons → forge/asset-icons}/text.jpg +0 -0
- data/lib/forge/app/assets/images/{asset-icons → forge/asset-icons}/video.jpg +0 -0
- data/lib/forge/app/assets/images/{bg-form-gradient.jpg → forge/bg-form-gradient.jpg} +0 -0
- data/lib/forge/app/assets/images/{bg-pagination-active.jpg → forge/bg-pagination-active.jpg} +0 -0
- data/lib/forge/app/assets/images/{bg-search.jpg → forge/bg-search.jpg} +0 -0
- data/lib/forge/app/assets/images/{bg-shadow-login.jpg → forge/bg-shadow-login.jpg} +0 -0
- data/lib/forge/app/assets/images/{bg-shadow.jpg → forge/bg-shadow.jpg} +0 -0
- data/lib/forge/app/assets/images/{bg-tile.jpg → forge/bg-tile.jpg} +0 -0
- data/lib/forge/app/assets/images/{browse-alt.png → forge/browse-alt.png} +0 -0
- data/lib/forge/app/assets/images/{browse.png → forge/browse.png} +0 -0
- data/lib/forge/app/assets/images/{button-cancel.gif → forge/button-cancel.gif} +0 -0
- data/lib/forge/app/assets/images/{buttons → forge/buttons}/bg-button.png +0 -0
- data/lib/forge/app/assets/images/{buttons → forge/buttons}/forge-menu-arrows.png +0 -0
- data/lib/forge/app/assets/images/{buttons → forge/buttons}/icon-button.png +0 -0
- data/lib/forge/app/assets/images/{crumb-arrow.png → forge/crumb-arrow.png} +0 -0
- data/lib/forge/app/assets/images/{down-arrow.jpg → forge/down-arrow.jpg} +0 -0
- data/lib/forge/app/assets/images/{drawer-close.png → forge/drawer-close.png} +0 -0
- data/lib/forge/app/assets/images/{drawer-tile.gif → forge/drawer-tile.gif} +0 -0
- data/lib/forge/app/assets/images/{file-processing.gif → forge/file-processing.gif} +0 -0
- data/lib/forge/app/assets/images/{forge-loader.gif → forge/forge-loader.gif} +0 -0
- data/lib/forge/app/assets/images/{help → forge/help}/alignment.png +0 -0
- data/lib/forge/app/assets/images/{help → forge/help}/bold_italicize_underline.png +0 -0
- data/lib/forge/app/assets/images/{help → forge/help}/bullets.png +0 -0
- data/lib/forge/app/assets/images/{help → forge/help}/html.png +0 -0
- data/lib/forge/app/assets/images/{help → forge/help}/hyperlinks.png +0 -0
- data/lib/forge/app/assets/images/{help → forge/help}/image_size_1.png +0 -0
- data/lib/forge/app/assets/images/{help → forge/help}/image_size_2.png +0 -0
- data/lib/forge/app/assets/images/{help → forge/help}/image_size_2b.png +0 -0
- data/lib/forge/app/assets/images/{help → forge/help}/link_popup.jpg +0 -0
- data/lib/forge/app/assets/images/{help → forge/help}/link_slug.jpg +0 -0
- data/lib/forge/app/assets/images/{help → forge/help}/media.png +0 -0
- data/lib/forge/app/assets/images/{help → forge/help}/prepare.png +0 -0
- data/lib/forge/app/assets/images/{help → forge/help}/word.png +0 -0
- data/lib/forge/app/assets/images/{hr.jpg → forge/hr.jpg} +0 -0
- data/lib/forge/app/assets/images/{icons → forge/icons}/checkmark.png +0 -0
- data/lib/forge/app/assets/images/{icons → forge/icons}/delete.png +0 -0
- data/lib/forge/app/assets/images/{icons → forge/icons}/edit.png +0 -0
- data/lib/forge/app/assets/images/{icons → forge/icons}/gear-alt.png +0 -0
- data/lib/forge/app/assets/images/{icons → forge/icons}/gear.png +0 -0
- data/lib/forge/app/assets/images/{icons → forge/icons}/image_new.gif +0 -0
- data/lib/forge/app/assets/images/{icons → forge/icons}/index-icons.png +0 -0
- data/lib/forge/app/assets/images/{icons → forge/icons}/laptop.png +0 -0
- data/lib/forge/app/assets/images/{icons → forge/icons}/left-arrow.png +0 -0
- data/lib/forge/app/assets/images/{icons → forge/icons}/nay.png +0 -0
- data/lib/forge/app/assets/images/{icons → forge/icons}/plus.png +0 -0
- data/lib/forge/app/assets/images/{icons → forge/icons}/right-arrow.png +0 -0
- data/lib/forge/app/assets/images/{icons → forge/icons}/thumbdown.png +0 -0
- data/lib/forge/app/assets/images/{icons → forge/icons}/thumbup.png +0 -0
- data/lib/forge/app/assets/images/{icons → forge/icons}/trash.png +0 -0
- data/lib/forge/app/assets/images/{icons → forge/icons}/yay.png +0 -0
- data/lib/forge/app/assets/images/{image_new.gif → forge/image_new.gif} +0 -0
- data/lib/forge/app/assets/images/{input-overlay.jpg → forge/input-overlay.jpg} +0 -0
- data/lib/forge/app/assets/images/{item-bg.jpg → forge/item-bg.jpg} +0 -0
- data/lib/forge/app/assets/images/{loader-bar.gif → forge/loader-bar.gif} +0 -0
- data/lib/forge/app/assets/images/{logo-big.png → forge/logo-big.png} +0 -0
- data/lib/forge/app/assets/images/{logo.png → forge/logo.png} +0 -0
- data/lib/forge/app/assets/images/{read-meter-bg.png → forge/read-meter-bg.png} +0 -0
- data/lib/forge/app/assets/images/{scroll-bar-bg.jpg → forge/scroll-bar-bg.jpg} +0 -0
- data/lib/forge/app/assets/images/{scroll-drag-bg.jpg → forge/scroll-drag-bg.jpg} +0 -0
- data/lib/forge/app/assets/images/{sent-meter-bg.png → forge/sent-meter-bg.png} +0 -0
- data/lib/forge/app/assets/images/{separator-sm.jpg → forge/separator-sm.jpg} +0 -0
- data/lib/forge/app/assets/images/{sidebar-bg.jpg → forge/sidebar-bg.jpg} +0 -0
- data/lib/forge/app/assets/images/{slider-bg.jpg → forge/slider-bg.jpg} +0 -0
- data/lib/forge/app/assets/images/{slider-button.png → forge/slider-button.png} +0 -0
- data/lib/forge/app/assets/images/{slider-left.jpg → forge/slider-left.jpg} +0 -0
- data/lib/forge/app/assets/images/{slider-right.jpg → forge/slider-right.jpg} +0 -0
- data/lib/forge/app/assets/images/{submenu-bg.jpg → forge/submenu-bg.jpg} +0 -0
- data/lib/forge/app/assets/images/{ui → forge/ui}/ui-bg_diagonals-thick_90_eeeeee_40x40.png +0 -0
- data/lib/forge/app/assets/images/{ui → forge/ui}/ui-bg_flat_15_cd0a0a_40x100.png +0 -0
- data/lib/forge/app/assets/images/{ui → forge/ui}/ui-bg_glass_100_e4f1fb_1x400.png +0 -0
- data/lib/forge/app/assets/images/{ui → forge/ui}/ui-bg_glass_50_3baae3_1x400.png +0 -0
- data/lib/forge/app/assets/images/{ui → forge/ui}/ui-bg_glass_80_d7ebf9_1x400.png +0 -0
- data/lib/forge/app/assets/images/{ui → forge/ui}/ui-bg_highlight-hard_100_f2f5f7_1x100.png +0 -0
- data/lib/forge/app/assets/images/{ui → forge/ui}/ui-bg_highlight-hard_70_000000_1x100.png +0 -0
- data/lib/forge/app/assets/images/{ui → forge/ui}/ui-bg_highlight-soft_100_deedf7_1x100.png +0 -0
- data/lib/forge/app/assets/images/{ui → forge/ui}/ui-bg_highlight-soft_25_ffef8f_1x100.png +0 -0
- data/lib/forge/app/assets/images/{ui → forge/ui}/ui-icons_2694e8_256x240.png +0 -0
- data/lib/forge/app/assets/images/{ui → forge/ui}/ui-icons_2e83ff_256x240.png +0 -0
- data/lib/forge/app/assets/images/{ui → forge/ui}/ui-icons_3d80b3_256x240.png +0 -0
- data/lib/forge/app/assets/images/{ui → forge/ui}/ui-icons_72a7cf_256x240.png +0 -0
- data/lib/forge/app/assets/images/{ui → forge/ui}/ui-icons_ffffff_256x240.png +0 -0
- data/lib/forge/app/assets/images/{vimeo-address-bar.jpg → forge/vimeo-address-bar.jpg} +0 -0
- data/lib/forge/app/assets/javascripts/controllers/application.js.coffee +2 -0
- data/lib/forge/app/assets/javascripts/controllers/index.js.coffee +0 -0
- data/lib/forge/app/assets/javascripts/front.js +1 -0
- data/lib/forge/app/assets/stylesheets/application.css.scss +17 -3
- data/lib/forge/app/assets/stylesheets/colors.css.scss +34 -0
- data/lib/forge/app/assets/stylesheets/helpers.css.scss +12 -0
- data/lib/forge/app/assets/stylesheets/layout/global.css.scss +3 -0
- data/lib/forge/app/assets/stylesheets/layout/grid.css.scss +28 -0
- data/lib/forge/app/assets/stylesheets/layout/home.css.scss +1 -0
- data/lib/forge/app/assets/stylesheets/layout/internal.css.scss +1 -0
- data/lib/forge/app/assets/stylesheets/typography.css.scss +25 -0
- data/lib/forge/app/assets/stylesheets/ui/comments.css.scss +37 -0
- data/lib/forge/app/assets/stylesheets/ui/messages.css.scss +60 -0
- data/lib/forge/app/assets/stylesheets/ui/tables.css.scss +19 -0
- data/lib/forge/app/assets/stylesheets/ui/tabs.css.scss +24 -0
- data/lib/forge/app/helpers/application_helper.rb +4 -1
- data/lib/forge/app/views/index/index.html.haml +261 -148
- data/lib/forge/lib/generators/forge/scaffold_small/templates/menu_section.html.haml +1 -5
- metadata +104 -94
- data/lib/forge/app/assets/javascripts/controllers/index.js +0 -2
- data/lib/forge/app/assets/stylesheets/defaults.css.scss +0 -30
- data/lib/forge/app/assets/stylesheets/flash_messages.css.scss +0 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7445d4fa95bafd3229ea430234752e65752e57b2
|
4
|
+
data.tar.gz: d60f1be78f210a4967e22c3254dfea3c2f16ef78
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cd1d6099fc29f3c4cf4389dced151524d3399620448886183c03cb258f3cc1e8a8ae1f42b7842ef14a55d69e3f97d0c3b8993047631a779fe46ca14e655c080e
|
7
|
+
data.tar.gz: d5c7697dee37d23ae98e5439b9539d0cdbdd7e9f0554212ee4fe3956eb7397c77cbe31e5e352cccd00a6e94428a25fece3f67f3c093aa6f2c630d691bd86d7a5
|
data/lib/forge-cli/version.rb
CHANGED
data/lib/forge/Gemfile
CHANGED
@@ -5,6 +5,7 @@ source 'https://rubygems.org'
|
|
5
5
|
# add or remove to your heart's content #
|
6
6
|
###################################################
|
7
7
|
gem 'capistrano', '2.15.4'
|
8
|
+
gem 'neat'
|
8
9
|
gem 'therubyracer'
|
9
10
|
|
10
11
|
# The Groups
|
@@ -39,7 +40,7 @@ gem 'awesome_nested_set', '~> 3.0.0.rc.1'
|
|
39
40
|
gem 'aws-s3', '~> 0.6.3'
|
40
41
|
gem 'aws-sdk', '~> 1.8.1.2'
|
41
42
|
gem 'cancan', '~> 1.6.9'
|
42
|
-
gem 'ckeditor', :git => '
|
43
|
+
gem 'ckeditor', :git => 'http://github.com/adriand/ckeditor.git'
|
43
44
|
gem 'coffee-rails', '~> 4.0.0'
|
44
45
|
gem 'daemons', '~> 1.1.9'
|
45
46
|
gem 'delayed_job', '~> 4.0.0'
|
@@ -82,4 +83,4 @@ group :test do
|
|
82
83
|
gem 'shoulda-matchers', '~> 2.0.0'
|
83
84
|
gem 'spork', '~> 0.9.0.rc'
|
84
85
|
gem 'zentest-without-autotest', '4.4.0'
|
85
|
-
end
|
86
|
+
end
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
data/lib/forge/app/assets/images/{bg-pagination-active.jpg → forge/bg-pagination-active.jpg}
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -2,7 +2,21 @@
|
|
2
2
|
*= require_self
|
3
3
|
*/
|
4
4
|
|
5
|
+
@import 'bourbon';
|
6
|
+
@import 'neat';
|
5
7
|
@import 'naturalize.css.scss';
|
6
|
-
@import '
|
7
|
-
@import '
|
8
|
-
@import '
|
8
|
+
@import 'colors.css.scss';
|
9
|
+
@import 'typography.css.scss';
|
10
|
+
@import 'helpers.css.scss';
|
11
|
+
|
12
|
+
// Layouts, try to make one for each different page type
|
13
|
+
@import 'layout/grid.css.scss';
|
14
|
+
@import 'layout/global.css.scss';
|
15
|
+
@import 'layout/home.css.scss';
|
16
|
+
@import 'layout/internal.css.css';
|
17
|
+
|
18
|
+
// UI Components, choose as needed
|
19
|
+
@import 'ui/comments';
|
20
|
+
@import 'ui/messages';
|
21
|
+
@import 'ui/tables';
|
22
|
+
@import 'ui/tabs';
|
@@ -0,0 +1,34 @@
|
|
1
|
+
// Use American 'color' in variable names for consistency with CSS keywords.
|
2
|
+
|
3
|
+
// Named colors
|
4
|
+
$light-red: #FF5858;
|
5
|
+
$dark-red: darken($light-red, 50%);
|
6
|
+
|
7
|
+
$light-green: #66FF33;
|
8
|
+
$dark-green: darken($light-green, 50%);
|
9
|
+
|
10
|
+
$light-yellow: #f8ff83;
|
11
|
+
$dark-yellow: darken($light-yellow, 50%);
|
12
|
+
|
13
|
+
$light-grey: #ddd;
|
14
|
+
$grey: #555;
|
15
|
+
$dark-grey: darken($light-grey, 50%);
|
16
|
+
|
17
|
+
$black: #333;
|
18
|
+
|
19
|
+
// Text colors
|
20
|
+
$primary-text-color: $black;
|
21
|
+
$link-color: #E20020;
|
22
|
+
|
23
|
+
// Notices/alerts
|
24
|
+
$alert-background-color: $light-yellow;
|
25
|
+
$alert-text-color: $grey;
|
26
|
+
$alert-border-color: $dark-yellow;
|
27
|
+
|
28
|
+
$error-background-color: $light-red;
|
29
|
+
$error-text-color: $dark-red;
|
30
|
+
$error-border-color: $dark-red;
|
31
|
+
|
32
|
+
$success-background-color: $light-green;
|
33
|
+
$success-text-color: $dark-green;
|
34
|
+
$success-border-color: $dark-green;
|
@@ -0,0 +1,28 @@
|
|
1
|
+
// define breakpoints
|
2
|
+
$mobile: new-breakpoint(max-width 500px 4);
|
3
|
+
$tablet: new-breakpoint(max-width 768px 12);
|
4
|
+
$max-width: em(960);
|
5
|
+
|
6
|
+
// helper classes for quickly building columns and rows
|
7
|
+
.row { @include row; }
|
8
|
+
.container { @include outer-container; }
|
9
|
+
.one { @include span-columns(1) }
|
10
|
+
.two { @include span-columns(2) }
|
11
|
+
.three { @include span-columns(3) }
|
12
|
+
.four { @include span-columns(4) }
|
13
|
+
.five { @include span-columns(5) }
|
14
|
+
.six { @include span-columns(6) }
|
15
|
+
.seven { @include span-columns(7) }
|
16
|
+
.eight { @include span-columns(8) }
|
17
|
+
.nine { @include span-columns(9) }
|
18
|
+
.ten { @include span-columns(10) }
|
19
|
+
.eleven { @include span-columns(11) }
|
20
|
+
.twelve { @include span-columns(12) }
|
21
|
+
|
22
|
+
// just make everything full column by default on mobile
|
23
|
+
.one, .two, .three, .four, .five, .six,
|
24
|
+
.seven, .eight, .nine, .ten, .eleven, .twelve {
|
25
|
+
@include media($mobile) {
|
26
|
+
@include span-columns(4);
|
27
|
+
}
|
28
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
// Put your home page layout here.
|
@@ -0,0 +1 @@
|
|
1
|
+
// Put your internal page layout here.
|
@@ -0,0 +1,25 @@
|
|
1
|
+
// Variables
|
2
|
+
$serif: "Georgia", "Times New Roman", Serif;
|
3
|
+
$sans-serif: Helvetica, Arial, Sans-Serif;
|
4
|
+
|
5
|
+
// Default Text Styles
|
6
|
+
body {
|
7
|
+
font-size: 14px/1.5;
|
8
|
+
font-family: $sans-serif;
|
9
|
+
color: $primary-text-color;
|
10
|
+
}
|
11
|
+
|
12
|
+
// Links
|
13
|
+
a {
|
14
|
+
color:$link-color;
|
15
|
+
text-decoration:none;
|
16
|
+
&:hover { text-decoration:underline; }
|
17
|
+
}
|
18
|
+
|
19
|
+
// Headers
|
20
|
+
h1 { font-size: 28px; }
|
21
|
+
h2 { font-size: 24px; }
|
22
|
+
h3 { font-size: 22px; }
|
23
|
+
h4 { font-size: 18px; }
|
24
|
+
h5 { font-size: 14px; }
|
25
|
+
h6 { font-size: 12px; }
|
@@ -0,0 +1,37 @@
|
|
1
|
+
#comments {
|
2
|
+
margin-top:25px;
|
3
|
+
#new-comment{
|
4
|
+
border-top:1px solid;
|
5
|
+
padding-top:10px;
|
6
|
+
}
|
7
|
+
#comment-message {
|
8
|
+
float:left;
|
9
|
+
width:58%;
|
10
|
+
}
|
11
|
+
#comment-details {
|
12
|
+
float:right;
|
13
|
+
width:38%;
|
14
|
+
strong small { font-weight: normal; }
|
15
|
+
input.textfield { width:90%; }
|
16
|
+
p { margin-bottom:20px; }
|
17
|
+
}
|
18
|
+
#comment-message textarea {
|
19
|
+
height:180px;
|
20
|
+
width:100%;
|
21
|
+
}
|
22
|
+
.comment {
|
23
|
+
border-top:1px solid;
|
24
|
+
padding:20px 0px;
|
25
|
+
.avatar {
|
26
|
+
float:left;
|
27
|
+
width:8%;
|
28
|
+
img {
|
29
|
+
border:1px solid;
|
30
|
+
max-width:60px;
|
31
|
+
padding:4px;
|
32
|
+
width:100%;
|
33
|
+
}
|
34
|
+
}
|
35
|
+
.comment-text { float:right; width:88%; }
|
36
|
+
}
|
37
|
+
}
|
@@ -0,0 +1,60 @@
|
|
1
|
+
$warning-background-color: #FF4545;
|
2
|
+
|
3
|
+
// Messages
|
4
|
+
.warning {
|
5
|
+
position: fixed;
|
6
|
+
top: 35%;
|
7
|
+
left: 40%;
|
8
|
+
z-index: 1000;
|
9
|
+
padding: 50px 0px;
|
10
|
+
width: 400px;
|
11
|
+
border: 2px solid #e70a0a;
|
12
|
+
background: #FFC9C9;
|
13
|
+
color: #e70a0a;
|
14
|
+
text-align: center;
|
15
|
+
font-weight: bold;
|
16
|
+
font-size: 14px;
|
17
|
+
opacity: 0.95;
|
18
|
+
}
|
19
|
+
|
20
|
+
.flash-msg {
|
21
|
+
margin-bottom: 20px;
|
22
|
+
padding: 0px 20px;
|
23
|
+
}
|
24
|
+
|
25
|
+
.flash-warning, .flash-error, .flash-alert, .flash-notice {
|
26
|
+
border: 1px solid #e6ed7a;
|
27
|
+
}
|
28
|
+
|
29
|
+
.flash-warning, .flash-error {
|
30
|
+
border-color: $error-border-color;
|
31
|
+
background: $error-background-color;
|
32
|
+
color: $error-text-color;
|
33
|
+
}
|
34
|
+
|
35
|
+
.flash-alert {
|
36
|
+
border-color: $alert-text-color;
|
37
|
+
background: $alert-background-color;
|
38
|
+
color: $alert-text-color;
|
39
|
+
}
|
40
|
+
.flash-notice {
|
41
|
+
border-color: $success-border-color;
|
42
|
+
background: $success-background-color;
|
43
|
+
color: $success-text-color;
|
44
|
+
}
|
45
|
+
|
46
|
+
.errorExplanation {
|
47
|
+
@extend .flash-msg;
|
48
|
+
@extend .flash-warning;
|
49
|
+
|
50
|
+
h2 { display: none; }
|
51
|
+
p {
|
52
|
+
margin-top: 0px;
|
53
|
+
font-weight: bold;
|
54
|
+
font-size: 14px;
|
55
|
+
}
|
56
|
+
ul {
|
57
|
+
padding-left: 25px;
|
58
|
+
font-size: 13px;
|
59
|
+
}
|
60
|
+
}
|