soapbox 0.2.12 → 0.2.14

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.12
1
+ 0.2.14
@@ -13,6 +13,17 @@ class Admin::GalleryImagesController < Admin::AdminController
13
13
  failure.js {
14
14
  render :json => { :result => 'error'}, :content_type => 'text/html'
15
15
  }
16
+ # IE sends post as html... lame
17
+ success.html {
18
+ render :json => {
19
+ :id => resource.id,
20
+ :gallery_id => resource.gallery_id
21
+ },
22
+ :content_type => 'text/html'
23
+ }
24
+ failure.html {
25
+ render :json => { :result => 'error'}, :content_type => 'text/html'
26
+ }
16
27
  end
17
28
  end
18
29
 
@@ -26,4 +37,5 @@ class Admin::GalleryImagesController < Admin::AdminController
26
37
  def image
27
38
  render :partial => "admin/galleries/image", :locals => {:image => GalleryImage.find(params[:gallery_image_id])}, :layout => false
28
39
  end
40
+
29
41
  end
@@ -0,0 +1,2 @@
1
+ class Admin::MembersController < Admin::AdminController
2
+ end
@@ -0,0 +1,25 @@
1
+ <%= semantic_form_for([:admin, @member]) do |form| %>
2
+
3
+ <%= render "admin/shared/form_buttons", :form => form %>
4
+
5
+ <%= render "admin/shared/form_errors" %>
6
+
7
+ <div class="tabs">
8
+
9
+ <ul>
10
+ <li><a href="#tab_main">Main</a></li>
11
+ </ul>
12
+
13
+ <div id="tab_main">
14
+ <%= form.inputs do -%>
15
+ <%= form.inputs do -%>
16
+ <%= form.input :email, :disabled => true %>
17
+ <%- end -%>
18
+ <%- end -%>
19
+ </div>
20
+
21
+ </div>
22
+
23
+ <%= render "admin/shared/form_buttons", :form => form %>
24
+
25
+ <% end %>
@@ -0,0 +1 @@
1
+ <%= render "admin/shared/list", :list_fields => ["id","email"] %>
@@ -39,8 +39,7 @@
39
39
  :input_html => { :class => "large" },
40
40
  :hint => @page.slug,
41
41
  :required => true %>
42
- <%= form.input :body, :as => :text,
43
- :input_html => { :class => "editor" } %>
42
+ <%= form.input :body, :as => :text, :input_html => { :class => "editor" } %>
44
43
  <%- end -%>
45
44
 
46
45
  </div>
data/soapbox.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{soapbox}
8
- s.version = "0.2.12"
8
+ s.version = "0.2.14"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = [%q{Gabe Coyne}, %q{Killit Creative}]
12
- s.date = %q{2011-11-15}
12
+ s.date = %q{2012-01-23}
13
13
  s.description = %q{manage pages, users, permissions, settings, analytics, files, users, and extend}
14
14
  s.email = %q{gabe@killitcreative.com}
15
15
  s.extra_rdoc_files = [
@@ -34,6 +34,7 @@ Gem::Specification.new do |s|
34
34
  "app/controllers/admin/gallery_images_controller.rb",
35
35
  "app/controllers/admin/groups_controller.rb",
36
36
  "app/controllers/admin/images_controller.rb",
37
+ "app/controllers/admin/members_controller.rb",
37
38
  "app/controllers/admin/menu_items_controller.rb",
38
39
  "app/controllers/admin/menus_controller.rb",
39
40
  "app/controllers/admin/pages_controller.rb",
@@ -88,6 +89,8 @@ Gem::Specification.new do |s|
88
89
  "app/views/admin/galleries/index.html.erb",
89
90
  "app/views/admin/groups/form.html.erb",
90
91
  "app/views/admin/groups/index.html.erb",
92
+ "app/views/admin/members/form.html.erb",
93
+ "app/views/admin/members/index.html.erb",
91
94
  "app/views/admin/menu_items/form.html.erb",
92
95
  "app/views/admin/menus/_item.html.erb",
93
96
  "app/views/admin/menus/form.html.erb",
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: soapbox
3
3
  version: !ruby/object:Gem::Version
4
- hash: 15
4
+ hash: 11
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 12
10
- version: 0.2.12
9
+ - 14
10
+ version: 0.2.14
11
11
  platform: ruby
12
12
  authors:
13
13
  - Gabe Coyne
@@ -16,7 +16,7 @@ autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
18
 
19
- date: 2011-11-15 00:00:00 Z
19
+ date: 2012-01-23 00:00:00 Z
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
22
22
  version_requirements: &id001 !ruby/object:Gem::Requirement
@@ -344,6 +344,7 @@ files:
344
344
  - app/controllers/admin/gallery_images_controller.rb
345
345
  - app/controllers/admin/groups_controller.rb
346
346
  - app/controllers/admin/images_controller.rb
347
+ - app/controllers/admin/members_controller.rb
347
348
  - app/controllers/admin/menu_items_controller.rb
348
349
  - app/controllers/admin/menus_controller.rb
349
350
  - app/controllers/admin/pages_controller.rb
@@ -398,6 +399,8 @@ files:
398
399
  - app/views/admin/galleries/index.html.erb
399
400
  - app/views/admin/groups/form.html.erb
400
401
  - app/views/admin/groups/index.html.erb
402
+ - app/views/admin/members/form.html.erb
403
+ - app/views/admin/members/index.html.erb
401
404
  - app/views/admin/menu_items/form.html.erb
402
405
  - app/views/admin/menus/_item.html.erb
403
406
  - app/views/admin/menus/form.html.erb