sbdevcore 0.1.2 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- data/app/assets/images/28DaysLater.ttf +0 -0
- data/app/assets/images/ajax-loader.gif +0 -0
- data/app/assets/javascripts/jquery.tools.min.js +16 -108
- data/app/assets/javascripts/rails.validations.custom.js +5 -0
- data/app/assets/javascripts/sbdev-ajax.js +14 -0
- data/app/assets/javascripts/sbdevcore-tools.js +24 -37
- data/app/assets/javascripts/sbdevcore.js +8 -3
- data/app/assets/javascripts/tiny_mce_config.js +2 -0
- data/app/assets/stylesheets/_bar_nav.scss +6 -4
- data/app/assets/stylesheets/_buttons.scss +16 -10
- data/app/assets/stylesheets/_forms.scss +51 -0
- data/app/assets/stylesheets/_mixins.scss +40 -15
- data/app/assets/stylesheets/_overlay.scss +4 -7
- data/app/assets/stylesheets/_sbdev_core.scss +55 -19
- data/app/assets/stylesheets/_yui_base.scss +142 -0
- data/app/controllers/contacts_controller.rb +2 -36
- data/app/controllers/downloadables_controller.rb +6 -46
- data/app/controllers/galleries_controller.rb +4 -49
- data/app/controllers/indices_controller.rb +2 -45
- data/app/controllers/photos_controller.rb +4 -48
- data/app/controllers/sbdev_core_controller.rb +40 -0
- data/app/controllers/texts_controller.rb +3 -46
- data/app/controllers/videos_controller.rb +4 -45
- data/app/models/contact.rb +5 -1
- data/app/models/downloadable.rb +3 -1
- data/app/models/index.rb +4 -1
- data/app/models/photo.rb +3 -1
- data/app/models/video.rb +2 -0
- data/app/views/admins/mailer/confirmation_instructions.html.haml +4 -0
- data/app/views/admins/mailer/reset_password_instructions.html.haml +6 -0
- data/app/views/admins/mailer/unlock_instructions.html.haml +5 -0
- data/app/views/admins/passwords/edit.html.haml +8 -0
- data/app/views/admins/passwords/new.html.haml +6 -0
- data/app/views/admins/sessions/new.html.haml +8 -0
- data/app/views/admins/shared/_links.haml +19 -0
- data/app/views/application/_header.html.haml +1 -0
- data/app/views/application/_secondary_nav.html.haml +3 -0
- data/app/views/contacts/_form.html.haml +5 -0
- data/app/views/contacts/edit.html.haml +6 -0
- data/app/views/contacts/index.html.haml +21 -0
- data/app/views/contacts/new.html.haml +2 -0
- data/app/views/contacts/show.html.haml +24 -0
- data/app/views/downloadables/_form.html.haml +6 -0
- data/app/views/downloadables/_show.html.haml +7 -0
- data/app/views/downloadables/edit.html.haml +3 -0
- data/app/views/downloadables/new.html.haml +4 -0
- data/app/views/galleries/_form.html.haml +22 -0
- data/app/views/galleries/edit.html.haml +10 -0
- data/app/views/galleries/index.html.haml +9 -0
- data/app/views/galleries/new.html.haml +3 -0
- data/app/views/galleries/show.html.haml +9 -0
- data/app/views/indices/_form.html.haml +43 -0
- data/app/views/indices/_show.html.haml +17 -0
- data/app/views/indices/edit.html.haml +3 -0
- data/app/views/indices/index.html.haml +17 -0
- data/app/views/layouts/application.html.haml +16 -1
- data/app/views/layouts/bar_nav.html.haml +7 -14
- data/app/views/layouts/sbdev_core.html.haml +39 -0
- data/app/views/layouts/tab_nav.html.haml +9 -14
- data/app/views/mailer/message.haml +4 -0
- data/app/views/photos/_form.html.haml +10 -0
- data/app/views/photos/_show.html.haml +7 -0
- data/app/views/photos/edit.html.haml +3 -0
- data/app/views/photos/index.html.haml +21 -0
- data/app/views/photos/new.html.haml +4 -0
- data/app/views/photos/show.html.haml +4 -0
- data/app/views/sbdev_core/index.html.haml +1 -0
- data/app/views/sbdev_core/show.html.haml +4 -0
- data/app/views/sbdev_core/show.js.haml +1 -0
- data/app/views/shared/_asset_show.html.haml +1 -0
- data/app/views/shared/_devise_links.haml +15 -0
- data/app/views/shared/_gallery.html.haml +14 -0
- data/app/views/shared/_prioritizable_fields.html.haml +5 -0
- data/app/views/texts/_form.html.haml +3 -0
- data/app/views/texts/_show.html.haml +6 -0
- data/app/views/texts/edit.html.haml +3 -0
- data/app/views/texts/new.html.haml +4 -0
- data/app/views/texts/show.html.haml +8 -0
- data/app/views/videos/_form.html.haml +7 -0
- data/app/views/videos/_show.html.haml +12 -0
- data/app/views/videos/edit.html.haml +3 -0
- data/app/views/videos/index.html.haml +11 -0
- data/app/views/videos/new.html.haml +4 -0
- data/app/views/videos/show.html.haml +9 -0
- data/app/views/videos/show.js.haml +4 -0
- data/config/initializers/client_side_validations.rb +14 -0
- data/config/initializers/custom_validators.rb +15 -0
- data/config/initializers/load_app_config.rb +2 -0
- data/config/initializers/simple_form.rb +93 -0
- data/config/locales/en.yml +4 -1
- data/db/migrate/20110811000613_create_indices.rb +3 -0
- data/db/seeds.rb +23 -57
- data/lib/generators/sbdevcore/install_generator.rb +0 -2
- data/lib/generators/sbdevcore/templates/application.scss +1 -0
- data/lib/generators/sbdevcore/templates/application/_404.html.haml +2 -0
- data/lib/generators/sbdevcore/templates/application/_footer.html.haml +2 -1
- data/lib/generators/sbdevcore/templates/application/_inline_nav.html.haml +3 -0
- data/lib/generators/sbdevcore/templates/application/_nav.html.haml +1 -1
- data/lib/generators/sbdevcore/templates/config/initializers/mailer_setup.rb +2 -2
- data/lib/generators/sbdevcore/templates/config/initializers/simple_form.rb +93 -0
- data/lib/generators/sbdevcore/templates/new_contact.html.haml +4 -0
- data/lib/sbdevcore.rb +25 -2
- data/lib/sbdevcore/engine.rb +13 -34
- data/lib/sbdevcore/version.rb +1 -1
- data/lib/tasks/sbdevcore.rake +1 -1
- data/public/404.html +2 -2
- data/sbdevcore.gemspec +7 -2
- metadata +296 -156
- data/app/assets/stylesheets/_js_errors.scss +0 -26
- data/app/controllers/core_controller.rb +0 -5
- data/app/controllers/sbdevcore/application_controller_extensions.rb +0 -13
- data/app/controllers/statics_controller.rb +0 -6
- data/app/models/asset.rb +0 -27
- data/app/views/admins/confirmations/new.html.erb +0 -12
- data/app/views/admins/mailer/confirmation_instructions.html.erb +0 -5
- data/app/views/admins/mailer/reset_password_instructions.html.erb +0 -8
- data/app/views/admins/mailer/unlock_instructions.html.erb +0 -7
- data/app/views/admins/passwords/edit.html.erb +0 -16
- data/app/views/admins/passwords/new.html.erb +0 -12
- data/app/views/admins/registrations/edit.html.erb +0 -25
- data/app/views/admins/registrations/new.html.erb +0 -18
- data/app/views/admins/sessions/new.html.erb +0 -17
- data/app/views/admins/unlocks/new.html.erb +0 -12
- data/app/views/contacts/_form.html.erb +0 -18
- data/app/views/contacts/edit.html.erb +0 -8
- data/app/views/contacts/index.html.erb +0 -27
- data/app/views/contacts/new.html.erb +0 -4
- data/app/views/contacts/show.html.erb +0 -32
- data/app/views/downloadables/_form.html.erb +0 -17
- data/app/views/downloadables/_show.html.erb +0 -8
- data/app/views/downloadables/edit.html.erb +0 -4
- data/app/views/downloadables/new.html.erb +0 -6
- data/app/views/galleries/_form.html.erb +0 -33
- data/app/views/galleries/edit.html.erb +0 -13
- data/app/views/galleries/index.html.erb +0 -16
- data/app/views/galleries/new.html.erb +0 -8
- data/app/views/galleries/show.html.erb +0 -17
- data/app/views/indices/_form.html.erb +0 -60
- data/app/views/indices/_show.html.erb +0 -22
- data/app/views/indices/edit.html.erb +0 -12
- data/app/views/indices/index.html.erb +0 -23
- data/app/views/indices/new.html.erb +0 -8
- data/app/views/indices/show.html.erb +0 -4
- data/app/views/indices/show.js.erb +0 -1
- data/app/views/photos/_form.html.erb +0 -27
- data/app/views/photos/_show.html.erb +0 -14
- data/app/views/photos/edit.html.erb +0 -4
- data/app/views/photos/index.html.erb +0 -27
- data/app/views/photos/new.html.erb +0 -6
- data/app/views/photos/overlay.html.erb +0 -1
- data/app/views/photos/show.html.erb +0 -5
- data/app/views/shared/_asset_show.html.erb +0 -1
- data/app/views/shared/_gallery.html.erb +0 -21
- data/app/views/shared/_prioritizable_fields.html.erb +0 -10
- data/app/views/shared/course_type_index.html.erb +0 -16
- data/app/views/texts/_form.html.erb +0 -9
- data/app/views/texts/_new.html.erb +0 -6
- data/app/views/texts/_show.html.erb +0 -9
- data/app/views/texts/edit.html.erb +0 -4
- data/app/views/texts/new.html.erb +0 -6
- data/app/views/texts/show.html.erb +0 -9
- data/app/views/videos/_form.html.erb +0 -17
- data/app/views/videos/_show.html.erb +0 -16
- data/app/views/videos/edit.html.erb +0 -4
- data/app/views/videos/index.html.erb +0 -17
- data/app/views/videos/new.html.erb +0 -6
- data/app/views/videos/show.html.erb +0 -12
- data/lib/generators/sbdevcore/templates/application/_404.html.erb +0 -2
- data/lib/generators/sbdevcore/templates/application/_inline_nav.html.erb +0 -7
- data/lib/generators/sbdevcore/templates/config/tiny_mce.yml +0 -46
- data/lib/generators/sbdevcore/templates/new_contact.html.erb +0 -4
- data/vendor/assets/stylesheets/.gitkeep +0 -0
- data/vendor/plugins/.gitkeep +0 -0
@@ -1,6 +0,0 @@
|
|
1
|
-
<%= form_for @index, :html => { :multipart => true, :class => "validate", :novalidate => "novalidate" } do |f| %>
|
2
|
-
<%= f.fields_for :videos, @video do |video_form| %>
|
3
|
-
<%= render "videos/form", :locals => {:f => video_form} %>
|
4
|
-
<% end %>
|
5
|
-
<p><%= f.submit %></p>
|
6
|
-
<% end %>
|
@@ -1,12 +0,0 @@
|
|
1
|
-
<% title "Video" %>
|
2
|
-
|
3
|
-
<p>
|
4
|
-
<strong>Name:</strong>
|
5
|
-
<%=h @video.name %>
|
6
|
-
</p>
|
7
|
-
|
8
|
-
<p>
|
9
|
-
<%= link_to "Edit", edit_video_path(@video) %> |
|
10
|
-
<%= link_to "Destroy", @video, :confirm => 'Are you sure?', :method => :delete %> |
|
11
|
-
<%= link_to "View All", videos_path %>
|
12
|
-
</p>
|
@@ -1,46 +0,0 @@
|
|
1
|
-
# Here you can specify default options for TinyMCE across all controllers
|
2
|
-
#
|
3
|
-
# theme: advanced
|
4
|
-
# plugins:
|
5
|
-
# - table
|
6
|
-
# - fullscreen
|
7
|
-
plugins:
|
8
|
-
- autoresize
|
9
|
-
auto_focus: false
|
10
|
-
mode: none
|
11
|
-
theme: advanced
|
12
|
-
theme_advanced_buttons1:
|
13
|
-
- bold
|
14
|
-
- italic
|
15
|
-
- underline
|
16
|
-
- separator
|
17
|
-
- justifyleft
|
18
|
-
- justifycenter
|
19
|
-
- justifyright
|
20
|
-
- justifyfull
|
21
|
-
- separator
|
22
|
-
- bullist
|
23
|
-
- numlist
|
24
|
-
- separator
|
25
|
-
- outdent
|
26
|
-
- indent
|
27
|
-
- separator
|
28
|
-
- formatselect
|
29
|
-
- fontsizeselect
|
30
|
-
- fontselect
|
31
|
-
- separator
|
32
|
-
- link
|
33
|
-
- unlink
|
34
|
-
- separator
|
35
|
-
- code
|
36
|
-
- removeformat
|
37
|
-
theme_advanced_buttons2: ''
|
38
|
-
theme_advanced_buttons3: ''
|
39
|
-
theme_advanced_fonts: 'Andale Mono=andale mono,times;Arial=arial,helvetica,sans-serif;Arial Black=arial black,avant garde;Book Antiqua=book antiqua,palatino;Comic Sans MS=comic sans ms,sans-serif;Courier New=courier new,courier;Georgia=georgia,palatino;Helvetica=helvetica;Impact=impact,chicago;Symbol=symbol;Tahoma=tahoma,arial,helvetica,sans-serif;Terminal=terminal,monaco;Times New Roman=times new roman,times;Trebuchet MS=trebuchet ms,geneva;Verdana=verdana,geneva;Webdings=webdings;Wingdings=wingdings,zapf dingbats;'
|
40
|
-
theme_advanced_blockformats:
|
41
|
-
- h1
|
42
|
-
- h2
|
43
|
-
- h3
|
44
|
-
- h4
|
45
|
-
- p
|
46
|
-
- blockquote
|
File without changes
|
data/vendor/plugins/.gitkeep
DELETED
File without changes
|