inline_forms 3.0.38 → 3.0.39
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -13
- data/Gemfile.lock +133 -55
- data/bin/inline_forms_installer_core.rb +30 -20
- data/inline_forms.gemspec +6 -6
- data/lib/generators/assets/images/glass_plate.gif +0 -0
- data/lib/{app → generators}/assets/javascripts/ckeditor/config.js +0 -0
- data/lib/{app → generators}/assets/javascripts/inline_forms.js +1 -1
- data/lib/generators/assets/stylesheets/devise.scss +21 -0
- data/lib/generators/assets/stylesheets/inline_forms.scss +314 -0
- data/lib/inline_forms/version.rb +1 -1
- metadata +32 -47
- data/lib/app/assets/images/devise_footer_left.png +0 -0
- data/lib/app/assets/images/devise_footer_right.png +0 -0
- data/lib/app/assets/images/devise_header.png +0 -0
- data/lib/app/assets/javascripts/inline_forms_application.js +0 -10
checksums.yaml
CHANGED
@@ -1,15 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
|
5
|
-
data.tar.gz: !binary |-
|
6
|
-
MTEwOGNlY2U1MjFjNTA4NTUzNzRiOTVmMjcwZTQwYWZhN2FlNDlkOA==
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 0acec1b5328290208d003b73294e9c9844f8b56c
|
4
|
+
data.tar.gz: ddeea8a441406ea5c8a1a3478cd32ed1c119348b
|
7
5
|
SHA512:
|
8
|
-
metadata.gz:
|
9
|
-
|
10
|
-
YTU5M2ZhNWU1YzQ4N2JjNTBhNTg2NDQ0NzVhNThlYjFiZjYxMWZkNDg3NzEw
|
11
|
-
YTY2ZjRiNDYyZWZiNDFkNGVkZjJmOWQ1MDI0ZjEzMmUzNjViY2M=
|
12
|
-
data.tar.gz: !binary |-
|
13
|
-
NzIzZGM5OGNmNjM0ZGY0ZTIzNTBlOTQwNzIyM2FjYjQ3ODVmODZmMjQ1MmY3
|
14
|
-
OTY1ZWNjMjVmMDdkYWQ3MzRhNmU1ZjA4ZmMwNzA4MDIyMGYzOWVhMGVkZjU3
|
15
|
-
YmJlZWZkOTM3MjQwYTIyMGRlOWFlYjFlZGQ0NmRiMDg4MWZhZjg=
|
6
|
+
metadata.gz: 3d6b1a40fab1aff2ea52fe2fc25fa1e47b96a21eb0e60790628057cbf771e0b17b3fddec5e70f267d4d882421ea609af9c5036f7957fa4fe8f65a7c11aa4c897
|
7
|
+
data.tar.gz: 8056be056bb88b2c04b1532bb399f8f0bf35e736ea312d8ef0baf8ae382b478ddf4e3b0b87c2eb6e4a945ee6a4191293fb4c45ce287af5adbabcd00632b27106
|
data/Gemfile.lock
CHANGED
@@ -1,88 +1,166 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
inline_forms (
|
4
|
+
inline_forms (3.0.39)
|
5
|
+
rails (= 3.2.21)
|
6
|
+
rails-i18n
|
7
|
+
rvm
|
8
|
+
thor
|
9
|
+
validation_hints
|
5
10
|
|
6
11
|
GEM
|
7
12
|
remote: http://rubygems.org/
|
8
13
|
specs:
|
9
|
-
|
10
|
-
|
11
|
-
|
14
|
+
actionmailer (3.2.21)
|
15
|
+
actionpack (= 3.2.21)
|
16
|
+
mail (~> 2.5.4)
|
17
|
+
actionpack (3.2.21)
|
18
|
+
activemodel (= 3.2.21)
|
19
|
+
activesupport (= 3.2.21)
|
12
20
|
builder (~> 3.0.0)
|
13
21
|
erubis (~> 2.7.0)
|
14
|
-
|
15
|
-
rack (~> 1.
|
16
|
-
rack-cache (~> 1.
|
17
|
-
rack-mount (~> 0.8.2)
|
22
|
+
journey (~> 1.0.4)
|
23
|
+
rack (~> 1.4.5)
|
24
|
+
rack-cache (~> 1.2)
|
18
25
|
rack-test (~> 0.6.1)
|
19
|
-
sprockets (~> 2.
|
20
|
-
activemodel (3.
|
21
|
-
activesupport (= 3.
|
26
|
+
sprockets (~> 2.2.1)
|
27
|
+
activemodel (3.2.21)
|
28
|
+
activesupport (= 3.2.21)
|
22
29
|
builder (~> 3.0.0)
|
23
|
-
|
24
|
-
|
30
|
+
activerecord (3.2.21)
|
31
|
+
activemodel (= 3.2.21)
|
32
|
+
activesupport (= 3.2.21)
|
33
|
+
arel (~> 3.0.2)
|
34
|
+
tzinfo (~> 0.3.29)
|
35
|
+
activeresource (3.2.21)
|
36
|
+
activemodel (= 3.2.21)
|
37
|
+
activesupport (= 3.2.21)
|
38
|
+
activesupport (3.2.21)
|
39
|
+
i18n (~> 0.6, >= 0.6.4)
|
25
40
|
multi_json (~> 1.0)
|
26
|
-
|
27
|
-
|
41
|
+
addressable (2.3.8)
|
42
|
+
arel (3.0.3)
|
43
|
+
builder (3.0.4)
|
44
|
+
descendants_tracker (0.0.4)
|
45
|
+
thread_safe (~> 0.3, >= 0.3.1)
|
46
|
+
diff-lcs (1.2.5)
|
28
47
|
erubis (2.7.0)
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
48
|
+
faraday (0.9.1)
|
49
|
+
multipart-post (>= 1.2, < 3)
|
50
|
+
git (1.2.9.1)
|
51
|
+
github_api (0.12.3)
|
52
|
+
addressable (~> 2.3)
|
53
|
+
descendants_tracker (~> 0.0.4)
|
54
|
+
faraday (~> 0.8, < 0.10)
|
55
|
+
hashie (>= 3.3)
|
56
|
+
multi_json (>= 1.7.5, < 2.0)
|
57
|
+
nokogiri (~> 1.6.3)
|
58
|
+
oauth2
|
59
|
+
hashie (3.4.2)
|
60
|
+
highline (1.7.2)
|
61
|
+
hike (1.2.3)
|
62
|
+
i18n (0.7.0)
|
63
|
+
jeweler (2.0.1)
|
64
|
+
builder
|
65
|
+
bundler (>= 1.0)
|
34
66
|
git (>= 1.2.5)
|
67
|
+
github_api
|
68
|
+
highline (>= 1.6.15)
|
69
|
+
nokogiri (>= 1.5.10)
|
35
70
|
rake
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
71
|
+
rdoc
|
72
|
+
journey (1.0.4)
|
73
|
+
json (1.8.3)
|
74
|
+
jwt (1.5.0)
|
75
|
+
mail (2.5.4)
|
76
|
+
mime-types (~> 1.16)
|
77
|
+
treetop (~> 1.4.8)
|
78
|
+
mime-types (1.25.1)
|
79
|
+
mini_portile (0.6.2)
|
80
|
+
multi_json (1.11.0)
|
81
|
+
multi_xml (0.5.5)
|
82
|
+
multipart-post (2.0.0)
|
83
|
+
nokogiri (1.6.6.2)
|
84
|
+
mini_portile (~> 0.6.0)
|
85
|
+
oauth2 (1.0.0)
|
86
|
+
faraday (>= 0.8, < 0.10)
|
87
|
+
jwt (~> 1.0)
|
88
|
+
multi_json (~> 1.3)
|
89
|
+
multi_xml (~> 0.5)
|
90
|
+
rack (~> 1.2)
|
91
|
+
polyglot (0.3.5)
|
92
|
+
rack (1.4.5)
|
93
|
+
rack-cache (1.2)
|
40
94
|
rack (>= 0.4)
|
41
|
-
rack-
|
42
|
-
rack (>= 1.0.0)
|
43
|
-
rack-ssl (1.3.2)
|
95
|
+
rack-ssl (1.3.4)
|
44
96
|
rack
|
45
|
-
rack-test (0.6.
|
97
|
+
rack-test (0.6.3)
|
46
98
|
rack (>= 1.0)
|
47
|
-
|
48
|
-
|
49
|
-
|
99
|
+
rails (3.2.21)
|
100
|
+
actionmailer (= 3.2.21)
|
101
|
+
actionpack (= 3.2.21)
|
102
|
+
activerecord (= 3.2.21)
|
103
|
+
activeresource (= 3.2.21)
|
104
|
+
activesupport (= 3.2.21)
|
105
|
+
bundler (~> 1.0)
|
106
|
+
railties (= 3.2.21)
|
107
|
+
rails-i18n (3.0.1)
|
108
|
+
i18n (~> 0.5)
|
109
|
+
rails (>= 3.0.0, < 4.0.0)
|
110
|
+
railties (3.2.21)
|
111
|
+
actionpack (= 3.2.21)
|
112
|
+
activesupport (= 3.2.21)
|
50
113
|
rack-ssl (~> 1.3.2)
|
51
114
|
rake (>= 0.8.7)
|
52
115
|
rdoc (~> 3.4)
|
53
|
-
thor (
|
54
|
-
rake (
|
55
|
-
|
56
|
-
rdoc (3.10)
|
116
|
+
thor (>= 0.14.6, < 2.0)
|
117
|
+
rake (10.4.2)
|
118
|
+
rdoc (3.12.2)
|
57
119
|
json (~> 1.4)
|
58
|
-
rspec (2.
|
59
|
-
rspec-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
rspec-
|
64
|
-
diff-lcs (
|
65
|
-
|
66
|
-
rspec-rails (2.
|
67
|
-
actionpack (
|
68
|
-
activesupport (
|
69
|
-
railties (
|
70
|
-
rspec (~> 2.
|
71
|
-
|
72
|
-
|
120
|
+
rspec-core (3.2.3)
|
121
|
+
rspec-support (~> 3.2.0)
|
122
|
+
rspec-expectations (3.2.1)
|
123
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
124
|
+
rspec-support (~> 3.2.0)
|
125
|
+
rspec-mocks (3.2.1)
|
126
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
127
|
+
rspec-support (~> 3.2.0)
|
128
|
+
rspec-rails (3.2.3)
|
129
|
+
actionpack (>= 3.0, < 4.3)
|
130
|
+
activesupport (>= 3.0, < 4.3)
|
131
|
+
railties (>= 3.0, < 4.3)
|
132
|
+
rspec-core (~> 3.2.0)
|
133
|
+
rspec-expectations (~> 3.2.0)
|
134
|
+
rspec-mocks (~> 3.2.0)
|
135
|
+
rspec-support (~> 3.2.0)
|
136
|
+
rspec-support (3.2.2)
|
137
|
+
rvm (1.11.3.9)
|
138
|
+
shoulda (3.5.0)
|
139
|
+
shoulda-context (~> 1.0, >= 1.0.1)
|
140
|
+
shoulda-matchers (>= 1.4.1, < 3.0)
|
141
|
+
shoulda-context (1.2.1)
|
142
|
+
shoulda-matchers (2.8.0)
|
143
|
+
activesupport (>= 3.0.0)
|
144
|
+
sprockets (2.2.3)
|
73
145
|
hike (~> 1.2)
|
146
|
+
multi_json (~> 1.0)
|
74
147
|
rack (~> 1.0)
|
75
148
|
tilt (~> 1.1, != 1.3.0)
|
76
|
-
thor (0.
|
77
|
-
|
149
|
+
thor (0.19.1)
|
150
|
+
thread_safe (0.3.5)
|
151
|
+
tilt (1.4.1)
|
152
|
+
treetop (1.4.15)
|
153
|
+
polyglot
|
154
|
+
polyglot (>= 0.3.1)
|
155
|
+
tzinfo (0.3.44)
|
156
|
+
validation_hints (0.2.1)
|
78
157
|
|
79
158
|
PLATFORMS
|
80
159
|
ruby
|
81
160
|
|
82
161
|
DEPENDENCIES
|
83
|
-
bundler
|
162
|
+
bundler
|
84
163
|
inline_forms!
|
85
|
-
jeweler
|
86
|
-
rcov
|
164
|
+
jeweler
|
87
165
|
rspec-rails
|
88
166
|
shoulda
|
@@ -1,12 +1,12 @@
|
|
1
1
|
GENERATOR_PATH = File.dirname(File.expand_path(__FILE__)) + '/../'
|
2
2
|
|
3
|
-
create_file 'Gemfile',
|
3
|
+
create_file 'Gemfile', '# created by inline_forms #{ENV['inline_forms_version']}\n"
|
4
4
|
|
5
5
|
add_source 'https://rubygems.org'
|
6
6
|
|
7
7
|
gem 'rails', '~> 3.2.21'
|
8
|
-
gem 'rake'
|
9
|
-
gem 'jquery-rails'
|
8
|
+
gem 'rake' #, '10.0.4'
|
9
|
+
gem 'jquery-rails' #, '~> 2.3.0'
|
10
10
|
gem 'jquery-ui-sass-rails'
|
11
11
|
gem 'capistrano'
|
12
12
|
gem 'will_paginate', :git => 'git://github.com/acesuares/will_paginate.git'
|
@@ -24,37 +24,37 @@ gem 'rails-i18n'
|
|
24
24
|
gem 'i18n-active_record', :git => 'git://github.com/acesuares/i18n-active_record.git'
|
25
25
|
gem 'unicorn'
|
26
26
|
gem 'rvm'
|
27
|
-
gem 'rvm-capistrano',
|
27
|
+
gem 'rvm-capistrano', require: false
|
28
28
|
gem 'foundation-rails'
|
29
29
|
gem 'foundation-icons-sass-rails'
|
30
30
|
gem 'mysql2'
|
31
31
|
|
32
|
+
|
32
33
|
gem_group :development do
|
33
34
|
gem 'yaml_db'
|
34
35
|
gem 'seed_dump', git: 'git://github.com/acesuares/seed_dump.git'
|
35
36
|
gem 'switch_user'
|
36
|
-
|
37
|
-
gem
|
38
|
-
|
39
|
-
gem
|
40
|
-
gem
|
41
|
-
gem
|
42
|
-
gem
|
43
|
-
gem
|
44
|
-
gem
|
45
|
-
gem "factory_girl_rails"
|
46
|
-
gem "rspec"
|
37
|
+
gem 'sqlite3'
|
38
|
+
gem 'rspec-rails'
|
39
|
+
gem 'shoulda', '>= 0'
|
40
|
+
gem 'bundler'
|
41
|
+
gem 'jeweler'
|
42
|
+
gem 'capybara'
|
43
|
+
gem 'factory_girl'
|
44
|
+
gem 'factory_girl_rails'
|
45
|
+
gem 'rspec'
|
47
46
|
end
|
48
47
|
|
49
48
|
gem_group :production do
|
50
49
|
gem 'therubyracer'
|
51
|
-
gem 'uglifier'
|
50
|
+
gem 'uglifier' #, '>= 1.0.3'
|
52
51
|
end
|
53
52
|
|
54
53
|
gem_group :assets do
|
55
|
-
gem 'sass-rails'
|
56
|
-
gem 'coffee-rails'
|
54
|
+
gem 'sass-rails' #, '~> 3.2.3'
|
55
|
+
gem 'coffee-rails' #, '~> 3.2.1'
|
57
56
|
gem 'compass-rails' # you need this or you get an err
|
57
|
+
gem 'turbo-sprockets-rails3'
|
58
58
|
end
|
59
59
|
|
60
60
|
say "- Running bundle..."
|
@@ -273,6 +273,16 @@ ROLES_MIGRATION
|
|
273
273
|
|
274
274
|
append_to_file "db/seeds.rb", "Role.create({ id: 1, name: 'superadmin', description: 'Super Admin can access all.' }, without_protection: true)\n"
|
275
275
|
|
276
|
+
say "- Create inline_forms.js..."
|
277
|
+
copy_file File.join(GENERATOR_PATH, 'lib/generators/assets/javascripts/inline_forms.js'), "app/assets/javascripts/inline_forms.js"
|
278
|
+
|
279
|
+
say "- Add stuff to application.js..."
|
280
|
+
insert_into_file "app/assets/javascripts/application.js",
|
281
|
+
"//= require jquery.ui.all
|
282
|
+
\n//= require jquery.ui.datepicker-nl.js
|
283
|
+
\n//= require inline_forms\n",
|
284
|
+
:before => "//= require_tree .\n"
|
285
|
+
|
276
286
|
say "- Install ckeditor..."
|
277
287
|
generate "ckeditor:install --backend=carrierwave"
|
278
288
|
|
@@ -288,7 +298,7 @@ insert_into_file "app/assets/javascripts/application.js",
|
|
288
298
|
:before => "//= require_tree .\n"
|
289
299
|
|
290
300
|
say "- Create ckeditor config.js"
|
291
|
-
copy_file File.join(GENERATOR_PATH, 'lib/
|
301
|
+
copy_file File.join(GENERATOR_PATH, 'lib/generators/assets/javascripts/ckeditor/config.js'), "app/assets/javascripts/ckeditor/config.js"
|
292
302
|
|
293
303
|
say "- Add remotipart to application.js..."
|
294
304
|
insert_into_file "app/assets/javascripts/application.js", "//= require jquery.remotipart\n", :before => "//= require_tree .\n"
|
@@ -498,7 +508,7 @@ remove_file 'spec/models/user_spec.rb'
|
|
498
508
|
# environments/production.rb
|
499
509
|
say "- Injecting precompile assets stuff in environments/production.rb..."
|
500
510
|
insert_into_file "config/environments/production.rb",
|
501
|
-
" config.assets.precompile += %w(inline_forms_application.
|
511
|
+
" config.assets.precompile += %w(inline_forms_application.css devise.css)\n",
|
502
512
|
:after => " # config.assets.precompile += %w( search.js )\n"
|
503
513
|
|
504
514
|
|
data/inline_forms.gemspec
CHANGED
@@ -24,13 +24,13 @@ Gem::Specification.new do |s|
|
|
24
24
|
s.add_dependency('thor')
|
25
25
|
s.add_dependency('validation_hints')
|
26
26
|
s.add_dependency('rails', '3.2.21')
|
27
|
-
s.add_dependency('rails-i18n'
|
27
|
+
s.add_dependency('rails-i18n')
|
28
28
|
|
29
|
-
s.add_development_dependency(%q<rspec-rails
|
30
|
-
s.add_development_dependency(%q<shoulda
|
31
|
-
s.add_development_dependency(%q<bundler
|
32
|
-
s.add_development_dependency(%q<jeweler
|
33
|
-
s.add_development_dependency(%q<rcov
|
29
|
+
s.add_development_dependency(%q<rspec-rails>)
|
30
|
+
s.add_development_dependency(%q<shoulda>)
|
31
|
+
s.add_development_dependency(%q<bundler>)
|
32
|
+
s.add_development_dependency(%q<jeweler>)
|
33
|
+
#s.add_development_dependency(%q<rcov>)
|
34
34
|
|
35
35
|
end
|
36
36
|
|
Binary file
|
File without changes
|
@@ -8,7 +8,7 @@ $(document).ready(function() {
|
|
8
8
|
yearRange: '-100:+100'
|
9
9
|
});
|
10
10
|
// get rid of translation_missing tooltips
|
11
|
-
$(this).on(
|
11
|
+
$(this).on('mouseover', ''.translation_missing', function() {
|
12
12
|
$(this).attr('title', '');
|
13
13
|
});
|
14
14
|
});
|
@@ -0,0 +1,21 @@
|
|
1
|
+
//devise
|
2
|
+
|
3
|
+
#devise_outer_container a {
|
4
|
+
color: #A3381E;
|
5
|
+
}
|
6
|
+
|
7
|
+
#devise_top_bar {
|
8
|
+
background-color: #A3381E;
|
9
|
+
a {
|
10
|
+
color: #FFFFFF;
|
11
|
+
}
|
12
|
+
}
|
13
|
+
|
14
|
+
#devise_login {
|
15
|
+
.row {
|
16
|
+
margin-bottom: 30px;
|
17
|
+
}
|
18
|
+
}
|
19
|
+
|
20
|
+
|
21
|
+
#devise_flash {}
|
@@ -0,0 +1,314 @@
|
|
1
|
+
@import 'foundation_and_overrides';
|
2
|
+
@import 'foundation-icons';
|
3
|
+
|
4
|
+
$ffDefault: 'Open Sans', 'Helvetica Neue', Helvetica, Helvetica, Arial, sans-serif !default;
|
5
|
+
|
6
|
+
@import 'themes/jquery.ui.sunny';
|
7
|
+
@import 'jquery.ui.all';
|
8
|
+
|
9
|
+
|
10
|
+
.contain-to-grid {
|
11
|
+
background-color: $body-bg !important;
|
12
|
+
}
|
13
|
+
|
14
|
+
input {
|
15
|
+
margin: 2px 0 !important;
|
16
|
+
}
|
17
|
+
|
18
|
+
select {
|
19
|
+
background-color: #fff8e0 !important;
|
20
|
+
border: 0 !important;
|
21
|
+
margin: 2px 0 !important;
|
22
|
+
font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Helvetica, Arial, sans-serif !important;
|
23
|
+
padding: 0;
|
24
|
+
|
25
|
+
}
|
26
|
+
select:hover, select:focus {
|
27
|
+
background-color: lighten(#fff8e0, 2%) !important;
|
28
|
+
border: 0 !important;
|
29
|
+
}
|
30
|
+
|
31
|
+
#inline_forms_application_top_bar {
|
32
|
+
background-color: #A3381E;
|
33
|
+
color: #FFFFFF;
|
34
|
+
.top-bar-section li a {
|
35
|
+
background-color: #A3381E;
|
36
|
+
}
|
37
|
+
}
|
38
|
+
|
39
|
+
#inline_forms_model_top_bar {
|
40
|
+
background-color: #E1C150;
|
41
|
+
padding-top: 45px;
|
42
|
+
height: 90px;
|
43
|
+
.top-bar-section {
|
44
|
+
.right, li, .has-form {
|
45
|
+
background-color: #E1C150;
|
46
|
+
}
|
47
|
+
.inline_forms_model_top_bar_buttons {
|
48
|
+
top: 4px !important;
|
49
|
+
padding: 7px 0 7px 0 !important;
|
50
|
+
margin: 0 !important;
|
51
|
+
}
|
52
|
+
.new_button {
|
53
|
+
background-color: #E1C150;
|
54
|
+
color: #B94C32;
|
55
|
+
font-size: 1.3rem;
|
56
|
+
padding: 0 2rem 0 1rem;
|
57
|
+
}
|
58
|
+
.new_button:hover, .new_button:focus {
|
59
|
+
color: white;
|
60
|
+
-webkit-transition-property: color;
|
61
|
+
transition-property: color;
|
62
|
+
}
|
63
|
+
input[type=text]:hover, input[type=text]:focus {
|
64
|
+
background-color: lighten(#fff8e0, 5%);
|
65
|
+
-webkit-transition-property: background-color;
|
66
|
+
transition-property: background-color;
|
67
|
+
}
|
68
|
+
}
|
69
|
+
}
|
70
|
+
|
71
|
+
#inline_forms_model_top_bar_container {
|
72
|
+
z-index: 9;
|
73
|
+
}
|
74
|
+
|
75
|
+
#outer_container {
|
76
|
+
width: 100%;
|
77
|
+
position: absolute;
|
78
|
+
top: 90px;
|
79
|
+
}
|
80
|
+
|
81
|
+
.top-level a {
|
82
|
+
font-weight: bold;
|
83
|
+
font-size: 110%;
|
84
|
+
}
|
85
|
+
.list_container {
|
86
|
+
.row {
|
87
|
+
font-size: 1.2rem;
|
88
|
+
font-weight: normal;
|
89
|
+
line-height: 2.2rem;
|
90
|
+
margin: 0 auto !important;
|
91
|
+
}
|
92
|
+
.odd {
|
93
|
+
background-color: #FBE38E;
|
94
|
+
}
|
95
|
+
.even {
|
96
|
+
background-color: #FBEEC1;
|
97
|
+
}
|
98
|
+
}
|
99
|
+
|
100
|
+
.inline_forms_list, .new_record {
|
101
|
+
.row.odd, .row.even {
|
102
|
+
font-size: 1rem !important;
|
103
|
+
font-weight: normal !important;
|
104
|
+
}
|
105
|
+
.row.form_element_header {
|
106
|
+
border-top: 1px solid #B94C32;
|
107
|
+
background-color: rgb(239, 202, 75);
|
108
|
+
font-weight: normal !important;
|
109
|
+
font-size: 1.3rem !important;
|
110
|
+
}
|
111
|
+
}
|
112
|
+
|
113
|
+
.new_record {
|
114
|
+
.button {
|
115
|
+
margin: 0;
|
116
|
+
padding: 0.5rem;
|
117
|
+
}
|
118
|
+
}
|
119
|
+
|
120
|
+
.object_presentation {
|
121
|
+
background-color: #B94C32;
|
122
|
+
color: white;
|
123
|
+
.close_button {
|
124
|
+
background-color: #B94C32;
|
125
|
+
font-size: 1.3rem;
|
126
|
+
padding: 0 1rem 0 1rem;
|
127
|
+
margin: 0;
|
128
|
+
}
|
129
|
+
.close_button:hover, .close_button:focus {
|
130
|
+
background-color: #B94C32;
|
131
|
+
color: #FBEEC1;
|
132
|
+
-webkit-transition-property: color;
|
133
|
+
transition-property: color;
|
134
|
+
}
|
135
|
+
}
|
136
|
+
|
137
|
+
.list_container {
|
138
|
+
.row.odd, .row.even {
|
139
|
+
font-size: 1rem !important;
|
140
|
+
font-weight: normal !important;
|
141
|
+
}
|
142
|
+
.row.form_element_header {
|
143
|
+
border-top: 1px solid #B94C32;
|
144
|
+
background-color: rgb(239, 202, 75);
|
145
|
+
font-weight: normal !important;
|
146
|
+
font-size: 1.3rem !important;
|
147
|
+
}
|
148
|
+
}
|
149
|
+
|
150
|
+
|
151
|
+
|
152
|
+
.associated_auto_header {
|
153
|
+
border-top: 1px solid #B94C32;
|
154
|
+
.new_button {
|
155
|
+
background-color: rgb(239, 202, 75);
|
156
|
+
font-size: 1.5rem;
|
157
|
+
color: #B94C32;
|
158
|
+
padding: 0 0.5rem 0 1rem;
|
159
|
+
margin: 0;
|
160
|
+
}
|
161
|
+
.new_button:hover, .new_button:focus {
|
162
|
+
background-color: rgb(239, 202, 75);
|
163
|
+
color: white;
|
164
|
+
-webkit-transition-property: color;
|
165
|
+
transition-property: color;
|
166
|
+
}
|
167
|
+
}
|
168
|
+
|
169
|
+
.pagination {
|
170
|
+
font-weight: normal;
|
171
|
+
font-size: 0.9em;
|
172
|
+
a:hover {
|
173
|
+
color: #B94C32;
|
174
|
+
-webkit-transition-property: color;
|
175
|
+
-webkit-transition-duration: 0.3s;
|
176
|
+
transition-property: color;
|
177
|
+
transition-duration: 0.3s;
|
178
|
+
}
|
179
|
+
em {
|
180
|
+
color: #B94C32;
|
181
|
+
font-weight: bold;
|
182
|
+
font-style: normal;
|
183
|
+
}
|
184
|
+
span.disabled {
|
185
|
+
color: #AAA;
|
186
|
+
}
|
187
|
+
}
|
188
|
+
|
189
|
+
.record_footer {
|
190
|
+
background-color: rgb(239, 202, 75);
|
191
|
+
height: 0.2em;
|
192
|
+
border-bottom: 1px solid #B94C32;
|
193
|
+
margin-bottom: 1.5em;
|
194
|
+
}
|
195
|
+
|
196
|
+
.flash {
|
197
|
+
margin-top: 1em;
|
198
|
+
padding: 0.5em;
|
199
|
+
color: #A3381E;
|
200
|
+
font-size: 130%;
|
201
|
+
font-weight: bold;
|
202
|
+
line-height: 120%;
|
203
|
+
background-color: white;
|
204
|
+
border-top: 0.5em solid #fade7a;
|
205
|
+
}
|
206
|
+
|
207
|
+
.custom-combobox {
|
208
|
+
position: relative;
|
209
|
+
display: inline-block;
|
210
|
+
}
|
211
|
+
.custom-combobox-toggle {
|
212
|
+
position: absolute;
|
213
|
+
top: 0;
|
214
|
+
bottom: 0;
|
215
|
+
margin-left: -1px;
|
216
|
+
padding: 0;
|
217
|
+
/* support: IE7 */
|
218
|
+
*height: 1.7em;
|
219
|
+
*top: 0.1em;
|
220
|
+
}
|
221
|
+
.custom-combobox-input {
|
222
|
+
margin: 0;
|
223
|
+
padding: 0.3em;
|
224
|
+
}
|
225
|
+
|
226
|
+
|
227
|
+
.column {
|
228
|
+
padding-right: 0 !important;
|
229
|
+
}
|
230
|
+
|
231
|
+
.top-bar input, .top-bar .button {
|
232
|
+
top: 4px !important;
|
233
|
+
}
|
234
|
+
|
235
|
+
.top-bar-section {
|
236
|
+
padding-left: rem-calc(12) !important;
|
237
|
+
padding-right: rem-calc(12) !important;
|
238
|
+
}
|
239
|
+
|
240
|
+
.first-bar {
|
241
|
+
margin-bottom: 0 !important;
|
242
|
+
}
|
243
|
+
.second-bar {
|
244
|
+
margin-top: 1px !important;
|
245
|
+
margin-bottom: 0 !important;
|
246
|
+
}
|
247
|
+
|
248
|
+
#switch_user_identifier {
|
249
|
+
font-size: smaller;
|
250
|
+
select {
|
251
|
+
width: 5em;
|
252
|
+
}
|
253
|
+
}
|
254
|
+
|
255
|
+
|
256
|
+
.error {
|
257
|
+
color: #ffffff;
|
258
|
+
font-weight: bold;
|
259
|
+
-moz-border-radius: 10px;
|
260
|
+
-webkit-border-radius: 10px;
|
261
|
+
-webkit-box-shadow: 0 1px 1px rgba(0,0,0, .1);
|
262
|
+
-moz-box-shadow: 0 1px 1px rgba(0,0,0, .1);
|
263
|
+
background-color: #a70f0f;
|
264
|
+
background-image: -moz-linear-gradient(100% 100% 90deg, #a70f0f, #c01313);
|
265
|
+
background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#c01313), to(#a70f0f));
|
266
|
+
padding: 0.7em;
|
267
|
+
}
|
268
|
+
.success {
|
269
|
+
color: #ffffff;
|
270
|
+
font-weight: bold;
|
271
|
+
-moz-border-radius: 5px;
|
272
|
+
-webkit-border-radius: 5px;
|
273
|
+
-webkit-box-shadow: 0 1px 3px rgba(0,0,0, .4);
|
274
|
+
-moz-box-shadow: 0 1px 3px rgba(0,0,0, .4);
|
275
|
+
border-bottom: 1px solid #cccccc;
|
276
|
+
background-color: #4f8d0d;
|
277
|
+
background-image: -moz-linear-gradient(100% 100% 90deg, #4f8d0d, #5ba210);
|
278
|
+
background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#5ba210), to(#4f8d0d));
|
279
|
+
padding: 0.7em;
|
280
|
+
margin-bottom: 0.5em;
|
281
|
+
}
|
282
|
+
|
283
|
+
.ckeditor_area {
|
284
|
+
position: relative;
|
285
|
+
}
|
286
|
+
|
287
|
+
.ckeditor_area .glass_plate {
|
288
|
+
position: absolute;
|
289
|
+
top: -1px;
|
290
|
+
width: 100%;
|
291
|
+
height: 232px;
|
292
|
+
border: 0;
|
293
|
+
}
|
294
|
+
|
295
|
+
.ckeditor_area .cke_top, .ckeditor_area .cke_bottom, .ckeditor_area .cke_border {
|
296
|
+
display: none;
|
297
|
+
}
|
298
|
+
|
299
|
+
/* jQuery ui Slider 8 */
|
300
|
+
.slider {
|
301
|
+
width: 300px;
|
302
|
+
float: left;
|
303
|
+
}
|
304
|
+
.slider_value {
|
305
|
+
float: left;
|
306
|
+
min-width: 60px;
|
307
|
+
text-align: right;
|
308
|
+
font-family: monospace;
|
309
|
+
}
|
310
|
+
|
311
|
+
|
312
|
+
/* LEFT */
|
313
|
+
|
314
|
+
|
data/lib/inline_forms/version.rb
CHANGED
metadata
CHANGED
@@ -1,55 +1,55 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: inline_forms
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.39
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ace Suares
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-06-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rvm
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '0'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- -
|
24
|
+
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: thor
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '0'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- -
|
38
|
+
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: validation_hints
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- -
|
45
|
+
- - ">="
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: '0'
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- -
|
52
|
+
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
55
|
- !ruby/object:Gem::Dependency
|
@@ -70,84 +70,70 @@ dependencies:
|
|
70
70
|
name: rails-i18n
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
|
-
- -
|
73
|
+
- - ">="
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version:
|
75
|
+
version: '0'
|
76
76
|
type: :runtime
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
|
-
- -
|
80
|
+
- - ">="
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version:
|
82
|
+
version: '0'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: rspec-rails
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
|
-
- -
|
87
|
+
- - ">="
|
88
88
|
- !ruby/object:Gem::Version
|
89
89
|
version: '0'
|
90
90
|
type: :development
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
|
-
- -
|
94
|
+
- - ">="
|
95
95
|
- !ruby/object:Gem::Version
|
96
96
|
version: '0'
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: shoulda
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
|
-
- -
|
101
|
+
- - ">="
|
102
102
|
- !ruby/object:Gem::Version
|
103
103
|
version: '0'
|
104
104
|
type: :development
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
|
-
- -
|
108
|
+
- - ">="
|
109
109
|
- !ruby/object:Gem::Version
|
110
110
|
version: '0'
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
112
|
name: bundler
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
114
114
|
requirements:
|
115
|
-
- -
|
115
|
+
- - ">="
|
116
116
|
- !ruby/object:Gem::Version
|
117
|
-
version:
|
117
|
+
version: '0'
|
118
118
|
type: :development
|
119
119
|
prerelease: false
|
120
120
|
version_requirements: !ruby/object:Gem::Requirement
|
121
121
|
requirements:
|
122
|
-
- -
|
122
|
+
- - ">="
|
123
123
|
- !ruby/object:Gem::Version
|
124
|
-
version:
|
124
|
+
version: '0'
|
125
125
|
- !ruby/object:Gem::Dependency
|
126
126
|
name: jeweler
|
127
127
|
requirement: !ruby/object:Gem::Requirement
|
128
128
|
requirements:
|
129
|
-
- -
|
130
|
-
- !ruby/object:Gem::Version
|
131
|
-
version: 1.5.2
|
132
|
-
type: :development
|
133
|
-
prerelease: false
|
134
|
-
version_requirements: !ruby/object:Gem::Requirement
|
135
|
-
requirements:
|
136
|
-
- - ~>
|
137
|
-
- !ruby/object:Gem::Version
|
138
|
-
version: 1.5.2
|
139
|
-
- !ruby/object:Gem::Dependency
|
140
|
-
name: rcov
|
141
|
-
requirement: !ruby/object:Gem::Requirement
|
142
|
-
requirements:
|
143
|
-
- - ! '>='
|
129
|
+
- - ">="
|
144
130
|
- !ruby/object:Gem::Version
|
145
131
|
version: '0'
|
146
132
|
type: :development
|
147
133
|
prerelease: false
|
148
134
|
version_requirements: !ruby/object:Gem::Requirement
|
149
135
|
requirements:
|
150
|
-
- -
|
136
|
+
- - ">="
|
151
137
|
- !ruby/object:Gem::Version
|
152
138
|
version: '0'
|
153
139
|
description: Inline Forms aims to ease the setup of forms that provide inline editing.
|
@@ -161,8 +147,8 @@ executables:
|
|
161
147
|
extensions: []
|
162
148
|
extra_rdoc_files: []
|
163
149
|
files:
|
164
|
-
- .document
|
165
|
-
- .gitignore
|
150
|
+
- ".document"
|
151
|
+
- ".gitignore"
|
166
152
|
- Gemfile
|
167
153
|
- Gemfile.lock
|
168
154
|
- LICENSE.txt
|
@@ -172,13 +158,7 @@ files:
|
|
172
158
|
- bin/inline_forms_app_template.rb
|
173
159
|
- bin/inline_forms_installer_core.rb
|
174
160
|
- inline_forms.gemspec
|
175
|
-
- lib/app/assets/images/devise_footer_left.png
|
176
|
-
- lib/app/assets/images/devise_footer_right.png
|
177
|
-
- lib/app/assets/images/devise_header.png
|
178
161
|
- lib/app/assets/images/glass_plate.gif
|
179
|
-
- lib/app/assets/javascripts/ckeditor/config.js
|
180
|
-
- lib/app/assets/javascripts/inline_forms.js
|
181
|
-
- lib/app/assets/javascripts/inline_forms_application.js
|
182
162
|
- lib/app/assets/stylesheets/devise.scss
|
183
163
|
- lib/app/assets/stylesheets/inline_forms.scss
|
184
164
|
- lib/app/controllers/geo_code_curacao_controller.rb
|
@@ -262,6 +242,11 @@ files:
|
|
262
242
|
- lib/app/views/layouts/devise.html.erb
|
263
243
|
- lib/app/views/layouts/inline_forms.html.erb
|
264
244
|
- lib/generators/USAGE
|
245
|
+
- lib/generators/assets/images/glass_plate.gif
|
246
|
+
- lib/generators/assets/javascripts/ckeditor/config.js
|
247
|
+
- lib/generators/assets/javascripts/inline_forms.js
|
248
|
+
- lib/generators/assets/stylesheets/devise.scss
|
249
|
+
- lib/generators/assets/stylesheets/inline_forms.scss
|
265
250
|
- lib/generators/inline_forms_generator.rb
|
266
251
|
- lib/generators/templates/_inline_forms_tabs.html.erb
|
267
252
|
- lib/generators/templates/controller.erb
|
@@ -293,17 +278,17 @@ require_paths:
|
|
293
278
|
- lib
|
294
279
|
required_ruby_version: !ruby/object:Gem::Requirement
|
295
280
|
requirements:
|
296
|
-
- -
|
281
|
+
- - ">="
|
297
282
|
- !ruby/object:Gem::Version
|
298
283
|
version: '0'
|
299
284
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
300
285
|
requirements:
|
301
|
-
- -
|
286
|
+
- - ">="
|
302
287
|
- !ruby/object:Gem::Version
|
303
288
|
version: '0'
|
304
289
|
requirements: []
|
305
290
|
rubyforge_project: inline_forms
|
306
|
-
rubygems_version: 2.
|
291
|
+
rubygems_version: 2.4.5
|
307
292
|
signing_key:
|
308
293
|
specification_version: 4
|
309
294
|
summary: Inline editing of forms.
|
Binary file
|
Binary file
|
Binary file
|
@@ -1,10 +0,0 @@
|
|
1
|
-
// This is a manifest file that'll be compiled into including all the files listed below.
|
2
|
-
// Add new JavaScript/Coffee code in separate files in this directory and they'll automatically
|
3
|
-
// be included in the compiled file accessible from http://example.com/assets/application.js
|
4
|
-
// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
|
5
|
-
// the compiled file.
|
6
|
-
//
|
7
|
-
//= require jquery.ui.all
|
8
|
-
//= require jquery.ui.datepicker-nl.js
|
9
|
-
//= require inline_forms
|
10
|
-
|