fanforce-plugin-factory 0.35.2 → 0.36.0
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/fanforce/plugin_factory/assets/lib/common/_module-add-initiative-footer.scss +1 -1
- data/lib/fanforce/plugin_factory/assets/lib/common/layouts/_convert_pending_initiative.scss +3 -0
- data/lib/fanforce/plugin_factory/config/core_config.rb +8 -2
- data/lib/fanforce/plugin_factory/version.rb +1 -1
- metadata +1 -1
@@ -1,5 +1,5 @@
|
|
1
1
|
.module-add-initiative-footer { position:absolute; bottom:0; left:0; padding:5px 0; text-align:left; width:100%; margin:0px; overflow:hidden; background: #f2f5f8; @include box-shadow(#ffffff 0 1px 0 inset, #d1d1d1 0 -1px 2px);
|
2
|
-
&.disabled {
|
2
|
+
&.disabled { pointer-events: none;
|
3
3
|
label { @include opacity(.5); }
|
4
4
|
.input-wrapper { @include opacity(.5); cursor: not-allowed; }
|
5
5
|
button { @include opacity(.5); }
|
@@ -12,7 +12,10 @@
|
|
12
12
|
@import 'common/mixins';
|
13
13
|
@import 'common/variables';
|
14
14
|
@import 'common/bootstrap-overrides';
|
15
|
+
|
16
|
+
@import 'common/module-page-loading';
|
15
17
|
@import 'common/module-saving-initiative';
|
18
|
+
@import 'common/module-add-initiative-footer';
|
16
19
|
|
17
20
|
//////////////////////////////////////////////////////////////////////////////////////////////////
|
18
21
|
// BASE STYLES (AS FEW AS POSSIBLE)
|
@@ -68,11 +68,17 @@ class FanforcePlugin::CoreConfig
|
|
68
68
|
@dir_name = /\/([^\/]+)\/?$/.match(@root_dir)[1]
|
69
69
|
|
70
70
|
$: << File.join(@root_dir,'lib') if File.directory?("#{@root_dir}/lib")
|
71
|
+
$: << @root_dir if File.directory?("#{@root_dir}")
|
71
72
|
|
72
73
|
require "#{@root_dir}/config/initializer" if File.exists?("#{@root_dir}/config/initializer.rb")
|
73
|
-
require "#{@root_dir}/config/routes" if File.exists?("#{@root_dir}/config/routes.rb")
|
74
|
-
|
75
74
|
require "#{@root_dir}/initializer" if File.exists?("#{@root_dir}/initializer.rb")
|
75
|
+
if File.directory?("#{@root_dir}/initializers")
|
76
|
+
Dir["#{@root_dir}/initializers/*.rb"].each {|file| require file }
|
77
|
+
end
|
78
|
+
|
79
|
+
require "#{@root_dir}/config/_routes" if File.exists?("#{@root_dir}/config/_routes.rb")
|
80
|
+
require "#{@root_dir}/views/_routes" if File.exists?("#{@root_dir}/views/_routes.rb")
|
81
|
+
require "#{@root_dir}/_routes" if File.exists?("#{@root_dir}/_routes.rb")
|
76
82
|
require "#{@root_dir}/routes" if File.exists?("#{@root_dir}/routes.rb")
|
77
83
|
|
78
84
|
require "#{@factory_root_dir}/routes_#{@type}" if @type and File.exists?("#{@factory_root_dir}/routes_#{@type}.rb")
|