customize_admin 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- data/app/assets/javascripts/customize_admin/admin/base.js +1 -0
- data/app/assets/javascripts/customize_admin/application.js +1 -0
- data/app/assets/stylesheets/customize_admin/application.css +304 -2
- data/app/assets/stylesheets/customize_admin/bootstrap.css.less +14 -0
- data/app/views/customize_admin/base/_all_form_inputs.html.erb +2 -0
- data/app/views/customize_admin/base/_form.html.erb +1 -2
- data/app/views/customize_admin/base/new.html.erb +2 -0
- data/app/views/layouts/customize_admin/application.html.erb +3 -2
- data/config/routes.rb +2 -0
- data/lib/customize_admin/version.rb +1 -1
- metadata +110 -116
- data/config/initializers/ckeditor.rb +0 -18
@@ -1,17 +1,319 @@
|
|
1
1
|
/*
|
2
2
|
* This is a manifest file that'll automatically include all the stylesheets available in this directory
|
3
|
-
* and any sub-directories. You're free to add application-
|
3
|
+
* and any sub-directories. You're free to add application-w
|
4
|
+
ide styles to this file and they'll appear at
|
4
5
|
* the top of the compiled file, but it's generally better to create a new file per style scope.
|
5
6
|
*= require_self
|
6
|
-
*= require formtastic
|
7
7
|
*= require twitter/bootstrap
|
8
8
|
*/
|
9
9
|
.page{
|
10
10
|
margin-top: 50px;
|
11
11
|
}
|
12
|
+
.content{
|
13
|
+
width: 940px;
|
14
|
+
margin-left: auto;
|
15
|
+
margin-right: auto;
|
16
|
+
}
|
17
|
+
|
12
18
|
.link_white, a{
|
13
19
|
color: #ffffff;
|
14
20
|
}
|
15
21
|
.link_white, a:hover, a:active, a:focus{
|
16
22
|
color: #ffffff;
|
17
23
|
}
|
24
|
+
form .input {
|
25
|
+
margin-left: 10px;
|
26
|
+
}
|
27
|
+
|
28
|
+
.form{
|
29
|
+
|
30
|
+
margin-left: -150px;
|
31
|
+
|
32
|
+
}
|
33
|
+
|
34
|
+
/*
|
35
|
+
It's *strongly* suggested that you don't modify this file. Instead, load a new stylesheet after
|
36
|
+
this one in your layouts (eg formtastic_changes.css) and override the styles to suit your needs.
|
37
|
+
This will allow you to update formtastic.css with new releases without clobbering your own changes.
|
38
|
+
|
39
|
+
This stylesheet forms part of the Formtastic Rails Plugin
|
40
|
+
(c) 2008-2011 Justin French
|
41
|
+
|
42
|
+
--------------------------------------------------------------------------------------------------*/
|
43
|
+
|
44
|
+
/* NORMALIZE AND RESET - obviously inspired by Yahoo's reset.css, but scoped to just .formtastic
|
45
|
+
* --------------------------------------------------------------------------------------------------*/
|
46
|
+
.formtastic,
|
47
|
+
.formtastic ul,
|
48
|
+
.formtastic ol,
|
49
|
+
.formtastic li,
|
50
|
+
.formtastic fieldset,
|
51
|
+
.formtastic legend,
|
52
|
+
.formtastic input,
|
53
|
+
.formtastic button,
|
54
|
+
.formtastic textarea,
|
55
|
+
.formtastic select,
|
56
|
+
.formtastic p {
|
57
|
+
margin:0;
|
58
|
+
padding:0;
|
59
|
+
}
|
60
|
+
|
61
|
+
.formtastic fieldset {
|
62
|
+
border:0;
|
63
|
+
}
|
64
|
+
|
65
|
+
.formtastic em,
|
66
|
+
.formtastic strong {
|
67
|
+
font-style:normal;
|
68
|
+
font-weight:normal;
|
69
|
+
}
|
70
|
+
|
71
|
+
.formtastic ol,
|
72
|
+
.formtastic ul {
|
73
|
+
list-style:none;
|
74
|
+
}
|
75
|
+
|
76
|
+
.formtastic abbr,
|
77
|
+
.formtastic acronym {
|
78
|
+
border:0;
|
79
|
+
font-variant:normal;
|
80
|
+
}
|
81
|
+
|
82
|
+
.formtastic input,
|
83
|
+
.formtastic button,
|
84
|
+
.formtastic textarea {
|
85
|
+
font-family:sans-serif;
|
86
|
+
font-size:inherit;
|
87
|
+
font-weight:inherit;
|
88
|
+
}
|
89
|
+
|
90
|
+
.formtastic input,
|
91
|
+
.formtastic textarea,
|
92
|
+
.formtastic select {
|
93
|
+
font-size:100%;
|
94
|
+
}
|
95
|
+
|
96
|
+
.formtastic legend {
|
97
|
+
white-space:normal;
|
98
|
+
color:#000;
|
99
|
+
}
|
100
|
+
|
101
|
+
|
102
|
+
/* SEMANTIC ERRORS
|
103
|
+
* --------------------------------------------------------------------------------------------------*/
|
104
|
+
.formtastic .errors {
|
105
|
+
color:#cc0000;
|
106
|
+
margin:0.5em 0 1.5em 25%;
|
107
|
+
list-style:square;
|
108
|
+
}
|
109
|
+
|
110
|
+
.formtastic .errors li {
|
111
|
+
padding:0;
|
112
|
+
border:none;
|
113
|
+
display:list-item;
|
114
|
+
}
|
115
|
+
|
116
|
+
|
117
|
+
/* BUTTONS & ACTIONS
|
118
|
+
* --------------------------------------------------------------------------------------------------*/
|
119
|
+
.formtastic .buttons,
|
120
|
+
.formtastic .actions {
|
121
|
+
overflow:hidden; /* clear containing floats */
|
122
|
+
padding-left:25%;
|
123
|
+
}
|
124
|
+
|
125
|
+
.formtastic .button,
|
126
|
+
.formtastic .action {
|
127
|
+
float:left;
|
128
|
+
padding-right:0.5em;
|
129
|
+
}
|
130
|
+
|
131
|
+
.formtastic .button_action button {
|
132
|
+
padding:3px 8px;
|
133
|
+
}
|
134
|
+
|
135
|
+
.formtastic .link_action a {
|
136
|
+
display:block;
|
137
|
+
padding:3px 0;
|
138
|
+
}
|
139
|
+
|
140
|
+
|
141
|
+
/* INPUTS
|
142
|
+
* --------------------------------------------------------------------------------------------------*/
|
143
|
+
.formtastic .inputs {
|
144
|
+
overflow:hidden; /* clear containing floats */
|
145
|
+
}
|
146
|
+
|
147
|
+
.formtastic .input {
|
148
|
+
overflow:hidden; /* clear containing floats */
|
149
|
+
padding:0.5em 0; /* padding and negative margin juggling is for Firefox */
|
150
|
+
margin-top:-0.5em;
|
151
|
+
margin-bottom:1em;
|
152
|
+
}
|
153
|
+
|
154
|
+
|
155
|
+
/* LEFT ALIGNED LABELS
|
156
|
+
* --------------------------------------------------------------------------------------------------*/
|
157
|
+
.formtastic .input .label {
|
158
|
+
display:block;
|
159
|
+
width:10%;
|
160
|
+
float:left;
|
161
|
+
padding-top:.2em;
|
162
|
+
}
|
163
|
+
|
164
|
+
.formtastic .fragments .label,
|
165
|
+
.formtastic .choices .label {
|
166
|
+
position:absolute;
|
167
|
+
width:95%;
|
168
|
+
left:0px;
|
169
|
+
}
|
170
|
+
|
171
|
+
.formtastic .fragments .label label,
|
172
|
+
.formtastic .choices .label label {
|
173
|
+
position:absolute;
|
174
|
+
}
|
175
|
+
|
176
|
+
/* NESTED FIELDSETS AND LEGENDS (radio, check boxes and date/time inputs use nested fieldsets)
|
177
|
+
* --------------------------------------------------------------------------------------------------*/
|
178
|
+
.formtastic .choices {
|
179
|
+
position:relative;
|
180
|
+
}
|
181
|
+
|
182
|
+
.formtastic .choices-group {
|
183
|
+
float:left;
|
184
|
+
width:74%;
|
185
|
+
margin:0;
|
186
|
+
padding:0 0 0 25%;
|
187
|
+
}
|
188
|
+
|
189
|
+
.formtastic .choice {
|
190
|
+
padding:0;
|
191
|
+
border:0;
|
192
|
+
}
|
193
|
+
|
194
|
+
|
195
|
+
/* INLINE HINTS
|
196
|
+
* --------------------------------------------------------------------------------------------------*/
|
197
|
+
.formtastic .input .inline-hints {
|
198
|
+
color:#666;
|
199
|
+
margin:0px;
|
200
|
+
}
|
201
|
+
|
202
|
+
|
203
|
+
/* INLINE ERRORS
|
204
|
+
* --------------------------------------------------------------------------------------------------*/
|
205
|
+
.formtastic .inline-errors {
|
206
|
+
color:#cc0000;
|
207
|
+
margin:0.5em 0 0 25%;
|
208
|
+
}
|
209
|
+
|
210
|
+
.formtastic .errors {
|
211
|
+
color:#cc0000;
|
212
|
+
margin:0.5em 0 0 25%;
|
213
|
+
list-style:square;
|
214
|
+
}
|
215
|
+
|
216
|
+
.formtastic .errors li {
|
217
|
+
padding:0;
|
218
|
+
border:none;
|
219
|
+
display:list-item;
|
220
|
+
}
|
221
|
+
|
222
|
+
|
223
|
+
/* STRING, NUMERIC, PASSWORD, EMAIL, URL, PHONE, SEARCH (ETC) OVERRIDES
|
224
|
+
* --------------------------------------------------------------------------------------------------*/
|
225
|
+
.formtastic .stringish input {
|
226
|
+
width:85%;
|
227
|
+
}
|
228
|
+
|
229
|
+
.formtastic .stringish input[size] {
|
230
|
+
width:auto;
|
231
|
+
max-width:85%;
|
232
|
+
}
|
233
|
+
|
234
|
+
|
235
|
+
/* TEXTAREA OVERRIDES
|
236
|
+
* --------------------------------------------------------------------------------------------------*/
|
237
|
+
.formtastic .text textarea {
|
238
|
+
width:85%;
|
239
|
+
}
|
240
|
+
|
241
|
+
.formtastic .text textarea[cols] {
|
242
|
+
width:auto;
|
243
|
+
max-width:85%;
|
244
|
+
}
|
245
|
+
|
246
|
+
|
247
|
+
/* HIDDEN OVERRIDES
|
248
|
+
* --------------------------------------------------------------------------------------------------*/
|
249
|
+
.formtastic .hidden {
|
250
|
+
display:none;
|
251
|
+
}
|
252
|
+
|
253
|
+
|
254
|
+
/* BOOLEAN LABELS
|
255
|
+
* --------------------------------------------------------------------------------------------------*/
|
256
|
+
.formtastic .boolean label {
|
257
|
+
padding-left:10%;
|
258
|
+
display:block;
|
259
|
+
}
|
260
|
+
|
261
|
+
|
262
|
+
/* CHOICE GROUPS
|
263
|
+
* --------------------------------------------------------------------------------------------------*/
|
264
|
+
.formtastic .choices-group {
|
265
|
+
margin-bottom:-0.5em;
|
266
|
+
}
|
267
|
+
|
268
|
+
.formtastic .choice {
|
269
|
+
margin:0.1em 0 0.5em 0;
|
270
|
+
}
|
271
|
+
|
272
|
+
.formtastic .choice label {
|
273
|
+
float:none;
|
274
|
+
width:100%;
|
275
|
+
line-height:100%;
|
276
|
+
padding-top:0;
|
277
|
+
margin-bottom:0.6em;
|
278
|
+
}
|
279
|
+
|
280
|
+
|
281
|
+
/* ADJUSTMENTS FOR INPUTS INSIDE LABELS (boolean input, radio input, check_boxes input)
|
282
|
+
* --------------------------------------------------------------------------------------------------*/
|
283
|
+
.formtastic .choice label input,
|
284
|
+
.formtastic .boolean label input {
|
285
|
+
margin:0 0.3em 0 0.1em;
|
286
|
+
line-height:100%;
|
287
|
+
}
|
288
|
+
|
289
|
+
|
290
|
+
/* FRAGMENTED INPUTS (DATE/TIME/DATETIME)
|
291
|
+
* --------------------------------------------------------------------------------------------------*/
|
292
|
+
.formtastic .fragments {
|
293
|
+
position:relative;
|
294
|
+
}
|
295
|
+
|
296
|
+
.formtastic .fragments-group {
|
297
|
+
float:left;
|
298
|
+
width:84%;
|
299
|
+
margin:0;
|
300
|
+
padding:0 0 0 25%;
|
301
|
+
}
|
302
|
+
|
303
|
+
.formtastic .fragment {
|
304
|
+
float:left;
|
305
|
+
width:auto;
|
306
|
+
margin:0 .3em 0 0;
|
307
|
+
padding:0;
|
308
|
+
border:0;
|
309
|
+
}
|
310
|
+
|
311
|
+
.formtastic .fragment label {
|
312
|
+
display:none;
|
313
|
+
}
|
314
|
+
|
315
|
+
.formtastic .fragment label input {
|
316
|
+
display:inline;
|
317
|
+
margin:0;
|
318
|
+
padding:0;
|
319
|
+
}
|
@@ -3,3 +3,17 @@
|
|
3
3
|
// Baseline grid
|
4
4
|
@basefont: 13px;
|
5
5
|
@baseline: 18px;
|
6
|
+
|
7
|
+
.label {
|
8
|
+
padding: 1px 3px 2px;
|
9
|
+
font-size: 9.75px;
|
10
|
+
font-weight: bold;
|
11
|
+
color: #ffffff;
|
12
|
+
text-transform: uppercase;
|
13
|
+
white-space: nowrap;
|
14
|
+
background-color: #ffffff;
|
15
|
+
-webkit-border-radius: 3px;
|
16
|
+
-moz-border-radius: 3px;
|
17
|
+
border-radius: 3px;
|
18
|
+
text-shadow: none;
|
19
|
+
}
|
@@ -4,6 +4,7 @@
|
|
4
4
|
<title>CustomizeAdmin</title>
|
5
5
|
<%= stylesheet_link_tag "customize_admin/application" %>
|
6
6
|
<%= javascript_include_tag "customize_admin/application" %>
|
7
|
+
|
7
8
|
<%= yield( :head ) %>
|
8
9
|
<%= csrf_meta_tags %>
|
9
10
|
</head>
|
@@ -13,7 +14,7 @@
|
|
13
14
|
<div class="container">
|
14
15
|
<%= render "admin_menu" %>
|
15
16
|
<div class="pull-right">
|
16
|
-
<%= link_to('
|
17
|
+
<%= link_to('Logouta', destroy_admin_user_session_path, :method => :delete) %>
|
17
18
|
</div>
|
18
19
|
</div>
|
19
20
|
</div>
|
@@ -27,7 +28,7 @@
|
|
27
28
|
<%#= link_to "pr", "products" %>
|
28
29
|
<%#= %>
|
29
30
|
<div class="page">
|
30
|
-
<div
|
31
|
+
<div>
|
31
32
|
<div class="content">
|
32
33
|
<%= yield %>
|
33
34
|
</div>
|
data/config/routes.rb
CHANGED
metadata
CHANGED
@@ -1,184 +1,178 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: customize_admin
|
3
|
-
version: !ruby/object:Gem::Version
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.5
|
4
5
|
prerelease:
|
5
|
-
version: 0.0.4
|
6
6
|
platform: ruby
|
7
|
-
authors:
|
7
|
+
authors:
|
8
8
|
- Jakub Cieslar
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
- !ruby/object:Gem::Dependency
|
12
|
+
date: 2012-02-14 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
16
15
|
name: rails
|
17
|
-
|
18
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
16
|
+
requirement: &7684240 !ruby/object:Gem::Requirement
|
19
17
|
none: false
|
20
|
-
requirements:
|
18
|
+
requirements:
|
21
19
|
- - ~>
|
22
|
-
- !ruby/object:Gem::Version
|
20
|
+
- !ruby/object:Gem::Version
|
23
21
|
version: 3.1.1
|
24
22
|
type: :runtime
|
25
|
-
version_requirements: *id001
|
26
|
-
- !ruby/object:Gem::Dependency
|
27
|
-
name: pg
|
28
23
|
prerelease: false
|
29
|
-
|
24
|
+
version_requirements: *7684240
|
25
|
+
- !ruby/object:Gem::Dependency
|
26
|
+
name: pg
|
27
|
+
requirement: &7754640 !ruby/object:Gem::Requirement
|
30
28
|
none: false
|
31
|
-
requirements:
|
32
|
-
- -
|
33
|
-
- !ruby/object:Gem::Version
|
34
|
-
version:
|
29
|
+
requirements:
|
30
|
+
- - ! '>='
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '0'
|
35
33
|
type: :development
|
36
|
-
|
34
|
+
prerelease: false
|
35
|
+
version_requirements: *7754640
|
37
36
|
description: CustomizeAdmin.
|
38
|
-
email:
|
37
|
+
email:
|
39
38
|
- cieslar.jakub@gmail.com
|
40
39
|
executables: []
|
41
|
-
|
42
40
|
extensions: []
|
43
|
-
|
44
41
|
extra_rdoc_files: []
|
45
|
-
|
46
|
-
files:
|
47
|
-
- app/controllers/customize_admin/application_controller.rb
|
48
|
-
- app/controllers/customize_admin/base_controller.rb
|
49
|
-
- app/assets/stylesheets/customize_admin/bootstrap.css.less
|
50
|
-
- app/assets/stylesheets/customize_admin/application.css
|
51
|
-
- app/assets/javascripts/customize_admin/admin/application.js
|
52
|
-
- app/assets/javascripts/customize_admin/admin/base.js
|
53
|
-
- app/assets/javascripts/customize_admin/application.js
|
54
|
-
- app/assets/javascripts/customize_admin/bootstrap.js.coffee
|
55
|
-
- app/helpers/customize_admin/application_helper.rb
|
42
|
+
files:
|
56
43
|
- app/helpers/customize_admin/base_helper.rb
|
57
|
-
- app/
|
58
|
-
- app/views/customize_admin/base/_more_form_inputs.html.erb
|
59
|
-
- app/views/customize_admin/base/new.html.erb
|
60
|
-
- app/views/customize_admin/base/index.html.erb
|
61
|
-
- app/views/customize_admin/base/_form (kopia).html.erb
|
62
|
-
- app/views/customize_admin/base/_more_show_action.html.erb
|
63
|
-
- app/views/customize_admin/base/_index_action.html.erb
|
44
|
+
- app/helpers/customize_admin/application_helper.rb
|
64
45
|
- app/views/customize_admin/base/_form.html.erb
|
65
46
|
- app/views/customize_admin/base/edit.html.erb
|
47
|
+
- app/views/customize_admin/base/new.html.erb
|
66
48
|
- app/views/customize_admin/base/show.html.erb
|
67
49
|
- app/views/customize_admin/base/_more_index_action.html.erb
|
50
|
+
- app/views/customize_admin/base/_index_action.html.erb
|
51
|
+
- app/views/customize_admin/base/_more_show_action.html.erb
|
52
|
+
- app/views/customize_admin/base/_form (kopia).html.erb
|
53
|
+
- app/views/customize_admin/base/_more_form_inputs.html.erb
|
54
|
+
- app/views/customize_admin/base/index.html.erb
|
55
|
+
- app/views/customize_admin/base/_all_form_inputs.html.erb
|
56
|
+
- app/views/customize_admin/application/_admin_menu.html.erb
|
68
57
|
- app/views/layouts/customize_admin/application.html.erb
|
69
|
-
-
|
70
|
-
-
|
58
|
+
- app/controllers/customize_admin/application_controller.rb
|
59
|
+
- app/controllers/customize_admin/base_controller.rb
|
60
|
+
- app/assets/javascripts/customize_admin/bootstrap.js.coffee
|
61
|
+
- app/assets/javascripts/customize_admin/application.js
|
62
|
+
- app/assets/javascripts/customize_admin/admin/base.js
|
63
|
+
- app/assets/javascripts/customize_admin/admin/application.js
|
64
|
+
- app/assets/stylesheets/customize_admin/application.css
|
65
|
+
- app/assets/stylesheets/customize_admin/bootstrap.css.less
|
71
66
|
- config/routes.rb
|
67
|
+
- config/initializers/formtastic.rb
|
72
68
|
- lib/customize_admin/version.rb
|
73
69
|
- lib/customize_admin/engine.rb
|
74
|
-
- lib/
|
70
|
+
- lib/templates/erb/scaffold/_form.html.erb
|
75
71
|
- lib/generators/customize_admin/scaffold/scaffold_generator.rb
|
76
72
|
- lib/generators/customize_admin/scaffold/templates/controller_template.rb
|
77
|
-
- lib/generators/customize_admin/
|
78
|
-
- lib/generators/customize_admin/install/USAGE
|
79
|
-
- lib/generators/customize_admin/install/templates/index.html.erb
|
73
|
+
- lib/generators/customize_admin/scaffold/USAGE
|
80
74
|
- lib/generators/customize_admin/install/templates/dashboard_controller.rb
|
75
|
+
- lib/generators/customize_admin/install/templates/index.html.erb
|
76
|
+
- lib/generators/customize_admin/install/USAGE
|
77
|
+
- lib/generators/customize_admin/install/install_generator.rb
|
81
78
|
- lib/tasks/customize_admin_tasks.rake
|
82
79
|
- lib/customize_admin.rb
|
83
|
-
- lib/templates/erb/scaffold/_form.html.erb
|
84
80
|
- MIT-LICENSE
|
85
81
|
- Rakefile
|
86
82
|
- README.rdoc
|
87
83
|
- test/customize_admin_test.rb
|
84
|
+
- test/integration/navigation_test.rb
|
88
85
|
- test/test_helper.rb
|
89
|
-
- test/
|
90
|
-
- test/
|
91
|
-
- test/
|
92
|
-
- test/
|
93
|
-
- test/dummy/
|
94
|
-
- test/dummy/
|
95
|
-
- test/dummy/
|
86
|
+
- test/functional/customize_admin/admin/base_controller_test.rb
|
87
|
+
- test/functional/customize_admin/admin/application_controller_test.rb
|
88
|
+
- test/unit/helpers/customize_admin/admin/application_helper_test.rb
|
89
|
+
- test/unit/helpers/customize_admin/admin/base_helper_test.rb
|
90
|
+
- test/dummy/public/500.html
|
91
|
+
- test/dummy/public/422.html
|
92
|
+
- test/dummy/public/404.html
|
93
|
+
- test/dummy/public/favicon.ico
|
94
|
+
- test/dummy/config/routes.rb
|
95
|
+
- test/dummy/config/database.yml
|
96
96
|
- test/dummy/config/locales/en.yml
|
97
|
-
- test/dummy/config/
|
98
|
-
- test/dummy/config/initializers/wrap_parameters.rb
|
97
|
+
- test/dummy/config/environment.rb
|
99
98
|
- test/dummy/config/initializers/secret_token.rb
|
100
|
-
- test/dummy/config/initializers/session_store.rb
|
101
|
-
- test/dummy/config/initializers/backtrace_silencers.rb
|
102
99
|
- test/dummy/config/initializers/inflections.rb
|
103
|
-
- test/dummy/config/
|
104
|
-
- test/dummy/config/
|
105
|
-
- test/dummy/config/
|
100
|
+
- test/dummy/config/initializers/backtrace_silencers.rb
|
101
|
+
- test/dummy/config/initializers/wrap_parameters.rb
|
102
|
+
- test/dummy/config/initializers/mime_types.rb
|
103
|
+
- test/dummy/config/initializers/session_store.rb
|
106
104
|
- test/dummy/config/boot.rb
|
107
|
-
- test/dummy/config/environments/test.rb
|
108
105
|
- test/dummy/config/environments/production.rb
|
106
|
+
- test/dummy/config/environments/test.rb
|
109
107
|
- test/dummy/config/environments/development.rb
|
110
|
-
- test/dummy/config/
|
108
|
+
- test/dummy/config/application.rb
|
109
|
+
- test/dummy/app/helpers/application_helper.rb
|
110
|
+
- test/dummy/app/views/layouts/application.html.erb
|
111
|
+
- test/dummy/app/controllers/application_controller.rb
|
112
|
+
- test/dummy/app/assets/javascripts/application.js
|
113
|
+
- test/dummy/app/assets/stylesheets/application.css
|
114
|
+
- test/dummy/config.ru
|
111
115
|
- test/dummy/log/development.log
|
112
|
-
- test/dummy/
|
113
|
-
- test/dummy/public/favicon.ico
|
114
|
-
- test/dummy/public/500.html
|
115
|
-
- test/dummy/public/422.html
|
116
|
+
- test/dummy/Rakefile
|
116
117
|
- test/dummy/script/rails
|
117
|
-
|
118
|
-
- test/unit/helpers/customize_admin/admin/base_helper_test.rb
|
119
|
-
- test/unit/helpers/customize_admin/admin/application_helper_test.rb
|
120
|
-
- test/functional/customize_admin/admin/base_controller_test.rb
|
121
|
-
- test/functional/customize_admin/admin/application_controller_test.rb
|
122
|
-
homepage: ""
|
118
|
+
homepage: ''
|
123
119
|
licenses: []
|
124
|
-
|
125
120
|
post_install_message:
|
126
121
|
rdoc_options: []
|
127
|
-
|
128
|
-
require_paths:
|
122
|
+
require_paths:
|
129
123
|
- lib
|
130
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
124
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
131
125
|
none: false
|
132
|
-
requirements:
|
133
|
-
- -
|
134
|
-
- !ruby/object:Gem::Version
|
135
|
-
version:
|
136
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
126
|
+
requirements:
|
127
|
+
- - ! '>='
|
128
|
+
- !ruby/object:Gem::Version
|
129
|
+
version: '0'
|
130
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
137
131
|
none: false
|
138
|
-
requirements:
|
139
|
-
- -
|
140
|
-
- !ruby/object:Gem::Version
|
141
|
-
version:
|
132
|
+
requirements:
|
133
|
+
- - ! '>='
|
134
|
+
- !ruby/object:Gem::Version
|
135
|
+
version: '0'
|
142
136
|
requirements: []
|
143
|
-
|
144
137
|
rubyforge_project:
|
145
|
-
rubygems_version: 1.8.
|
138
|
+
rubygems_version: 1.8.15
|
146
139
|
signing_key:
|
147
140
|
specification_version: 3
|
148
141
|
summary: CustomizeAdmin s.
|
149
|
-
test_files:
|
142
|
+
test_files:
|
150
143
|
- test/customize_admin_test.rb
|
144
|
+
- test/integration/navigation_test.rb
|
151
145
|
- test/test_helper.rb
|
152
|
-
- test/
|
153
|
-
- test/
|
154
|
-
- test/
|
155
|
-
- test/
|
156
|
-
- test/dummy/
|
157
|
-
- test/dummy/
|
158
|
-
- test/dummy/
|
146
|
+
- test/functional/customize_admin/admin/base_controller_test.rb
|
147
|
+
- test/functional/customize_admin/admin/application_controller_test.rb
|
148
|
+
- test/unit/helpers/customize_admin/admin/application_helper_test.rb
|
149
|
+
- test/unit/helpers/customize_admin/admin/base_helper_test.rb
|
150
|
+
- test/dummy/public/500.html
|
151
|
+
- test/dummy/public/422.html
|
152
|
+
- test/dummy/public/404.html
|
153
|
+
- test/dummy/public/favicon.ico
|
154
|
+
- test/dummy/config/routes.rb
|
155
|
+
- test/dummy/config/database.yml
|
159
156
|
- test/dummy/config/locales/en.yml
|
160
|
-
- test/dummy/config/
|
161
|
-
- test/dummy/config/initializers/wrap_parameters.rb
|
157
|
+
- test/dummy/config/environment.rb
|
162
158
|
- test/dummy/config/initializers/secret_token.rb
|
163
|
-
- test/dummy/config/initializers/session_store.rb
|
164
|
-
- test/dummy/config/initializers/backtrace_silencers.rb
|
165
159
|
- test/dummy/config/initializers/inflections.rb
|
166
|
-
- test/dummy/config/
|
167
|
-
- test/dummy/config/
|
168
|
-
- test/dummy/config/
|
160
|
+
- test/dummy/config/initializers/backtrace_silencers.rb
|
161
|
+
- test/dummy/config/initializers/wrap_parameters.rb
|
162
|
+
- test/dummy/config/initializers/mime_types.rb
|
163
|
+
- test/dummy/config/initializers/session_store.rb
|
169
164
|
- test/dummy/config/boot.rb
|
170
|
-
- test/dummy/config/environments/test.rb
|
171
165
|
- test/dummy/config/environments/production.rb
|
166
|
+
- test/dummy/config/environments/test.rb
|
172
167
|
- test/dummy/config/environments/development.rb
|
173
|
-
- test/dummy/config/
|
168
|
+
- test/dummy/config/application.rb
|
169
|
+
- test/dummy/app/helpers/application_helper.rb
|
170
|
+
- test/dummy/app/views/layouts/application.html.erb
|
171
|
+
- test/dummy/app/controllers/application_controller.rb
|
172
|
+
- test/dummy/app/assets/javascripts/application.js
|
173
|
+
- test/dummy/app/assets/stylesheets/application.css
|
174
|
+
- test/dummy/config.ru
|
174
175
|
- test/dummy/log/development.log
|
175
|
-
- test/dummy/
|
176
|
-
- test/dummy/public/favicon.ico
|
177
|
-
- test/dummy/public/500.html
|
178
|
-
- test/dummy/public/422.html
|
176
|
+
- test/dummy/Rakefile
|
179
177
|
- test/dummy/script/rails
|
180
|
-
|
181
|
-
- test/unit/helpers/customize_admin/admin/base_helper_test.rb
|
182
|
-
- test/unit/helpers/customize_admin/admin/application_helper_test.rb
|
183
|
-
- test/functional/customize_admin/admin/base_controller_test.rb
|
184
|
-
- test/functional/customize_admin/admin/application_controller_test.rb
|
178
|
+
has_rdoc:
|
@@ -1,18 +0,0 @@
|
|
1
|
-
# Use this hook to configure ckeditor
|
2
|
-
if Object.const_defined?("Ckeditor")
|
3
|
-
Ckeditor.setup do |config|
|
4
|
-
# ==> ORM configuration
|
5
|
-
# Load and configure the ORM. Supports :active_record (default), :mongo_mapper and
|
6
|
-
# :mongoid (bson_ext recommended) by default. Other ORMs may be
|
7
|
-
# available as additional gems.
|
8
|
-
require "ckeditor/orm/active_record"
|
9
|
-
|
10
|
-
# Allowed image file types for upload.
|
11
|
-
# Set to nil or [] (empty array) for all file types
|
12
|
-
# config.image_file_types = ["jpg", "jpeg", "png", "gif", "tiff"]
|
13
|
-
|
14
|
-
# Allowed attachment file types for upload.
|
15
|
-
# Set to nil or [] (empty array) for all file types
|
16
|
-
# config.attachment_file_types = ["doc", "docx", "xls", "odt", "ods", "pdf", "rar", "zip", "tar", "swf"]
|
17
|
-
end
|
18
|
-
end
|