admin_interface 1.3.0 → 1.3.1
Sign up to get free protection for your applications and to get access to all the features.
data/README.rdoc
CHANGED
@@ -11,12 +11,11 @@ It also has admin authentication really well implemented.
|
|
11
11
|
|
12
12
|
=== Rails 3.1
|
13
13
|
|
14
|
-
You should be using v1.2.0
|
15
|
-
|
16
|
-
gem "admin_interface"
|
17
|
-
|
18
|
-
AdminInterface uses several gems. So put these in your Gemfile
|
14
|
+
You should be using v1.2.0+ of the Gem. Add the following to your Gemfile.
|
19
15
|
|
16
|
+
gem 'admin_interface'
|
17
|
+
# Several Gems used by admin_interface
|
18
|
+
gem 'inherited_resources'
|
20
19
|
gem 'ransack' # new version of meta_search
|
21
20
|
gem 'kaminari' # pagination
|
22
21
|
gem 'dynamic_form' # for error_messages_for
|
data/admin_interface.gemspec
CHANGED
@@ -3,7 +3,7 @@ $:.push File.expand_path("../lib", __FILE__)
|
|
3
3
|
|
4
4
|
Gem::Specification.new do |spec|
|
5
5
|
spec.name = "admin_interface"
|
6
|
-
spec.version = '1.3.
|
6
|
+
spec.version = '1.3.1'
|
7
7
|
spec.platform = Gem::Platform::RUBY
|
8
8
|
spec.summary = "A Rails admin interface generator. Theme stolen from Redmine."
|
9
9
|
spec.email = "joost@joopp.com"
|
@@ -1,9 +1,9 @@
|
|
1
1
|
<div class="contextual">
|
2
2
|
<%%= link_to 'New <%= singular_name %>', new_admin_<%= singular_name %>_path, :class => 'icon icon-add' %>
|
3
|
-
| <%%=
|
3
|
+
| <%%= search_form_for @search, :url => collection_url do |f| %>
|
4
4
|
<%%
|
5
|
-
# Check https://github.com/ernie/
|
6
|
-
# Simply change :
|
5
|
+
# Check https://github.com/ernie/ransack for options.
|
6
|
+
# Simply change :id_eq into :name_cont, etc.
|
7
7
|
%>
|
8
8
|
<%%= f.text_field :id_eq, :placeholder => 'Search by ID' %>
|
9
9
|
<%% end %>
|
@@ -0,0 +1 @@
|
|
1
|
+
TODO?
|
@@ -8,6 +8,14 @@ label.disabled {
|
|
8
8
|
color: lightgray;
|
9
9
|
}
|
10
10
|
|
11
|
+
/* Copied from .tabular p to make it work with simple_form gem */
|
12
|
+
div.input {
|
13
|
+
clear: left;
|
14
|
+
height: 1%;
|
15
|
+
margin: 0;
|
16
|
+
padding: 5px 0 8px 180px;
|
17
|
+
}
|
18
|
+
|
11
19
|
/***** Custom additions to Redmine *****/
|
12
20
|
.icon-search { background-image: asset_url('admin/search.png', image); }
|
13
21
|
.icon-download { background-image: asset_url('admin/download.png', image); }
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: admin_interface
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2011-
|
12
|
+
date: 2011-11-02 00:00:00.000000000Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: kaminari
|
16
|
-
requirement: &
|
16
|
+
requirement: &70292071245660 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: 0.12.4
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *70292071245660
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: ransack
|
27
|
-
requirement: &
|
27
|
+
requirement: &70292071245000 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ! '>='
|
@@ -32,10 +32,10 @@ dependencies:
|
|
32
32
|
version: '0'
|
33
33
|
type: :runtime
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *70292071245000
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: inherited_resources
|
38
|
-
requirement: &
|
38
|
+
requirement: &70292071244340 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ! '>='
|
@@ -43,7 +43,7 @@ dependencies:
|
|
43
43
|
version: 1.2.2
|
44
44
|
type: :runtime
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *70292071244340
|
47
47
|
description: A Rails admin interface generator. Theme stolen from Redmine. Similar
|
48
48
|
to web-app-theme but better ;).
|
49
49
|
email: joost@joopp.com
|
@@ -76,6 +76,7 @@ files:
|
|
76
76
|
- lib/generators/admin_scaffold/templates/view_edit.html.erb
|
77
77
|
- lib/generators/admin_scaffold/templates/view_form_partial.html.erb
|
78
78
|
- lib/generators/admin_scaffold/templates/view_index.html.erb
|
79
|
+
- lib/generators/admin_scaffold/templates/view_list_partial.html.erb
|
79
80
|
- lib/generators/admin_scaffold/templates/view_new.html.erb
|
80
81
|
- lib/generators/admin_scaffold/templates/view_show.html.erb
|
81
82
|
- vendor/assets/images/admin/1downarrow.png
|