cardboard_cms 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.ruby-gemset +1 -0
- data/.ruby-version +1 -0
- data/Gemfile +42 -0
- data/Gemfile.lock +324 -0
- data/Guardfile +23 -0
- data/LICENSE.txt +677 -0
- data/README.md +370 -0
- data/Rakefile +23 -0
- data/app/assets/images/cardboard/.gitkeep +0 -0
- data/app/assets/images/cardboard/bg.png +0 -0
- data/app/assets/images/cardboard/calendar.png +0 -0
- data/app/assets/images/cardboard/lorem-ipsum-coffe-mug.jpg +0 -0
- data/app/assets/javascripts/cardboard.js +1 -0
- data/app/assets/javascripts/cardboard/admin.js +62 -0
- data/app/assets/javascripts/cardboard/content_sidebar.js +27 -0
- data/app/assets/javascripts/cardboard/datepicker.js +19 -0
- data/app/assets/javascripts/cardboard/main_sidebar.js +32 -0
- data/app/assets/javascripts/cardboard/rich_text.js +81 -0
- data/app/assets/javascripts/cardboard/search_filter.js +28 -0
- data/app/assets/stylesheets/cardboard.css.scss +2 -0
- data/app/assets/stylesheets/cardboard/_bootstrap-select.css.scss +183 -0
- data/app/assets/stylesheets/cardboard/_content.css.scss +35 -0
- data/app/assets/stylesheets/cardboard/_content_sidebar.css.scss +96 -0
- data/app/assets/stylesheets/cardboard/_framework.css.scss +129 -0
- data/app/assets/stylesheets/cardboard/_main_sidebar.css.scss +38 -0
- data/app/assets/stylesheets/cardboard/_main_topbar.css.scss +62 -0
- data/app/assets/stylesheets/cardboard/_resources.css.scss +28 -0
- data/app/assets/stylesheets/cardboard/_rich_text.css.scss +6 -0
- data/app/assets/stylesheets/cardboard/_variables.scss +326 -0
- data/app/assets/stylesheets/cardboard/admin.css.scss +63 -0
- data/app/controllers/cardboard/application_controller.rb +45 -0
- data/app/controllers/cardboard/dashboard_controller.rb +9 -0
- data/app/controllers/cardboard/my_account_controller.rb +27 -0
- data/app/controllers/cardboard/pages_controller.rb +34 -0
- data/app/controllers/cardboard/resource_controller.rb +61 -0
- data/app/controllers/cardboard/settings_controller.rb +28 -0
- data/app/controllers/cardboard/super_user_controller.rb +8 -0
- data/app/controllers/pages_controller.rb +29 -0
- data/app/decorators/controllers/application_controller_decorator.rb +9 -0
- data/app/decorators/lib/cardboard/user_class_decorator.rb +32 -0
- data/app/helpers/cardboard/application_helper.rb +4 -0
- data/app/helpers/cardboard/public_helper.rb +53 -0
- data/app/helpers/cardboard/resource_helper.rb +80 -0
- data/app/inputs/date_picker_input.rb +10 -0
- data/app/inputs/date_time_input.rb +7 -0
- data/app/inputs/image_input.rb +3 -0
- data/app/inputs/rich_text_input.rb +6 -0
- data/app/models/cardboard/field.rb +67 -0
- data/app/models/cardboard/field/boolean.rb +29 -0
- data/app/models/cardboard/field/date.rb +24 -0
- data/app/models/cardboard/field/decimal.rb +25 -0
- data/app/models/cardboard/field/external_link.rb +4 -0
- data/app/models/cardboard/field/file.rb +19 -0
- data/app/models/cardboard/field/image.rb +33 -0
- data/app/models/cardboard/field/integer.rb +26 -0
- data/app/models/cardboard/field/resource_link.rb +4 -0
- data/app/models/cardboard/field/rich_text.rb +21 -0
- data/app/models/cardboard/field/string.rb +16 -0
- data/app/models/cardboard/field/text.rb +15 -0
- data/app/models/cardboard/page.rb +253 -0
- data/app/models/cardboard/page_part.rb +79 -0
- data/app/models/cardboard/setting.rb +46 -0
- data/app/views/cardboard/dashboard/index.html.slim +1 -0
- data/app/views/cardboard/fields/_base_input.html.slim +1 -0
- data/app/views/cardboard/fields/_boolean.html.slim +4 -0
- data/app/views/cardboard/fields/_date.html.slim +1 -0
- data/app/views/cardboard/fields/_external_link.html.slim +2 -0
- data/app/views/cardboard/fields/_file.html.slim +12 -0
- data/app/views/cardboard/fields/_image.html.slim +11 -0
- data/app/views/cardboard/fields/_resource_link.html.slim +2 -0
- data/app/views/cardboard/fields/_rich_text.html.slim +3 -0
- data/app/views/cardboard/fields/_string.html.slim +1 -0
- data/app/views/cardboard/my_account/edit.html.slim +29 -0
- data/app/views/cardboard/pages/_error.html.slim +7 -0
- data/app/views/cardboard/pages/_seo.html.slim +6 -0
- data/app/views/cardboard/pages/_sidebar.html.slim +17 -0
- data/app/views/cardboard/pages/_subpart_fields.html.slim +20 -0
- data/app/views/cardboard/pages/_url_field.html.slim +20 -0
- data/app/views/cardboard/pages/edit.html.slim +43 -0
- data/app/views/cardboard/pages/index.html.slim +2 -0
- data/app/views/cardboard/pages/show.html.slim +9 -0
- data/app/views/cardboard/resources/_advanced_search.html.slim +40 -0
- data/app/views/cardboard/resources/_search_button.html.slim +2 -0
- data/app/views/cardboard/resources/_search_helper.html.slim +17 -0
- data/app/views/cardboard/resources/_simple_search.html.slim +6 -0
- data/app/views/cardboard/rich_editor/_links_modal.html.slim +39 -0
- data/app/views/cardboard/settings/index.html.slim +8 -0
- data/app/views/cardboard/super_user/index.html.slim +10 -0
- data/app/views/layouts/cardboard/_flash_message.html.slim +6 -0
- data/app/views/layouts/cardboard/_head.html.slim +16 -0
- data/app/views/layouts/cardboard/_main_sidebar.html.slim +12 -0
- data/app/views/layouts/cardboard/_main_topbar.html.slim +32 -0
- data/app/views/layouts/cardboard/application.html.slim +28 -0
- data/cardboard.gemspec +57 -0
- data/config/initializers/dragonfly.rb +27 -0
- data/config/initializers/ranker_mapper_finder_bugfix.rb +43 -0
- data/config/initializers/simple_form.rb +142 -0
- data/config/initializers/simple_form_bootstrap.rb +45 -0
- data/config/locales/simple_form.en.yml +26 -0
- data/config/routes.rb +53 -0
- data/doc/apple-touch-icon.png +0 -0
- data/doc/classes/Cardboard.html +190 -0
- data/doc/classes/Cardboard/AdminController.html +134 -0
- data/doc/classes/Cardboard/AdminHelper.html +307 -0
- data/doc/classes/Cardboard/ApplicationController.html +76 -0
- data/doc/classes/Cardboard/ApplicationHelper.html +70 -0
- data/doc/classes/Cardboard/DashboardController.html +131 -0
- data/doc/classes/Cardboard/Field.html +283 -0
- data/doc/classes/Cardboard/Field/Boolean.html +218 -0
- data/doc/classes/Cardboard/Field/Date.html +218 -0
- data/doc/classes/Cardboard/Field/Decimal.html +218 -0
- data/doc/classes/Cardboard/Field/ExternalLink.html +76 -0
- data/doc/classes/Cardboard/Field/File.html +131 -0
- data/doc/classes/Cardboard/Field/Image.html +181 -0
- data/doc/classes/Cardboard/Field/Integer.html +218 -0
- data/doc/classes/Cardboard/Field/ResourceLink.html +76 -0
- data/doc/classes/Cardboard/Field/RichText.html +131 -0
- data/doc/classes/Cardboard/Field/String.html +131 -0
- data/doc/classes/Cardboard/Page.html +1184 -0
- data/doc/classes/Cardboard/PagePart.html +304 -0
- data/doc/classes/Cardboard/PagesController.html +186 -0
- data/doc/classes/Cardboard/PublicHelper.html +252 -0
- data/doc/classes/Cardboard/Setting.html +240 -0
- data/doc/classes/Cardboard/SettingsController.html +184 -0
- data/doc/classes/Cardboard/SuperUserController.html +130 -0
- data/doc/classes/Cardboard/UsersController.html +191 -0
- data/doc/classes/DatePickerInput.html +132 -0
- data/doc/classes/ImageInput.html +76 -0
- data/doc/classes/Object.html +211 -0
- data/doc/classes/PagesController.html +145 -0
- data/doc/classes/RichTextInput.html +132 -0
- data/doc/created.rid +31 -0
- data/doc/css/github.css +129 -0
- data/doc/css/main.css +333 -0
- data/doc/css/panel.css +384 -0
- data/doc/css/reset.css +48 -0
- data/doc/favicon.ico +0 -0
- data/doc/files/app/controllers/cardboard/admin_controller_rb.html +79 -0
- data/doc/files/app/controllers/cardboard/application_controller_rb.html +84 -0
- data/doc/files/app/controllers/cardboard/dashboard_controller_rb.html +84 -0
- data/doc/files/app/controllers/cardboard/pages_controller_rb.html +84 -0
- data/doc/files/app/controllers/cardboard/settings_controller_rb.html +84 -0
- data/doc/files/app/controllers/cardboard/super_user_controller_rb.html +84 -0
- data/doc/files/app/controllers/cardboard/users_controller_rb.html +84 -0
- data/doc/files/app/controllers/pages_controller_rb.html +79 -0
- data/doc/files/app/decorators/controllers/application_controller_decorator_rb.html +68 -0
- data/doc/files/app/decorators/lib/cardboard/user_class_decorator_rb.html +68 -0
- data/doc/files/app/helpers/cardboard/admin_helper_rb.html +84 -0
- data/doc/files/app/helpers/cardboard/application_helper_rb.html +84 -0
- data/doc/files/app/helpers/cardboard/public_helper_rb.html +84 -0
- data/doc/files/app/inputs/date_picker_input_rb.html +79 -0
- data/doc/files/app/inputs/image_input_rb.html +79 -0
- data/doc/files/app/inputs/rich_text_input_rb.html +79 -0
- data/doc/files/app/models/cardboard/field/boolean_rb.html +84 -0
- data/doc/files/app/models/cardboard/field/date_rb.html +84 -0
- data/doc/files/app/models/cardboard/field/decimal_rb.html +84 -0
- data/doc/files/app/models/cardboard/field/external_link_rb.html +84 -0
- data/doc/files/app/models/cardboard/field/file_rb.html +84 -0
- data/doc/files/app/models/cardboard/field/image_rb.html +84 -0
- data/doc/files/app/models/cardboard/field/integer_rb.html +84 -0
- data/doc/files/app/models/cardboard/field/resource_link_rb.html +84 -0
- data/doc/files/app/models/cardboard/field/rich_text_rb.html +84 -0
- data/doc/files/app/models/cardboard/field/string_rb.html +84 -0
- data/doc/files/app/models/cardboard/field_rb.html +84 -0
- data/doc/files/app/models/cardboard/page_part_rb.html +84 -0
- data/doc/files/app/models/cardboard/page_rb.html +84 -0
- data/doc/files/app/models/cardboard/setting_rb.html +84 -0
- data/doc/i/arrows.png +0 -0
- data/doc/i/results_bg.png +0 -0
- data/doc/i/tree_bg.png +0 -0
- data/doc/index.html +13 -0
- data/doc/js/highlight.pack.js +1 -0
- data/doc/js/jquery-1.3.2.min.js +19 -0
- data/doc/js/jquery-effect.js +593 -0
- data/doc/js/main.js +24 -0
- data/doc/js/navigation.js +142 -0
- data/doc/js/search_index.js +1 -0
- data/doc/js/searchdoc.js +449 -0
- data/doc/js/searcher.js +228 -0
- data/doc/panel/index.html +73 -0
- data/doc/panel/links.html +66 -0
- data/doc/panel/tree.js +1 -0
- data/lib/cardboard/application.rb +67 -0
- data/lib/cardboard/engine.rb +83 -0
- data/lib/cardboard/helpers/seed.rb +80 -0
- data/lib/cardboard/helpers/settings.rb +58 -0
- data/lib/cardboard/version.rb +3 -0
- data/lib/cardboard_cms.rb +34 -0
- data/lib/generators/cardboard/assets/assets_generator.rb +18 -0
- data/lib/generators/cardboard/install/install_generator.rb +96 -0
- data/lib/generators/cardboard/install/templates/cardboard.rb.erb +53 -0
- data/lib/generators/cardboard/install/templates/cardboard.yml +29 -0
- data/lib/generators/cardboard/install/templates/index.html.erb +0 -0
- data/lib/generators/cardboard/install/templates/migrations/1_create_cardboard_fields.rb +21 -0
- data/lib/generators/cardboard/install/templates/migrations/2_create_cardboard_page_parts.rb +17 -0
- data/lib/generators/cardboard/install/templates/migrations/3_create_cardboard_pages.rb +18 -0
- data/lib/generators/cardboard/install/templates/migrations/4_create_cardboard_settings.rb +14 -0
- data/lib/generators/cardboard/resource/resource_generator.rb +52 -0
- data/lib/generators/cardboard/resource/templates/admin_controller.rb +9 -0
- data/lib/generators/cardboard/resource/templates/slim/_fields.html.slim +5 -0
- data/lib/generators/cardboard/resource/templates/slim/edit.html.slim +4 -0
- data/lib/generators/cardboard/resource/templates/slim/index.html.slim +18 -0
- data/lib/generators/cardboard/resource/templates/slim/new.html.slim +4 -0
- data/lib/tasks/cardboard_tasks.rake +22 -0
- data/lib/templates/erb/scaffold/_form.html.erb +13 -0
- data/script/rails +8 -0
- data/test/dummy/README.rdoc +261 -0
- data/test/dummy/Rakefile +7 -0
- data/test/dummy/app/assets/images/defaults/CrashTest.jpg +0 -0
- data/test/dummy/app/assets/javascripts/admins.js +2 -0
- data/test/dummy/app/assets/javascripts/application.js +5 -0
- data/test/dummy/app/assets/javascripts/beans.js +2 -0
- data/test/dummy/app/assets/javascripts/cardboard.js +1 -0
- data/test/dummy/app/assets/javascripts/icescreams.js +2 -0
- data/test/dummy/app/assets/javascripts/main.js +2 -0
- data/test/dummy/app/assets/javascripts/news_posts.js +2 -0
- data/test/dummy/app/assets/javascripts/pianos.js +2 -0
- data/test/dummy/app/assets/stylesheets/admins.css.scss +3 -0
- data/test/dummy/app/assets/stylesheets/application.css.scss +9 -0
- data/test/dummy/app/assets/stylesheets/beans.css.scss +3 -0
- data/test/dummy/app/assets/stylesheets/cardboard.css.scss +5 -0
- data/test/dummy/app/assets/stylesheets/icescreams.css.scss +3 -0
- data/test/dummy/app/assets/stylesheets/main.css +4 -0
- data/test/dummy/app/assets/stylesheets/news_posts.css.scss +3 -0
- data/test/dummy/app/assets/stylesheets/pianos.css.scss +3 -0
- data/test/dummy/app/assets/stylesheets/scaffolds.css.scss +69 -0
- data/test/dummy/app/controllers/application_controller.rb +3 -0
- data/test/dummy/app/controllers/cardboard/pianos_controller.rb +6 -0
- data/test/dummy/app/controllers/pianos_controller.rb +83 -0
- data/test/dummy/app/helpers/application_helper.rb +9 -0
- data/test/dummy/app/helpers/cardboard/pianos_helper.rb +7 -0
- data/test/dummy/app/mailers/.gitkeep +0 -0
- data/test/dummy/app/models/.gitkeep +0 -0
- data/test/dummy/app/models/admin_user.rb +28 -0
- data/test/dummy/app/models/piano.rb +3 -0
- data/test/dummy/app/views/cardboard/pianos/_fields.html.slim +5 -0
- data/test/dummy/app/views/cardboard/pianos/edit.html.slim +6 -0
- data/test/dummy/app/views/cardboard/pianos/index.html.slim +18 -0
- data/test/dummy/app/views/cardboard/pianos/new.html.slim +6 -0
- data/test/dummy/app/views/cardboard/pianos/show.html.slim +11 -0
- data/test/dummy/app/views/layouts/application.html.slim +24 -0
- data/test/dummy/app/views/main/index.html.slim +1 -0
- data/test/dummy/app/views/pages/about-us.html.slim +1 -0
- data/test/dummy/app/views/pages/home.html.slim +3 -0
- data/test/dummy/app/views/pianos/_form.html.erb +25 -0
- data/test/dummy/app/views/pianos/edit.html.erb +6 -0
- data/test/dummy/app/views/pianos/index.html.erb +25 -0
- data/test/dummy/app/views/pianos/new.html.erb +5 -0
- data/test/dummy/app/views/pianos/show.html.erb +15 -0
- data/test/dummy/config.ru +4 -0
- data/test/dummy/config/application.rb +50 -0
- data/test/dummy/config/boot.rb +10 -0
- data/test/dummy/config/cardboard.yml +126 -0
- data/test/dummy/config/database.yml +17 -0
- data/test/dummy/config/environment.rb +5 -0
- data/test/dummy/config/environments/development.rb +24 -0
- data/test/dummy/config/environments/production.rb +70 -0
- data/test/dummy/config/environments/test.rb +33 -0
- data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/test/dummy/config/initializers/cardboard.rb +53 -0
- data/test/dummy/config/initializers/devise.rb +240 -0
- data/test/dummy/config/initializers/inflections.rb +15 -0
- data/test/dummy/config/initializers/mime_types.rb +5 -0
- data/test/dummy/config/initializers/secret_token.rb +8 -0
- data/test/dummy/config/initializers/session_store.rb +8 -0
- data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/test/dummy/config/locales/devise.en.yml +59 -0
- data/test/dummy/config/locales/en.yml +5 -0
- data/test/dummy/config/routes.rb +16 -0
- data/test/dummy/db/migrate/20130403142235_create_pianos.rb +10 -0
- data/test/dummy/db/migrate/20130417134832_add_devise_to_admin_users.rb +53 -0
- data/test/dummy/db/migrate/20130426021522_create_news_posts.rb +10 -0
- data/test/dummy/db/migrate/20130501195423_create_icescreams.rb +10 -0
- data/test/dummy/db/migrate/20130502165540_create_beans.rb +12 -0
- data/test/dummy/db/migrate/20130522151358_create_cardboard_fields.rb +21 -0
- data/test/dummy/db/migrate/20130522151359_create_cardboard_page_parts.rb +17 -0
- data/test/dummy/db/migrate/20130522151400_create_cardboard_pages.rb +18 -0
- data/test/dummy/db/migrate/20130522151401_create_cardboard_settings.rb +14 -0
- data/test/dummy/db/migrate/20130607132558_create_admins.rb +9 -0
- data/test/dummy/db/schema.rb +129 -0
- data/test/dummy/db/seeds.rb +2 -0
- data/test/dummy/lib/assets/.gitkeep +0 -0
- data/test/dummy/log/.gitkeep +0 -0
- data/test/dummy/public/404.html +26 -0
- data/test/dummy/public/422.html +26 -0
- data/test/dummy/public/500.html +25 -0
- data/test/dummy/public/favicon.ico +0 -0
- data/test/dummy/public/system/dragonfly/development/2013/04/16/10_39_10_816_404_no_file.png +0 -0
- data/test/dummy/public/system/dragonfly/development/2013/04/16/10_39_10_816_404_no_file.png.meta +2 -0
- data/test/dummy/public/system/dragonfly/development/2013/04/16/10_39_17_87_404_no_file.png +0 -0
- data/test/dummy/public/system/dragonfly/development/2013/04/16/10_39_17_87_404_no_file.png.meta +2 -0
- data/test/dummy/public/system/dragonfly/development/2013/04/16/10_39_34_680_404_no_file.png +0 -0
- data/test/dummy/public/system/dragonfly/development/2013/04/16/10_39_34_680_404_no_file.png.meta +2 -0
- data/test/dummy/public/system/dragonfly/development/2013/04/16/10_44_00_698_404_no_file.png +0 -0
- data/test/dummy/public/system/dragonfly/development/2013/04/16/10_44_00_698_404_no_file.png.meta +2 -0
- data/test/dummy/public/system/dragonfly/development/2013/04/16/10_46_49_55_6152message_in_a_bottle.jpeg +0 -0
- data/test/dummy/public/system/dragonfly/development/2013/04/16/10_46_49_55_6152message_in_a_bottle.jpeg.meta +2 -0
- data/test/dummy/public/system/dragonfly/development/2013/04/16/14_10_30_773_404_no_file.png +0 -0
- data/test/dummy/public/system/dragonfly/development/2013/04/16/14_10_30_773_404_no_file.png.meta +2 -0
- data/test/dummy/public/system/dragonfly/development/2013/04/16/14_10_38_856_airport_shuttles_20130207_1647.csv +8 -0
- data/test/dummy/public/system/dragonfly/development/2013/04/16/14_10_38_856_airport_shuttles_20130207_1647.csv.meta +2 -0
- data/test/dummy/public/system/dragonfly/development/2013/04/16/14_12_12_144_1361696555_GMail_Android_R.png +0 -0
- data/test/dummy/public/system/dragonfly/development/2013/04/16/14_12_12_144_1361696555_GMail_Android_R.png.meta +2 -0
- data/test/dummy/public/system/dragonfly/development/2013/04/16/14_16_40_989_404_no_file.png +0 -0
- data/test/dummy/public/system/dragonfly/development/2013/04/16/14_16_40_989_404_no_file.png.meta +2 -0
- data/test/dummy/public/system/dragonfly/development/2013/04/16/14_19_19_40_6152message_in_a_bottle.jpeg +0 -0
- data/test/dummy/public/system/dragonfly/development/2013/04/16/14_19_19_40_6152message_in_a_bottle.jpeg.meta +2 -0
- data/test/dummy/public/system/dragonfly/development/2013/04/16/14_21_21_825_6152message_in_a_bottle.jpeg +0 -0
- data/test/dummy/public/system/dragonfly/development/2013/04/16/14_21_21_825_6152message_in_a_bottle.jpeg.meta +2 -0
- data/test/dummy/public/system/dragonfly/development/2013/04/16/15_46_33_341_bio.jpg +0 -0
- data/test/dummy/public/system/dragonfly/development/2013/04/16/15_46_33_341_bio.jpg.meta +2 -0
- data/test/dummy/public/system/dragonfly/development/2013/04/16/15_52_55_892_404_no_file.png +0 -0
- data/test/dummy/public/system/dragonfly/development/2013/04/16/15_52_55_892_404_no_file.png.meta +2 -0
- data/test/dummy/public/system/dragonfly/development/2013/04/16/15_52_56_30_404_no_file.png +0 -0
- data/test/dummy/public/system/dragonfly/development/2013/04/16/15_52_56_30_404_no_file.png.meta +2 -0
- data/test/dummy/public/system/dragonfly/development/2013/04/17/15_24_04_585_Sky_3920445.jpg +0 -0
- data/test/dummy/public/system/dragonfly/development/2013/04/17/15_24_04_585_Sky_3920445.jpg.meta +2 -0
- data/test/dummy/public/system/dragonfly/development/2013/04/17/15_25_41_111_Sky_3920445.jpg +0 -0
- data/test/dummy/public/system/dragonfly/development/2013/04/17/15_25_41_111_Sky_3920445.jpg.meta +2 -0
- data/test/dummy/public/system/dragonfly/development/2013/04/17/15_27_16_937_Sky_3920445.jpg +0 -0
- data/test/dummy/public/system/dragonfly/development/2013/04/17/15_27_16_937_Sky_3920445.jpg.meta +2 -0
- data/test/dummy/public/system/dragonfly/development/2013/04/17/15_27_57_585_Sky_3920445.jpg +0 -0
- data/test/dummy/public/system/dragonfly/development/2013/04/17/15_27_57_585_Sky_3920445.jpg.meta +2 -0
- data/test/dummy/public/system/dragonfly/development/2013/04/17/15_28_24_991_Sky_3920445.jpg +0 -0
- data/test/dummy/public/system/dragonfly/development/2013/04/17/15_28_24_991_Sky_3920445.jpg.meta +2 -0
- data/test/dummy/public/system/dragonfly/development/2013/04/17/15_33_30_610_Sky_3920445.jpg +0 -0
- data/test/dummy/public/system/dragonfly/development/2013/04/17/15_33_30_610_Sky_3920445.jpg.meta +2 -0
- data/test/dummy/public/system/dragonfly/development/2013/04/17/15_35_18_437_Sky_3920445.jpg +0 -0
- data/test/dummy/public/system/dragonfly/development/2013/04/17/15_35_18_437_Sky_3920445.jpg.meta +2 -0
- data/test/dummy/public/system/dragonfly/development/2013/04/17/16_45_07_162_Vehicle_Types.jpg +0 -0
- data/test/dummy/public/system/dragonfly/development/2013/04/17/16_45_07_162_Vehicle_Types.jpg.meta +2 -0
- data/test/dummy/public/system/dragonfly/development/2013/04/18/22_27_35_733_hall.jpg +0 -0
- data/test/dummy/public/system/dragonfly/development/2013/04/18/22_27_35_733_hall.jpg.meta +2 -0
- data/test/dummy/public/system/dragonfly/development/2013/04/18/22_29_15_808_fluidicon.png +0 -0
- data/test/dummy/public/system/dragonfly/development/2013/04/18/22_29_15_808_fluidicon.png.meta +2 -0
- data/test/dummy/public/system/dragonfly/development/2013/04/18/22_29_15_989_fluidicon.png +0 -0
- data/test/dummy/public/system/dragonfly/development/2013/04/18/22_29_15_989_fluidicon.png.meta +2 -0
- data/test/dummy/public/system/dragonfly/development/2013/04/19/09_54_44_881_hall3.jpg +0 -0
- data/test/dummy/public/system/dragonfly/development/2013/04/19/09_54_44_881_hall3.jpg.meta +2 -0
- data/test/dummy/public/system/dragonfly/development/2013/04/19/09_54_45_450_hall3.jpg +0 -0
- data/test/dummy/public/system/dragonfly/development/2013/04/19/09_54_45_450_hall3.jpg.meta +2 -0
- data/test/dummy/script/rails +6 -0
- data/test/dummy/test/fixtures/admins.yml +7 -0
- data/test/dummy/test/functional/admins_controller_test.rb +49 -0
- data/test/dummy/test/unit/admin_test.rb +7 -0
- data/test/dummy/test/unit/helpers/admins_helper_test.rb +4 -0
- data/test/factories.rb +47 -0
- data/test/integration/page_editing_test.rb +77 -0
- data/test/integration/seeding_test.rb +96 -0
- data/test/models/field_test.rb +102 -0
- data/test/models/page_test.rb +105 -0
- data/test/test_helper.rb +40 -0
- data/vendor/assets/javascripts/cardboard/bootstrap-select.js +590 -0
- data/vendor/assets/javascripts/cardboard/jquery.livesearch.js +48 -0
- data/vendor/assets/javascripts/cardboard/jquery.pjax.js +822 -0
- data/vendor/assets/javascripts/cardboard/jquery.wysihtml5_size_matters.js.coffee +44 -0
- data/vendor/assets/javascripts/cardboard/jquery.wysihtml5imgresizer.js +320 -0
- data/vendor/assets/javascripts/cardboard/wysihtml5-0.4.0pre.js +9579 -0
- metadata +1011 -0
@@ -0,0 +1,132 @@
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
2
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
3
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
4
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
5
|
+
<head>
|
6
|
+
<title>RichTextInput</title>
|
7
|
+
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
8
|
+
<link rel="stylesheet" href="../css/reset.css" type="text/css" media="screen" />
|
9
|
+
<link rel="stylesheet" href="../css/main.css" type="text/css" media="screen" />
|
10
|
+
<link rel="stylesheet" href="../css/github.css" type="text/css" media="screen" />
|
11
|
+
<script src="../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
|
12
|
+
<script src="../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
|
13
|
+
<script src="../js/main.js" type="text/javascript" charset="utf-8"></script>
|
14
|
+
<script src="../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>
|
15
|
+
|
16
|
+
</head>
|
17
|
+
|
18
|
+
<body>
|
19
|
+
<div class="banner">
|
20
|
+
|
21
|
+
<h1>
|
22
|
+
<span class="type">Class</span>
|
23
|
+
RichTextInput
|
24
|
+
|
25
|
+
<span class="parent"><
|
26
|
+
|
27
|
+
SimpleForm::Inputs::TextInput
|
28
|
+
|
29
|
+
</span>
|
30
|
+
|
31
|
+
</h1>
|
32
|
+
<ul class="files">
|
33
|
+
|
34
|
+
<li><a href="../files/app/inputs/rich_text_input_rb.html">app/inputs/rich_text_input.rb</a></li>
|
35
|
+
|
36
|
+
</ul>
|
37
|
+
</div>
|
38
|
+
<div id="bodyContent">
|
39
|
+
<div id="content">
|
40
|
+
|
41
|
+
|
42
|
+
|
43
|
+
|
44
|
+
|
45
|
+
|
46
|
+
|
47
|
+
|
48
|
+
|
49
|
+
|
50
|
+
|
51
|
+
|
52
|
+
|
53
|
+
|
54
|
+
<!-- Method ref -->
|
55
|
+
<div class="sectiontitle">Methods</div>
|
56
|
+
<dl class="methods">
|
57
|
+
|
58
|
+
<dt>I</dt>
|
59
|
+
<dd>
|
60
|
+
<ul>
|
61
|
+
|
62
|
+
|
63
|
+
<li>
|
64
|
+
<a href="#method-i-input">input</a>
|
65
|
+
</li>
|
66
|
+
|
67
|
+
</ul>
|
68
|
+
</dd>
|
69
|
+
|
70
|
+
</dl>
|
71
|
+
|
72
|
+
|
73
|
+
|
74
|
+
|
75
|
+
|
76
|
+
|
77
|
+
|
78
|
+
|
79
|
+
|
80
|
+
|
81
|
+
|
82
|
+
|
83
|
+
|
84
|
+
|
85
|
+
|
86
|
+
|
87
|
+
|
88
|
+
|
89
|
+
<!-- Methods -->
|
90
|
+
|
91
|
+
<div class="sectiontitle">Instance Public methods</div>
|
92
|
+
|
93
|
+
<div class="method">
|
94
|
+
<div class="title method-title" id="method-i-input">
|
95
|
+
|
96
|
+
<b>input</b>()
|
97
|
+
|
98
|
+
<a href="../classes/RichTextInput.html#method-i-input" name="method-i-input" class="permalink">Link</a>
|
99
|
+
</div>
|
100
|
+
|
101
|
+
|
102
|
+
<div class="description">
|
103
|
+
|
104
|
+
</div>
|
105
|
+
|
106
|
+
|
107
|
+
|
108
|
+
|
109
|
+
|
110
|
+
|
111
|
+
<div class="sourcecode">
|
112
|
+
|
113
|
+
<p class="source-link">
|
114
|
+
Source:
|
115
|
+
<a href="javascript:toggleSource('method-i-input_source')" id="l_method-i-input_source">show</a>
|
116
|
+
|
117
|
+
</p>
|
118
|
+
<div id="method-i-input_source" class="dyn-source">
|
119
|
+
<pre><span class="ruby-comment"># File app/inputs/rich_text_input.rb, line 2</span>
|
120
|
+
<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">input</span>
|
121
|
+
<span class="ruby-identifier">input_html_options</span>[<span class="ruby-value">:class</span>] <span class="ruby-operator">+=</span> [<span class="ruby-value">:wysihtml5</span>]
|
122
|
+
<span class="ruby-ivar">@builder</span>.<span class="ruby-identifier">text_area</span>(<span class="ruby-identifier">attribute_name</span>, <span class="ruby-identifier">input_html_options</span>)
|
123
|
+
<span class="ruby-keyword">end</span></pre>
|
124
|
+
</div>
|
125
|
+
</div>
|
126
|
+
|
127
|
+
</div>
|
128
|
+
</div>
|
129
|
+
|
130
|
+
</div>
|
131
|
+
</body>
|
132
|
+
</html>
|
data/doc/created.rid
ADDED
@@ -0,0 +1,31 @@
|
|
1
|
+
Fri, 14 Jun 2013 14:59:07 -0400
|
2
|
+
app/controllers/cardboard/admin_controller.rb Tue, 11 Jun 2013 09:23:36 -0400
|
3
|
+
app/controllers/cardboard/application_controller.rb Wed, 22 May 2013 12:17:57 -0400
|
4
|
+
app/controllers/cardboard/dashboard_controller.rb Tue, 21 May 2013 16:34:24 -0400
|
5
|
+
app/controllers/cardboard/pages_controller.rb Wed, 22 May 2013 11:48:49 -0400
|
6
|
+
app/controllers/cardboard/settings_controller.rb Wed, 22 May 2013 12:22:05 -0400
|
7
|
+
app/controllers/cardboard/super_user_controller.rb Tue, 21 May 2013 16:34:11 -0400
|
8
|
+
app/controllers/cardboard/users_controller.rb Tue, 21 May 2013 16:33:48 -0400
|
9
|
+
app/controllers/pages_controller.rb Tue, 11 Jun 2013 12:06:46 -0400
|
10
|
+
app/decorators/controllers/application_controller_decorator.rb Tue, 21 May 2013 13:25:08 -0400
|
11
|
+
app/decorators/lib/cardboard/user_class_decorator.rb Wed, 22 May 2013 11:25:08 -0400
|
12
|
+
app/helpers/cardboard/admin_helper.rb Mon, 10 Jun 2013 16:23:05 -0400
|
13
|
+
app/helpers/cardboard/application_helper.rb Wed, 01 May 2013 14:51:08 -0400
|
14
|
+
app/helpers/cardboard/public_helper.rb Mon, 06 May 2013 15:59:02 -0400
|
15
|
+
app/inputs/date_picker_input.rb Thu, 02 May 2013 10:45:47 -0400
|
16
|
+
app/inputs/image_input.rb Sun, 28 Apr 2013 15:14:45 -0400
|
17
|
+
app/inputs/rich_text_input.rb Wed, 08 May 2013 16:21:14 -0400
|
18
|
+
app/models/cardboard/field/boolean.rb Mon, 13 May 2013 09:37:08 -0400
|
19
|
+
app/models/cardboard/field/date.rb Mon, 13 May 2013 09:38:52 -0400
|
20
|
+
app/models/cardboard/field/decimal.rb Mon, 13 May 2013 09:39:28 -0400
|
21
|
+
app/models/cardboard/field/external_link.rb Mon, 13 May 2013 09:41:01 -0400
|
22
|
+
app/models/cardboard/field/file.rb Mon, 13 May 2013 14:12:51 -0400
|
23
|
+
app/models/cardboard/field/image.rb Mon, 13 May 2013 15:18:27 -0400
|
24
|
+
app/models/cardboard/field/integer.rb Mon, 13 May 2013 09:44:34 -0400
|
25
|
+
app/models/cardboard/field/resource_link.rb Mon, 13 May 2013 10:31:18 -0400
|
26
|
+
app/models/cardboard/field/rich_text.rb Mon, 13 May 2013 09:44:54 -0400
|
27
|
+
app/models/cardboard/field/string.rb Mon, 13 May 2013 10:10:53 -0400
|
28
|
+
app/models/cardboard/field.rb Mon, 13 May 2013 14:23:32 -0400
|
29
|
+
app/models/cardboard/page.rb Fri, 31 May 2013 11:51:20 -0400
|
30
|
+
app/models/cardboard/page_part.rb Thu, 13 Jun 2013 12:43:44 -0400
|
31
|
+
app/models/cardboard/setting.rb Wed, 15 May 2013 09:34:02 -0400
|
data/doc/css/github.css
ADDED
@@ -0,0 +1,129 @@
|
|
1
|
+
/*
|
2
|
+
|
3
|
+
github.com style (c) Vasily Polovnyov <vast@whiteants.net>
|
4
|
+
|
5
|
+
*/
|
6
|
+
|
7
|
+
pre code {
|
8
|
+
display: block; padding: 0.5em;
|
9
|
+
color: #000;
|
10
|
+
background: #f8f8ff
|
11
|
+
}
|
12
|
+
|
13
|
+
pre .comment,
|
14
|
+
pre .template_comment,
|
15
|
+
pre .diff .header,
|
16
|
+
pre .javadoc {
|
17
|
+
color: #998;
|
18
|
+
font-style: italic
|
19
|
+
}
|
20
|
+
|
21
|
+
pre .keyword,
|
22
|
+
pre .css .rule .keyword,
|
23
|
+
pre .winutils,
|
24
|
+
pre .javascript .title,
|
25
|
+
pre .lisp .title,
|
26
|
+
pre .subst {
|
27
|
+
color: #000;
|
28
|
+
font-weight: bold
|
29
|
+
}
|
30
|
+
|
31
|
+
pre .number,
|
32
|
+
pre .hexcolor {
|
33
|
+
color: #40a070
|
34
|
+
}
|
35
|
+
|
36
|
+
pre .string,
|
37
|
+
pre .tag .value,
|
38
|
+
pre .phpdoc,
|
39
|
+
pre .tex .formula {
|
40
|
+
color: #d14
|
41
|
+
}
|
42
|
+
|
43
|
+
pre .title,
|
44
|
+
pre .id {
|
45
|
+
color: #900;
|
46
|
+
font-weight: bold
|
47
|
+
}
|
48
|
+
|
49
|
+
pre .javascript .title,
|
50
|
+
pre .lisp .title,
|
51
|
+
pre .subst {
|
52
|
+
font-weight: normal
|
53
|
+
}
|
54
|
+
|
55
|
+
pre .class .title,
|
56
|
+
pre .haskell .label,
|
57
|
+
pre .tex .command {
|
58
|
+
color: #458;
|
59
|
+
font-weight: bold
|
60
|
+
}
|
61
|
+
|
62
|
+
pre .tag,
|
63
|
+
pre .tag .title,
|
64
|
+
pre .rules .property,
|
65
|
+
pre .django .tag .keyword {
|
66
|
+
color: #000080;
|
67
|
+
font-weight: normal
|
68
|
+
}
|
69
|
+
|
70
|
+
pre .attribute,
|
71
|
+
pre .variable,
|
72
|
+
pre .instancevar,
|
73
|
+
pre .lisp .body {
|
74
|
+
color: #008080
|
75
|
+
}
|
76
|
+
|
77
|
+
pre .regexp {
|
78
|
+
color: #009926
|
79
|
+
}
|
80
|
+
|
81
|
+
pre .class {
|
82
|
+
color: #458;
|
83
|
+
font-weight: bold
|
84
|
+
}
|
85
|
+
|
86
|
+
pre .symbol,
|
87
|
+
pre .ruby .symbol .string,
|
88
|
+
pre .ruby .symbol .keyword,
|
89
|
+
pre .ruby .symbol .keymethods,
|
90
|
+
pre .lisp .keyword,
|
91
|
+
pre .tex .special,
|
92
|
+
pre .input_number {
|
93
|
+
color: #990073
|
94
|
+
}
|
95
|
+
|
96
|
+
pre .builtin,
|
97
|
+
pre .built_in,
|
98
|
+
pre .lisp .title {
|
99
|
+
color: #0086b3
|
100
|
+
}
|
101
|
+
|
102
|
+
pre .preprocessor,
|
103
|
+
pre .pi,
|
104
|
+
pre .doctype,
|
105
|
+
pre .shebang,
|
106
|
+
pre .cdata {
|
107
|
+
color: #999;
|
108
|
+
font-weight: bold
|
109
|
+
}
|
110
|
+
|
111
|
+
pre .deletion {
|
112
|
+
background: #fdd
|
113
|
+
}
|
114
|
+
|
115
|
+
pre .addition {
|
116
|
+
background: #dfd
|
117
|
+
}
|
118
|
+
|
119
|
+
pre .diff .change {
|
120
|
+
background: #0086b3
|
121
|
+
}
|
122
|
+
|
123
|
+
pre .chunk {
|
124
|
+
color: #aaa
|
125
|
+
}
|
126
|
+
|
127
|
+
pre .tex .formula {
|
128
|
+
opacity: 0.5;
|
129
|
+
}
|
data/doc/css/main.css
ADDED
@@ -0,0 +1,333 @@
|
|
1
|
+
body {
|
2
|
+
font-family: "Helvetica Neue", Arial, sans-serif;
|
3
|
+
background: #FFF;
|
4
|
+
color: #000;
|
5
|
+
margin: 0px;
|
6
|
+
font-size: 0.82em;
|
7
|
+
line-height: 1.25em;
|
8
|
+
}
|
9
|
+
|
10
|
+
a {
|
11
|
+
color: #00F;
|
12
|
+
text-decoration: none;
|
13
|
+
}
|
14
|
+
|
15
|
+
a:hover {
|
16
|
+
color: #333;
|
17
|
+
background: #FE8;
|
18
|
+
}
|
19
|
+
|
20
|
+
p {
|
21
|
+
margin-bottom: 1em;
|
22
|
+
}
|
23
|
+
|
24
|
+
h1 {
|
25
|
+
font-size: 2.1em;
|
26
|
+
font-weight: normal;
|
27
|
+
line-height: 1.2em;
|
28
|
+
margin: 1.4em 0 0.7em 0;
|
29
|
+
}
|
30
|
+
|
31
|
+
h2 {
|
32
|
+
font-size: 1.6em;
|
33
|
+
margin: 1.8em 0 0.8em 0;
|
34
|
+
font-weight: normal;
|
35
|
+
line-height: 1.2em;
|
36
|
+
}
|
37
|
+
|
38
|
+
h3 {
|
39
|
+
font-size: 1.4em;
|
40
|
+
color:#555;
|
41
|
+
margin: 1.4em 0 0.7em 0;
|
42
|
+
font-weight: normal;
|
43
|
+
}
|
44
|
+
|
45
|
+
h4 {
|
46
|
+
margin: 1.4em 0 0.5em 0;
|
47
|
+
font-size: 1em;
|
48
|
+
}
|
49
|
+
|
50
|
+
table
|
51
|
+
{
|
52
|
+
margin-bottom: 1em;
|
53
|
+
}
|
54
|
+
|
55
|
+
td, th
|
56
|
+
{
|
57
|
+
padding: 0 0.7em 0.3em 0;
|
58
|
+
}
|
59
|
+
|
60
|
+
th
|
61
|
+
{
|
62
|
+
font-weight: bold;
|
63
|
+
}
|
64
|
+
|
65
|
+
.clear
|
66
|
+
{
|
67
|
+
clear: both;
|
68
|
+
width: 0; height: 0;
|
69
|
+
}
|
70
|
+
|
71
|
+
dt
|
72
|
+
{
|
73
|
+
margin-bottom: 0.3em;
|
74
|
+
font-weight: bold;
|
75
|
+
}
|
76
|
+
|
77
|
+
dd
|
78
|
+
{
|
79
|
+
margin-left: 2em;
|
80
|
+
margin-bottom: 1em;
|
81
|
+
}
|
82
|
+
|
83
|
+
dd p
|
84
|
+
{
|
85
|
+
margin-top: 0.6em;
|
86
|
+
}
|
87
|
+
|
88
|
+
li
|
89
|
+
{
|
90
|
+
margin: 0 0 0.5em 2em;
|
91
|
+
}
|
92
|
+
|
93
|
+
ul li
|
94
|
+
{
|
95
|
+
list-style: disc;
|
96
|
+
}
|
97
|
+
|
98
|
+
ol li
|
99
|
+
{
|
100
|
+
list-style: decimal;
|
101
|
+
}
|
102
|
+
|
103
|
+
.banner
|
104
|
+
{
|
105
|
+
background: #EDF3FE;
|
106
|
+
border-bottom: 1px solid #ccc;
|
107
|
+
padding: 1em 2em 0.5em 2em;
|
108
|
+
}
|
109
|
+
.banner h1
|
110
|
+
{
|
111
|
+
font-size: 1.2em;
|
112
|
+
margin: 0;
|
113
|
+
}
|
114
|
+
|
115
|
+
.banner h1 .type
|
116
|
+
{
|
117
|
+
font-size: 0.833em;
|
118
|
+
display:block;
|
119
|
+
}
|
120
|
+
|
121
|
+
.banner h1 .type,
|
122
|
+
.banner h1 .parent
|
123
|
+
{
|
124
|
+
color: #666;
|
125
|
+
}
|
126
|
+
|
127
|
+
.banner ul
|
128
|
+
{
|
129
|
+
margin-top: 0.3em;
|
130
|
+
margin-bottom: 0;
|
131
|
+
font-size: 0.85em;
|
132
|
+
}
|
133
|
+
|
134
|
+
.banner li
|
135
|
+
{
|
136
|
+
list-style: none;
|
137
|
+
margin-left: 0;
|
138
|
+
margin-bottom: 0;
|
139
|
+
}
|
140
|
+
|
141
|
+
pre
|
142
|
+
{
|
143
|
+
margin-bottom: 1em;
|
144
|
+
}
|
145
|
+
|
146
|
+
.methods dt
|
147
|
+
{
|
148
|
+
width: 1em;
|
149
|
+
font-size: 1.5em;
|
150
|
+
color:#AAA;
|
151
|
+
position: absolute;
|
152
|
+
font-weight: normal;
|
153
|
+
margin: 0;
|
154
|
+
}
|
155
|
+
|
156
|
+
.methods dd
|
157
|
+
{
|
158
|
+
margin-left: 2.5em;
|
159
|
+
min-height: 1.8em;
|
160
|
+
-height: 1.8em;
|
161
|
+
padding-bottom: 0.8em;
|
162
|
+
}
|
163
|
+
|
164
|
+
|
165
|
+
.methods ul li
|
166
|
+
{
|
167
|
+
margin-right: 0.7em;
|
168
|
+
margin-left: 0;
|
169
|
+
list-style: none;
|
170
|
+
display: inline;
|
171
|
+
}
|
172
|
+
|
173
|
+
#content {
|
174
|
+
margin: 2em;
|
175
|
+
margin-left: 3.5em;
|
176
|
+
margin-right: 3.5em;
|
177
|
+
}
|
178
|
+
|
179
|
+
|
180
|
+
.sectiontitle {
|
181
|
+
margin-top: 2em;
|
182
|
+
margin-bottom: 1.3em;
|
183
|
+
margin-left: -1.2em;
|
184
|
+
font-size: 1.2em;
|
185
|
+
padding: 0 0 0.25em 0;
|
186
|
+
font-weight: bold;
|
187
|
+
border-bottom: 1px solid #000;
|
188
|
+
}
|
189
|
+
|
190
|
+
.contenttitle {
|
191
|
+
margin-top: 4em;
|
192
|
+
margin-bottom: 1.3em;
|
193
|
+
margin-left: -0.9em;
|
194
|
+
font-size: 1.6em;
|
195
|
+
padding: 0 0 0.25em 0;
|
196
|
+
font-weight: bold;
|
197
|
+
}
|
198
|
+
|
199
|
+
.attr-rw {
|
200
|
+
padding-right: 1em;
|
201
|
+
text-align: center;
|
202
|
+
color: #055;
|
203
|
+
}
|
204
|
+
|
205
|
+
.attr-name {
|
206
|
+
font-weight: bold;
|
207
|
+
padding-right: 1em;
|
208
|
+
}
|
209
|
+
|
210
|
+
.attr-desc {
|
211
|
+
}
|
212
|
+
|
213
|
+
tt {
|
214
|
+
font-size: 1.15em;
|
215
|
+
}
|
216
|
+
|
217
|
+
.attr-value {
|
218
|
+
font-family: monospace;
|
219
|
+
padding-left: 1em;
|
220
|
+
font-size: 1.15em;
|
221
|
+
}
|
222
|
+
|
223
|
+
.dyn-source {
|
224
|
+
display: none;
|
225
|
+
background: #fffde8;
|
226
|
+
color: #000;
|
227
|
+
border: #ffe0bb dotted 1px;
|
228
|
+
margin: 0.5em 2em 0.5em 0;
|
229
|
+
padding: 0.5em;
|
230
|
+
}
|
231
|
+
|
232
|
+
.dyn-source .cmt {
|
233
|
+
color: #00F;
|
234
|
+
font-style: italic;
|
235
|
+
}
|
236
|
+
|
237
|
+
.dyn-source .kw {
|
238
|
+
color: #070;
|
239
|
+
font-weight: bold;
|
240
|
+
}
|
241
|
+
|
242
|
+
.description pre {
|
243
|
+
padding: 0.5em;
|
244
|
+
border: #ffe0bb dotted 1px;
|
245
|
+
background: #fffde8;
|
246
|
+
}
|
247
|
+
|
248
|
+
.method {
|
249
|
+
margin-bottom: 2em;
|
250
|
+
}
|
251
|
+
.method .description,
|
252
|
+
.method .sourcecode
|
253
|
+
{
|
254
|
+
margin-left: 1.2em;
|
255
|
+
}
|
256
|
+
.method h4
|
257
|
+
{
|
258
|
+
border-bottom: 1px dotted #999;
|
259
|
+
padding: 0 0 0.2em 0;
|
260
|
+
margin-bottom: 0.8em;
|
261
|
+
font-size: 1.1em;
|
262
|
+
color:#333;
|
263
|
+
}
|
264
|
+
.method .method-title {
|
265
|
+
border-bottom: 1px dotted #666;
|
266
|
+
padding: 0 0 0.15em 0;
|
267
|
+
margin: 0 0 0.5em 0;
|
268
|
+
font-size: 1.2em;
|
269
|
+
line-height: 1.25em;
|
270
|
+
position: relative;
|
271
|
+
}
|
272
|
+
|
273
|
+
.method .method-title a.permalink {
|
274
|
+
position: absolute;
|
275
|
+
font-size: 0.75em;
|
276
|
+
right: 0;
|
277
|
+
}
|
278
|
+
|
279
|
+
.method .sourcecode p.source-link {
|
280
|
+
text-indent: 0em;
|
281
|
+
margin-top: 0.5em;
|
282
|
+
}
|
283
|
+
|
284
|
+
.method .aka {
|
285
|
+
margin-top: 0.3em;
|
286
|
+
margin-left: 1em;
|
287
|
+
font-style: italic;
|
288
|
+
text-indent: 2em;
|
289
|
+
}
|
290
|
+
|
291
|
+
.method .source-link
|
292
|
+
{
|
293
|
+
font-size: 0.85em;
|
294
|
+
}
|
295
|
+
|
296
|
+
.ruby-constant {
|
297
|
+
color: teal;
|
298
|
+
}
|
299
|
+
.ruby-keyword {
|
300
|
+
color: #000;
|
301
|
+
font-weight: bold
|
302
|
+
}
|
303
|
+
.ruby-title {
|
304
|
+
color: #900;
|
305
|
+
font-weight: bold;
|
306
|
+
}
|
307
|
+
.ruby-ivar {
|
308
|
+
color: teal;
|
309
|
+
}
|
310
|
+
.ruby-operator {
|
311
|
+
color: #000;
|
312
|
+
font-weight: bold
|
313
|
+
}
|
314
|
+
.ruby-identifier {
|
315
|
+
color: #000;
|
316
|
+
}
|
317
|
+
.ruby-string,
|
318
|
+
.ruby-node {
|
319
|
+
color: #D14;
|
320
|
+
}
|
321
|
+
.ruby-comment {
|
322
|
+
color: #998;
|
323
|
+
font-style: italic;
|
324
|
+
}
|
325
|
+
.ruby-regexp {
|
326
|
+
color: #009926;
|
327
|
+
}
|
328
|
+
.ruby-value {
|
329
|
+
color: #990073;
|
330
|
+
}
|
331
|
+
.ruby-number {
|
332
|
+
color: #40A070;
|
333
|
+
}
|