activeadmin 2.13.1 → 2.14.0

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of activeadmin might be problematic. Click here for more details.

Files changed (68) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +58 -0
  3. data/CONTRIBUTING.md +3 -4
  4. data/README.md +2 -2
  5. data/app/assets/javascripts/active_admin/base.js +1 -4
  6. data/app/assets/stylesheets/active_admin/_forms.scss +1 -1
  7. data/app/assets/stylesheets/active_admin/structure/_footer.scss +6 -1
  8. data/app/views/layouts/active_admin_logged_out.html.erb +5 -4
  9. data/config/locales/fr.yml +3 -3
  10. data/config/locales/vi.yml +34 -7
  11. data/config/locales/zh-CN.yml +36 -17
  12. data/lib/active_admin/asset_registration.rb +3 -3
  13. data/lib/active_admin/authorization_adapter.rb +2 -0
  14. data/lib/active_admin/base_controller/authorization.rb +2 -2
  15. data/lib/active_admin/dependency.rb +0 -4
  16. data/lib/active_admin/engine.rb +1 -1
  17. data/lib/active_admin/filters/resource_extension.rb +4 -4
  18. data/lib/active_admin/orm/active_record/comments/views/active_admin_comments.rb +1 -1
  19. data/lib/active_admin/orm/active_record/comments.rb +8 -8
  20. data/lib/active_admin/pundit_adapter.rb +0 -2
  21. data/lib/active_admin/resource/action_items.rb +2 -2
  22. data/lib/active_admin/version.rb +1 -1
  23. data/lib/active_admin/view_helpers/auto_link_helper.rb +1 -1
  24. data/lib/active_admin/views/index_as_table.rb +1 -1
  25. data/lib/active_admin/views/pages/base.rb +4 -3
  26. data/lib/active_admin/views/pages/index.rb +1 -1
  27. data/lib/generators/active_admin/install/templates/active_admin.rb.erb +17 -0
  28. metadata +5 -44
  29. data/docs/.gitignore +0 -1
  30. data/docs/0-installation.md +0 -142
  31. data/docs/1-general-configuration.md +0 -224
  32. data/docs/10-custom-pages.md +0 -150
  33. data/docs/11-decorators.md +0 -70
  34. data/docs/12-arbre-components.md +0 -214
  35. data/docs/13-authorization-adapter.md +0 -285
  36. data/docs/14-gotchas.md +0 -138
  37. data/docs/2-resource-customization.md +0 -475
  38. data/docs/3-index-pages/custom-index.md +0 -35
  39. data/docs/3-index-pages/index-as-block.md +0 -19
  40. data/docs/3-index-pages/index-as-blog.md +0 -69
  41. data/docs/3-index-pages/index-as-grid.md +0 -27
  42. data/docs/3-index-pages/index-as-table.md +0 -234
  43. data/docs/3-index-pages.md +0 -328
  44. data/docs/4-csv-format.md +0 -74
  45. data/docs/5-forms.md +0 -238
  46. data/docs/6-show-pages.md +0 -93
  47. data/docs/7-sidebars.md +0 -75
  48. data/docs/8-custom-actions.md +0 -177
  49. data/docs/9-batch-actions.md +0 -237
  50. data/docs/CNAME +0 -1
  51. data/docs/Gemfile +0 -4
  52. data/docs/Gemfile.lock +0 -283
  53. data/docs/README.md +0 -24
  54. data/docs/_config.yml +0 -4
  55. data/docs/_includes/footer.html +0 -8
  56. data/docs/_includes/google-analytics.html +0 -16
  57. data/docs/_includes/head.html +0 -7
  58. data/docs/_includes/toc.html +0 -98
  59. data/docs/_includes/top-menu.html +0 -17
  60. data/docs/_layouts/default.html +0 -21
  61. data/docs/documentation.md +0 -60
  62. data/docs/images/activeadmin.png +0 -0
  63. data/docs/images/code-header.png +0 -0
  64. data/docs/images/divider.png +0 -0
  65. data/docs/images/features.png +0 -0
  66. data/docs/images/tidelift.svg +0 -14
  67. data/docs/index.html +0 -226
  68. data/docs/stylesheets/main.css +0 -1205
@@ -1,237 +0,0 @@
1
- ---
2
- redirect_from: /docs/9-batch-actions.html
3
- ---
4
-
5
- # Batch Actions
6
-
7
- By default, the index page provides you a "Batch Action" to quickly delete records,
8
- as well as an API for you to easily create your own. Note that if you override the
9
- default index, you must add `selectable_column` back for batch actions to be usable:
10
-
11
- ```ruby
12
- index do
13
- selectable_column
14
- # ...
15
- end
16
- ```
17
-
18
- ## Creating your own
19
-
20
- Use the `batch_action` DSL method to create your own. It behaves just like a
21
- controller method, so you can send the client whatever data you like. Your block
22
- is passed an array of the record IDs that the user selected, so you can perform
23
- your desired batch action on all of them:
24
-
25
- ```ruby
26
- ActiveAdmin.register Post do
27
- batch_action :flag do |ids|
28
- batch_action_collection.find(ids).each do |post|
29
- post.flag! :hot
30
- end
31
- redirect_to collection_path, alert: "The posts have been flagged."
32
- end
33
- end
34
- ```
35
-
36
- ### Disabling Batch Actions
37
-
38
- You can disable batch actions at the application, namespace, or resource level:
39
-
40
- ```ruby
41
- # config/initializers/active_admin.rb
42
- ActiveAdmin.setup do |config|
43
-
44
- # Application level:
45
- config.batch_actions = false
46
-
47
- # Namespace level:
48
- config.namespace :admin do |admin|
49
- admin.batch_actions = false
50
- end
51
- end
52
-
53
- # app/admin/post.rb
54
- ActiveAdmin.register Post do
55
-
56
- # Resource level:
57
- config.batch_actions = false
58
- end
59
- ```
60
-
61
- ### Modification
62
-
63
- If you want, you can override the default batch action to do whatever you want:
64
-
65
- ```ruby
66
- ActiveAdmin.register Post do
67
- batch_action :destroy do |ids|
68
- redirect_to collection_path, alert: "Didn't really delete these!"
69
- end
70
- end
71
- ```
72
-
73
- ### Removal
74
-
75
- You can remove batch actions by simply passing false as the second parameter:
76
-
77
- ```ruby
78
- ActiveAdmin.register Post do
79
- batch_action :destroy, false
80
- end
81
- ```
82
-
83
- ### Conditional display
84
-
85
- You can control whether or not the batch action is available via the `:if`
86
- option, which is executed in the view context.
87
-
88
- ```ruby
89
- ActiveAdmin.register Post do
90
- batch_action :flag, if: proc{ can? :flag, Post } do |ids|
91
- # ...
92
- end
93
- end
94
- ```
95
-
96
- ### Priority in the drop-down menu
97
-
98
- You can change the order of batch actions through the `:priority` option:
99
-
100
- ```ruby
101
- ActiveAdmin.register Post do
102
- batch_action :destroy, priority: 1 do |ids|
103
- # ...
104
- end
105
- end
106
- ```
107
-
108
- ### Confirmation prompt
109
-
110
- You can pass a custom string to prompt the user with:
111
-
112
- ```ruby
113
- ActiveAdmin.register Post do
114
- batch_action :destroy, confirm: "Are you sure??" do |ids|
115
- # ...
116
- end
117
- end
118
- ```
119
-
120
- ### Batch Action forms
121
-
122
- If you want to capture input from the user as they perform a batch action,
123
- Active Admin has just the thing for you:
124
-
125
- ```ruby
126
- batch_action :flag, form: {
127
- type: %w[Offensive Spam Other],
128
- reason: :text,
129
- notes: :textarea,
130
- hide: :checkbox,
131
- date: :datepicker
132
- } do |ids, inputs|
133
- # inputs is a hash of all the form fields you requested
134
- redirect_to collection_path, notice: [ids, inputs].to_s
135
- end
136
- ```
137
-
138
- If you pass a nested array, it will behave just like Formtastic would, with the first
139
- element being the text displayed and the second element being the value.
140
-
141
- ```ruby
142
- batch_action :doit, form: {user: [['Jake',2], ['Mary',3]]} do |ids, inputs|
143
- User.find(inputs[:user])
144
- # ...
145
- end
146
- ```
147
-
148
- When you have dynamic form inputs you can pass a proc instead:
149
-
150
- ```ruby
151
- batch_action :doit, form: -> { {user: User.pluck(:name, :id)} } do |ids, inputs|
152
- User.find(inputs[:user])
153
- # ...
154
- end
155
- ```
156
-
157
- Under the covers this is powered by the JS `ActiveAdmin.ModalDialog` which you
158
- can use yourself:
159
-
160
- ```coffee
161
- if $('body.admin_users').length
162
- $('a[data-prompt]').click ->
163
- ActiveAdmin.ModalDialog $(@).data('prompt'), comment: 'textarea',
164
- (inputs)=>
165
- $.post "/admin/users/#{$(@).data 'id'}/change_state",
166
- comment: inputs.comment, state: $(@).data('state'),
167
- success: ->
168
- window.location.reload()
169
- ```
170
-
171
- ### Translation
172
-
173
- By default, the name of the batch action will be used to lookup a label for the
174
- menu. It will lookup in `active_admin.batch_actions.labels.#{your_batch_action}`.
175
-
176
- So this:
177
-
178
- ```ruby
179
- ActiveAdmin.register Post do
180
- batch_action :publish do |ids|
181
- # ...
182
- end
183
- end
184
- ```
185
-
186
- Can be translated with:
187
-
188
- ```yaml
189
- # config/locales/en.yml
190
- en:
191
- active_admin:
192
- batch_actions:
193
- labels:
194
- publish: "Publish"
195
- ```
196
-
197
- ### Support for other index types
198
-
199
- You can easily use `batch_action` in the other index views, *Grid*, *Block*,
200
- and *Blog*; however, these will require custom styling to fit your needs.
201
-
202
- ```ruby
203
- ActiveAdmin.register Post do
204
-
205
- # By default, the "Delete" batch action is provided
206
-
207
- # Index as Grid
208
- index as: :grid do |post|
209
- resource_selection_cell post
210
- h2 auto_link post
211
- end
212
-
213
- # Index as Blog requires nothing special
214
-
215
- # Index as Block
216
- index as: :block do |post|
217
- div for: post do
218
- resource_selection_cell post
219
- end
220
- end
221
-
222
- end
223
- ```
224
-
225
- ### BTW
226
-
227
- In order to perform the batch action, the entire *Table*, *Grid*, etc. is
228
- wrapped in a form that submits the IDs of the selected rows to your batch_action.
229
-
230
- Since nested `<form>` tags in HTML often results in unexpected behavior, you
231
- may need to modify the custom behavior you've built using to prevent conflicts.
232
-
233
- Specifically, if you are using HTTP methods like `PUT` or `PATCH` with a custom
234
- form on your index page this may result in your batch action being `PUT`ed
235
- instead of `POST`ed which will create a routing error. You can get around this
236
- by either moving the nested form to another page or using a POST so it doesn't
237
- override the batch action. As well, behavior may vary by browser.
data/docs/CNAME DELETED
@@ -1 +0,0 @@
1
- activeadmin.info
data/docs/Gemfile DELETED
@@ -1,4 +0,0 @@
1
- # frozen_string_literal: true
2
- source "https://rubygems.org"
3
-
4
- gem "github-pages"
data/docs/Gemfile.lock DELETED
@@ -1,283 +0,0 @@
1
- GEM
2
- remote: https://rubygems.org/
3
- specs:
4
- activesupport (6.0.4.7)
5
- concurrent-ruby (~> 1.0, >= 1.0.2)
6
- i18n (>= 0.7, < 2)
7
- minitest (~> 5.1)
8
- tzinfo (~> 1.1)
9
- zeitwerk (~> 2.2, >= 2.2.2)
10
- addressable (2.8.0)
11
- public_suffix (>= 2.0.2, < 5.0)
12
- coffee-script (2.4.1)
13
- coffee-script-source
14
- execjs
15
- coffee-script-source (1.11.1)
16
- colorator (1.1.0)
17
- commonmarker (0.23.4)
18
- concurrent-ruby (1.1.10)
19
- dnsruby (1.61.9)
20
- simpleidn (~> 0.1)
21
- em-websocket (0.5.3)
22
- eventmachine (>= 0.12.9)
23
- http_parser.rb (~> 0)
24
- ethon (0.15.0)
25
- ffi (>= 1.15.0)
26
- eventmachine (1.2.7)
27
- execjs (2.8.1)
28
- faraday (1.10.0)
29
- faraday-em_http (~> 1.0)
30
- faraday-em_synchrony (~> 1.0)
31
- faraday-excon (~> 1.1)
32
- faraday-httpclient (~> 1.0)
33
- faraday-multipart (~> 1.0)
34
- faraday-net_http (~> 1.0)
35
- faraday-net_http_persistent (~> 1.0)
36
- faraday-patron (~> 1.0)
37
- faraday-rack (~> 1.0)
38
- faraday-retry (~> 1.0)
39
- ruby2_keywords (>= 0.0.4)
40
- faraday-em_http (1.0.0)
41
- faraday-em_synchrony (1.0.0)
42
- faraday-excon (1.1.0)
43
- faraday-httpclient (1.0.1)
44
- faraday-multipart (1.0.3)
45
- multipart-post (>= 1.2, < 3)
46
- faraday-net_http (1.0.1)
47
- faraday-net_http_persistent (1.2.0)
48
- faraday-patron (1.0.0)
49
- faraday-rack (1.0.0)
50
- faraday-retry (1.0.3)
51
- ffi (1.15.5)
52
- forwardable-extended (2.6.0)
53
- gemoji (3.0.1)
54
- github-pages (226)
55
- github-pages-health-check (= 1.17.9)
56
- jekyll (= 3.9.2)
57
- jekyll-avatar (= 0.7.0)
58
- jekyll-coffeescript (= 1.1.1)
59
- jekyll-commonmark-ghpages (= 0.2.0)
60
- jekyll-default-layout (= 0.1.4)
61
- jekyll-feed (= 0.15.1)
62
- jekyll-gist (= 1.5.0)
63
- jekyll-github-metadata (= 2.13.0)
64
- jekyll-include-cache (= 0.2.1)
65
- jekyll-mentions (= 1.6.0)
66
- jekyll-optional-front-matter (= 0.3.2)
67
- jekyll-paginate (= 1.1.0)
68
- jekyll-readme-index (= 0.3.0)
69
- jekyll-redirect-from (= 0.16.0)
70
- jekyll-relative-links (= 0.6.1)
71
- jekyll-remote-theme (= 0.4.3)
72
- jekyll-sass-converter (= 1.5.2)
73
- jekyll-seo-tag (= 2.8.0)
74
- jekyll-sitemap (= 1.4.0)
75
- jekyll-swiss (= 1.0.0)
76
- jekyll-theme-architect (= 0.2.0)
77
- jekyll-theme-cayman (= 0.2.0)
78
- jekyll-theme-dinky (= 0.2.0)
79
- jekyll-theme-hacker (= 0.2.0)
80
- jekyll-theme-leap-day (= 0.2.0)
81
- jekyll-theme-merlot (= 0.2.0)
82
- jekyll-theme-midnight (= 0.2.0)
83
- jekyll-theme-minimal (= 0.2.0)
84
- jekyll-theme-modernist (= 0.2.0)
85
- jekyll-theme-primer (= 0.6.0)
86
- jekyll-theme-slate (= 0.2.0)
87
- jekyll-theme-tactile (= 0.2.0)
88
- jekyll-theme-time-machine (= 0.2.0)
89
- jekyll-titles-from-headings (= 0.5.3)
90
- jemoji (= 0.12.0)
91
- kramdown (= 2.3.2)
92
- kramdown-parser-gfm (= 1.1.0)
93
- liquid (= 4.0.3)
94
- mercenary (~> 0.3)
95
- minima (= 2.5.1)
96
- nokogiri (>= 1.13.4, < 2.0)
97
- rouge (= 3.26.0)
98
- terminal-table (~> 1.4)
99
- github-pages-health-check (1.17.9)
100
- addressable (~> 2.3)
101
- dnsruby (~> 1.60)
102
- octokit (~> 4.0)
103
- public_suffix (>= 3.0, < 5.0)
104
- typhoeus (~> 1.3)
105
- html-pipeline (2.14.1)
106
- activesupport (>= 2)
107
- nokogiri (>= 1.4)
108
- http_parser.rb (0.8.0)
109
- i18n (0.9.5)
110
- concurrent-ruby (~> 1.0)
111
- jekyll (3.9.2)
112
- addressable (~> 2.4)
113
- colorator (~> 1.0)
114
- em-websocket (~> 0.5)
115
- i18n (~> 0.7)
116
- jekyll-sass-converter (~> 1.0)
117
- jekyll-watch (~> 2.0)
118
- kramdown (>= 1.17, < 3)
119
- liquid (~> 4.0)
120
- mercenary (~> 0.3.3)
121
- pathutil (~> 0.9)
122
- rouge (>= 1.7, < 4)
123
- safe_yaml (~> 1.0)
124
- jekyll-avatar (0.7.0)
125
- jekyll (>= 3.0, < 5.0)
126
- jekyll-coffeescript (1.1.1)
127
- coffee-script (~> 2.2)
128
- coffee-script-source (~> 1.11.1)
129
- jekyll-commonmark (1.4.0)
130
- commonmarker (~> 0.22)
131
- jekyll-commonmark-ghpages (0.2.0)
132
- commonmarker (~> 0.23.4)
133
- jekyll (~> 3.9.0)
134
- jekyll-commonmark (~> 1.4.0)
135
- rouge (>= 2.0, < 4.0)
136
- jekyll-default-layout (0.1.4)
137
- jekyll (~> 3.0)
138
- jekyll-feed (0.15.1)
139
- jekyll (>= 3.7, < 5.0)
140
- jekyll-gist (1.5.0)
141
- octokit (~> 4.2)
142
- jekyll-github-metadata (2.13.0)
143
- jekyll (>= 3.4, < 5.0)
144
- octokit (~> 4.0, != 4.4.0)
145
- jekyll-include-cache (0.2.1)
146
- jekyll (>= 3.7, < 5.0)
147
- jekyll-mentions (1.6.0)
148
- html-pipeline (~> 2.3)
149
- jekyll (>= 3.7, < 5.0)
150
- jekyll-optional-front-matter (0.3.2)
151
- jekyll (>= 3.0, < 5.0)
152
- jekyll-paginate (1.1.0)
153
- jekyll-readme-index (0.3.0)
154
- jekyll (>= 3.0, < 5.0)
155
- jekyll-redirect-from (0.16.0)
156
- jekyll (>= 3.3, < 5.0)
157
- jekyll-relative-links (0.6.1)
158
- jekyll (>= 3.3, < 5.0)
159
- jekyll-remote-theme (0.4.3)
160
- addressable (~> 2.0)
161
- jekyll (>= 3.5, < 5.0)
162
- jekyll-sass-converter (>= 1.0, <= 3.0.0, != 2.0.0)
163
- rubyzip (>= 1.3.0, < 3.0)
164
- jekyll-sass-converter (1.5.2)
165
- sass (~> 3.4)
166
- jekyll-seo-tag (2.8.0)
167
- jekyll (>= 3.8, < 5.0)
168
- jekyll-sitemap (1.4.0)
169
- jekyll (>= 3.7, < 5.0)
170
- jekyll-swiss (1.0.0)
171
- jekyll-theme-architect (0.2.0)
172
- jekyll (> 3.5, < 5.0)
173
- jekyll-seo-tag (~> 2.0)
174
- jekyll-theme-cayman (0.2.0)
175
- jekyll (> 3.5, < 5.0)
176
- jekyll-seo-tag (~> 2.0)
177
- jekyll-theme-dinky (0.2.0)
178
- jekyll (> 3.5, < 5.0)
179
- jekyll-seo-tag (~> 2.0)
180
- jekyll-theme-hacker (0.2.0)
181
- jekyll (> 3.5, < 5.0)
182
- jekyll-seo-tag (~> 2.0)
183
- jekyll-theme-leap-day (0.2.0)
184
- jekyll (> 3.5, < 5.0)
185
- jekyll-seo-tag (~> 2.0)
186
- jekyll-theme-merlot (0.2.0)
187
- jekyll (> 3.5, < 5.0)
188
- jekyll-seo-tag (~> 2.0)
189
- jekyll-theme-midnight (0.2.0)
190
- jekyll (> 3.5, < 5.0)
191
- jekyll-seo-tag (~> 2.0)
192
- jekyll-theme-minimal (0.2.0)
193
- jekyll (> 3.5, < 5.0)
194
- jekyll-seo-tag (~> 2.0)
195
- jekyll-theme-modernist (0.2.0)
196
- jekyll (> 3.5, < 5.0)
197
- jekyll-seo-tag (~> 2.0)
198
- jekyll-theme-primer (0.6.0)
199
- jekyll (> 3.5, < 5.0)
200
- jekyll-github-metadata (~> 2.9)
201
- jekyll-seo-tag (~> 2.0)
202
- jekyll-theme-slate (0.2.0)
203
- jekyll (> 3.5, < 5.0)
204
- jekyll-seo-tag (~> 2.0)
205
- jekyll-theme-tactile (0.2.0)
206
- jekyll (> 3.5, < 5.0)
207
- jekyll-seo-tag (~> 2.0)
208
- jekyll-theme-time-machine (0.2.0)
209
- jekyll (> 3.5, < 5.0)
210
- jekyll-seo-tag (~> 2.0)
211
- jekyll-titles-from-headings (0.5.3)
212
- jekyll (>= 3.3, < 5.0)
213
- jekyll-watch (2.2.1)
214
- listen (~> 3.0)
215
- jemoji (0.12.0)
216
- gemoji (~> 3.0)
217
- html-pipeline (~> 2.2)
218
- jekyll (>= 3.0, < 5.0)
219
- kramdown (2.3.2)
220
- rexml
221
- kramdown-parser-gfm (1.1.0)
222
- kramdown (~> 2.0)
223
- liquid (4.0.3)
224
- listen (3.7.1)
225
- rb-fsevent (~> 0.10, >= 0.10.3)
226
- rb-inotify (~> 0.9, >= 0.9.10)
227
- mercenary (0.3.6)
228
- mini_portile2 (2.8.0)
229
- minima (2.5.1)
230
- jekyll (>= 3.5, < 5.0)
231
- jekyll-feed (~> 0.9)
232
- jekyll-seo-tag (~> 2.1)
233
- minitest (5.15.0)
234
- multipart-post (2.1.1)
235
- nokogiri (1.13.6)
236
- mini_portile2 (~> 2.8.0)
237
- racc (~> 1.4)
238
- octokit (4.22.0)
239
- faraday (>= 0.9)
240
- sawyer (~> 0.8.0, >= 0.5.3)
241
- pathutil (0.16.2)
242
- forwardable-extended (~> 2.6)
243
- public_suffix (4.0.7)
244
- racc (1.6.0)
245
- rb-fsevent (0.11.1)
246
- rb-inotify (0.10.1)
247
- ffi (~> 1.0)
248
- rexml (3.2.5)
249
- rouge (3.26.0)
250
- ruby2_keywords (0.0.5)
251
- rubyzip (2.3.2)
252
- safe_yaml (1.0.5)
253
- sass (3.7.4)
254
- sass-listen (~> 4.0.0)
255
- sass-listen (4.0.0)
256
- rb-fsevent (~> 0.9, >= 0.9.4)
257
- rb-inotify (~> 0.9, >= 0.9.7)
258
- sawyer (0.8.2)
259
- addressable (>= 2.3.5)
260
- faraday (> 0.8, < 2.0)
261
- simpleidn (0.2.1)
262
- unf (~> 0.1.4)
263
- terminal-table (1.8.0)
264
- unicode-display_width (~> 1.1, >= 1.1.1)
265
- thread_safe (0.3.6)
266
- typhoeus (1.4.0)
267
- ethon (>= 0.9.0)
268
- tzinfo (1.2.9)
269
- thread_safe (~> 0.1)
270
- unf (0.1.4)
271
- unf_ext
272
- unf_ext (0.0.8.1)
273
- unicode-display_width (1.8.0)
274
- zeitwerk (2.5.4)
275
-
276
- PLATFORMS
277
- ruby
278
-
279
- DEPENDENCIES
280
- github-pages
281
-
282
- BUNDLED WITH
283
- 2.0.2
data/docs/README.md DELETED
@@ -1,24 +0,0 @@
1
- # ActiveAdmin Documentation
2
-
3
- ## Content
4
-
5
- - [Installation](0-installation.md)
6
- - [General Configuration](1-general-configuration.md)
7
- - [Resource Customization](2-resource-customization.md)
8
- - [Index Pages](3-index-pages.md)
9
- - [Custom Index](3-index-pages/custom-index.md)
10
- - [Index as Table](3-index-pages/index-as-table.md)
11
- - [Index as Grid](3-index-pages/index-as-grid.md)
12
- - [Index as Blocks](3-index-pages/index-as-block.md)
13
- - [Index as Blog](3-index-pages/index-as-blog.md)
14
- - [Csv Format](4-csv-format.md)
15
- - [Forms](5-forms.md)
16
- - [Show Pages](6-show-pages.md)
17
- - [Sidebars](7-sidebars.md)
18
- - [Custom Actions](8-custom-actions.md)
19
- - [Batch Actions](9-batch-actions.md)
20
- - [Custom Pages](10-custom-pages.md)
21
- - [Decorators](11-decorators.md)
22
- - [Arbre Components](12-arbre-components.md)
23
- - [Authorization Adapter](13-authorization-adapter.md)
24
- - [Gotchas](14-gotchas.md)
data/docs/_config.yml DELETED
@@ -1,4 +0,0 @@
1
- plugins:
2
- - jekyll-default-layout
3
- - jekyll-redirect-from
4
- - jekyll-relative-links
@@ -1,8 +0,0 @@
1
- <p id="footer">
2
- <div class="left">
3
- Copyright 2011 <a href="http://gregbell.ca/">Greg Bell</a> and <a href="http://www.versapay.com/">VersaPay</a>
4
- </div>
5
- <div class="right">
6
- <a href="http://twitter.com/share" class="twitter-share-button">Tweet</a></p>
7
- </div>
8
- </p>
@@ -1,16 +0,0 @@
1
- <script type="text/javascript">
2
-
3
- var _gaq = _gaq || [];
4
- _gaq.push(['_setAccount', 'UA-23306458-1']);
5
- _gaq.push(['_trackPageview']);
6
-
7
- (function () {
8
- var ga = document.createElement('script');
9
- ga.type = 'text/javascript';
10
- ga.async = true;
11
- ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
12
- var s = document.getElementsByTagName('script')[0];
13
- s.parentNode.insertBefore(ga, s);
14
- })();
15
-
16
- </script>
@@ -1,7 +0,0 @@
1
- <head>
2
- <title>Active Admin | The administration framework for Ruby on Rails</title>
3
- <link href='//fonts.googleapis.com/css?family=Yanone+Kaffeesatz:extralight,light,regular,bold' rel='stylesheet' type='text/css'>
4
- <link href='//fonts.googleapis.com/css?family=Droid+Sans+Mono' rel='stylesheet' type='text/css'>
5
- <link href="{{ site.baseurl }}/stylesheets/main.css" media="screen" rel="stylesheet" type="text/css" />
6
- <script src="//platform.twitter.com/widgets.js" type="text/javascript"></script>
7
- </head>