locomotive_cms 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +45 -0
- data/README.textile +23 -0
- data/app/controllers/admin/accounts_controller.rb +24 -0
- data/app/controllers/admin/asset_collections_controller.rb +66 -0
- data/app/controllers/admin/assets_controller.rb +48 -0
- data/app/controllers/admin/base_controller.rb +55 -0
- data/app/controllers/admin/content_types_controller.rb +52 -0
- data/app/controllers/admin/contents_controller.rb +72 -0
- data/app/controllers/admin/current_sites_controller.rb +33 -0
- data/app/controllers/admin/layouts_controller.rb +56 -0
- data/app/controllers/admin/memberships_controller.rb +39 -0
- data/app/controllers/admin/my_accounts_controller.rb +21 -0
- data/app/controllers/admin/page_parts_controller.rb +12 -0
- data/app/controllers/admin/pages_controller.rb +70 -0
- data/app/controllers/admin/passwords_controller.rb +11 -0
- data/app/controllers/admin/rendering_controller.rb +15 -0
- data/app/controllers/admin/sessions_controller.rb +17 -0
- data/app/controllers/admin/sites_controller.rb +48 -0
- data/app/controllers/admin/snippets_controller.rb +56 -0
- data/app/controllers/admin/theme_assets_controller.rb +79 -0
- data/app/controllers/application_controller.rb +3 -0
- data/app/controllers/home_controller.rb +7 -0
- data/app/helpers/admin/accounts_helper.rb +8 -0
- data/app/helpers/admin/assets_helper.rb +15 -0
- data/app/helpers/admin/base_helper.rb +54 -0
- data/app/helpers/admin/custom_fields_helper.rb +24 -0
- data/app/helpers/admin/login_helper.rb +17 -0
- data/app/helpers/admin/pages_helper.rb +23 -0
- data/app/helpers/admin/sites_helper.rb +24 -0
- data/app/models/account.rb +46 -0
- data/app/models/asset.rb +38 -0
- data/app/models/asset_collection.rb +60 -0
- data/app/models/content_instance.rb +29 -0
- data/app/models/content_type.rb +63 -0
- data/app/models/extensions/asset/vignette.rb +40 -0
- data/app/models/extensions/page/parts.rb +54 -0
- data/app/models/extensions/page/render.rb +19 -0
- data/app/models/extensions/page/tree.rb +97 -0
- data/app/models/layout.rb +49 -0
- data/app/models/liquid_template.rb +32 -0
- data/app/models/membership.rb +36 -0
- data/app/models/page.rb +87 -0
- data/app/models/page_part.rb +38 -0
- data/app/models/site.rb +93 -0
- data/app/models/snippet.rb +3 -0
- data/app/models/theme_asset.rb +101 -0
- data/app/uploaders/asset_uploader.rb +68 -0
- data/app/uploaders/theme_asset_uploader.rb +42 -0
- data/app/views/admin/accounts/new.html.haml +22 -0
- data/app/views/admin/asset_collections/_asset.html.haml +7 -0
- data/app/views/admin/asset_collections/edit.html.haml +30 -0
- data/app/views/admin/asset_collections/index.html.haml +8 -0
- data/app/views/admin/asset_collections/new.html.haml +17 -0
- data/app/views/admin/assets/_form.html.haml +18 -0
- data/app/views/admin/assets/edit.html.haml +15 -0
- data/app/views/admin/assets/new.html.haml +12 -0
- data/app/views/admin/content_types/_form.html.haml +13 -0
- data/app/views/admin/content_types/edit.html.haml +16 -0
- data/app/views/admin/content_types/new.html.haml +15 -0
- data/app/views/admin/contents/_form.html.haml +10 -0
- data/app/views/admin/contents/edit.html.haml +16 -0
- data/app/views/admin/contents/index.html.haml +35 -0
- data/app/views/admin/contents/new.html.haml +15 -0
- data/app/views/admin/current_sites/_form.html.haml +45 -0
- data/app/views/admin/current_sites/edit.html.haml +15 -0
- data/app/views/admin/layouts/_form.html.haml +10 -0
- data/app/views/admin/layouts/_layout.html.haml +7 -0
- data/app/views/admin/layouts/edit.html.haml +18 -0
- data/app/views/admin/layouts/index.html.haml +15 -0
- data/app/views/admin/layouts/new.html.haml +15 -0
- data/app/views/admin/memberships/new.html.haml +15 -0
- data/app/views/admin/my_accounts/edit.html.haml +42 -0
- data/app/views/admin/pages/_form.html.haml +37 -0
- data/app/views/admin/pages/_page.html.haml +16 -0
- data/app/views/admin/pages/edit.html.haml +15 -0
- data/app/views/admin/pages/index.html.haml +18 -0
- data/app/views/admin/pages/new.html.haml +12 -0
- data/app/views/admin/passwords/edit.html.haml +18 -0
- data/app/views/admin/passwords/new.html.haml +17 -0
- data/app/views/admin/sessions/new.html.haml +15 -0
- data/app/views/admin/shared/_custom_fields.html.haml +47 -0
- data/app/views/admin/shared/_footer.html.haml +5 -0
- data/app/views/admin/shared/_form_actions.html.haml +15 -0
- data/app/views/admin/shared/_head.html.haml +18 -0
- data/app/views/admin/shared/_header.html.haml +8 -0
- data/app/views/admin/shared/_menu.html.haml +5 -0
- data/app/views/admin/shared/menu/_assets.html.haml +7 -0
- data/app/views/admin/shared/menu/_contents.html.haml +27 -0
- data/app/views/admin/shared/menu/_settings.html.haml +6 -0
- data/app/views/admin/sites/_form.html.haml +35 -0
- data/app/views/admin/sites/new.html.haml +12 -0
- data/app/views/admin/snippets/_form.html.haml +11 -0
- data/app/views/admin/snippets/_snippet.html.haml +7 -0
- data/app/views/admin/snippets/edit.html.haml +15 -0
- data/app/views/admin/snippets/index.html.haml +15 -0
- data/app/views/admin/snippets/new.html.haml +12 -0
- data/app/views/admin/theme_assets/_asset.html.haml +12 -0
- data/app/views/admin/theme_assets/_form.html.haml +39 -0
- data/app/views/admin/theme_assets/edit.html.haml +15 -0
- data/app/views/admin/theme_assets/images.html.haml +15 -0
- data/app/views/admin/theme_assets/index.html.haml +27 -0
- data/app/views/admin/theme_assets/new.html.haml +12 -0
- data/app/views/devise/confirmations/new.html.haml +12 -0
- data/app/views/devise/mailer/confirmation_instructions.html.haml +8 -0
- data/app/views/devise/mailer/reset_password_instructions.html.haml +12 -0
- data/app/views/devise/mailer/unlock_instructions.html.haml +10 -0
- data/app/views/devise/registrations/edit.html.haml +35 -0
- data/app/views/devise/registrations/new.html.haml +20 -0
- data/app/views/devise/sessions/new.html.haml +22 -0
- data/app/views/devise/shared/_links.haml +20 -0
- data/app/views/devise/unlocks/new.html.haml +12 -0
- data/app/views/home/show.html.haml +4 -0
- data/app/views/layouts/admin/application.html.haml +26 -0
- data/app/views/layouts/admin/login.html.haml +17 -0
- data/app/views/layouts/application.html.haml +7 -0
- data/config/application.rb +48 -0
- data/config/boot.rb +17 -0
- data/config/cucumber.yml +8 -0
- data/config/database.yml +20 -0
- data/config/environment.rb +5 -0
- data/config/environments/development.rb +35 -0
- data/config/environments/production.rb +33 -0
- data/config/environments/test.rb +33 -0
- data/config/initializers/backtrace_silencers.rb +7 -0
- data/config/initializers/carrierwave.rb +57 -0
- data/config/initializers/devise.rb +119 -0
- data/config/initializers/formtastic.rb +5 -0
- data/config/initializers/inflections.rb +10 -0
- data/config/initializers/locomotive.rb +7 -0
- data/config/initializers/mime_types.rb +5 -0
- data/config/initializers/mongoid.rb +61 -0
- data/config/initializers/rspec_generator.rb +8 -0
- data/config/locales/admin_ui_en.yml +211 -0
- data/config/locales/admin_ui_fr.yml +21 -0
- data/config/locales/carrierwave_en.yml +4 -0
- data/config/locales/carrierwave_fr.yml +4 -0
- data/config/locales/default_en.yml +29 -0
- data/config/locales/default_fr.yml +30 -0
- data/config/locales/devise.en.yml +36 -0
- data/config/routes.rb +57 -0
- data/lib/core_ext.rb +32 -0
- data/lib/generators/locomotive_generator.rb +14 -0
- data/lib/locomotive.rb +35 -0
- data/lib/locomotive/configuration.rb +67 -0
- data/lib/locomotive/devise/sessions_controller.rb +2 -0
- data/lib/locomotive/engine.rb +21 -0
- data/lib/locomotive/liquid.rb +5 -0
- data/lib/locomotive/liquid/db_file_system.rb +18 -0
- data/lib/locomotive/liquid/drops/asset_collections.rb +19 -0
- data/lib/locomotive/liquid/drops/base.rb +50 -0
- data/lib/locomotive/liquid/drops/content.rb +19 -0
- data/lib/locomotive/liquid/drops/contents.rb +63 -0
- data/lib/locomotive/liquid/drops/javascripts.rb +18 -0
- data/lib/locomotive/liquid/drops/stylesheets.rb +19 -0
- data/lib/locomotive/liquid/filters/date.rb +30 -0
- data/lib/locomotive/liquid/filters/html.rb +114 -0
- data/lib/locomotive/liquid/filters/misc.rb +30 -0
- data/lib/locomotive/liquid/liquify_template.rb +57 -0
- data/lib/locomotive/liquid/tags/blueprint.rb +21 -0
- data/lib/locomotive/liquid/tags/jquery.rb +17 -0
- data/lib/locomotive/liquid/tags/paginate.rb +100 -0
- data/lib/locomotive/liquid/tags/snippet.rb +42 -0
- data/lib/locomotive/liquid/tags/with_scope.rb +39 -0
- data/lib/locomotive/mongoid.rb +2 -0
- data/lib/locomotive/mongoid/document.rb +20 -0
- data/lib/locomotive/mongoid/model_extensions.rb +1 -0
- data/lib/locomotive/patches.rb +2 -0
- data/lib/locomotive/regexps.rb +13 -0
- data/lib/locomotive/render.rb +59 -0
- data/lib/locomotive/routing/default_constraint.rb +45 -0
- data/lib/locomotive/routing/site_dispatcher.rb +48 -0
- data/lib/misc_form_builder.rb +35 -0
- data/lib/tasks/cucumber.rake +53 -0
- data/lib/tasks/rspec.rake +69 -0
- data/public/images/admin/background/body.png +0 -0
- data/public/images/admin/background/footer.png +0 -0
- data/public/images/admin/background/light.png +0 -0
- data/public/images/admin/buttons/action-left.png +0 -0
- data/public/images/admin/buttons/action-right.png +0 -0
- data/public/images/admin/buttons/add-left.png +0 -0
- data/public/images/admin/buttons/add-right.png +0 -0
- data/public/images/admin/buttons/dark-gray-left.png +0 -0
- data/public/images/admin/buttons/dark-gray-right.png +0 -0
- data/public/images/admin/buttons/emboss-left.png +0 -0
- data/public/images/admin/buttons/emboss-right.png +0 -0
- data/public/images/admin/buttons/gray-left.png +0 -0
- data/public/images/admin/buttons/gray-right.png +0 -0
- data/public/images/admin/buttons/light-gray-left.png +0 -0
- data/public/images/admin/buttons/light-gray-right.png +0 -0
- data/public/images/admin/buttons/search.png +0 -0
- data/public/images/admin/buttons/transparent-left.png +0 -0
- data/public/images/admin/buttons/transparent-right.png +0 -0
- data/public/images/admin/form/big_item.png +0 -0
- data/public/images/admin/form/error-arrow.png +0 -0
- data/public/images/admin/form/field.png +0 -0
- data/public/images/admin/form/folded-arrow-off.png +0 -0
- data/public/images/admin/form/folded-arrow-on.png +0 -0
- data/public/images/admin/form/folded.png +0 -0
- data/public/images/admin/form/footer.png +0 -0
- data/public/images/admin/form/growl-error.png +0 -0
- data/public/images/admin/form/growl-notice.png +0 -0
- data/public/images/admin/form/header-first-on.png +0 -0
- data/public/images/admin/form/header-left-on.png +0 -0
- data/public/images/admin/form/header-on.png +0 -0
- data/public/images/admin/form/header-right-on.png +0 -0
- data/public/images/admin/form/header.png +0 -0
- data/public/images/admin/form/icons/drag.png +0 -0
- data/public/images/admin/form/icons/spinner.gif +0 -0
- data/public/images/admin/form/icons/trash.png +0 -0
- data/public/images/admin/form/item.png +0 -0
- data/public/images/admin/form/pen.png +0 -0
- data/public/images/admin/icons/filetype/medium/AC3.png +0 -0
- data/public/images/admin/icons/filetype/medium/ACE.png +0 -0
- data/public/images/admin/icons/filetype/medium/ADE.png +0 -0
- data/public/images/admin/icons/filetype/medium/ADP.png +0 -0
- data/public/images/admin/icons/filetype/medium/AI.png +0 -0
- data/public/images/admin/icons/filetype/medium/AIFF.png +0 -0
- data/public/images/admin/icons/filetype/medium/AU.png +0 -0
- data/public/images/admin/icons/filetype/medium/AVI.png +0 -0
- data/public/images/admin/icons/filetype/medium/BAT.png +0 -0
- data/public/images/admin/icons/filetype/medium/BIN.png +0 -0
- data/public/images/admin/icons/filetype/medium/BMP.png +0 -0
- data/public/images/admin/icons/filetype/medium/BUP.png +0 -0
- data/public/images/admin/icons/filetype/medium/CAB.png +0 -0
- data/public/images/admin/icons/filetype/medium/CAT.png +0 -0
- data/public/images/admin/icons/filetype/medium/CHM.png +0 -0
- data/public/images/admin/icons/filetype/medium/CSS.png +0 -0
- data/public/images/admin/icons/filetype/medium/CUE.png +0 -0
- data/public/images/admin/icons/filetype/medium/DAT.png +0 -0
- data/public/images/admin/icons/filetype/medium/DCR.png +0 -0
- data/public/images/admin/icons/filetype/medium/DER.png +0 -0
- data/public/images/admin/icons/filetype/medium/DIC.png +0 -0
- data/public/images/admin/icons/filetype/medium/DIVX.png +0 -0
- data/public/images/admin/icons/filetype/medium/DIZ.png +0 -0
- data/public/images/admin/icons/filetype/medium/DLL.png +0 -0
- data/public/images/admin/icons/filetype/medium/DOC.png +0 -0
- data/public/images/admin/icons/filetype/medium/DOCX.png +0 -0
- data/public/images/admin/icons/filetype/medium/DOS.png +0 -0
- data/public/images/admin/icons/filetype/medium/DVD.png +0 -0
- data/public/images/admin/icons/filetype/medium/DWG.png +0 -0
- data/public/images/admin/icons/filetype/medium/DWT.png +0 -0
- data/public/images/admin/icons/filetype/medium/EMF.png +0 -0
- data/public/images/admin/icons/filetype/medium/EXC.png +0 -0
- data/public/images/admin/icons/filetype/medium/FON.png +0 -0
- data/public/images/admin/icons/filetype/medium/GIF.png +0 -0
- data/public/images/admin/icons/filetype/medium/HLP.png +0 -0
- data/public/images/admin/icons/filetype/medium/HTML.png +0 -0
- data/public/images/admin/icons/filetype/medium/IFO.png +0 -0
- data/public/images/admin/icons/filetype/medium/INF.png +0 -0
- data/public/images/admin/icons/filetype/medium/INI.png +0 -0
- data/public/images/admin/icons/filetype/medium/INS.png +0 -0
- data/public/images/admin/icons/filetype/medium/IP.png +0 -0
- data/public/images/admin/icons/filetype/medium/ISO.png +0 -0
- data/public/images/admin/icons/filetype/medium/ISP.png +0 -0
- data/public/images/admin/icons/filetype/medium/JAVA.png +0 -0
- data/public/images/admin/icons/filetype/medium/JFIF.png +0 -0
- data/public/images/admin/icons/filetype/medium/JPEG.png +0 -0
- data/public/images/admin/icons/filetype/medium/JPG.png +0 -0
- data/public/images/admin/icons/filetype/medium/LOG.png +0 -0
- data/public/images/admin/icons/filetype/medium/M4A.png +0 -0
- data/public/images/admin/icons/filetype/medium/MID.png +0 -0
- data/public/images/admin/icons/filetype/medium/MMF.png +0 -0
- data/public/images/admin/icons/filetype/medium/MMM.png +0 -0
- data/public/images/admin/icons/filetype/medium/MOV.png +0 -0
- data/public/images/admin/icons/filetype/medium/MOVIE.png +0 -0
- data/public/images/admin/icons/filetype/medium/MP2.png +0 -0
- data/public/images/admin/icons/filetype/medium/MP2V.png +0 -0
- data/public/images/admin/icons/filetype/medium/MP3.png +0 -0
- data/public/images/admin/icons/filetype/medium/MP4.png +0 -0
- data/public/images/admin/icons/filetype/medium/MPE.png +0 -0
- data/public/images/admin/icons/filetype/medium/MPEG.png +0 -0
- data/public/images/admin/icons/filetype/medium/MPG.png +0 -0
- data/public/images/admin/icons/filetype/medium/MPV2.png +0 -0
- data/public/images/admin/icons/filetype/medium/NFO.png +0 -0
- data/public/images/admin/icons/filetype/medium/PDD.png +0 -0
- data/public/images/admin/icons/filetype/medium/PDF.png +0 -0
- data/public/images/admin/icons/filetype/medium/PHP.png +0 -0
- data/public/images/admin/icons/filetype/medium/PNG.png +0 -0
- data/public/images/admin/icons/filetype/medium/PPT.png +0 -0
- data/public/images/admin/icons/filetype/medium/PPTX.png +0 -0
- data/public/images/admin/icons/filetype/medium/PSD.png +0 -0
- data/public/images/admin/icons/filetype/medium/RAR.png +0 -0
- data/public/images/admin/icons/filetype/medium/REG.png +0 -0
- data/public/images/admin/icons/filetype/medium/RTF.png +0 -0
- data/public/images/admin/icons/filetype/medium/SCP.png +0 -0
- data/public/images/admin/icons/filetype/medium/THEME.png +0 -0
- data/public/images/admin/icons/filetype/medium/TIF.png +0 -0
- data/public/images/admin/icons/filetype/medium/TIFF.png +0 -0
- data/public/images/admin/icons/filetype/medium/TLB.png +0 -0
- data/public/images/admin/icons/filetype/medium/TTF.png +0 -0
- data/public/images/admin/icons/filetype/medium/TXT.png +0 -0
- data/public/images/admin/icons/filetype/medium/Thumbs.db +0 -0
- data/public/images/admin/icons/filetype/medium/UIS.png +0 -0
- data/public/images/admin/icons/filetype/medium/URL.png +0 -0
- data/public/images/admin/icons/filetype/medium/VBS.png +0 -0
- data/public/images/admin/icons/filetype/medium/VCR.png +0 -0
- data/public/images/admin/icons/filetype/medium/VOB.png +0 -0
- data/public/images/admin/icons/filetype/medium/WAV.png +0 -0
- data/public/images/admin/icons/filetype/medium/WBA.png +0 -0
- data/public/images/admin/icons/filetype/medium/WMA.png +0 -0
- data/public/images/admin/icons/filetype/medium/WMV.png +0 -0
- data/public/images/admin/icons/filetype/medium/WPL.png +0 -0
- data/public/images/admin/icons/filetype/medium/WRI.png +0 -0
- data/public/images/admin/icons/filetype/medium/WTX.png +0 -0
- data/public/images/admin/icons/filetype/medium/XLS.png +0 -0
- data/public/images/admin/icons/filetype/medium/XLSX.png +0 -0
- data/public/images/admin/icons/filetype/medium/XML.png +0 -0
- data/public/images/admin/icons/filetype/medium/XSL.png +0 -0
- data/public/images/admin/icons/filetype/medium/ZAP.png +0 -0
- data/public/images/admin/icons/filetype/medium/ZIP.png +0 -0
- data/public/images/admin/icons/filetype/medium/unknown.png +0 -0
- data/public/images/admin/icons/filetype/thumb/AC3.png +0 -0
- data/public/images/admin/icons/filetype/thumb/ACE.png +0 -0
- data/public/images/admin/icons/filetype/thumb/ADE.png +0 -0
- data/public/images/admin/icons/filetype/thumb/ADP.png +0 -0
- data/public/images/admin/icons/filetype/thumb/AI.png +0 -0
- data/public/images/admin/icons/filetype/thumb/AIFF.png +0 -0
- data/public/images/admin/icons/filetype/thumb/AU.png +0 -0
- data/public/images/admin/icons/filetype/thumb/AVI.png +0 -0
- data/public/images/admin/icons/filetype/thumb/BAT.png +0 -0
- data/public/images/admin/icons/filetype/thumb/BIN.png +0 -0
- data/public/images/admin/icons/filetype/thumb/BMP.png +0 -0
- data/public/images/admin/icons/filetype/thumb/BUP.png +0 -0
- data/public/images/admin/icons/filetype/thumb/CAB.png +0 -0
- data/public/images/admin/icons/filetype/thumb/CAT.png +0 -0
- data/public/images/admin/icons/filetype/thumb/CHM.png +0 -0
- data/public/images/admin/icons/filetype/thumb/CSS.png +0 -0
- data/public/images/admin/icons/filetype/thumb/CUE.png +0 -0
- data/public/images/admin/icons/filetype/thumb/DAT.png +0 -0
- data/public/images/admin/icons/filetype/thumb/DCR.png +0 -0
- data/public/images/admin/icons/filetype/thumb/DER.png +0 -0
- data/public/images/admin/icons/filetype/thumb/DIC.png +0 -0
- data/public/images/admin/icons/filetype/thumb/DIVX.png +0 -0
- data/public/images/admin/icons/filetype/thumb/DIZ.png +0 -0
- data/public/images/admin/icons/filetype/thumb/DLL.png +0 -0
- data/public/images/admin/icons/filetype/thumb/DOC.png +0 -0
- data/public/images/admin/icons/filetype/thumb/DOCX.png +0 -0
- data/public/images/admin/icons/filetype/thumb/DOS.png +0 -0
- data/public/images/admin/icons/filetype/thumb/DVD.png +0 -0
- data/public/images/admin/icons/filetype/thumb/DWG.png +0 -0
- data/public/images/admin/icons/filetype/thumb/DWT.png +0 -0
- data/public/images/admin/icons/filetype/thumb/EMF.png +0 -0
- data/public/images/admin/icons/filetype/thumb/EXC.png +0 -0
- data/public/images/admin/icons/filetype/thumb/FON.png +0 -0
- data/public/images/admin/icons/filetype/thumb/GIF.png +0 -0
- data/public/images/admin/icons/filetype/thumb/HLP.png +0 -0
- data/public/images/admin/icons/filetype/thumb/HTML.png +0 -0
- data/public/images/admin/icons/filetype/thumb/IFO.png +0 -0
- data/public/images/admin/icons/filetype/thumb/INF.png +0 -0
- data/public/images/admin/icons/filetype/thumb/INI.png +0 -0
- data/public/images/admin/icons/filetype/thumb/INS.png +0 -0
- data/public/images/admin/icons/filetype/thumb/IP.png +0 -0
- data/public/images/admin/icons/filetype/thumb/ISO.png +0 -0
- data/public/images/admin/icons/filetype/thumb/ISP.png +0 -0
- data/public/images/admin/icons/filetype/thumb/JAVA.png +0 -0
- data/public/images/admin/icons/filetype/thumb/JFIF.png +0 -0
- data/public/images/admin/icons/filetype/thumb/JPEG.png +0 -0
- data/public/images/admin/icons/filetype/thumb/JPG.png +0 -0
- data/public/images/admin/icons/filetype/thumb/LOG.png +0 -0
- data/public/images/admin/icons/filetype/thumb/M4A.png +0 -0
- data/public/images/admin/icons/filetype/thumb/MID.png +0 -0
- data/public/images/admin/icons/filetype/thumb/MMF.png +0 -0
- data/public/images/admin/icons/filetype/thumb/MMM.png +0 -0
- data/public/images/admin/icons/filetype/thumb/MOV.png +0 -0
- data/public/images/admin/icons/filetype/thumb/MOVIE.png +0 -0
- data/public/images/admin/icons/filetype/thumb/MP2.png +0 -0
- data/public/images/admin/icons/filetype/thumb/MP2V.png +0 -0
- data/public/images/admin/icons/filetype/thumb/MP3.png +0 -0
- data/public/images/admin/icons/filetype/thumb/MP4.png +0 -0
- data/public/images/admin/icons/filetype/thumb/MPE.png +0 -0
- data/public/images/admin/icons/filetype/thumb/MPEG.png +0 -0
- data/public/images/admin/icons/filetype/thumb/MPG.png +0 -0
- data/public/images/admin/icons/filetype/thumb/MPV2.png +0 -0
- data/public/images/admin/icons/filetype/thumb/NFO.png +0 -0
- data/public/images/admin/icons/filetype/thumb/PDD.png +0 -0
- data/public/images/admin/icons/filetype/thumb/PDF.png +0 -0
- data/public/images/admin/icons/filetype/thumb/PHP.png +0 -0
- data/public/images/admin/icons/filetype/thumb/PNG.png +0 -0
- data/public/images/admin/icons/filetype/thumb/PPT.png +0 -0
- data/public/images/admin/icons/filetype/thumb/PPTX.png +0 -0
- data/public/images/admin/icons/filetype/thumb/PSD.png +0 -0
- data/public/images/admin/icons/filetype/thumb/RAR.png +0 -0
- data/public/images/admin/icons/filetype/thumb/REG.png +0 -0
- data/public/images/admin/icons/filetype/thumb/RTF.png +0 -0
- data/public/images/admin/icons/filetype/thumb/SCP.png +0 -0
- data/public/images/admin/icons/filetype/thumb/THEME.png +0 -0
- data/public/images/admin/icons/filetype/thumb/TIF.png +0 -0
- data/public/images/admin/icons/filetype/thumb/TIFF.png +0 -0
- data/public/images/admin/icons/filetype/thumb/TLB.png +0 -0
- data/public/images/admin/icons/filetype/thumb/TTF.png +0 -0
- data/public/images/admin/icons/filetype/thumb/TXT.png +0 -0
- data/public/images/admin/icons/filetype/thumb/UIS.png +0 -0
- data/public/images/admin/icons/filetype/thumb/URL.png +0 -0
- data/public/images/admin/icons/filetype/thumb/VBS.png +0 -0
- data/public/images/admin/icons/filetype/thumb/VCR.png +0 -0
- data/public/images/admin/icons/filetype/thumb/VOB.png +0 -0
- data/public/images/admin/icons/filetype/thumb/WAV.png +0 -0
- data/public/images/admin/icons/filetype/thumb/WBA.png +0 -0
- data/public/images/admin/icons/filetype/thumb/WMA.png +0 -0
- data/public/images/admin/icons/filetype/thumb/WMV.png +0 -0
- data/public/images/admin/icons/filetype/thumb/WPL.png +0 -0
- data/public/images/admin/icons/filetype/thumb/WRI.png +0 -0
- data/public/images/admin/icons/filetype/thumb/WTX.png +0 -0
- data/public/images/admin/icons/filetype/thumb/XLS.png +0 -0
- data/public/images/admin/icons/filetype/thumb/XLSX.png +0 -0
- data/public/images/admin/icons/filetype/thumb/XML.png +0 -0
- data/public/images/admin/icons/filetype/thumb/XSL.png +0 -0
- data/public/images/admin/icons/filetype/thumb/ZAP.png +0 -0
- data/public/images/admin/icons/filetype/thumb/ZIP.png +0 -0
- data/public/images/admin/icons/filetype/thumb/unknown.png +0 -0
- data/public/images/admin/icons/flags/en.png +0 -0
- data/public/images/admin/icons/flags/fr.png +0 -0
- data/public/images/admin/list/empty.png +0 -0
- data/public/images/admin/list/icons/cross.png +0 -0
- data/public/images/admin/list/icons/drag.png +0 -0
- data/public/images/admin/list/icons/node_closed.png +0 -0
- data/public/images/admin/list/icons/node_open.png +0 -0
- data/public/images/admin/list/icons/trash.png +0 -0
- data/public/images/admin/list/item-left.png +0 -0
- data/public/images/admin/list/item-right.png +0 -0
- data/public/images/admin/list/item.png +0 -0
- data/public/images/admin/list/none.png +0 -0
- data/public/images/admin/list/thumb.png +0 -0
- data/public/images/admin/login/bottom_panel_bg.png +0 -0
- data/public/images/admin/login/buttons/left_bg.png +0 -0
- data/public/images/admin/login/buttons/right_bg.png +0 -0
- data/public/images/admin/login/content_panel_bg.png +0 -0
- data/public/images/admin/login/input_bg.png +0 -0
- data/public/images/admin/login/light_bg.png +0 -0
- data/public/images/admin/login/top_panel_bg.png +0 -0
- data/public/images/admin/login/wrapper_bg.png +0 -0
- data/public/images/admin/menu/arrow.png +0 -0
- data/public/images/admin/menu/blue-bg.png +0 -0
- data/public/images/admin/menu/blue-border.png +0 -0
- data/public/images/admin/menu/gray-bg.png +0 -0
- data/public/images/admin/menu/gray-border.png +0 -0
- data/public/images/admin/menu/green-bg.png +0 -0
- data/public/images/admin/menu/green-border.png +0 -0
- data/public/images/admin/menu/icons/add.png +0 -0
- data/public/images/admin/menu/icons/bullet.png +0 -0
- data/public/images/admin/menu/icons/folder.png +0 -0
- data/public/images/admin/menu/icons/settings.png +0 -0
- data/public/images/admin/menu/left.png +0 -0
- data/public/images/admin/menu/popup-body.png +0 -0
- data/public/images/admin/menu/popup-footer.png +0 -0
- data/public/images/admin/menu/popup-header.png +0 -0
- data/public/images/admin/menu/right.png +0 -0
- data/public/images/admin/menu/shadow.png +0 -0
- data/public/images/admin/menu/top-left.png +0 -0
- data/public/images/admin/menu/top.png +0 -0
- data/public/images/admin/nocoffee.gif +0 -0
- data/public/images/admin/plugins/fancybox/blank.gif +0 -0
- data/public/images/admin/plugins/fancybox/fancy_close.png +0 -0
- data/public/images/admin/plugins/fancybox/fancy_loading.png +0 -0
- data/public/images/admin/plugins/fancybox/fancy_nav_left.png +0 -0
- data/public/images/admin/plugins/fancybox/fancy_nav_right.png +0 -0
- data/public/images/admin/plugins/fancybox/fancy_shadow_e.png +0 -0
- data/public/images/admin/plugins/fancybox/fancy_shadow_n.png +0 -0
- data/public/images/admin/plugins/fancybox/fancy_shadow_ne.png +0 -0
- data/public/images/admin/plugins/fancybox/fancy_shadow_nw.png +0 -0
- data/public/images/admin/plugins/fancybox/fancy_shadow_s.png +0 -0
- data/public/images/admin/plugins/fancybox/fancy_shadow_se.png +0 -0
- data/public/images/admin/plugins/fancybox/fancy_shadow_sw.png +0 -0
- data/public/images/admin/plugins/fancybox/fancy_shadow_w.png +0 -0
- data/public/images/admin/plugins/fancybox/fancy_title_left.png +0 -0
- data/public/images/admin/plugins/fancybox/fancy_title_main.png +0 -0
- data/public/images/admin/plugins/fancybox/fancy_title_over.png +0 -0
- data/public/images/admin/plugins/fancybox/fancy_title_right.png +0 -0
- data/public/images/admin/plugins/fancybox/fancybox-x.png +0 -0
- data/public/images/admin/plugins/fancybox/fancybox-y.png +0 -0
- data/public/images/admin/plugins/fancybox/fancybox.png +0 -0
- data/public/images/admin/plugins/toggle_handle-bg.png +0 -0
- data/public/images/admin/plugins/toggle_handle_left-bg.png +0 -0
- data/public/images/admin/plugins/toggle_handle_right-bg.png +0 -0
- data/public/images/admin/plugins/toggle_shadow-bg.png +0 -0
- data/public/images/admin/rails.png +0 -0
- data/public/javascripts/admin/application.js +105 -0
- data/public/javascripts/admin/asset_collections.js +50 -0
- data/public/javascripts/admin/content_types.js +16 -0
- data/public/javascripts/admin/contents.js +17 -0
- data/public/javascripts/admin/custom_fields.js +113 -0
- data/public/javascripts/admin/jquery.js +154 -0
- data/public/javascripts/admin/jquery.ui.js +404 -0
- data/public/javascripts/admin/page_parts.js +83 -0
- data/public/javascripts/admin/pages.js +67 -0
- data/public/javascripts/admin/plugins/codemirror/codemirror.js +469 -0
- data/public/javascripts/admin/plugins/codemirror/editor.js +1465 -0
- data/public/javascripts/admin/plugins/codemirror/highlight.js +68 -0
- data/public/javascripts/admin/plugins/codemirror/mirrorframe.js +81 -0
- data/public/javascripts/admin/plugins/codemirror/parsecss.js +155 -0
- data/public/javascripts/admin/plugins/codemirror/parsedummy.js +32 -0
- data/public/javascripts/admin/plugins/codemirror/parsehtmlmixed.js +74 -0
- data/public/javascripts/admin/plugins/codemirror/parsejavascript.js +352 -0
- data/public/javascripts/admin/plugins/codemirror/parseliquid.js +409 -0
- data/public/javascripts/admin/plugins/codemirror/parsesparql.js +162 -0
- data/public/javascripts/admin/plugins/codemirror/parsexml.js +286 -0
- data/public/javascripts/admin/plugins/codemirror/select.js +619 -0
- data/public/javascripts/admin/plugins/codemirror/stringstream.js +140 -0
- data/public/javascripts/admin/plugins/codemirror/tokenize.js +57 -0
- data/public/javascripts/admin/plugins/codemirror/tokenizejavascript.js +174 -0
- data/public/javascripts/admin/plugins/codemirror/undo.js +410 -0
- data/public/javascripts/admin/plugins/codemirror/util.js +130 -0
- data/public/javascripts/admin/plugins/cookie.js +96 -0
- data/public/javascripts/admin/plugins/fancybox.js +1077 -0
- data/public/javascripts/admin/plugins/growl.js +143 -0
- data/public/javascripts/admin/plugins/json2.js +478 -0
- data/public/javascripts/admin/plugins/plupload/gears_init.js +86 -0
- data/public/javascripts/admin/plugins/plupload/jquery.plupload.queue.min.js +1 -0
- data/public/javascripts/admin/plugins/plupload/plupload.browserplus.min.js +1 -0
- data/public/javascripts/admin/plugins/plupload/plupload.flash.min.js +1 -0
- data/public/javascripts/admin/plugins/plupload/plupload.flash.swf +0 -0
- data/public/javascripts/admin/plugins/plupload/plupload.full.js +1 -0
- data/public/javascripts/admin/plugins/plupload/plupload.gears.min.js +1 -0
- data/public/javascripts/admin/plugins/plupload/plupload.html4.min.js +1 -0
- data/public/javascripts/admin/plugins/plupload/plupload.html5.min.js +1 -0
- data/public/javascripts/admin/plugins/plupload/plupload.js +1 -0
- data/public/javascripts/admin/plugins/plupload/plupload.silverlight.min.js +1 -0
- data/public/javascripts/admin/plugins/plupload/plupload.silverlight.xap +0 -0
- data/public/javascripts/admin/plugins/scrollTo.js +11 -0
- data/public/javascripts/admin/plugins/toggle.js +109 -0
- data/public/javascripts/admin/plugins/wslide.js +125 -0
- data/public/javascripts/admin/rails.js +127 -0
- data/public/javascripts/admin/site.js +36 -0
- data/public/javascripts/admin/snippets.js +16 -0
- data/public/javascripts/admin/theme_assets.js +103 -0
- data/public/stylesheets/admin/application.css +257 -0
- data/public/stylesheets/admin/blueprint/ie.css +26 -0
- data/public/stylesheets/admin/blueprint/plugins/buttons/icons/cross.png +0 -0
- data/public/stylesheets/admin/blueprint/plugins/buttons/icons/key.png +0 -0
- data/public/stylesheets/admin/blueprint/plugins/buttons/icons/tick.png +0 -0
- data/public/stylesheets/admin/blueprint/plugins/buttons/readme.txt +32 -0
- data/public/stylesheets/admin/blueprint/plugins/buttons/screen.css +97 -0
- data/public/stylesheets/admin/blueprint/plugins/fancy-type/readme.txt +14 -0
- data/public/stylesheets/admin/blueprint/plugins/fancy-type/screen.css +71 -0
- data/public/stylesheets/admin/blueprint/plugins/link-icons/icons/doc.png +0 -0
- data/public/stylesheets/admin/blueprint/plugins/link-icons/icons/email.png +0 -0
- data/public/stylesheets/admin/blueprint/plugins/link-icons/icons/external.png +0 -0
- data/public/stylesheets/admin/blueprint/plugins/link-icons/icons/feed.png +0 -0
- data/public/stylesheets/admin/blueprint/plugins/link-icons/icons/im.png +0 -0
- data/public/stylesheets/admin/blueprint/plugins/link-icons/icons/pdf.png +0 -0
- data/public/stylesheets/admin/blueprint/plugins/link-icons/icons/visited.png +0 -0
- data/public/stylesheets/admin/blueprint/plugins/link-icons/icons/xls.png +0 -0
- data/public/stylesheets/admin/blueprint/plugins/link-icons/readme.txt +18 -0
- data/public/stylesheets/admin/blueprint/plugins/link-icons/screen.css +40 -0
- data/public/stylesheets/admin/blueprint/plugins/rtl/readme.txt +10 -0
- data/public/stylesheets/admin/blueprint/plugins/rtl/screen.css +109 -0
- data/public/stylesheets/admin/blueprint/print.css +30 -0
- data/public/stylesheets/admin/blueprint/screen.css +253 -0
- data/public/stylesheets/admin/blueprint/src/forms.css +49 -0
- data/public/stylesheets/admin/blueprint/src/grid.css +213 -0
- data/public/stylesheets/admin/blueprint/src/grid.png +0 -0
- data/public/stylesheets/admin/blueprint/src/ie.css +59 -0
- data/public/stylesheets/admin/blueprint/src/print.css +85 -0
- data/public/stylesheets/admin/blueprint/src/reset.css +38 -0
- data/public/stylesheets/admin/blueprint/src/typography.css +105 -0
- data/public/stylesheets/admin/box.css +14 -0
- data/public/stylesheets/admin/buttons.css +67 -0
- data/public/stylesheets/admin/formtastic.css +137 -0
- data/public/stylesheets/admin/formtastic_changes.css +461 -0
- data/public/stylesheets/admin/layout.css +175 -0
- data/public/stylesheets/admin/login.css +141 -0
- data/public/stylesheets/admin/menu.css +241 -0
- data/public/stylesheets/admin/page_parts.css +60 -0
- data/public/stylesheets/admin/plugins/codemirror/csscolors.css +51 -0
- data/public/stylesheets/admin/plugins/codemirror/docs.css +50 -0
- data/public/stylesheets/admin/plugins/codemirror/javascriptcolors.css +56 -0
- data/public/stylesheets/admin/plugins/codemirror/jscolors.css +59 -0
- data/public/stylesheets/admin/plugins/codemirror/liquidcolors.css +35 -0
- data/public/stylesheets/admin/plugins/codemirror/people.jpg +0 -0
- data/public/stylesheets/admin/plugins/codemirror/sparqlcolors.css +43 -0
- data/public/stylesheets/admin/plugins/codemirror/xmlcolors.css +55 -0
- data/public/stylesheets/admin/plugins/fancybox.css +363 -0
- data/public/stylesheets/admin/plugins/toggle.css +42 -0
- data/spec/factories.rb +77 -0
- data/spec/lib/locomotive/liquid/filters/html_spec.rb +82 -0
- data/spec/lib/locomotive/liquid/filters/misc_spec.rb +36 -0
- data/spec/lib/locomotive/liquid/tags/paginate_spec.rb +99 -0
- data/spec/lib/locomotive/liquid/tags/snippet_spec.rb +20 -0
- data/spec/lib/locomotive/liquid/tags/with_scope_spec.rb +20 -0
- data/spec/lib/locomotive/render_spec.rb +85 -0
- data/spec/models/account_spec.rb +65 -0
- data/spec/models/asset_collections_spec.rb +174 -0
- data/spec/models/content_instance_spec.rb +33 -0
- data/spec/models/content_type_spec.rb +49 -0
- data/spec/models/layout_spec.rb +64 -0
- data/spec/models/liquid_template_spec.rb +19 -0
- data/spec/models/membership_spec.rb +55 -0
- data/spec/models/page_spec.rb +329 -0
- data/spec/models/site_spec.rb +143 -0
- data/spec/models/snippet_spec.rb +9 -0
- data/spec/models/theme_asset_spec.rb +89 -0
- data/spec/spec_helper.rb +17 -0
- data/spec/support/be_valid.rb +31 -0
- data/spec/support/carrierwave.rb +32 -0
- data/spec/support/locomotive.rb +41 -0
- data/vendor/plugins/custom_fields/MIT-LICENSE +20 -0
- data/vendor/plugins/custom_fields/README +13 -0
- data/vendor/plugins/custom_fields/Rakefile +23 -0
- data/vendor/plugins/custom_fields/init.rb +2 -0
- data/vendor/plugins/custom_fields/install.rb +1 -0
- data/vendor/plugins/custom_fields/lib/custom_fields.rb +14 -0
- data/vendor/plugins/custom_fields/lib/custom_fields/custom_field.rb +84 -0
- data/vendor/plugins/custom_fields/lib/custom_fields/custom_fields_for.rb +49 -0
- data/vendor/plugins/custom_fields/lib/custom_fields/extensions/mongoid/associations/embeds_many.rb +24 -0
- data/vendor/plugins/custom_fields/lib/custom_fields/extensions/mongoid/document.rb +35 -0
- data/vendor/plugins/custom_fields/uninstall.rb +1 -0
- metadata +848 -0
@@ -0,0 +1,60 @@
|
|
1
|
+
#page-parts .wrapper {
|
2
|
+
background: #ebedf4 url(/images/admin/form/footer.png) no-repeat 0 bottom;
|
3
|
+
width: 880px;
|
4
|
+
padding: 20px 20px;
|
5
|
+
}
|
6
|
+
|
7
|
+
#page-parts {
|
8
|
+
background: transparent url(/images/admin/form/header.png) no-repeat 0 0;
|
9
|
+
}
|
10
|
+
|
11
|
+
#page-parts .control {
|
12
|
+
height: 30px;
|
13
|
+
}
|
14
|
+
|
15
|
+
#page-parts .nav a {
|
16
|
+
float: left;
|
17
|
+
display: block;
|
18
|
+
height: 30px;
|
19
|
+
padding: 0px 0px 0 11px;
|
20
|
+
color: #8b8d9a;
|
21
|
+
text-decoration: none;
|
22
|
+
font-size: 0.8em;
|
23
|
+
cursor: pointer;
|
24
|
+
outline: none;
|
25
|
+
}
|
26
|
+
|
27
|
+
#page-parts .nav a span {
|
28
|
+
display: inline-block;
|
29
|
+
height: 26px;
|
30
|
+
padding: 4px 11px 0 0px;
|
31
|
+
}
|
32
|
+
|
33
|
+
#page-parts .nav a:first-child { padding-left: 22px; }
|
34
|
+
#page-parts .nav a:first-child span { padding-right: 13px; }
|
35
|
+
|
36
|
+
#page-parts .nav a.on {
|
37
|
+
color: #1e1f26;
|
38
|
+
font-weight: bold;
|
39
|
+
background: transparent url(/images/admin/form/header-left-on.png) no-repeat 0 0;
|
40
|
+
}
|
41
|
+
|
42
|
+
#page-parts .nav a.on span {
|
43
|
+
background: transparent url(/images/admin/form/header-right-on.png) no-repeat right 0;
|
44
|
+
}
|
45
|
+
|
46
|
+
#page-parts .nav a:first-child.on {
|
47
|
+
background: transparent url(/images/admin/form/header-first-on.png) no-repeat 0 0;
|
48
|
+
}
|
49
|
+
|
50
|
+
#page-parts .wslide-wrap {
|
51
|
+
border: 1px solid #a6a8b8;
|
52
|
+
}
|
53
|
+
|
54
|
+
#page-parts code { display: block; background: white; height: 400px; }
|
55
|
+
#page-parts code textarea {
|
56
|
+
width: 880px;
|
57
|
+
height: 400px;
|
58
|
+
background: transparent url(/images/admin/form/field.png) repeat-x 0 0;
|
59
|
+
border: 0px;
|
60
|
+
}
|
@@ -0,0 +1,51 @@
|
|
1
|
+
html {
|
2
|
+
cursor: text;
|
3
|
+
}
|
4
|
+
|
5
|
+
.editbox {
|
6
|
+
margin: .4em;
|
7
|
+
padding: 0;
|
8
|
+
font-family: monospace;
|
9
|
+
font-size: 10pt;
|
10
|
+
color: black;
|
11
|
+
}
|
12
|
+
|
13
|
+
pre.code, .editbox {
|
14
|
+
color: #666666;
|
15
|
+
}
|
16
|
+
|
17
|
+
.editbox p {
|
18
|
+
margin: 0;
|
19
|
+
}
|
20
|
+
|
21
|
+
span.css-at {
|
22
|
+
color: #770088;
|
23
|
+
}
|
24
|
+
|
25
|
+
span.css-unit {
|
26
|
+
color: #228811;
|
27
|
+
}
|
28
|
+
|
29
|
+
span.css-value {
|
30
|
+
color: #770088;
|
31
|
+
}
|
32
|
+
|
33
|
+
span.css-identifier {
|
34
|
+
color: black;
|
35
|
+
}
|
36
|
+
|
37
|
+
span.css-important {
|
38
|
+
color: #0000FF;
|
39
|
+
}
|
40
|
+
|
41
|
+
span.css-colorcode {
|
42
|
+
color: #004499;
|
43
|
+
}
|
44
|
+
|
45
|
+
span.css-comment {
|
46
|
+
color: #AA7700;
|
47
|
+
}
|
48
|
+
|
49
|
+
span.css-string {
|
50
|
+
color: #AA2222;
|
51
|
+
}
|
@@ -0,0 +1,50 @@
|
|
1
|
+
body {
|
2
|
+
margin: 0;
|
3
|
+
padding: 3em 6em;
|
4
|
+
color: black;
|
5
|
+
max-width: 50em;
|
6
|
+
}
|
7
|
+
|
8
|
+
h1 {
|
9
|
+
font-size: 22pt;
|
10
|
+
}
|
11
|
+
|
12
|
+
.underline {
|
13
|
+
border-bottom: 3px solid #C44;
|
14
|
+
}
|
15
|
+
|
16
|
+
h2 {
|
17
|
+
font-size: 14pt;
|
18
|
+
}
|
19
|
+
|
20
|
+
h3 {
|
21
|
+
font-size: 12pt;
|
22
|
+
}
|
23
|
+
|
24
|
+
p.rel {
|
25
|
+
padding-left: 2em;
|
26
|
+
text-indent: -2em;
|
27
|
+
}
|
28
|
+
|
29
|
+
div.border {
|
30
|
+
border: 1px solid black;
|
31
|
+
padding: 3px;
|
32
|
+
}
|
33
|
+
|
34
|
+
code {
|
35
|
+
font-family: courier, monospace;
|
36
|
+
font-size: 90%;
|
37
|
+
color: #144;
|
38
|
+
}
|
39
|
+
|
40
|
+
pre.code {
|
41
|
+
margin: 1.1em 12px;
|
42
|
+
border: 1px solid #CCCCCC;
|
43
|
+
color: black;
|
44
|
+
padding: .4em;
|
45
|
+
font-family: courier, monospace;
|
46
|
+
}
|
47
|
+
|
48
|
+
.warn {
|
49
|
+
color: #C00;
|
50
|
+
}
|
@@ -0,0 +1,56 @@
|
|
1
|
+
.editbox {
|
2
|
+
margin: .4em;
|
3
|
+
padding: 0;
|
4
|
+
font-family: monospace;
|
5
|
+
font-size: 10pt;
|
6
|
+
color: black;
|
7
|
+
background: white url(/images/admin/form/field.png) repeat-x 0 0 !important;
|
8
|
+
}
|
9
|
+
|
10
|
+
pre.code, .editbox {
|
11
|
+
color: #666666;
|
12
|
+
}
|
13
|
+
|
14
|
+
.editbox p {
|
15
|
+
margin: 0;
|
16
|
+
}
|
17
|
+
|
18
|
+
span.js-punctuation {
|
19
|
+
color: #666666;
|
20
|
+
}
|
21
|
+
|
22
|
+
span.js-operator {
|
23
|
+
color: #666666;
|
24
|
+
}
|
25
|
+
|
26
|
+
span.js-keyword {
|
27
|
+
color: #770088;
|
28
|
+
}
|
29
|
+
|
30
|
+
span.js-atom {
|
31
|
+
color: #228811;
|
32
|
+
}
|
33
|
+
|
34
|
+
span.js-variable {
|
35
|
+
color: black;
|
36
|
+
}
|
37
|
+
|
38
|
+
span.js-variabledef {
|
39
|
+
color: #0000FF;
|
40
|
+
}
|
41
|
+
|
42
|
+
span.js-localvariable {
|
43
|
+
color: #004499;
|
44
|
+
}
|
45
|
+
|
46
|
+
span.js-property {
|
47
|
+
color: black;
|
48
|
+
}
|
49
|
+
|
50
|
+
span.js-comment {
|
51
|
+
color: #AA7700;
|
52
|
+
}
|
53
|
+
|
54
|
+
span.js-string {
|
55
|
+
color: #AA2222;
|
56
|
+
}
|
@@ -0,0 +1,59 @@
|
|
1
|
+
html {
|
2
|
+
cursor: text;
|
3
|
+
}
|
4
|
+
|
5
|
+
.editbox {
|
6
|
+
margin: .4em;
|
7
|
+
padding: 0;
|
8
|
+
font-family: monospace;
|
9
|
+
font-size: 10pt;
|
10
|
+
color: black;
|
11
|
+
}
|
12
|
+
|
13
|
+
pre.code, .editbox {
|
14
|
+
color: #666666;
|
15
|
+
}
|
16
|
+
|
17
|
+
.editbox p {
|
18
|
+
margin: 0;
|
19
|
+
}
|
20
|
+
|
21
|
+
span.js-punctuation {
|
22
|
+
color: #666666;
|
23
|
+
}
|
24
|
+
|
25
|
+
span.js-operator {
|
26
|
+
color: #666666;
|
27
|
+
}
|
28
|
+
|
29
|
+
span.js-keyword {
|
30
|
+
color: #770088;
|
31
|
+
}
|
32
|
+
|
33
|
+
span.js-atom {
|
34
|
+
color: #228811;
|
35
|
+
}
|
36
|
+
|
37
|
+
span.js-variable {
|
38
|
+
color: black;
|
39
|
+
}
|
40
|
+
|
41
|
+
span.js-variabledef {
|
42
|
+
color: #0000FF;
|
43
|
+
}
|
44
|
+
|
45
|
+
span.js-localvariable {
|
46
|
+
color: #004499;
|
47
|
+
}
|
48
|
+
|
49
|
+
span.js-property {
|
50
|
+
color: black;
|
51
|
+
}
|
52
|
+
|
53
|
+
span.js-comment {
|
54
|
+
color: #AA7700;
|
55
|
+
}
|
56
|
+
|
57
|
+
span.js-string {
|
58
|
+
color: #AA2222;
|
59
|
+
}
|
@@ -0,0 +1,35 @@
|
|
1
|
+
span.liquid-punctuation {
|
2
|
+
color: silver;
|
3
|
+
}
|
4
|
+
|
5
|
+
span.liquid-bad-punctuation {
|
6
|
+
color: red;
|
7
|
+
text-decoration: underline;
|
8
|
+
}
|
9
|
+
|
10
|
+
span.liquid-text {
|
11
|
+
color: black;
|
12
|
+
}
|
13
|
+
|
14
|
+
span.liquid-variable {
|
15
|
+
color: magenta;
|
16
|
+
}
|
17
|
+
|
18
|
+
span.liquid-string {
|
19
|
+
color: green;
|
20
|
+
}
|
21
|
+
|
22
|
+
span.liquid-tag-name {
|
23
|
+
color: green;
|
24
|
+
font-weight: bold;
|
25
|
+
}
|
26
|
+
|
27
|
+
span.liquid-keyword {
|
28
|
+
color: black;
|
29
|
+
font-weight: bold;
|
30
|
+
}
|
31
|
+
|
32
|
+
span.liquid-tag-name {
|
33
|
+
color: black;
|
34
|
+
font-weight: bold;
|
35
|
+
}
|
Binary file
|
@@ -0,0 +1,43 @@
|
|
1
|
+
html {
|
2
|
+
cursor: text;
|
3
|
+
}
|
4
|
+
|
5
|
+
.editbox {
|
6
|
+
margin: .4em;
|
7
|
+
padding: 0;
|
8
|
+
font-family: monospace;
|
9
|
+
font-size: 10pt;
|
10
|
+
color: black;
|
11
|
+
}
|
12
|
+
|
13
|
+
.editbox p {
|
14
|
+
margin: 0;
|
15
|
+
}
|
16
|
+
|
17
|
+
span.sp-keyword {
|
18
|
+
color: #708;
|
19
|
+
}
|
20
|
+
|
21
|
+
span.sp-prefixed {
|
22
|
+
color: #5d1;
|
23
|
+
}
|
24
|
+
|
25
|
+
span.sp-var {
|
26
|
+
color: #00c;
|
27
|
+
}
|
28
|
+
|
29
|
+
span.sp-comment {
|
30
|
+
color: #a70;
|
31
|
+
}
|
32
|
+
|
33
|
+
span.sp-literal {
|
34
|
+
color: #a22;
|
35
|
+
}
|
36
|
+
|
37
|
+
span.sp-uri {
|
38
|
+
color: #292;
|
39
|
+
}
|
40
|
+
|
41
|
+
span.sp-operator {
|
42
|
+
color: #088;
|
43
|
+
}
|
@@ -0,0 +1,55 @@
|
|
1
|
+
html {
|
2
|
+
cursor: text;
|
3
|
+
}
|
4
|
+
|
5
|
+
.editbox {
|
6
|
+
margin: .4em;
|
7
|
+
padding: 0;
|
8
|
+
font-family: monospace;
|
9
|
+
font-size: 10pt;
|
10
|
+
color: black;
|
11
|
+
}
|
12
|
+
|
13
|
+
.editbox p {
|
14
|
+
margin: 0;
|
15
|
+
}
|
16
|
+
|
17
|
+
span.xml-tagname {
|
18
|
+
color: #A0B;
|
19
|
+
}
|
20
|
+
|
21
|
+
span.xml-attribute {
|
22
|
+
color: #281;
|
23
|
+
}
|
24
|
+
|
25
|
+
span.xml-punctuation {
|
26
|
+
color: black;
|
27
|
+
}
|
28
|
+
|
29
|
+
span.xml-attname {
|
30
|
+
color: #00F;
|
31
|
+
}
|
32
|
+
|
33
|
+
span.xml-comment {
|
34
|
+
color: #A70;
|
35
|
+
}
|
36
|
+
|
37
|
+
span.xml-cdata {
|
38
|
+
color: #48A;
|
39
|
+
}
|
40
|
+
|
41
|
+
span.xml-processing {
|
42
|
+
color: #999;
|
43
|
+
}
|
44
|
+
|
45
|
+
span.xml-entity {
|
46
|
+
color: #A22;
|
47
|
+
}
|
48
|
+
|
49
|
+
span.xml-error {
|
50
|
+
color: #F00 !important;
|
51
|
+
}
|
52
|
+
|
53
|
+
span.xml-text {
|
54
|
+
color: black;
|
55
|
+
}
|
@@ -0,0 +1,363 @@
|
|
1
|
+
/*
|
2
|
+
* FancyBox - jQuery Plugin
|
3
|
+
* Simple and fancy lightbox alternative
|
4
|
+
*
|
5
|
+
* Examples and documentation at: http://fancybox.net
|
6
|
+
*
|
7
|
+
* Copyright (c) 2008 - 2010 Janis Skarnelis
|
8
|
+
*
|
9
|
+
* Version: 1.3.1 (05/03/2010)
|
10
|
+
* Requires: jQuery v1.3+
|
11
|
+
*
|
12
|
+
* Dual licensed under the MIT and GPL licenses:
|
13
|
+
* http://www.opensource.org/licenses/mit-license.php
|
14
|
+
* http://www.gnu.org/licenses/gpl.html
|
15
|
+
*/
|
16
|
+
|
17
|
+
#fancybox-loading {
|
18
|
+
position: fixed;
|
19
|
+
top: 50%;
|
20
|
+
left: 50%;
|
21
|
+
height: 40px;
|
22
|
+
width: 40px;
|
23
|
+
margin-top: -20px;
|
24
|
+
margin-left: -20px;
|
25
|
+
cursor: pointer;
|
26
|
+
overflow: hidden;
|
27
|
+
z-index: 1104;
|
28
|
+
display: none;
|
29
|
+
}
|
30
|
+
|
31
|
+
* html #fancybox-loading { /* IE6 */
|
32
|
+
position: absolute;
|
33
|
+
margin-top: 0;
|
34
|
+
}
|
35
|
+
|
36
|
+
#fancybox-loading div {
|
37
|
+
position: absolute;
|
38
|
+
top: 0;
|
39
|
+
left: 0;
|
40
|
+
width: 40px;
|
41
|
+
height: 480px;
|
42
|
+
background-image: url('/images/admin/plugins/fancybox/fancybox.png');
|
43
|
+
}
|
44
|
+
|
45
|
+
#fancybox-overlay {
|
46
|
+
position: fixed;
|
47
|
+
top: 0;
|
48
|
+
left: 0;
|
49
|
+
bottom: 0;
|
50
|
+
right: 0;
|
51
|
+
background: #000;
|
52
|
+
z-index: 1100;
|
53
|
+
display: none;
|
54
|
+
}
|
55
|
+
|
56
|
+
* html #fancybox-overlay { /* IE6 */
|
57
|
+
position: absolute;
|
58
|
+
width: 100%;
|
59
|
+
}
|
60
|
+
|
61
|
+
#fancybox-tmp {
|
62
|
+
padding: 0;
|
63
|
+
margin: 0;
|
64
|
+
border: 0;
|
65
|
+
overflow: auto;
|
66
|
+
display: none;
|
67
|
+
}
|
68
|
+
|
69
|
+
#fancybox-wrap {
|
70
|
+
position: absolute;
|
71
|
+
top: 0;
|
72
|
+
left: 0;
|
73
|
+
margin: 0;
|
74
|
+
padding: 20px;
|
75
|
+
z-index: 1101;
|
76
|
+
display: none;
|
77
|
+
}
|
78
|
+
|
79
|
+
#fancybox-outer {
|
80
|
+
position: relative;
|
81
|
+
width: 100%;
|
82
|
+
height: 100%;
|
83
|
+
background: #FFF;
|
84
|
+
}
|
85
|
+
|
86
|
+
#fancybox-inner {
|
87
|
+
position: absolute;
|
88
|
+
top: 0;
|
89
|
+
left: 0;
|
90
|
+
width: 1px;
|
91
|
+
height: 1px;
|
92
|
+
padding: 0;
|
93
|
+
margin: 0;
|
94
|
+
outline: none;
|
95
|
+
overflow: hidden;
|
96
|
+
}
|
97
|
+
|
98
|
+
#fancybox-hide-sel-frame {
|
99
|
+
position: absolute;
|
100
|
+
top: 0;
|
101
|
+
left: 0;
|
102
|
+
width: 100%;
|
103
|
+
height: 100%;
|
104
|
+
background: transparent;
|
105
|
+
}
|
106
|
+
|
107
|
+
#fancybox-close {
|
108
|
+
position: absolute;
|
109
|
+
top: -15px;
|
110
|
+
right: -15px;
|
111
|
+
width: 30px;
|
112
|
+
height: 30px;
|
113
|
+
background-image: url('/images/admin/plugins/fancybox/fancybox.png');
|
114
|
+
background-position: -40px 0px;
|
115
|
+
cursor: pointer;
|
116
|
+
z-index: 1103;
|
117
|
+
display: none;
|
118
|
+
}
|
119
|
+
|
120
|
+
#fancybox_error {
|
121
|
+
color: #444;
|
122
|
+
font: normal 12px/20px Arial;
|
123
|
+
padding: 7px;
|
124
|
+
margin: 0;
|
125
|
+
}
|
126
|
+
|
127
|
+
#fancybox-content {
|
128
|
+
height: auto;
|
129
|
+
width: auto;
|
130
|
+
padding: 0;
|
131
|
+
margin: 0;
|
132
|
+
}
|
133
|
+
|
134
|
+
#fancybox-img {
|
135
|
+
width: 100%;
|
136
|
+
height: 100%;
|
137
|
+
padding: 0;
|
138
|
+
margin: 0;
|
139
|
+
border: none;
|
140
|
+
outline: none;
|
141
|
+
line-height: 0;
|
142
|
+
vertical-align: top;
|
143
|
+
-ms-interpolation-mode: bicubic;
|
144
|
+
}
|
145
|
+
|
146
|
+
#fancybox-frame {
|
147
|
+
position: relative;
|
148
|
+
width: 100%;
|
149
|
+
height: 100%;
|
150
|
+
border: none;
|
151
|
+
display: block;
|
152
|
+
}
|
153
|
+
|
154
|
+
#fancybox-title {
|
155
|
+
position: absolute;
|
156
|
+
bottom: 0;
|
157
|
+
left: 0;
|
158
|
+
font-family: Arial;
|
159
|
+
font-size: 12px;
|
160
|
+
z-index: 1102;
|
161
|
+
}
|
162
|
+
|
163
|
+
.fancybox-title-inside {
|
164
|
+
padding: 10px 0;
|
165
|
+
text-align: center;
|
166
|
+
color: #333;
|
167
|
+
}
|
168
|
+
|
169
|
+
.fancybox-title-outside {
|
170
|
+
padding-top: 5px;
|
171
|
+
color: #FFF;
|
172
|
+
text-align: center;
|
173
|
+
font-weight: bold;
|
174
|
+
}
|
175
|
+
|
176
|
+
.fancybox-title-over {
|
177
|
+
color: #FFF;
|
178
|
+
text-align: left;
|
179
|
+
}
|
180
|
+
|
181
|
+
#fancybox-title-over {
|
182
|
+
padding: 10px;
|
183
|
+
background-image: url('/images/admin/plugins/fancybox/fancy_title_over.png');
|
184
|
+
display: block;
|
185
|
+
}
|
186
|
+
|
187
|
+
#fancybox-title-wrap {
|
188
|
+
display: inline-block;
|
189
|
+
}
|
190
|
+
|
191
|
+
#fancybox-title-wrap span {
|
192
|
+
height: 32px;
|
193
|
+
float: left;
|
194
|
+
}
|
195
|
+
|
196
|
+
#fancybox-title-left {
|
197
|
+
padding-left: 15px;
|
198
|
+
background-image: url('/images/admin/plugins/fancybox/fancybox.png');
|
199
|
+
background-position: -40px -90px;
|
200
|
+
background-repeat: no-repeat;
|
201
|
+
}
|
202
|
+
|
203
|
+
#fancybox-title-main {
|
204
|
+
font-weight: bold;
|
205
|
+
line-height: 29px;
|
206
|
+
background-image: url('/images/admin/plugins/fancybox/fancybox-x.png');
|
207
|
+
background-position: 0px -40px;
|
208
|
+
color: #FFF;
|
209
|
+
}
|
210
|
+
|
211
|
+
#fancybox-title-right {
|
212
|
+
padding-left: 15px;
|
213
|
+
background-image: url('/images/admin/plugins/fancybox/fancybox.png');
|
214
|
+
background-position: -55px -90px;
|
215
|
+
background-repeat: no-repeat;
|
216
|
+
}
|
217
|
+
|
218
|
+
#fancybox-left, #fancybox-right {
|
219
|
+
position: absolute;
|
220
|
+
bottom: 0px;
|
221
|
+
height: 100%;
|
222
|
+
width: 35%;
|
223
|
+
cursor: pointer;
|
224
|
+
outline: none;
|
225
|
+
background-image: url('/images/admin/plugins/fancybox/blank.gif');
|
226
|
+
z-index: 1102;
|
227
|
+
display: none;
|
228
|
+
}
|
229
|
+
|
230
|
+
#fancybox-left {
|
231
|
+
left: 0px;
|
232
|
+
}
|
233
|
+
|
234
|
+
#fancybox-right {
|
235
|
+
right: 0px;
|
236
|
+
}
|
237
|
+
|
238
|
+
#fancybox-left-ico, #fancybox-right-ico {
|
239
|
+
position: absolute;
|
240
|
+
top: 50%;
|
241
|
+
left: -9999px;
|
242
|
+
width: 30px;
|
243
|
+
height: 30px;
|
244
|
+
margin-top: -15px;
|
245
|
+
cursor: pointer;
|
246
|
+
z-index: 1102;
|
247
|
+
display: block;
|
248
|
+
}
|
249
|
+
|
250
|
+
#fancybox-left-ico {
|
251
|
+
background-image: url('/images/admin/plugins/fancybox/fancybox.png');
|
252
|
+
background-position: -40px -30px;
|
253
|
+
}
|
254
|
+
|
255
|
+
#fancybox-right-ico {
|
256
|
+
background-image: url('/images/admin/plugins/fancybox/fancybox.png');
|
257
|
+
background-position: -40px -60px;
|
258
|
+
}
|
259
|
+
|
260
|
+
#fancybox-left:hover, #fancybox-right:hover {
|
261
|
+
visibility: visible; /* IE6 */
|
262
|
+
}
|
263
|
+
|
264
|
+
#fancybox-left:hover span {
|
265
|
+
left: 20px;
|
266
|
+
}
|
267
|
+
|
268
|
+
#fancybox-right:hover span {
|
269
|
+
left: auto;
|
270
|
+
right: 20px;
|
271
|
+
}
|
272
|
+
|
273
|
+
.fancy-bg {
|
274
|
+
position: absolute;
|
275
|
+
padding: 0;
|
276
|
+
margin: 0;
|
277
|
+
border: 0;
|
278
|
+
width: 20px;
|
279
|
+
height: 20px;
|
280
|
+
z-index: 1001;
|
281
|
+
}
|
282
|
+
|
283
|
+
#fancy-bg-n {
|
284
|
+
top: -20px;
|
285
|
+
left: 0;
|
286
|
+
width: 100%;
|
287
|
+
background-image: url('/images/admin/plugins/fancybox/fancybox-x.png');
|
288
|
+
}
|
289
|
+
|
290
|
+
#fancy-bg-ne {
|
291
|
+
top: -20px;
|
292
|
+
right: -20px;
|
293
|
+
background-image: url('/images/admin/plugins/fancybox/fancybox.png');
|
294
|
+
background-position: -40px -162px;
|
295
|
+
}
|
296
|
+
|
297
|
+
#fancy-bg-e {
|
298
|
+
top: 0;
|
299
|
+
right: -20px;
|
300
|
+
height: 100%;
|
301
|
+
background-image: url('/images/admin/plugins/fancybox/fancybox-y.png');
|
302
|
+
background-position: -20px 0px;
|
303
|
+
}
|
304
|
+
|
305
|
+
#fancy-bg-se {
|
306
|
+
bottom: -20px;
|
307
|
+
right: -20px;
|
308
|
+
background-image: url('/images/admin/plugins/fancybox/fancybox.png');
|
309
|
+
background-position: -40px -182px;
|
310
|
+
}
|
311
|
+
|
312
|
+
#fancy-bg-s {
|
313
|
+
bottom: -20px;
|
314
|
+
left: 0;
|
315
|
+
width: 100%;
|
316
|
+
background-image: url('/images/admin/plugins/fancybox/fancybox-x.png');
|
317
|
+
background-position: 0px -20px;
|
318
|
+
}
|
319
|
+
|
320
|
+
#fancy-bg-sw {
|
321
|
+
bottom: -20px;
|
322
|
+
left: -20px;
|
323
|
+
background-image: url('/images/admin/plugins/fancybox/fancybox.png');
|
324
|
+
background-position: -40px -142px;
|
325
|
+
}
|
326
|
+
|
327
|
+
#fancy-bg-w {
|
328
|
+
top: 0;
|
329
|
+
left: -20px;
|
330
|
+
height: 100%;
|
331
|
+
background-image: url('/images/admin/plugins/fancybox/fancybox-y.png');
|
332
|
+
}
|
333
|
+
|
334
|
+
#fancy-bg-nw {
|
335
|
+
top: -20px;
|
336
|
+
left: -20px;
|
337
|
+
background-image: url('/images/admin/plugins/fancybox/fancybox.png');
|
338
|
+
background-position: -40px -122px;
|
339
|
+
}
|
340
|
+
|
341
|
+
/* IE */
|
342
|
+
|
343
|
+
#fancybox-loading.fancybox-ie div { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_loading.png', sizingMethod='scale'); }
|
344
|
+
.fancybox-ie #fancybox-close { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_close.png', sizingMethod='scale'); }
|
345
|
+
|
346
|
+
.fancybox-ie #fancybox-title-over { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_title_over.png', sizingMethod='scale'); zoom: 1; }
|
347
|
+
.fancybox-ie #fancybox-title-left { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_title_left.png', sizingMethod='scale'); }
|
348
|
+
.fancybox-ie #fancybox-title-main { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_title_main.png', sizingMethod='scale'); }
|
349
|
+
.fancybox-ie #fancybox-title-right { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_title_right.png', sizingMethod='scale'); }
|
350
|
+
|
351
|
+
.fancybox-ie #fancybox-left-ico { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_nav_left.png', sizingMethod='scale'); }
|
352
|
+
.fancybox-ie #fancybox-right-ico { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_nav_right.png', sizingMethod='scale'); }
|
353
|
+
|
354
|
+
.fancybox-ie .fancy-bg { background: transparent !important; }
|
355
|
+
|
356
|
+
.fancybox-ie #fancy-bg-n { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_shadow_n.png', sizingMethod='scale'); }
|
357
|
+
.fancybox-ie #fancy-bg-ne { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_shadow_ne.png', sizingMethod='scale'); }
|
358
|
+
.fancybox-ie #fancy-bg-e { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_shadow_e.png', sizingMethod='scale'); }
|
359
|
+
.fancybox-ie #fancy-bg-se { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_shadow_se.png', sizingMethod='scale'); }
|
360
|
+
.fancybox-ie #fancy-bg-s { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_shadow_s.png', sizingMethod='scale'); }
|
361
|
+
.fancybox-ie #fancy-bg-sw { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_shadow_sw.png', sizingMethod='scale'); }
|
362
|
+
.fancybox-ie #fancy-bg-w { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_shadow_w.png', sizingMethod='scale'); }
|
363
|
+
.fancybox-ie #fancy-bg-nw { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_shadow_nw.png', sizingMethod='scale'); }
|