fanforce-plugin-factory 0.31.0 → 0.32.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/fanforce/plugin_factory/assets/css/convert_pending_initiative.scss +1 -0
- data/lib/fanforce/plugin_factory/assets/js/convert_pending_initiative.js +1 -0
- data/lib/fanforce/plugin_factory/assets/lib/common/layouts/_convert_pending_initiative.scss +24 -0
- data/lib/fanforce/plugin_factory/assets/lib/common/layouts/_engage.scss +3 -2
- data/lib/fanforce/plugin_factory/assets/lib/common/layouts/convert_pending_initiative.js +6 -0
- data/lib/fanforce/plugin_factory/layouts/convert_pending_initiative.haml +19 -0
- data/lib/fanforce/plugin_factory/routes_behavior.rb +6 -0
- data/lib/fanforce/plugin_factory/version.rb +1 -1
- data/lib/fanforce/plugin_factory/views/add_initiative.haml +1 -1
- data/lib/fanforce/plugin_factory/views/convert_pending_initiative.haml +1 -0
- data/lib/fanforce/plugin_factory/views/edit_initiative.haml +1 -1
- metadata +7 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
OGMzMWI1NDg0ZGM0ODQ5NDcwYWI3YzUzZTg2YTE1ZTNlMDg1NGU2YQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
NTg3ZTUzNTY5NjYwZWYyNjhhMmMxZWM1OTdmZDJiYmIwMGEzZTdkZQ==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
NGMxYTZiODA5NDE2MDVmZTI0MGUxMGRlYjVkOTExM2E5YjdmZDVhODAxYjI0
|
10
|
+
YmJmZmUyNTQ0ZWYwMDIxOTgwZDE4MjVhNDExYTZkZTAwOWZlYzYzOWY3N2Fi
|
11
|
+
MTFlNzZiMTBlNjU4ZDJiZDI3NjU0ZThkMTM5MTI3NWUxNDFmY2Q=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
YmU3NDgzNTk3MTZhZTM1MDdiZDcxYzI3OTM1ZmRhNTYxOGYwMWMyYTEwZDYz
|
14
|
+
Yzc2ODgxMmViOGMwZjk2MTA1Y2FkZjc1MjYzZTMxNGY1MmMyNGMzNTI3OWIz
|
15
|
+
OGI5NTU0ZGZmNWVjYzY0ZmJmZjNjOTc5NjE4NTAwMTY0MzBmYjQ=
|
@@ -0,0 +1 @@
|
|
1
|
+
@import 'common/layouts/convert_pending_initiative';
|
@@ -0,0 +1 @@
|
|
1
|
+
//= require common/layouts/convert_pending_initiative
|
@@ -0,0 +1,24 @@
|
|
1
|
+
//////////////////////////////////////////////////////////////////////////////////////////////////
|
2
|
+
// COMPASS AND BOOTSTRAP
|
3
|
+
//////////////////////////////////////////////////////////////////////////////////////////////////
|
4
|
+
@import 'compass/css3';
|
5
|
+
@import 'compass/utilities';
|
6
|
+
@import 'vendors/bootstrap/css/bootstrap.min.css';
|
7
|
+
@import 'vendors/font-awesome/css/font-awesome.min.css';
|
8
|
+
|
9
|
+
//////////////////////////////////////////////////////////////////////////////////////////////////
|
10
|
+
// COMMON
|
11
|
+
//////////////////////////////////////////////////////////////////////////////////////////////////
|
12
|
+
@import 'common/mixins';
|
13
|
+
@import 'common/variables';
|
14
|
+
@import 'common/bootstrap-overrides';
|
15
|
+
|
16
|
+
//////////////////////////////////////////////////////////////////////////////////////////////////
|
17
|
+
// BASE STYLES (AS FEW AS POSSIBLE)
|
18
|
+
//////////////////////////////////////////////////////////////////////////////////////////////////
|
19
|
+
|
20
|
+
body { overflow:hidden;
|
21
|
+
.hide { display:none !important; }
|
22
|
+
.dropdown-menu { @include border-radius(4px); border:1px solid #aec7dd; @include box-shadow(1px 1px 3px rgba(0, 0, 0, 0.2), #ffffff 1px 1px 0 inset); background:#f7fafd; }
|
23
|
+
.page-loading { color:#cccccc; font-size:15px; text-align: center; padding-top:45px; }
|
24
|
+
}
|
@@ -20,7 +20,8 @@
|
|
20
20
|
//////////////////////////////////////////////////////////////////////////////////////////////////
|
21
21
|
// FRAMEWORK: MODULE ACTIVATION
|
22
22
|
//////////////////////////////////////////////////////////////////////////////////////////////////
|
23
|
-
|
23
|
+
html { height:100%; }
|
24
|
+
body { height: 100%; background-color:#292a2e; @include ff-gradient(#26262a,#2b2d31); text-align:center; margin:0;
|
24
25
|
$content-width:content-width('engage');
|
25
26
|
@include sticky-footer(40px, ".lyt-root", ".lyt-root-footer", ".lyt-footer");
|
26
27
|
|
@@ -42,5 +43,5 @@ body { background-color:#292a2e; @include ff-gradient(#26262a,#2b2d31); text-ali
|
|
42
43
|
}
|
43
44
|
|
44
45
|
// layout-specific components
|
45
|
-
.widget { display:inline-block; @include box-shadow(#000000 2px 2px 2px); border:10px solid #ffffff; @include border-radius(3px); margin:50px 0 50px; }
|
46
|
+
.ff-widget { display:inline-block; @include box-shadow(#000000 2px 2px 2px); border:10px solid #ffffff; @include border-radius(3px); margin:50px 0 50px; }
|
46
47
|
}
|
@@ -0,0 +1,6 @@
|
|
1
|
+
//= require vendors/jquery/jquery.tmpl.debug
|
2
|
+
//= require vendors/jquery/jquery.inputHint
|
3
|
+
//= require vendors/bootstrap/js/bootstrap.min
|
4
|
+
//= require vendors/knockout/knockout.min
|
5
|
+
//= require vendors/knockout/knockout.custom-handlers
|
6
|
+
//= require vendors/underscore/underscore.debug
|
@@ -0,0 +1,19 @@
|
|
1
|
+
<?xml version='1.0' encoding='utf-8' ?>
|
2
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
3
|
+
%html
|
4
|
+
%head
|
5
|
+
%title Fanforce
|
6
|
+
%meta{'http-equiv'=>'Content-Type', content:'text/html; charset=iso-8859-1'}/
|
7
|
+
%meta{'http-equiv'=>'Content-Language', content: 'en-us'}/
|
8
|
+
= stylesheet '/convert_pending_initiative.css'
|
9
|
+
:javascript
|
10
|
+
BASE_DOMAIN = #{Fanforce.base_domain.to_json}
|
11
|
+
API_DOMAIN = #{Fanforce.api_domain.to_json}
|
12
|
+
ASSETS_DOMAIN = #{Fanforce.assets_domain.to_json}
|
13
|
+
|
14
|
+
%body
|
15
|
+
= yield
|
16
|
+
= javascript '//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js'
|
17
|
+
= javascript "//#{Fanforce.eye_domain}/devforce.js#{'?DEBUG=1&DYNAMIC=1' if ENV['RACK_ENV']=='development'}"
|
18
|
+
= javascript '/convert_pending_initiative.js'
|
19
|
+
= yield_content :after_core_js
|
@@ -6,6 +6,12 @@ class FanforcePlugin::Sinatra
|
|
6
6
|
end
|
7
7
|
get '/add_initiative.html' do route_add_initiative(params) end
|
8
8
|
|
9
|
+
# ADD PENDING INITIATIVE UI ############################################################
|
10
|
+
def route_convert_pending_initiative(params)
|
11
|
+
page :convert_pending_initiative, :layout => :convert_pending_initiative
|
12
|
+
end
|
13
|
+
get '/convert_pending_initiative.html' do route_convert_pending_initiative(params) end
|
14
|
+
|
9
15
|
# EDIT INITIATIVE UI ###########################################################
|
10
16
|
def route_edit_initiative(params)
|
11
17
|
page :edit_initiative, :layout => :add_edit_initiative
|
@@ -1 +1 @@
|
|
1
|
-
%h2
|
1
|
+
%h2 Add Initiative
|
@@ -0,0 +1 @@
|
|
1
|
+
%h2 Add Initiative
|
@@ -1 +1 @@
|
|
1
|
-
%h2
|
1
|
+
%h2 Edit Initiative
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fanforce-plugin-factory
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.32.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Caleb Clark
|
@@ -321,6 +321,7 @@ files:
|
|
321
321
|
- lib/fanforce/plugin_factory/_init_sinatra.rb
|
322
322
|
- lib/fanforce/plugin_factory/assets/css/add_edit_initiative.scss
|
323
323
|
- lib/fanforce/plugin_factory/assets/css/add_source.scss
|
324
|
+
- lib/fanforce/plugin_factory/assets/css/convert_pending_initiative.scss
|
324
325
|
- lib/fanforce/plugin_factory/assets/css/engage.scss
|
325
326
|
- lib/fanforce/plugin_factory/assets/css/new_message.scss
|
326
327
|
- lib/fanforce/plugin_factory/assets/css/promotional.scss
|
@@ -331,6 +332,7 @@ files:
|
|
331
332
|
- lib/fanforce/plugin_factory/assets/js/add_edit_initiative.js
|
332
333
|
- lib/fanforce/plugin_factory/assets/js/add_source.js
|
333
334
|
- lib/fanforce/plugin_factory/assets/js/add_source_popup.js
|
335
|
+
- lib/fanforce/plugin_factory/assets/js/convert_pending_initiative.js
|
334
336
|
- lib/fanforce/plugin_factory/assets/js/engage.js
|
335
337
|
- lib/fanforce/plugin_factory/assets/js/new_message.js
|
336
338
|
- lib/fanforce/plugin_factory/assets/js/promotional.js
|
@@ -347,12 +349,14 @@ files:
|
|
347
349
|
- lib/fanforce/plugin_factory/assets/lib/common/icons/initiative.png
|
348
350
|
- lib/fanforce/plugin_factory/assets/lib/common/layouts/_add_edit_initiative.scss
|
349
351
|
- lib/fanforce/plugin_factory/assets/lib/common/layouts/_add_source.scss
|
352
|
+
- lib/fanforce/plugin_factory/assets/lib/common/layouts/_convert_pending_initiative.scss
|
350
353
|
- lib/fanforce/plugin_factory/assets/lib/common/layouts/_engage.scss
|
351
354
|
- lib/fanforce/plugin_factory/assets/lib/common/layouts/_new_message.scss
|
352
355
|
- lib/fanforce/plugin_factory/assets/lib/common/layouts/_promotional.scss
|
353
356
|
- lib/fanforce/plugin_factory/assets/lib/common/layouts/_source_details.scss
|
354
357
|
- lib/fanforce/plugin_factory/assets/lib/common/layouts/add_edit_initiative.js
|
355
358
|
- lib/fanforce/plugin_factory/assets/lib/common/layouts/add_source.js
|
359
|
+
- lib/fanforce/plugin_factory/assets/lib/common/layouts/convert_pending_initiative.js
|
356
360
|
- lib/fanforce/plugin_factory/assets/lib/common/layouts/engage.js
|
357
361
|
- lib/fanforce/plugin_factory/assets/lib/common/layouts/new_message.js
|
358
362
|
- lib/fanforce/plugin_factory/assets/lib/common/layouts/promotional.js
|
@@ -410,6 +414,7 @@ files:
|
|
410
414
|
- lib/fanforce/plugin_factory/config/helpers/json.rb
|
411
415
|
- lib/fanforce/plugin_factory/layouts/add_edit_initiative.haml
|
412
416
|
- lib/fanforce/plugin_factory/layouts/add_source.haml
|
417
|
+
- lib/fanforce/plugin_factory/layouts/convert_pending_initiative.haml
|
413
418
|
- lib/fanforce/plugin_factory/layouts/engage.haml
|
414
419
|
- lib/fanforce/plugin_factory/layouts/new_message.haml
|
415
420
|
- lib/fanforce/plugin_factory/layouts/promotional.haml
|
@@ -426,6 +431,7 @@ files:
|
|
426
431
|
- lib/fanforce/plugin_factory/views/add_initiative.haml
|
427
432
|
- lib/fanforce/plugin_factory/views/add_source.haml
|
428
433
|
- lib/fanforce/plugin_factory/views/close_popup.haml
|
434
|
+
- lib/fanforce/plugin_factory/views/convert_pending_initiative.haml
|
429
435
|
- lib/fanforce/plugin_factory/views/edit_initiative.haml
|
430
436
|
- lib/fanforce/plugin_factory/views/engage.haml
|
431
437
|
- lib/fanforce/plugin_factory/views/index.haml
|