ppc_logic 0.8.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.document +5 -0
- data/.rspec +1 -0
- data/Capfile +4 -0
- data/Gemfile +31 -0
- data/Rakefile +32 -0
- data/VERSION +1 -0
- data/app/controllers/admin/ads_controller.rb +43 -0
- data/app/controllers/admin/branches_controller.rb +48 -0
- data/app/controllers/admin/campaigns_controller.rb +67 -0
- data/app/controllers/admin/landing_pages_controller.rb +63 -0
- data/app/controllers/admin/local_offers_controller.rb +44 -0
- data/app/controllers/admin/ppc_controller.rb +6 -0
- data/app/controllers/application_controller.rb +4 -0
- data/app/controllers/landing_pages_controller.rb +16 -0
- data/app/helpers/application_helper.rb +19 -0
- data/app/helpers/layout_helper.rb +18 -0
- data/app/models/ad.rb +49 -0
- data/app/models/branch.rb +35 -0
- data/app/models/campaign.rb +59 -0
- data/app/models/landing_page.rb +174 -0
- data/app/models/landing_page_report.rb +132 -0
- data/app/models/landing_page_stat.rb +43 -0
- data/app/models/local_offer.rb +38 -0
- data/app/views/admin/ads/_form.html.erb +215 -0
- data/app/views/admin/ads/edit.html.erb +5 -0
- data/app/views/admin/ads/index.html.erb +27 -0
- data/app/views/admin/ads/new.html.erb +5 -0
- data/app/views/admin/ads/show.html.erb +23 -0
- data/app/views/admin/branches/_form.html.erb +37 -0
- data/app/views/admin/branches/edit.html.erb +5 -0
- data/app/views/admin/branches/index.html.erb +25 -0
- data/app/views/admin/branches/new.html.erb +5 -0
- data/app/views/admin/branches/show.html.erb +23 -0
- data/app/views/admin/campaigns/_form.html.erb +95 -0
- data/app/views/admin/campaigns/_locale_select.html.erb +12 -0
- data/app/views/admin/campaigns/_targeting.html.erb +11 -0
- data/app/views/admin/campaigns/edit.html.erb +5 -0
- data/app/views/admin/campaigns/index.html.erb +35 -0
- data/app/views/admin/campaigns/new.html.erb +5 -0
- data/app/views/admin/campaigns/show.html.erb +23 -0
- data/app/views/admin/landing_pages/_form.html.erb +52 -0
- data/app/views/admin/landing_pages/_landing_page.html.erb +21 -0
- data/app/views/admin/landing_pages/edit.html.erb +5 -0
- data/app/views/admin/landing_pages/index.html.erb +30 -0
- data/app/views/admin/landing_pages/landing_page_report.html.erb +126 -0
- data/app/views/admin/landing_pages/new.html.erb +5 -0
- data/app/views/admin/landing_pages/show.html.erb +39 -0
- data/app/views/admin/local_offers/_form.html.erb +40 -0
- data/app/views/admin/local_offers/edit.html.erb +5 -0
- data/app/views/admin/local_offers/index.html.erb +31 -0
- data/app/views/admin/local_offers/new.html.erb +5 -0
- data/app/views/admin/local_offers/show.html.erb +22 -0
- data/app/views/admin/ppc/index.html.erb +15 -0
- data/app/views/landing_pages/show.html.erb +2 -0
- data/app/views/layouts/application.html.erb +52 -0
- data/config.ru +2 -0
- data/config/application.rb +11 -0
- data/config/boot.rb +3 -0
- data/config/cucumber.yml +10 -0
- data/config/environment.rb +3 -0
- data/config/environments/development.rb +12 -0
- data/config/environments/production.rb +9 -0
- data/config/environments/test.rb +15 -0
- data/config/initializers/campfire_logic.rb +10 -0
- data/config/initializers/formats.rb +19 -0
- data/config/initializers/metric_fu.rb +9 -0
- data/config/initializers/ppc_logic.rb +9 -0
- data/config/initializers/secret_token.rb +1 -0
- data/config/initializers/session_store.rb +1 -0
- data/config/mongoid.yml +18 -0
- data/config/routes.rb +23 -0
- data/features/manage_landing_pages.feature +47 -0
- data/features/manage_local_offers.feature +47 -0
- data/features/step_definitions/general_steps.rb +7 -0
- data/features/step_definitions/landing_page_steps.rb +7 -0
- data/features/step_definitions/site_steps.rb +19 -0
- data/features/step_definitions/web_steps.rb +219 -0
- data/features/support/env.rb +33 -0
- data/features/support/hooks.rb +4 -0
- data/features/support/paths.rb +33 -0
- data/init.rb +1 -0
- data/lib/.DS_Store +0 -0
- data/lib/madmen.rb +9 -0
- data/lib/madmen/google.rb +97 -0
- data/lib/madmen/google/ad.rb +177 -0
- data/lib/madmen/google/ad_group.rb +209 -0
- data/lib/madmen/google/campaign.rb +307 -0
- data/lib/madmen/google/keyword.rb +123 -0
- data/lib/ppc_logic.rb +19 -0
- data/lib/ppc_logic/engine.rb +7 -0
- data/lib/ppc_logic/railtie.rb +10 -0
- data/lib/tasks/cucumber.rake +53 -0
- data/lib/tasks/rcov.rake +76 -0
- data/ppc_logic.gemspec +939 -0
- data/public/404.html +26 -0
- data/public/422.html +26 -0
- data/public/500.html +26 -0
- data/public/favicon.ico +0 -0
- data/public/images/icons/add.png +0 -0
- data/public/images/icons/checkmark.gif +0 -0
- data/public/images/icons/collapsed.gif +0 -0
- data/public/images/icons/delete.png +0 -0
- data/public/images/icons/drag.png +0 -0
- data/public/images/icons/edit.png +0 -0
- data/public/images/icons/expanded.gif +0 -0
- data/public/images/icons/help_icon.png +0 -0
- data/public/images/icons/link_icon.png +0 -0
- data/public/images/icons/move.png +0 -0
- data/public/images/icons/move_white.png +0 -0
- data/public/images/icons/note.png +0 -0
- data/public/images/icons/note_white.png +0 -0
- data/public/images/icons/notification_icon_sprite.png +0 -0
- data/public/images/icons/spinner.gif +0 -0
- data/public/images/icons/view.png +0 -0
- data/public/images/icons/warning.png +0 -0
- data/public/images/icons/warning_2.png +0 -0
- data/public/images/icons/warning_box.png +0 -0
- data/public/images/icons/warning_icon.png +0 -0
- data/public/images/icons/warning_white.png +0 -0
- data/public/images/layout/arrow_asc.png +0 -0
- data/public/images/layout/arrow_desc.png +0 -0
- data/public/images/layout/back.png +0 -0
- data/public/images/layout/black_bar.png +0 -0
- data/public/images/layout/branding.png +0 -0
- data/public/images/layout/breadcrumb_bg.png +0 -0
- data/public/images/layout/button_bg.png +0 -0
- data/public/images/layout/content_left_bg.png +0 -0
- data/public/images/layout/content_right_bg.png +0 -0
- data/public/images/layout/footer_bg.png +0 -0
- data/public/images/layout/h1_bg.png +0 -0
- data/public/images/layout/h2_bg.png +0 -0
- data/public/images/layout/h2_bg_for_table.png +0 -0
- data/public/images/layout/header_bg_grey.png +0 -0
- data/public/images/layout/header_bg_purple.png +0 -0
- data/public/images/layout/legend_bg.png +0 -0
- data/public/images/layout/menu_box_bg.png +0 -0
- data/public/images/layout/shadow_border.png +0 -0
- data/public/images/layout/shadow_border_2.png +0 -0
- data/public/images/layout/shadow_border_3.png +0 -0
- data/public/images/layout/shadow_border_4.png +0 -0
- data/public/images/layout/tab.png +0 -0
- data/public/images/layout/tab_active.png +0 -0
- data/public/images/layout/table_header.png +0 -0
- data/public/images/layout/text_field_bg.jpg +0 -0
- data/public/images/layout/text_field_error_bg.png +0 -0
- data/public/images/layout/th_bg.png +0 -0
- data/public/images/layout/th_bg_selected.png +0 -0
- data/public/images/menu_icons/account.png +0 -0
- data/public/images/menu_icons/affiliates.png +0 -0
- data/public/images/menu_icons/banner_ad.png +0 -0
- data/public/images/menu_icons/banner_ad_disabled.png +0 -0
- data/public/images/menu_icons/banner_ad_on.png +0 -0
- data/public/images/menu_icons/banner_ads_disabled.png +0 -0
- data/public/images/menu_icons/billing.png +0 -0
- data/public/images/menu_icons/campaigns.png +0 -0
- data/public/images/menu_icons/campaigns_disabled.png +0 -0
- data/public/images/menu_icons/campaigns_on.png +0 -0
- data/public/images/menu_icons/categories.png +0 -0
- data/public/images/menu_icons/clients.png +0 -0
- data/public/images/menu_icons/clients_on.png +0 -0
- data/public/images/menu_icons/contact.png +0 -0
- data/public/images/menu_icons/directories.png +0 -0
- data/public/images/menu_icons/document.png +0 -0
- data/public/images/menu_icons/document_on.png +0 -0
- data/public/images/menu_icons/help.png +0 -0
- data/public/images/menu_icons/images.png +0 -0
- data/public/images/menu_icons/images_on.png +0 -0
- data/public/images/menu_icons/keywords.png +0 -0
- data/public/images/menu_icons/landing_pages.png +0 -0
- data/public/images/menu_icons/landing_pages_disabled.png +0 -0
- data/public/images/menu_icons/landing_pages_on.png +0 -0
- data/public/images/menu_icons/library.png +0 -0
- data/public/images/menu_icons/library_on.png +0 -0
- data/public/images/menu_icons/local_site.png +0 -0
- data/public/images/menu_icons/local_site_on.png +0 -0
- data/public/images/menu_icons/locations.png +0 -0
- data/public/images/menu_icons/locations_on.png +0 -0
- data/public/images/menu_icons/messages.png +0 -0
- data/public/images/menu_icons/messages_on.png +0 -0
- data/public/images/menu_icons/ppc_ads.png +0 -0
- data/public/images/menu_icons/ppc_ads_disabled.png +0 -0
- data/public/images/menu_icons/ppc_ads_on.png +0 -0
- data/public/images/menu_icons/print_collaterals.png +0 -0
- data/public/images/menu_icons/print_collaterals_disabled.png +0 -0
- data/public/images/menu_icons/print_collaterals_on.png +0 -0
- data/public/images/menu_icons/reports.png +0 -0
- data/public/images/menu_icons/reports_on.png +0 -0
- data/public/images/menu_icons/services.png +0 -0
- data/public/images/menu_icons/services_on.png +0 -0
- data/public/images/menu_icons/settings.png +0 -0
- data/public/images/menu_icons/site_template.png +0 -0
- data/public/images/menu_icons/site_template_on.png +0 -0
- data/public/images/menu_icons/survey.png +0 -0
- data/public/images/menu_icons/survey_on.png +0 -0
- data/public/images/menu_icons/users.png +0 -0
- data/public/images/menu_icons/users_on.png +0 -0
- data/public/images/menu_icons/video.png +0 -0
- data/public/images/menu_icons/video_on.png +0 -0
- data/public/index.html +9 -0
- data/public/javascripts/application.js +2 -0
- data/public/javascripts/ckeditor/.htaccess +24 -0
- data/public/javascripts/ckeditor/CHANGES.html +993 -0
- data/public/javascripts/ckeditor/INSTALL.html +92 -0
- data/public/javascripts/ckeditor/LICENSE.html +1334 -0
- data/public/javascripts/ckeditor/_samples/ajax.html +87 -0
- data/public/javascripts/ckeditor/_samples/api.html +152 -0
- data/public/javascripts/ckeditor/_samples/api_dialog.html +188 -0
- data/public/javascripts/ckeditor/_samples/api_dialog/my_dialog.js +28 -0
- data/public/javascripts/ckeditor/_samples/asp/advanced.asp +105 -0
- data/public/javascripts/ckeditor/_samples/asp/events.asp +136 -0
- data/public/javascripts/ckeditor/_samples/asp/index.html +103 -0
- data/public/javascripts/ckeditor/_samples/asp/replace.asp +72 -0
- data/public/javascripts/ckeditor/_samples/asp/replaceall.asp +77 -0
- data/public/javascripts/ckeditor/_samples/asp/sample_posteddata.asp +46 -0
- data/public/javascripts/ckeditor/_samples/asp/standalone.asp +72 -0
- data/public/javascripts/ckeditor/_samples/assets/output_for_flash.fla +0 -0
- data/public/javascripts/ckeditor/_samples/assets/output_for_flash.swf +0 -0
- data/public/javascripts/ckeditor/_samples/assets/output_xhtml.css +204 -0
- data/public/javascripts/ckeditor/_samples/assets/swfobject.js +18 -0
- data/public/javascripts/ckeditor/_samples/autogrow.html +75 -0
- data/public/javascripts/ckeditor/_samples/divreplace.html +137 -0
- data/public/javascripts/ckeditor/_samples/enterkey.html +88 -0
- data/public/javascripts/ckeditor/_samples/fullpage.html +62 -0
- data/public/javascripts/ckeditor/_samples/index.html +57 -0
- data/public/javascripts/ckeditor/_samples/jqueryadapter.html +73 -0
- data/public/javascripts/ckeditor/_samples/output_for_flash.html +257 -0
- data/public/javascripts/ckeditor/_samples/output_html.html +259 -0
- data/public/javascripts/ckeditor/_samples/output_xhtml.html +159 -0
- data/public/javascripts/ckeditor/_samples/php/advanced.php +93 -0
- data/public/javascripts/ckeditor/_samples/php/events.php +130 -0
- data/public/javascripts/ckeditor/_samples/php/replace.php +63 -0
- data/public/javascripts/ckeditor/_samples/php/replaceall.php +68 -0
- data/public/javascripts/ckeditor/_samples/php/standalone.php +64 -0
- data/public/javascripts/ckeditor/_samples/replacebyclass.html +49 -0
- data/public/javascripts/ckeditor/_samples/replacebycode.html +80 -0
- data/public/javascripts/ckeditor/_samples/sample.css +81 -0
- data/public/javascripts/ckeditor/_samples/sample.js +65 -0
- data/public/javascripts/ckeditor/_samples/sample_posteddata.php +59 -0
- data/public/javascripts/ckeditor/_samples/sharedspaces.html +131 -0
- data/public/javascripts/ckeditor/_samples/skins.html +83 -0
- data/public/javascripts/ckeditor/_samples/ui_color.html +87 -0
- data/public/javascripts/ckeditor/_samples/ui_languages.html +103 -0
- data/public/javascripts/ckeditor/_source/adapters/jquery.js +297 -0
- data/public/javascripts/ckeditor/_source/core/_bootstrap.js +96 -0
- data/public/javascripts/ckeditor/_source/core/ajax.js +142 -0
- data/public/javascripts/ckeditor/_source/core/ckeditor.js +133 -0
- data/public/javascripts/ckeditor/_source/core/ckeditor_base.js +196 -0
- data/public/javascripts/ckeditor/_source/core/ckeditor_basic.js +239 -0
- data/public/javascripts/ckeditor/_source/core/command.js +209 -0
- data/public/javascripts/ckeditor/_source/core/commanddefinition.js +129 -0
- data/public/javascripts/ckeditor/_source/core/config.js +430 -0
- data/public/javascripts/ckeditor/_source/core/dataprocessor.js +65 -0
- data/public/javascripts/ckeditor/_source/core/dom.js +20 -0
- data/public/javascripts/ckeditor/_source/core/dom/comment.js +32 -0
- data/public/javascripts/ckeditor/_source/core/dom/document.js +224 -0
- data/public/javascripts/ckeditor/_source/core/dom/documentfragment.js +49 -0
- data/public/javascripts/ckeditor/_source/core/dom/domobject.js +255 -0
- data/public/javascripts/ckeditor/_source/core/dom/element.js +1564 -0
- data/public/javascripts/ckeditor/_source/core/dom/elementpath.js +119 -0
- data/public/javascripts/ckeditor/_source/core/dom/event.js +142 -0
- data/public/javascripts/ckeditor/_source/core/dom/node.js +683 -0
- data/public/javascripts/ckeditor/_source/core/dom/nodelist.js +26 -0
- data/public/javascripts/ckeditor/_source/core/dom/range.js +1883 -0
- data/public/javascripts/ckeditor/_source/core/dom/rangelist.js +214 -0
- data/public/javascripts/ckeditor/_source/core/dom/text.js +123 -0
- data/public/javascripts/ckeditor/_source/core/dom/walker.js +445 -0
- data/public/javascripts/ckeditor/_source/core/dom/window.js +96 -0
- data/public/javascripts/ckeditor/_source/core/dtd.js +238 -0
- data/public/javascripts/ckeditor/_source/core/editor.js +924 -0
- data/public/javascripts/ckeditor/_source/core/editor_basic.js +182 -0
- data/public/javascripts/ckeditor/_source/core/env.js +270 -0
- data/public/javascripts/ckeditor/_source/core/event.js +342 -0
- data/public/javascripts/ckeditor/_source/core/eventInfo.js +120 -0
- data/public/javascripts/ckeditor/_source/core/focusmanager.js +152 -0
- data/public/javascripts/ckeditor/_source/core/htmlparser.js +224 -0
- data/public/javascripts/ckeditor/_source/core/htmlparser/basicwriter.js +145 -0
- data/public/javascripts/ckeditor/_source/core/htmlparser/cdata.js +43 -0
- data/public/javascripts/ckeditor/_source/core/htmlparser/comment.js +60 -0
- data/public/javascripts/ckeditor/_source/core/htmlparser/element.js +240 -0
- data/public/javascripts/ckeditor/_source/core/htmlparser/filter.js +288 -0
- data/public/javascripts/ckeditor/_source/core/htmlparser/fragment.js +504 -0
- data/public/javascripts/ckeditor/_source/core/htmlparser/text.js +55 -0
- data/public/javascripts/ckeditor/_source/core/imagecacher.js +80 -0
- data/public/javascripts/ckeditor/_source/core/lang.js +156 -0
- data/public/javascripts/ckeditor/_source/core/loader.js +243 -0
- data/public/javascripts/ckeditor/_source/core/plugindefinition.js +66 -0
- data/public/javascripts/ckeditor/_source/core/plugins.js +85 -0
- data/public/javascripts/ckeditor/_source/core/resourcemanager.js +238 -0
- data/public/javascripts/ckeditor/_source/core/scriptloader.js +200 -0
- data/public/javascripts/ckeditor/_source/core/skins.js +212 -0
- data/public/javascripts/ckeditor/_source/core/themes.js +19 -0
- data/public/javascripts/ckeditor/_source/core/tools.js +734 -0
- data/public/javascripts/ckeditor/_source/core/ui.js +116 -0
- data/public/javascripts/ckeditor/_source/core/xml.js +165 -0
- data/public/javascripts/ckeditor/_source/lang/_languages.js +83 -0
- data/public/javascripts/ckeditor/_source/lang/_translationstatus.txt +60 -0
- data/public/javascripts/ckeditor/_source/lang/af.js +758 -0
- data/public/javascripts/ckeditor/_source/lang/ar.js +758 -0
- data/public/javascripts/ckeditor/_source/lang/bg.js +758 -0
- data/public/javascripts/ckeditor/_source/lang/bn.js +758 -0
- data/public/javascripts/ckeditor/_source/lang/bs.js +758 -0
- data/public/javascripts/ckeditor/_source/lang/ca.js +758 -0
- data/public/javascripts/ckeditor/_source/lang/cs.js +758 -0
- data/public/javascripts/ckeditor/_source/lang/cy.js +758 -0
- data/public/javascripts/ckeditor/_source/lang/da.js +758 -0
- data/public/javascripts/ckeditor/_source/lang/de.js +758 -0
- data/public/javascripts/ckeditor/_source/lang/el.js +758 -0
- data/public/javascripts/ckeditor/_source/lang/en-au.js +758 -0
- data/public/javascripts/ckeditor/_source/lang/en-ca.js +758 -0
- data/public/javascripts/ckeditor/_source/lang/en-gb.js +758 -0
- data/public/javascripts/ckeditor/_source/lang/en.js +758 -0
- data/public/javascripts/ckeditor/_source/lang/eo.js +758 -0
- data/public/javascripts/ckeditor/_source/lang/es.js +758 -0
- data/public/javascripts/ckeditor/_source/lang/et.js +758 -0
- data/public/javascripts/ckeditor/_source/lang/eu.js +758 -0
- data/public/javascripts/ckeditor/_source/lang/fa.js +758 -0
- data/public/javascripts/ckeditor/_source/lang/fi.js +758 -0
- data/public/javascripts/ckeditor/_source/lang/fo.js +758 -0
- data/public/javascripts/ckeditor/_source/lang/fr-ca.js +758 -0
- data/public/javascripts/ckeditor/_source/lang/fr.js +758 -0
- data/public/javascripts/ckeditor/_source/lang/gl.js +758 -0
- data/public/javascripts/ckeditor/_source/lang/gu.js +758 -0
- data/public/javascripts/ckeditor/_source/lang/he.js +758 -0
- data/public/javascripts/ckeditor/_source/lang/hi.js +758 -0
- data/public/javascripts/ckeditor/_source/lang/hr.js +758 -0
- data/public/javascripts/ckeditor/_source/lang/hu.js +758 -0
- data/public/javascripts/ckeditor/_source/lang/is.js +758 -0
- data/public/javascripts/ckeditor/_source/lang/it.js +758 -0
- data/public/javascripts/ckeditor/_source/lang/ja.js +758 -0
- data/public/javascripts/ckeditor/_source/lang/km.js +758 -0
- data/public/javascripts/ckeditor/_source/lang/ko.js +758 -0
- data/public/javascripts/ckeditor/_source/lang/lt.js +758 -0
- data/public/javascripts/ckeditor/_source/lang/lv.js +758 -0
- data/public/javascripts/ckeditor/_source/lang/mn.js +758 -0
- data/public/javascripts/ckeditor/_source/lang/ms.js +758 -0
- data/public/javascripts/ckeditor/_source/lang/nb.js +758 -0
- data/public/javascripts/ckeditor/_source/lang/nl.js +758 -0
- data/public/javascripts/ckeditor/_source/lang/no.js +758 -0
- data/public/javascripts/ckeditor/_source/lang/pl.js +758 -0
- data/public/javascripts/ckeditor/_source/lang/pt-br.js +757 -0
- data/public/javascripts/ckeditor/_source/lang/pt.js +758 -0
- data/public/javascripts/ckeditor/_source/lang/ro.js +758 -0
- data/public/javascripts/ckeditor/_source/lang/ru.js +758 -0
- data/public/javascripts/ckeditor/_source/lang/sk.js +758 -0
- data/public/javascripts/ckeditor/_source/lang/sl.js +758 -0
- data/public/javascripts/ckeditor/_source/lang/sr-latn.js +758 -0
- data/public/javascripts/ckeditor/_source/lang/sr.js +758 -0
- data/public/javascripts/ckeditor/_source/lang/sv.js +758 -0
- data/public/javascripts/ckeditor/_source/lang/th.js +758 -0
- data/public/javascripts/ckeditor/_source/lang/tr.js +757 -0
- data/public/javascripts/ckeditor/_source/lang/uk.js +758 -0
- data/public/javascripts/ckeditor/_source/lang/vi.js +758 -0
- data/public/javascripts/ckeditor/_source/lang/zh-cn.js +758 -0
- data/public/javascripts/ckeditor/_source/lang/zh.js +758 -0
- data/public/javascripts/ckeditor/_source/plugins/a11yhelp/dialogs/a11yhelp.js +211 -0
- data/public/javascripts/ckeditor/_source/plugins/a11yhelp/lang/en.js +108 -0
- data/public/javascripts/ckeditor/_source/plugins/a11yhelp/lang/he.js +216 -0
- data/public/javascripts/ckeditor/_source/plugins/a11yhelp/plugin.js +46 -0
- data/public/javascripts/ckeditor/_source/plugins/about/dialogs/about.js +73 -0
- data/public/javascripts/ckeditor/_source/plugins/about/dialogs/logo_ckeditor.png +0 -0
- data/public/javascripts/ckeditor/_source/plugins/about/plugin.js +23 -0
- data/public/javascripts/ckeditor/_source/plugins/ajax_save/plugin.js +44 -0
- data/public/javascripts/ckeditor/_source/plugins/attachment/dialogs/attachment.js +384 -0
- data/public/javascripts/ckeditor/_source/plugins/attachment/images/attachment.png +0 -0
- data/public/javascripts/ckeditor/_source/plugins/attachment/lang/en.js +10 -0
- data/public/javascripts/ckeditor/_source/plugins/attachment/lang/ru.js +10 -0
- data/public/javascripts/ckeditor/_source/plugins/attachment/lang/uk.js +10 -0
- data/public/javascripts/ckeditor/_source/plugins/attachment/plugin.js +44 -0
- data/public/javascripts/ckeditor/_source/plugins/autogrow/plugin.js +86 -0
- data/public/javascripts/ckeditor/_source/plugins/basicstyles/plugin.js +101 -0
- data/public/javascripts/ckeditor/_source/plugins/bidi/plugin.js +259 -0
- data/public/javascripts/ckeditor/_source/plugins/blockquote/plugin.js +301 -0
- data/public/javascripts/ckeditor/_source/plugins/button/plugin.js +277 -0
- data/public/javascripts/ckeditor/_source/plugins/clipboard/dialogs/paste.js +205 -0
- data/public/javascripts/ckeditor/_source/plugins/clipboard/plugin.js +412 -0
- data/public/javascripts/ckeditor/_source/plugins/colorbutton/plugin.js +250 -0
- data/public/javascripts/ckeditor/_source/plugins/colordialog/dialogs/colordialog.js +336 -0
- data/public/javascripts/ckeditor/_source/plugins/colordialog/plugin.js +13 -0
- data/public/javascripts/ckeditor/_source/plugins/contextmenu/plugin.js +290 -0
- data/public/javascripts/ckeditor/_source/plugins/dialog/dialogDefinition.js +315 -0
- data/public/javascripts/ckeditor/_source/plugins/dialog/plugin.js +3015 -0
- data/public/javascripts/ckeditor/_source/plugins/dialogadvtab/plugin.js +213 -0
- data/public/javascripts/ckeditor/_source/plugins/dialogui/plugin.js +1523 -0
- data/public/javascripts/ckeditor/_source/plugins/div/dialogs/div.js +535 -0
- data/public/javascripts/ckeditor/_source/plugins/div/plugin.js +121 -0
- data/public/javascripts/ckeditor/_source/plugins/domiterator/plugin.js +356 -0
- data/public/javascripts/ckeditor/_source/plugins/editingblock/plugin.js +229 -0
- data/public/javascripts/ckeditor/_source/plugins/elementspath/plugin.js +206 -0
- data/public/javascripts/ckeditor/_source/plugins/embed/dialogs/embed.js +65 -0
- data/public/javascripts/ckeditor/_source/plugins/embed/images/embed.png +0 -0
- data/public/javascripts/ckeditor/_source/plugins/embed/lang/en.js +9 -0
- data/public/javascripts/ckeditor/_source/plugins/embed/lang/ru.js +9 -0
- data/public/javascripts/ckeditor/_source/plugins/embed/lang/uk.js +9 -0
- data/public/javascripts/ckeditor/_source/plugins/embed/plugin.js +44 -0
- data/public/javascripts/ckeditor/_source/plugins/enterkey/plugin.js +363 -0
- data/public/javascripts/ckeditor/_source/plugins/entities/plugin.js +226 -0
- data/public/javascripts/ckeditor/_source/plugins/fakeobjects/plugin.js +122 -0
- data/public/javascripts/ckeditor/_source/plugins/filebrowser/plugin.js +501 -0
- data/public/javascripts/ckeditor/_source/plugins/find/dialogs/find.js +890 -0
- data/public/javascripts/ckeditor/_source/plugins/find/plugin.js +46 -0
- data/public/javascripts/ckeditor/_source/plugins/flash/dialogs/flash.js +698 -0
- data/public/javascripts/ckeditor/_source/plugins/flash/images/placeholder.png +0 -0
- data/public/javascripts/ckeditor/_source/plugins/flash/plugin.js +168 -0
- data/public/javascripts/ckeditor/_source/plugins/floatpanel/plugin.js +402 -0
- data/public/javascripts/ckeditor/_source/plugins/font/plugin.js +234 -0
- data/public/javascripts/ckeditor/_source/plugins/format/plugin.js +194 -0
- data/public/javascripts/ckeditor/_source/plugins/forms/dialogs/button.js +135 -0
- data/public/javascripts/ckeditor/_source/plugins/forms/dialogs/checkbox.js +153 -0
- data/public/javascripts/ckeditor/_source/plugins/forms/dialogs/form.js +177 -0
- data/public/javascripts/ckeditor/_source/plugins/forms/dialogs/hiddenfield.js +98 -0
- data/public/javascripts/ckeditor/_source/plugins/forms/dialogs/radio.js +135 -0
- data/public/javascripts/ckeditor/_source/plugins/forms/dialogs/select.js +556 -0
- data/public/javascripts/ckeditor/_source/plugins/forms/dialogs/textarea.js +114 -0
- data/public/javascripts/ckeditor/_source/plugins/forms/dialogs/textfield.js +199 -0
- data/public/javascripts/ckeditor/_source/plugins/forms/images/hiddenfield.gif +0 -0
- data/public/javascripts/ckeditor/_source/plugins/forms/plugin.js +284 -0
- data/public/javascripts/ckeditor/_source/plugins/horizontalrule/plugin.js +36 -0
- data/public/javascripts/ckeditor/_source/plugins/htmldataprocessor/plugin.js +502 -0
- data/public/javascripts/ckeditor/_source/plugins/htmlwriter/plugin.js +319 -0
- data/public/javascripts/ckeditor/_source/plugins/iframedialog/plugin.js +136 -0
- data/public/javascripts/ckeditor/_source/plugins/image/dialogs/image.js +1396 -0
- data/public/javascripts/ckeditor/_source/plugins/image/plugin.js +81 -0
- data/public/javascripts/ckeditor/_source/plugins/indent/plugin.js +455 -0
- data/public/javascripts/ckeditor/_source/plugins/justify/plugin.js +221 -0
- data/public/javascripts/ckeditor/_source/plugins/keystrokes/plugin.js +225 -0
- data/public/javascripts/ckeditor/_source/plugins/link/dialogs/anchor.js +99 -0
- data/public/javascripts/ckeditor/_source/plugins/link/dialogs/link.js +1424 -0
- data/public/javascripts/ckeditor/_source/plugins/link/images/anchor.gif +0 -0
- data/public/javascripts/ckeditor/_source/plugins/link/plugin.js +238 -0
- data/public/javascripts/ckeditor/_source/plugins/list/plugin.js +710 -0
- data/public/javascripts/ckeditor/_source/plugins/listblock/plugin.js +257 -0
- data/public/javascripts/ckeditor/_source/plugins/liststyle/dialogs/liststyle.js +204 -0
- data/public/javascripts/ckeditor/_source/plugins/liststyle/plugin.js +66 -0
- data/public/javascripts/ckeditor/_source/plugins/maximize/plugin.js +350 -0
- data/public/javascripts/ckeditor/_source/plugins/menu/plugin.js +408 -0
- data/public/javascripts/ckeditor/_source/plugins/menubutton/plugin.js +94 -0
- data/public/javascripts/ckeditor/_source/plugins/newpage/plugin.js +53 -0
- data/public/javascripts/ckeditor/_source/plugins/pagebreak/images/pagebreak.gif +0 -0
- data/public/javascripts/ckeditor/_source/plugins/pagebreak/plugin.js +121 -0
- data/public/javascripts/ckeditor/_source/plugins/panel/plugin.js +399 -0
- data/public/javascripts/ckeditor/_source/plugins/panelbutton/plugin.js +147 -0
- data/public/javascripts/ckeditor/_source/plugins/pastefromword/filter/default.js +1170 -0
- data/public/javascripts/ckeditor/_source/plugins/pastefromword/plugin.js +122 -0
- data/public/javascripts/ckeditor/_source/plugins/pastetext/dialogs/pastetext.js +70 -0
- data/public/javascripts/ckeditor/_source/plugins/pastetext/plugin.js +145 -0
- data/public/javascripts/ckeditor/_source/plugins/popup/plugin.js +64 -0
- data/public/javascripts/ckeditor/_source/plugins/preview/plugin.js +108 -0
- data/public/javascripts/ckeditor/_source/plugins/print/plugin.js +41 -0
- data/public/javascripts/ckeditor/_source/plugins/removeformat/plugin.js +184 -0
- data/public/javascripts/ckeditor/_source/plugins/resize/plugin.js +157 -0
- data/public/javascripts/ckeditor/_source/plugins/richcombo/plugin.js +370 -0
- data/public/javascripts/ckeditor/_source/plugins/save/plugin.js +55 -0
- data/public/javascripts/ckeditor/_source/plugins/scayt/dialogs/options.js +534 -0
- data/public/javascripts/ckeditor/_source/plugins/scayt/dialogs/toolbar.css +71 -0
- data/public/javascripts/ckeditor/_source/plugins/scayt/plugin.js +945 -0
- data/public/javascripts/ckeditor/_source/plugins/selection/plugin.js +1375 -0
- data/public/javascripts/ckeditor/_source/plugins/showblocks/images/block_address.png +0 -0
- data/public/javascripts/ckeditor/_source/plugins/showblocks/images/block_blockquote.png +0 -0
- data/public/javascripts/ckeditor/_source/plugins/showblocks/images/block_div.png +0 -0
- data/public/javascripts/ckeditor/_source/plugins/showblocks/images/block_h1.png +0 -0
- data/public/javascripts/ckeditor/_source/plugins/showblocks/images/block_h2.png +0 -0
- data/public/javascripts/ckeditor/_source/plugins/showblocks/images/block_h3.png +0 -0
- data/public/javascripts/ckeditor/_source/plugins/showblocks/images/block_h4.png +0 -0
- data/public/javascripts/ckeditor/_source/plugins/showblocks/images/block_h5.png +0 -0
- data/public/javascripts/ckeditor/_source/plugins/showblocks/images/block_h6.png +0 -0
- data/public/javascripts/ckeditor/_source/plugins/showblocks/images/block_p.png +0 -0
- data/public/javascripts/ckeditor/_source/plugins/showblocks/images/block_pre.png +0 -0
- data/public/javascripts/ckeditor/_source/plugins/showblocks/plugin.js +155 -0
- data/public/javascripts/ckeditor/_source/plugins/showborders/plugin.js +201 -0
- data/public/javascripts/ckeditor/_source/plugins/smiley/dialogs/smiley.js +218 -0
- data/public/javascripts/ckeditor/_source/plugins/smiley/images/angel_smile.gif +0 -0
- data/public/javascripts/ckeditor/_source/plugins/smiley/images/angry_smile.gif +0 -0
- data/public/javascripts/ckeditor/_source/plugins/smiley/images/broken_heart.gif +0 -0
- data/public/javascripts/ckeditor/_source/plugins/smiley/images/confused_smile.gif +0 -0
- data/public/javascripts/ckeditor/_source/plugins/smiley/images/cry_smile.gif +0 -0
- data/public/javascripts/ckeditor/_source/plugins/smiley/images/devil_smile.gif +0 -0
- data/public/javascripts/ckeditor/_source/plugins/smiley/images/embaressed_smile.gif +0 -0
- data/public/javascripts/ckeditor/_source/plugins/smiley/images/envelope.gif +0 -0
- data/public/javascripts/ckeditor/_source/plugins/smiley/images/heart.gif +0 -0
- data/public/javascripts/ckeditor/_source/plugins/smiley/images/kiss.gif +0 -0
- data/public/javascripts/ckeditor/_source/plugins/smiley/images/lightbulb.gif +0 -0
- data/public/javascripts/ckeditor/_source/plugins/smiley/images/omg_smile.gif +0 -0
- data/public/javascripts/ckeditor/_source/plugins/smiley/images/regular_smile.gif +0 -0
- data/public/javascripts/ckeditor/_source/plugins/smiley/images/sad_smile.gif +0 -0
- data/public/javascripts/ckeditor/_source/plugins/smiley/images/shades_smile.gif +0 -0
- data/public/javascripts/ckeditor/_source/plugins/smiley/images/teeth_smile.gif +0 -0
- data/public/javascripts/ckeditor/_source/plugins/smiley/images/thumbs_down.gif +0 -0
- data/public/javascripts/ckeditor/_source/plugins/smiley/images/thumbs_up.gif +0 -0
- data/public/javascripts/ckeditor/_source/plugins/smiley/images/tounge_smile.gif +0 -0
- data/public/javascripts/ckeditor/_source/plugins/smiley/images/whatchutalkingabout_smile.gif +0 -0
- data/public/javascripts/ckeditor/_source/plugins/smiley/images/wink_smile.gif +0 -0
- data/public/javascripts/ckeditor/_source/plugins/smiley/plugin.js +94 -0
- data/public/javascripts/ckeditor/_source/plugins/sourcearea/plugin.js +207 -0
- data/public/javascripts/ckeditor/_source/plugins/specialchar/dialogs/specialchar.js +409 -0
- data/public/javascripts/ckeditor/_source/plugins/specialchar/plugin.js +29 -0
- data/public/javascripts/ckeditor/_source/plugins/styles/plugin.js +1479 -0
- data/public/javascripts/ckeditor/_source/plugins/styles/styles/default.js +88 -0
- data/public/javascripts/ckeditor/_source/plugins/stylescombo/plugin.js +206 -0
- data/public/javascripts/ckeditor/_source/plugins/tab/plugin.js +367 -0
- data/public/javascripts/ckeditor/_source/plugins/table/dialogs/table.js +672 -0
- data/public/javascripts/ckeditor/_source/plugins/table/plugin.js +78 -0
- data/public/javascripts/ckeditor/_source/plugins/tableresize/plugin.js +450 -0
- data/public/javascripts/ckeditor/_source/plugins/tabletools/dialogs/tableCell.js +533 -0
- data/public/javascripts/ckeditor/_source/plugins/tabletools/plugin.js +1120 -0
- data/public/javascripts/ckeditor/_source/plugins/templates/dialogs/templates.js +233 -0
- data/public/javascripts/ckeditor/_source/plugins/templates/plugin.js +99 -0
- data/public/javascripts/ckeditor/_source/plugins/templates/templates/default.js +94 -0
- data/public/javascripts/ckeditor/_source/plugins/templates/templates/images/template1.gif +0 -0
- data/public/javascripts/ckeditor/_source/plugins/templates/templates/images/template2.gif +0 -0
- data/public/javascripts/ckeditor/_source/plugins/templates/templates/images/template3.gif +0 -0
- data/public/javascripts/ckeditor/_source/plugins/toolbar/plugin.js +481 -0
- data/public/javascripts/ckeditor/_source/plugins/uicolor/dialogs/uicolor.js +205 -0
- data/public/javascripts/ckeditor/_source/plugins/uicolor/lang/en.js +15 -0
- data/public/javascripts/ckeditor/_source/plugins/uicolor/lang/he.js +15 -0
- data/public/javascripts/ckeditor/_source/plugins/uicolor/plugin.js +37 -0
- data/public/javascripts/ckeditor/_source/plugins/uicolor/uicolor.gif +0 -0
- data/public/javascripts/ckeditor/_source/plugins/uicolor/yui/assets/hue_bg.png +0 -0
- data/public/javascripts/ckeditor/_source/plugins/uicolor/yui/assets/hue_thumb.png +0 -0
- data/public/javascripts/ckeditor/_source/plugins/uicolor/yui/assets/picker_mask.png +0 -0
- data/public/javascripts/ckeditor/_source/plugins/uicolor/yui/assets/picker_thumb.png +0 -0
- data/public/javascripts/ckeditor/_source/plugins/uicolor/yui/assets/yui.css +15 -0
- data/public/javascripts/ckeditor/_source/plugins/uicolor/yui/yui.js +71 -0
- data/public/javascripts/ckeditor/_source/plugins/undo/plugin.js +554 -0
- data/public/javascripts/ckeditor/_source/plugins/wsc/dialogs/ciframe.html +49 -0
- data/public/javascripts/ckeditor/_source/plugins/wsc/dialogs/tmpFrameset.html +52 -0
- data/public/javascripts/ckeditor/_source/plugins/wsc/dialogs/wsc.css +82 -0
- data/public/javascripts/ckeditor/_source/plugins/wsc/dialogs/wsc.js +176 -0
- data/public/javascripts/ckeditor/_source/plugins/wsc/plugin.js +33 -0
- data/public/javascripts/ckeditor/_source/plugins/wysiwygarea/plugin.js +1146 -0
- data/public/javascripts/ckeditor/_source/skins/kama/dialog.css +882 -0
- data/public/javascripts/ckeditor/_source/skins/kama/editor.css +25 -0
- data/public/javascripts/ckeditor/_source/skins/kama/elementspath.css +73 -0
- data/public/javascripts/ckeditor/_source/skins/kama/icons.css +357 -0
- data/public/javascripts/ckeditor/_source/skins/kama/icons.png +0 -0
- data/public/javascripts/ckeditor/_source/skins/kama/icons_rtl.png +0 -0
- data/public/javascripts/ckeditor/_source/skins/kama/images/dialog_sides.gif +0 -0
- data/public/javascripts/ckeditor/_source/skins/kama/images/dialog_sides.png +0 -0
- data/public/javascripts/ckeditor/_source/skins/kama/images/dialog_sides_rtl.png +0 -0
- data/public/javascripts/ckeditor/_source/skins/kama/images/mini.gif +0 -0
- data/public/javascripts/ckeditor/_source/skins/kama/images/noimage.png +0 -0
- data/public/javascripts/ckeditor/_source/skins/kama/images/sprites.png +0 -0
- data/public/javascripts/ckeditor/_source/skins/kama/images/sprites_ie6.png +0 -0
- data/public/javascripts/ckeditor/_source/skins/kama/images/toolbar_start.gif +0 -0
- data/public/javascripts/ckeditor/_source/skins/kama/mainui.css +195 -0
- data/public/javascripts/ckeditor/_source/skins/kama/menu.css +216 -0
- data/public/javascripts/ckeditor/_source/skins/kama/panel.css +217 -0
- data/public/javascripts/ckeditor/_source/skins/kama/presets.css +49 -0
- data/public/javascripts/ckeditor/_source/skins/kama/reset.css +84 -0
- data/public/javascripts/ckeditor/_source/skins/kama/richcombo.css +277 -0
- data/public/javascripts/ckeditor/_source/skins/kama/skin.js +268 -0
- data/public/javascripts/ckeditor/_source/skins/kama/templates.css +88 -0
- data/public/javascripts/ckeditor/_source/skins/kama/toolbar.css +409 -0
- data/public/javascripts/ckeditor/_source/skins/office2003/dialog.css +785 -0
- data/public/javascripts/ckeditor/_source/skins/office2003/editor.css +25 -0
- data/public/javascripts/ckeditor/_source/skins/office2003/elementspath.css +74 -0
- data/public/javascripts/ckeditor/_source/skins/office2003/icons.css +354 -0
- data/public/javascripts/ckeditor/_source/skins/office2003/icons.png +0 -0
- data/public/javascripts/ckeditor/_source/skins/office2003/icons_rtl.png +0 -0
- data/public/javascripts/ckeditor/_source/skins/office2003/images/dialog_sides.gif +0 -0
- data/public/javascripts/ckeditor/_source/skins/office2003/images/dialog_sides.png +0 -0
- data/public/javascripts/ckeditor/_source/skins/office2003/images/dialog_sides_rtl.png +0 -0
- data/public/javascripts/ckeditor/_source/skins/office2003/images/mini.gif +0 -0
- data/public/javascripts/ckeditor/_source/skins/office2003/images/noimage.png +0 -0
- data/public/javascripts/ckeditor/_source/skins/office2003/images/sprites.png +0 -0
- data/public/javascripts/ckeditor/_source/skins/office2003/images/sprites_ie6.png +0 -0
- data/public/javascripts/ckeditor/_source/skins/office2003/mainui.css +145 -0
- data/public/javascripts/ckeditor/_source/skins/office2003/menu.css +213 -0
- data/public/javascripts/ckeditor/_source/skins/office2003/panel.css +212 -0
- data/public/javascripts/ckeditor/_source/skins/office2003/presets.css +49 -0
- data/public/javascripts/ckeditor/_source/skins/office2003/reset.css +84 -0
- data/public/javascripts/ckeditor/_source/skins/office2003/richcombo.css +297 -0
- data/public/javascripts/ckeditor/_source/skins/office2003/skin.js +81 -0
- data/public/javascripts/ckeditor/_source/skins/office2003/templates.css +87 -0
- data/public/javascripts/ckeditor/_source/skins/office2003/toolbar.css +470 -0
- data/public/javascripts/ckeditor/_source/skins/v2/dialog.css +800 -0
- data/public/javascripts/ckeditor/_source/skins/v2/editor.css +25 -0
- data/public/javascripts/ckeditor/_source/skins/v2/elementspath.css +74 -0
- data/public/javascripts/ckeditor/_source/skins/v2/icons.css +354 -0
- data/public/javascripts/ckeditor/_source/skins/v2/icons.png +0 -0
- data/public/javascripts/ckeditor/_source/skins/v2/icons_rtl.png +0 -0
- data/public/javascripts/ckeditor/_source/skins/v2/images/dialog_sides.gif +0 -0
- data/public/javascripts/ckeditor/_source/skins/v2/images/dialog_sides.png +0 -0
- data/public/javascripts/ckeditor/_source/skins/v2/images/dialog_sides_rtl.png +0 -0
- data/public/javascripts/ckeditor/_source/skins/v2/images/mini.gif +0 -0
- data/public/javascripts/ckeditor/_source/skins/v2/images/noimage.png +0 -0
- data/public/javascripts/ckeditor/_source/skins/v2/images/sprites.png +0 -0
- data/public/javascripts/ckeditor/_source/skins/v2/images/sprites_ie6.png +0 -0
- data/public/javascripts/ckeditor/_source/skins/v2/images/toolbar_start.gif +0 -0
- data/public/javascripts/ckeditor/_source/skins/v2/mainui.css +154 -0
- data/public/javascripts/ckeditor/_source/skins/v2/menu.css +215 -0
- data/public/javascripts/ckeditor/_source/skins/v2/panel.css +212 -0
- data/public/javascripts/ckeditor/_source/skins/v2/presets.css +50 -0
- data/public/javascripts/ckeditor/_source/skins/v2/reset.css +84 -0
- data/public/javascripts/ckeditor/_source/skins/v2/richcombo.css +297 -0
- data/public/javascripts/ckeditor/_source/skins/v2/skin.js +77 -0
- data/public/javascripts/ckeditor/_source/skins/v2/templates.css +87 -0
- data/public/javascripts/ckeditor/_source/skins/v2/toolbar.css +423 -0
- data/public/javascripts/ckeditor/_source/themes/default/theme.js +361 -0
- data/public/javascripts/ckeditor/adapters/jquery.js +6 -0
- data/public/javascripts/ckeditor/ckeditor.js +137 -0
- data/public/javascripts/ckeditor/ckeditor.pack +211 -0
- data/public/javascripts/ckeditor/ckeditor_basic.js +8 -0
- data/public/javascripts/ckeditor/ckeditor_basic_source.js +20 -0
- data/public/javascripts/ckeditor/ckeditor_source.js +25 -0
- data/public/javascripts/ckeditor/config.js +43 -0
- data/public/javascripts/ckeditor/contents.css +39 -0
- data/public/javascripts/ckeditor/css/ckfinder.css +299 -0
- data/public/javascripts/ckeditor/css/fck_dialog.css +119 -0
- data/public/javascripts/ckeditor/css/fck_editor.css +448 -0
- data/public/javascripts/ckeditor/css/swfupload.css +94 -0
- data/public/javascripts/ckeditor/images/add.gif +0 -0
- data/public/javascripts/ckeditor/images/cancelbutton.gif +0 -0
- data/public/javascripts/ckeditor/images/ckfnothumb.gif +0 -0
- data/public/javascripts/ckeditor/images/doc.gif +0 -0
- data/public/javascripts/ckeditor/images/mp3.gif +0 -0
- data/public/javascripts/ckeditor/images/pdf.gif +0 -0
- data/public/javascripts/ckeditor/images/rar.gif +0 -0
- data/public/javascripts/ckeditor/images/refresh.gif +0 -0
- data/public/javascripts/ckeditor/images/select_files.png +0 -0
- data/public/javascripts/ckeditor/images/spacer.gif +0 -0
- data/public/javascripts/ckeditor/images/swf.gif +0 -0
- data/public/javascripts/ckeditor/images/toolbar.start.gif +0 -0
- data/public/javascripts/ckeditor/images/xls.gif +0 -0
- data/public/javascripts/ckeditor/lang/_languages.js +6 -0
- data/public/javascripts/ckeditor/lang/_translationstatus.txt +60 -0
- data/public/javascripts/ckeditor/lang/af.js +6 -0
- data/public/javascripts/ckeditor/lang/ar.js +6 -0
- data/public/javascripts/ckeditor/lang/bg.js +6 -0
- data/public/javascripts/ckeditor/lang/bn.js +6 -0
- data/public/javascripts/ckeditor/lang/bs.js +6 -0
- data/public/javascripts/ckeditor/lang/ca.js +6 -0
- data/public/javascripts/ckeditor/lang/cs.js +6 -0
- data/public/javascripts/ckeditor/lang/cy.js +6 -0
- data/public/javascripts/ckeditor/lang/da.js +6 -0
- data/public/javascripts/ckeditor/lang/de.js +6 -0
- data/public/javascripts/ckeditor/lang/el.js +6 -0
- data/public/javascripts/ckeditor/lang/en-au.js +6 -0
- data/public/javascripts/ckeditor/lang/en-ca.js +6 -0
- data/public/javascripts/ckeditor/lang/en-gb.js +6 -0
- data/public/javascripts/ckeditor/lang/en.js +6 -0
- data/public/javascripts/ckeditor/lang/eo.js +6 -0
- data/public/javascripts/ckeditor/lang/es.js +6 -0
- data/public/javascripts/ckeditor/lang/et.js +6 -0
- data/public/javascripts/ckeditor/lang/eu.js +6 -0
- data/public/javascripts/ckeditor/lang/fa.js +6 -0
- data/public/javascripts/ckeditor/lang/fi.js +6 -0
- data/public/javascripts/ckeditor/lang/fo.js +6 -0
- data/public/javascripts/ckeditor/lang/fr-ca.js +6 -0
- data/public/javascripts/ckeditor/lang/fr.js +6 -0
- data/public/javascripts/ckeditor/lang/gl.js +6 -0
- data/public/javascripts/ckeditor/lang/gu.js +6 -0
- data/public/javascripts/ckeditor/lang/he.js +6 -0
- data/public/javascripts/ckeditor/lang/hi.js +6 -0
- data/public/javascripts/ckeditor/lang/hr.js +6 -0
- data/public/javascripts/ckeditor/lang/hu.js +6 -0
- data/public/javascripts/ckeditor/lang/is.js +6 -0
- data/public/javascripts/ckeditor/lang/it.js +6 -0
- data/public/javascripts/ckeditor/lang/ja.js +6 -0
- data/public/javascripts/ckeditor/lang/km.js +6 -0
- data/public/javascripts/ckeditor/lang/ko.js +6 -0
- data/public/javascripts/ckeditor/lang/lt.js +6 -0
- data/public/javascripts/ckeditor/lang/lv.js +6 -0
- data/public/javascripts/ckeditor/lang/mn.js +6 -0
- data/public/javascripts/ckeditor/lang/ms.js +6 -0
- data/public/javascripts/ckeditor/lang/nb.js +6 -0
- data/public/javascripts/ckeditor/lang/nl.js +6 -0
- data/public/javascripts/ckeditor/lang/no.js +6 -0
- data/public/javascripts/ckeditor/lang/pl.js +6 -0
- data/public/javascripts/ckeditor/lang/pt-br.js +6 -0
- data/public/javascripts/ckeditor/lang/pt.js +6 -0
- data/public/javascripts/ckeditor/lang/ro.js +6 -0
- data/public/javascripts/ckeditor/lang/ru.js +6 -0
- data/public/javascripts/ckeditor/lang/sk.js +6 -0
- data/public/javascripts/ckeditor/lang/sl.js +6 -0
- data/public/javascripts/ckeditor/lang/sr-latn.js +6 -0
- data/public/javascripts/ckeditor/lang/sr.js +6 -0
- data/public/javascripts/ckeditor/lang/sv.js +6 -0
- data/public/javascripts/ckeditor/lang/th.js +6 -0
- data/public/javascripts/ckeditor/lang/tr.js +6 -0
- data/public/javascripts/ckeditor/lang/uk.js +6 -0
- data/public/javascripts/ckeditor/lang/vi.js +6 -0
- data/public/javascripts/ckeditor/lang/zh-cn.js +6 -0
- data/public/javascripts/ckeditor/lang/zh.js +6 -0
- data/public/javascripts/ckeditor/plugins/a11yhelp/dialogs/a11yhelp.js +7 -0
- data/public/javascripts/ckeditor/plugins/a11yhelp/lang/en.js +6 -0
- data/public/javascripts/ckeditor/plugins/a11yhelp/lang/he.js +6 -0
- data/public/javascripts/ckeditor/plugins/about/dialogs/about.js +6 -0
- data/public/javascripts/ckeditor/plugins/about/dialogs/logo_ckeditor.png +0 -0
- data/public/javascripts/ckeditor/plugins/ajax_save/plugin.js +1 -0
- data/public/javascripts/ckeditor/plugins/attachment/dialogs/attachment.js +1 -0
- data/public/javascripts/ckeditor/plugins/attachment/images/attachment.png +0 -0
- data/public/javascripts/ckeditor/plugins/attachment/lang/en.js +10 -0
- data/public/javascripts/ckeditor/plugins/attachment/lang/ru.js +10 -0
- data/public/javascripts/ckeditor/plugins/attachment/lang/uk.js +10 -0
- data/public/javascripts/ckeditor/plugins/attachment/plugin.js +1 -0
- data/public/javascripts/ckeditor/plugins/autogrow/plugin.js +6 -0
- data/public/javascripts/ckeditor/plugins/clipboard/dialogs/paste.js +7 -0
- data/public/javascripts/ckeditor/plugins/colordialog/dialogs/colordialog.js +7 -0
- data/public/javascripts/ckeditor/plugins/dialog/dialogDefinition.js +4 -0
- data/public/javascripts/ckeditor/plugins/div/dialogs/div.js +8 -0
- data/public/javascripts/ckeditor/plugins/embed/dialogs/embed.js +1 -0
- data/public/javascripts/ckeditor/plugins/embed/images/embed.png +0 -0
- data/public/javascripts/ckeditor/plugins/embed/lang/en.js +9 -0
- data/public/javascripts/ckeditor/plugins/embed/lang/ru.js +9 -0
- data/public/javascripts/ckeditor/plugins/embed/lang/uk.js +9 -0
- data/public/javascripts/ckeditor/plugins/embed/plugin.js +1 -0
- data/public/javascripts/ckeditor/plugins/find/dialogs/find.js +9 -0
- data/public/javascripts/ckeditor/plugins/flash/dialogs/flash.js +9 -0
- data/public/javascripts/ckeditor/plugins/flash/images/placeholder.png +0 -0
- data/public/javascripts/ckeditor/plugins/forms/dialogs/button.js +6 -0
- data/public/javascripts/ckeditor/plugins/forms/dialogs/checkbox.js +6 -0
- data/public/javascripts/ckeditor/plugins/forms/dialogs/form.js +6 -0
- data/public/javascripts/ckeditor/plugins/forms/dialogs/hiddenfield.js +6 -0
- data/public/javascripts/ckeditor/plugins/forms/dialogs/radio.js +6 -0
- data/public/javascripts/ckeditor/plugins/forms/dialogs/select.js +9 -0
- data/public/javascripts/ckeditor/plugins/forms/dialogs/textarea.js +6 -0
- data/public/javascripts/ckeditor/plugins/forms/dialogs/textfield.js +7 -0
- data/public/javascripts/ckeditor/plugins/forms/images/hiddenfield.gif +0 -0
- data/public/javascripts/ckeditor/plugins/iframedialog/plugin.js +6 -0
- data/public/javascripts/ckeditor/plugins/image/dialogs/image.js +13 -0
- data/public/javascripts/ckeditor/plugins/link/dialogs/anchor.js +6 -0
- data/public/javascripts/ckeditor/plugins/link/dialogs/link.js +11 -0
- data/public/javascripts/ckeditor/plugins/link/images/anchor.gif +0 -0
- data/public/javascripts/ckeditor/plugins/liststyle/dialogs/liststyle.js +6 -0
- data/public/javascripts/ckeditor/plugins/pagebreak/images/pagebreak.gif +0 -0
- data/public/javascripts/ckeditor/plugins/pastefromword/filter/default.js +10 -0
- data/public/javascripts/ckeditor/plugins/pastetext/dialogs/pastetext.js +6 -0
- data/public/javascripts/ckeditor/plugins/scayt/dialogs/options.js +8 -0
- data/public/javascripts/ckeditor/plugins/scayt/dialogs/toolbar.css +6 -0
- data/public/javascripts/ckeditor/plugins/showblocks/images/block_address.png +0 -0
- data/public/javascripts/ckeditor/plugins/showblocks/images/block_blockquote.png +0 -0
- data/public/javascripts/ckeditor/plugins/showblocks/images/block_div.png +0 -0
- data/public/javascripts/ckeditor/plugins/showblocks/images/block_h1.png +0 -0
- data/public/javascripts/ckeditor/plugins/showblocks/images/block_h2.png +0 -0
- data/public/javascripts/ckeditor/plugins/showblocks/images/block_h3.png +0 -0
- data/public/javascripts/ckeditor/plugins/showblocks/images/block_h4.png +0 -0
- data/public/javascripts/ckeditor/plugins/showblocks/images/block_h5.png +0 -0
- data/public/javascripts/ckeditor/plugins/showblocks/images/block_h6.png +0 -0
- data/public/javascripts/ckeditor/plugins/showblocks/images/block_p.png +0 -0
- data/public/javascripts/ckeditor/plugins/showblocks/images/block_pre.png +0 -0
- data/public/javascripts/ckeditor/plugins/smiley/dialogs/smiley.js +7 -0
- data/public/javascripts/ckeditor/plugins/smiley/images/angel_smile.gif +0 -0
- data/public/javascripts/ckeditor/plugins/smiley/images/angry_smile.gif +0 -0
- data/public/javascripts/ckeditor/plugins/smiley/images/broken_heart.gif +0 -0
- data/public/javascripts/ckeditor/plugins/smiley/images/confused_smile.gif +0 -0
- data/public/javascripts/ckeditor/plugins/smiley/images/cry_smile.gif +0 -0
- data/public/javascripts/ckeditor/plugins/smiley/images/devil_smile.gif +0 -0
- data/public/javascripts/ckeditor/plugins/smiley/images/embaressed_smile.gif +0 -0
- data/public/javascripts/ckeditor/plugins/smiley/images/envelope.gif +0 -0
- data/public/javascripts/ckeditor/plugins/smiley/images/heart.gif +0 -0
- data/public/javascripts/ckeditor/plugins/smiley/images/kiss.gif +0 -0
- data/public/javascripts/ckeditor/plugins/smiley/images/lightbulb.gif +0 -0
- data/public/javascripts/ckeditor/plugins/smiley/images/omg_smile.gif +0 -0
- data/public/javascripts/ckeditor/plugins/smiley/images/regular_smile.gif +0 -0
- data/public/javascripts/ckeditor/plugins/smiley/images/sad_smile.gif +0 -0
- data/public/javascripts/ckeditor/plugins/smiley/images/shades_smile.gif +0 -0
- data/public/javascripts/ckeditor/plugins/smiley/images/teeth_smile.gif +0 -0
- data/public/javascripts/ckeditor/plugins/smiley/images/thumbs_down.gif +0 -0
- data/public/javascripts/ckeditor/plugins/smiley/images/thumbs_up.gif +0 -0
- data/public/javascripts/ckeditor/plugins/smiley/images/tounge_smile.gif +0 -0
- data/public/javascripts/ckeditor/plugins/smiley/images/whatchutalkingabout_smile.gif +0 -0
- data/public/javascripts/ckeditor/plugins/smiley/images/wink_smile.gif +0 -0
- data/public/javascripts/ckeditor/plugins/specialchar/dialogs/specialchar.js +7 -0
- data/public/javascripts/ckeditor/plugins/styles/styles/default.js +6 -0
- data/public/javascripts/ckeditor/plugins/table/dialogs/table.js +9 -0
- data/public/javascripts/ckeditor/plugins/tableresize/plugin.js +7 -0
- data/public/javascripts/ckeditor/plugins/tabletools/dialogs/tableCell.js +8 -0
- data/public/javascripts/ckeditor/plugins/templates/dialogs/templates.js +7 -0
- data/public/javascripts/ckeditor/plugins/templates/templates/default.js +6 -0
- data/public/javascripts/ckeditor/plugins/templates/templates/images/template1.gif +0 -0
- data/public/javascripts/ckeditor/plugins/templates/templates/images/template2.gif +0 -0
- data/public/javascripts/ckeditor/plugins/templates/templates/images/template3.gif +0 -0
- data/public/javascripts/ckeditor/plugins/uicolor/dialogs/uicolor.js +7 -0
- data/public/javascripts/ckeditor/plugins/uicolor/lang/en.js +6 -0
- data/public/javascripts/ckeditor/plugins/uicolor/lang/he.js +6 -0
- data/public/javascripts/ckeditor/plugins/uicolor/plugin.js +6 -0
- data/public/javascripts/ckeditor/plugins/uicolor/uicolor.gif +0 -0
- data/public/javascripts/ckeditor/plugins/uicolor/yui/assets/hue_bg.png +0 -0
- data/public/javascripts/ckeditor/plugins/uicolor/yui/assets/hue_thumb.png +0 -0
- data/public/javascripts/ckeditor/plugins/uicolor/yui/assets/picker_mask.png +0 -0
- data/public/javascripts/ckeditor/plugins/uicolor/yui/assets/picker_thumb.png +0 -0
- data/public/javascripts/ckeditor/plugins/uicolor/yui/assets/yui.css +6 -0
- data/public/javascripts/ckeditor/plugins/uicolor/yui/yui.js +76 -0
- data/public/javascripts/ckeditor/plugins/wsc/dialogs/ciframe.html +49 -0
- data/public/javascripts/ckeditor/plugins/wsc/dialogs/tmpFrameset.html +52 -0
- data/public/javascripts/ckeditor/plugins/wsc/dialogs/wsc.css +6 -0
- data/public/javascripts/ckeditor/plugins/wsc/dialogs/wsc.js +7 -0
- data/public/javascripts/ckeditor/skins/kama/dialog.css +9 -0
- data/public/javascripts/ckeditor/skins/kama/editor.css +12 -0
- data/public/javascripts/ckeditor/skins/kama/icons.png +0 -0
- data/public/javascripts/ckeditor/skins/kama/icons_rtl.png +0 -0
- data/public/javascripts/ckeditor/skins/kama/images/dialog_sides.gif +0 -0
- data/public/javascripts/ckeditor/skins/kama/images/dialog_sides.png +0 -0
- data/public/javascripts/ckeditor/skins/kama/images/dialog_sides_rtl.png +0 -0
- data/public/javascripts/ckeditor/skins/kama/images/mini.gif +0 -0
- data/public/javascripts/ckeditor/skins/kama/images/noimage.png +0 -0
- data/public/javascripts/ckeditor/skins/kama/images/sprites.png +0 -0
- data/public/javascripts/ckeditor/skins/kama/images/sprites_ie6.png +0 -0
- data/public/javascripts/ckeditor/skins/kama/images/toolbar_start.gif +0 -0
- data/public/javascripts/ckeditor/skins/kama/skin.js +7 -0
- data/public/javascripts/ckeditor/skins/kama/templates.css +6 -0
- data/public/javascripts/ckeditor/skins/office2003/dialog.css +9 -0
- data/public/javascripts/ckeditor/skins/office2003/editor.css +13 -0
- data/public/javascripts/ckeditor/skins/office2003/icons.png +0 -0
- data/public/javascripts/ckeditor/skins/office2003/icons_rtl.png +0 -0
- data/public/javascripts/ckeditor/skins/office2003/images/dialog_sides.gif +0 -0
- data/public/javascripts/ckeditor/skins/office2003/images/dialog_sides.png +0 -0
- data/public/javascripts/ckeditor/skins/office2003/images/dialog_sides_rtl.png +0 -0
- data/public/javascripts/ckeditor/skins/office2003/images/mini.gif +0 -0
- data/public/javascripts/ckeditor/skins/office2003/images/noimage.png +0 -0
- data/public/javascripts/ckeditor/skins/office2003/images/sprites.png +0 -0
- data/public/javascripts/ckeditor/skins/office2003/images/sprites_ie6.png +0 -0
- data/public/javascripts/ckeditor/skins/office2003/skin.js +6 -0
- data/public/javascripts/ckeditor/skins/office2003/templates.css +6 -0
- data/public/javascripts/ckeditor/skins/v2/dialog.css +9 -0
- data/public/javascripts/ckeditor/skins/v2/editor.css +12 -0
- data/public/javascripts/ckeditor/skins/v2/icons.png +0 -0
- data/public/javascripts/ckeditor/skins/v2/icons_rtl.png +0 -0
- data/public/javascripts/ckeditor/skins/v2/images/dialog_sides.gif +0 -0
- data/public/javascripts/ckeditor/skins/v2/images/dialog_sides.png +0 -0
- data/public/javascripts/ckeditor/skins/v2/images/dialog_sides_rtl.png +0 -0
- data/public/javascripts/ckeditor/skins/v2/images/mini.gif +0 -0
- data/public/javascripts/ckeditor/skins/v2/images/noimage.png +0 -0
- data/public/javascripts/ckeditor/skins/v2/images/sprites.png +0 -0
- data/public/javascripts/ckeditor/skins/v2/images/sprites_ie6.png +0 -0
- data/public/javascripts/ckeditor/skins/v2/images/toolbar_start.gif +0 -0
- data/public/javascripts/ckeditor/skins/v2/skin.js +6 -0
- data/public/javascripts/ckeditor/skins/v2/templates.css +6 -0
- data/public/javascripts/ckeditor/swfupload/fileprogress.js +275 -0
- data/public/javascripts/ckeditor/swfupload/handlers.js +170 -0
- data/public/javascripts/ckeditor/swfupload/mootools-1.2.3-core-yc.js +356 -0
- data/public/javascripts/ckeditor/swfupload/querystring.js +40 -0
- data/public/javascripts/ckeditor/swfupload/swfupload.js +1 -0
- data/public/javascripts/ckeditor/swfupload/swfupload.queue.js +1 -0
- data/public/javascripts/ckeditor/swfupload/swfupload.swf +0 -0
- data/public/javascripts/ckeditor/swfupload/swfupload.swfobject.js +111 -0
- data/public/javascripts/ckeditor/themes/default/theme.js +8 -0
- data/public/javascripts/controls.js +965 -0
- data/public/javascripts/dragdrop.js +974 -0
- data/public/javascripts/effects.js +1123 -0
- data/public/javascripts/link_obfuscator.js +31 -0
- data/public/javascripts/prototype.js +6001 -0
- data/public/javascripts/rails.js +175 -0
- data/public/robots.txt +5 -0
- data/public/stylesheets/.gitkeep +0 -0
- data/public/stylesheets/application.css +882 -0
- data/public/stylesheets/core.css +1147 -0
- data/public/stylesheets/core_ie.css +52 -0
- data/public/stylesheets/csshover3.htc +14 -0
- data/public/stylesheets/ppc_logic.css +98 -0
- data/script/rails +6 -0
- data/spec/blueprints.rb +25 -0
- data/spec/controllers/ads_controller_spec.rb +60 -0
- data/spec/controllers/branches_controller_spec.rb +60 -0
- data/spec/controllers/campaigns_controller_spec.rb +60 -0
- data/spec/controllers/landing_pages_controller_spec.rb +60 -0
- data/spec/controllers/local_offers_controller_spec.rb +60 -0
- data/spec/lib/madmen/google/ad_spec.rb +115 -0
- data/spec/lib/madmen/google/adgroup_spec.rb +106 -0
- data/spec/lib/madmen/google/campaign_spec.rb +171 -0
- data/spec/lib/madmen/google/keyword_spec.rb +105 -0
- data/spec/models/ad_spec.rb +26 -0
- data/spec/models/branch_spec.rb +4 -0
- data/spec/models/campaign_spec.rb +8 -0
- data/spec/models/landing_page_spec.rb +103 -0
- data/spec/models/local_offer_spec.rb +7 -0
- data/spec/spec_helper.rb +10 -0
- data/tasks/ppc_logic.rake +27 -0
- data/vendor/plugins/.gitkeep +0 -0
- metadata +1120 -0
@@ -0,0 +1,175 @@
|
|
1
|
+
(function() {
|
2
|
+
// Technique from Juriy Zaytsev
|
3
|
+
// http://thinkweb2.com/projects/prototype/detecting-event-support-without-browser-sniffing/
|
4
|
+
function isEventSupported(eventName) {
|
5
|
+
var el = document.createElement('div');
|
6
|
+
eventName = 'on' + eventName;
|
7
|
+
var isSupported = (eventName in el);
|
8
|
+
if (!isSupported) {
|
9
|
+
el.setAttribute(eventName, 'return;');
|
10
|
+
isSupported = typeof el[eventName] == 'function';
|
11
|
+
}
|
12
|
+
el = null;
|
13
|
+
return isSupported;
|
14
|
+
}
|
15
|
+
|
16
|
+
function isForm(element) {
|
17
|
+
return Object.isElement(element) && element.nodeName.toUpperCase() == 'FORM'
|
18
|
+
}
|
19
|
+
|
20
|
+
function isInput(element) {
|
21
|
+
if (Object.isElement(element)) {
|
22
|
+
var name = element.nodeName.toUpperCase()
|
23
|
+
return name == 'INPUT' || name == 'SELECT' || name == 'TEXTAREA'
|
24
|
+
}
|
25
|
+
else return false
|
26
|
+
}
|
27
|
+
|
28
|
+
var submitBubbles = isEventSupported('submit'),
|
29
|
+
changeBubbles = isEventSupported('change')
|
30
|
+
|
31
|
+
if (!submitBubbles || !changeBubbles) {
|
32
|
+
// augment the Event.Handler class to observe custom events when needed
|
33
|
+
Event.Handler.prototype.initialize = Event.Handler.prototype.initialize.wrap(
|
34
|
+
function(init, element, eventName, selector, callback) {
|
35
|
+
init(element, eventName, selector, callback)
|
36
|
+
// is the handler being attached to an element that doesn't support this event?
|
37
|
+
if ( (!submitBubbles && this.eventName == 'submit' && !isForm(this.element)) ||
|
38
|
+
(!changeBubbles && this.eventName == 'change' && !isInput(this.element)) ) {
|
39
|
+
// "submit" => "emulated:submit"
|
40
|
+
this.eventName = 'emulated:' + this.eventName
|
41
|
+
}
|
42
|
+
}
|
43
|
+
)
|
44
|
+
}
|
45
|
+
|
46
|
+
if (!submitBubbles) {
|
47
|
+
// discover forms on the page by observing focus events which always bubble
|
48
|
+
document.on('focusin', 'form', function(focusEvent, form) {
|
49
|
+
// special handler for the real "submit" event (one-time operation)
|
50
|
+
if (!form.retrieve('emulated:submit')) {
|
51
|
+
form.on('submit', function(submitEvent) {
|
52
|
+
var emulated = form.fire('emulated:submit', submitEvent, true)
|
53
|
+
// if custom event received preventDefault, cancel the real one too
|
54
|
+
if (emulated.returnValue === false) submitEvent.preventDefault()
|
55
|
+
})
|
56
|
+
form.store('emulated:submit', true)
|
57
|
+
}
|
58
|
+
})
|
59
|
+
}
|
60
|
+
|
61
|
+
if (!changeBubbles) {
|
62
|
+
// discover form inputs on the page
|
63
|
+
document.on('focusin', 'input, select, texarea', function(focusEvent, input) {
|
64
|
+
// special handler for real "change" events
|
65
|
+
if (!input.retrieve('emulated:change')) {
|
66
|
+
input.on('change', function(changeEvent) {
|
67
|
+
input.fire('emulated:change', changeEvent, true)
|
68
|
+
})
|
69
|
+
input.store('emulated:change', true)
|
70
|
+
}
|
71
|
+
})
|
72
|
+
}
|
73
|
+
|
74
|
+
function handleRemote(element) {
|
75
|
+
var method, url, params;
|
76
|
+
|
77
|
+
var event = element.fire("ajax:before");
|
78
|
+
if (event.stopped) return false;
|
79
|
+
|
80
|
+
if (element.tagName.toLowerCase() === 'form') {
|
81
|
+
method = element.readAttribute('method') || 'post';
|
82
|
+
url = element.readAttribute('action');
|
83
|
+
params = element.serialize();
|
84
|
+
} else {
|
85
|
+
method = element.readAttribute('data-method') || 'get';
|
86
|
+
url = element.readAttribute('href');
|
87
|
+
params = {};
|
88
|
+
}
|
89
|
+
|
90
|
+
new Ajax.Request(url, {
|
91
|
+
method: method,
|
92
|
+
parameters: params,
|
93
|
+
evalScripts: true,
|
94
|
+
|
95
|
+
onComplete: function(request) { element.fire("ajax:complete", request); },
|
96
|
+
onSuccess: function(request) { element.fire("ajax:success", request); },
|
97
|
+
onFailure: function(request) { element.fire("ajax:failure", request); }
|
98
|
+
});
|
99
|
+
|
100
|
+
element.fire("ajax:after");
|
101
|
+
}
|
102
|
+
|
103
|
+
function handleMethod(element) {
|
104
|
+
var method = element.readAttribute('data-method'),
|
105
|
+
url = element.readAttribute('href'),
|
106
|
+
csrf_param = $$('meta[name=csrf-param]')[0],
|
107
|
+
csrf_token = $$('meta[name=csrf-token]')[0];
|
108
|
+
|
109
|
+
var form = new Element('form', { method: "POST", action: url, style: "display: none;" });
|
110
|
+
element.parentNode.insert(form);
|
111
|
+
|
112
|
+
if (method !== 'post') {
|
113
|
+
var field = new Element('input', { type: 'hidden', name: '_method', value: method });
|
114
|
+
form.insert(field);
|
115
|
+
}
|
116
|
+
|
117
|
+
if (csrf_param) {
|
118
|
+
var param = csrf_param.readAttribute('content'),
|
119
|
+
token = csrf_token.readAttribute('content'),
|
120
|
+
field = new Element('input', { type: 'hidden', name: param, value: token });
|
121
|
+
form.insert(field);
|
122
|
+
}
|
123
|
+
|
124
|
+
form.submit();
|
125
|
+
}
|
126
|
+
|
127
|
+
|
128
|
+
document.on("click", "*[data-confirm]", function(event, element) {
|
129
|
+
var message = element.readAttribute('data-confirm');
|
130
|
+
if (!confirm(message)) event.stop();
|
131
|
+
});
|
132
|
+
|
133
|
+
document.on("click", "a[data-remote]", function(event, element) {
|
134
|
+
if (event.stopped) return;
|
135
|
+
handleRemote(element);
|
136
|
+
event.stop();
|
137
|
+
});
|
138
|
+
|
139
|
+
document.on("click", "a[data-method]", function(event, element) {
|
140
|
+
if (event.stopped) return;
|
141
|
+
handleMethod(element);
|
142
|
+
event.stop();
|
143
|
+
});
|
144
|
+
|
145
|
+
document.on("submit", function(event) {
|
146
|
+
var element = event.findElement(),
|
147
|
+
message = element.readAttribute('data-confirm');
|
148
|
+
if (message && !confirm(message)) {
|
149
|
+
event.stop();
|
150
|
+
return false;
|
151
|
+
}
|
152
|
+
|
153
|
+
var inputs = element.select("input[type=submit][data-disable-with]");
|
154
|
+
inputs.each(function(input) {
|
155
|
+
input.disabled = true;
|
156
|
+
input.writeAttribute('data-original-value', input.value);
|
157
|
+
input.value = input.readAttribute('data-disable-with');
|
158
|
+
});
|
159
|
+
|
160
|
+
var element = event.findElement("form[data-remote]");
|
161
|
+
if (element) {
|
162
|
+
handleRemote(element);
|
163
|
+
event.stop();
|
164
|
+
}
|
165
|
+
});
|
166
|
+
|
167
|
+
document.on("ajax:after", "form", function(event, element) {
|
168
|
+
var inputs = element.select("input[type=submit][disabled=true][data-disable-with]");
|
169
|
+
inputs.each(function(input) {
|
170
|
+
input.value = input.readAttribute('data-original-value');
|
171
|
+
input.removeAttribute('data-original-value');
|
172
|
+
input.disabled = false;
|
173
|
+
});
|
174
|
+
});
|
175
|
+
})();
|
data/public/robots.txt
ADDED
File without changes
|
@@ -0,0 +1,882 @@
|
|
1
|
+
/* @override http://localhost:3000/stylesheets/application.css */
|
2
|
+
|
3
|
+
/* @group General Typography */
|
4
|
+
|
5
|
+
html {
|
6
|
+
height: 100%;
|
7
|
+
}
|
8
|
+
|
9
|
+
a:link {
|
10
|
+
color: #440000;
|
11
|
+
}
|
12
|
+
|
13
|
+
a:visited {
|
14
|
+
color: #444444;
|
15
|
+
}
|
16
|
+
|
17
|
+
body {
|
18
|
+
position: relative;
|
19
|
+
width: 100%;
|
20
|
+
height: 100%;
|
21
|
+
min-width: 1030px;
|
22
|
+
font-family: "Lucida Grande", Lucida, Verdana, sans-serif;
|
23
|
+
background-color: #ffffff;
|
24
|
+
/*background: #ffffff url(/images/layout/content_left_bg.png) repeat-y;*/
|
25
|
+
}
|
26
|
+
|
27
|
+
.bold {
|
28
|
+
font-weight: bold;
|
29
|
+
}
|
30
|
+
|
31
|
+
.checkmark {
|
32
|
+
height: 15px;
|
33
|
+
width: 15px;
|
34
|
+
background: url(../images/icons/checkmark.gif) no-repeat;
|
35
|
+
}
|
36
|
+
|
37
|
+
h1 {
|
38
|
+
color: #333333;
|
39
|
+
height: 50px;
|
40
|
+
margin-left: -6px;
|
41
|
+
margin-top: -15px;
|
42
|
+
padding-top: 13px;
|
43
|
+
padding-left: 1em;
|
44
|
+
padding-bottom: 15px;
|
45
|
+
width: 75%;
|
46
|
+
font-size: 1.2em;
|
47
|
+
background: url(../images/layout/h1_bg.png) no-repeat;
|
48
|
+
}
|
49
|
+
|
50
|
+
h2 {
|
51
|
+
color: #444444;
|
52
|
+
font-weight: bold;
|
53
|
+
font-size: 1.1em;
|
54
|
+
text-transform: uppercase;
|
55
|
+
}
|
56
|
+
|
57
|
+
h2.for_table {
|
58
|
+
position: relative;
|
59
|
+
margin-top: 0em;
|
60
|
+
margin-bottom: -25px;
|
61
|
+
z-index: 1000;
|
62
|
+
padding-top: 21px;
|
63
|
+
height: 40px;
|
64
|
+
background-image: url(../images/layout/h2_bg_for_table.png);
|
65
|
+
}
|
66
|
+
|
67
|
+
ul.bulleted {
|
68
|
+
list-style-type: disc;
|
69
|
+
margin-left: 1.5em;
|
70
|
+
}
|
71
|
+
|
72
|
+
ul.no_bullets {
|
73
|
+
list-style-type: none;
|
74
|
+
}
|
75
|
+
|
76
|
+
.subtle {
|
77
|
+
color: #999999;
|
78
|
+
}
|
79
|
+
|
80
|
+
.subtle a:link, .subtle a:visited {
|
81
|
+
text-decoration: none;
|
82
|
+
color: #999999;
|
83
|
+
}
|
84
|
+
|
85
|
+
.subtle a:hover {
|
86
|
+
color: #756b7f;
|
87
|
+
/*text-decoration: underline;*/
|
88
|
+
}
|
89
|
+
|
90
|
+
/* @end */
|
91
|
+
|
92
|
+
/* @group Layout Tricks */
|
93
|
+
|
94
|
+
div#container {
|
95
|
+
min-height: 100%;
|
96
|
+
position: relative;
|
97
|
+
/*background: url(/images/layout/content_right_bg.png) repeat-y right 0;*/
|
98
|
+
}
|
99
|
+
|
100
|
+
/* @end */
|
101
|
+
|
102
|
+
|
103
|
+
/* @group Header */
|
104
|
+
|
105
|
+
div#header {
|
106
|
+
margin-top: 0em;
|
107
|
+
background: none;
|
108
|
+
background-color: #000000;
|
109
|
+
height: 10px;
|
110
|
+
background: url(/images/layout/black_bar.png) repeat-x top;
|
111
|
+
width: 100%;
|
112
|
+
border: none;
|
113
|
+
}
|
114
|
+
|
115
|
+
div#page_header {
|
116
|
+
padding-top: 63px;
|
117
|
+
padding-left: 25px;
|
118
|
+
}
|
119
|
+
|
120
|
+
div#branding {
|
121
|
+
position: absolute;
|
122
|
+
top: 0px;
|
123
|
+
right: 2px;
|
124
|
+
margin: 0em;
|
125
|
+
padding: 0em;
|
126
|
+
/*background: url(/images/layout/branding.png) no-repeat;*/
|
127
|
+
height: 100px;
|
128
|
+
width: 310px;
|
129
|
+
}
|
130
|
+
|
131
|
+
/* @end */
|
132
|
+
|
133
|
+
/* @group Navbar */
|
134
|
+
|
135
|
+
div#navigation {
|
136
|
+
font-family: "Lucida Grande", Lucida, Verdana, sans-serif;
|
137
|
+
position: absolute;
|
138
|
+
top: -9px;
|
139
|
+
width: auto;
|
140
|
+
margin-top: 0em;
|
141
|
+
margin-left: 15px;
|
142
|
+
margin-right: auto;
|
143
|
+
background: none;
|
144
|
+
border: none;
|
145
|
+
}
|
146
|
+
|
147
|
+
div#navigation ul li {
|
148
|
+
background: none;
|
149
|
+
border: none;
|
150
|
+
}
|
151
|
+
|
152
|
+
div#navigation ul li:hover {
|
153
|
+
background: none !important;
|
154
|
+
color: #ffffff;
|
155
|
+
}
|
156
|
+
|
157
|
+
div#navigation ul li:hover a:link {
|
158
|
+
background: none !important;
|
159
|
+
}
|
160
|
+
|
161
|
+
div#navigation ul li a:link {
|
162
|
+
color: #aaaaaa;
|
163
|
+
text-decoration: none;
|
164
|
+
}
|
165
|
+
|
166
|
+
div#navigation ul li a:hover {
|
167
|
+
color: #ffffff !important;
|
168
|
+
background: none;
|
169
|
+
}
|
170
|
+
|
171
|
+
div#navigation ul li a:visited {
|
172
|
+
color: #aaaaaa;
|
173
|
+
text-decoration: none;
|
174
|
+
}
|
175
|
+
|
176
|
+
/* @end */
|
177
|
+
|
178
|
+
/* @group Breadcrumbs */
|
179
|
+
|
180
|
+
ol.breadcrumbs {
|
181
|
+
margin-top: 1.25em;
|
182
|
+
margin-left: 1em;
|
183
|
+
list-style: none;
|
184
|
+
height: 1em;
|
185
|
+
width: 100%;
|
186
|
+
}
|
187
|
+
|
188
|
+
ol.breadcrumbs li {
|
189
|
+
display: block;
|
190
|
+
float: left;
|
191
|
+
margin-top: -10px;
|
192
|
+
margin-left: -1px;
|
193
|
+
margin-right: 1em;
|
194
|
+
height: 2em;
|
195
|
+
width: auto;
|
196
|
+
padding-top: 12px;
|
197
|
+
padding-right: 2em;
|
198
|
+
background: url(../images/layout/breadcrumb_bg.png) no-repeat right 3px;
|
199
|
+
text-transform: uppercase;
|
200
|
+
}
|
201
|
+
|
202
|
+
ol.breadcrumbs a:link, ol.breadcrumbs a:visited {
|
203
|
+
display: block;
|
204
|
+
text-decoration: none;
|
205
|
+
font-size: .8em;
|
206
|
+
color: #aaaaaa !important;
|
207
|
+
}
|
208
|
+
|
209
|
+
/* @end */
|
210
|
+
|
211
|
+
/* @group Content Area */
|
212
|
+
|
213
|
+
div#content_area {
|
214
|
+
padding: 10px 25px 35px 25px;
|
215
|
+
height: 100%;
|
216
|
+
font-size: 11px;
|
217
|
+
}
|
218
|
+
|
219
|
+
/* @end */
|
220
|
+
|
221
|
+
/* @group Footer */
|
222
|
+
|
223
|
+
div#footer {
|
224
|
+
position: absolute;
|
225
|
+
bottom: 0px;
|
226
|
+
height: 35px;
|
227
|
+
width: 100%;
|
228
|
+
padding: 0px;
|
229
|
+
margin: 0px !important;
|
230
|
+
background: url(/images/layout/black_bar.png) repeat-x bottom;
|
231
|
+
color: #aaaaaa;
|
232
|
+
border: none;
|
233
|
+
font-family: "Lucida Grande", Lucida, Verdana, sans-serif;
|
234
|
+
font-size: 11px;
|
235
|
+
}
|
236
|
+
|
237
|
+
div#footer p {
|
238
|
+
margin: 12px 25px 0px 25px;
|
239
|
+
}
|
240
|
+
|
241
|
+
div#footer a:link, div#footer a:visited {
|
242
|
+
text-decoration: none;
|
243
|
+
color: #aaaaaa;
|
244
|
+
}
|
245
|
+
|
246
|
+
div#footer a:hover {
|
247
|
+
text-decoration: underline;
|
248
|
+
}
|
249
|
+
|
250
|
+
/* @end */
|
251
|
+
|
252
|
+
|
253
|
+
/* @group Forms */
|
254
|
+
|
255
|
+
.faux_legend {
|
256
|
+
background: url(../images/layout/legend_bg.png) no-repeat 0 0px;
|
257
|
+
margin-top: -28px;
|
258
|
+
margin-left: -27px;
|
259
|
+
padding: 0em;
|
260
|
+
padding-left: 27px;
|
261
|
+
padding-top: 11px;
|
262
|
+
padding-bottom: 10px;
|
263
|
+
width: 319px !important;
|
264
|
+
height: 13px;
|
265
|
+
font-weight: bold;
|
266
|
+
font-size: 10px;
|
267
|
+
color: #ffffff;
|
268
|
+
text-transform: uppercase;
|
269
|
+
text-shadow: #333333 0 0 5px;
|
270
|
+
border: none;
|
271
|
+
}
|
272
|
+
|
273
|
+
legend {
|
274
|
+
background: url(../images/layout/legend_bg.png) no-repeat 0 0px;
|
275
|
+
margin-left: -27px;
|
276
|
+
padding: 0em;
|
277
|
+
padding-left: 27px;
|
278
|
+
padding-top: 11px;
|
279
|
+
padding-bottom: 10px;
|
280
|
+
width: 319px !important;
|
281
|
+
height: 13px;
|
282
|
+
font-weight: bold;
|
283
|
+
font-size: 10px;
|
284
|
+
color: #ffffff;
|
285
|
+
text-transform: uppercase;
|
286
|
+
text-shadow: #333333 0 0 5px;
|
287
|
+
border: none;
|
288
|
+
}
|
289
|
+
|
290
|
+
legend a:hover, .faux_legend a:hover {
|
291
|
+
color: #ffffff !important;
|
292
|
+
}
|
293
|
+
|
294
|
+
.form_container {
|
295
|
+
background-color: #efefef;
|
296
|
+
border: 1px solid #dddddd;
|
297
|
+
padding: 1em 1em 1em 1em;
|
298
|
+
margin-top: 2.5em;
|
299
|
+
margin-bottom: 1.5em;
|
300
|
+
text-align: left;
|
301
|
+
}
|
302
|
+
|
303
|
+
.three_column {
|
304
|
+
width: 33%;
|
305
|
+
text-align: left;
|
306
|
+
padding: 0em;
|
307
|
+
margin: 0em;
|
308
|
+
}
|
309
|
+
|
310
|
+
.faux_field {
|
311
|
+
background-color: #fafafa;
|
312
|
+
border: 1px solid #dddddd;
|
313
|
+
width: 75%;
|
314
|
+
}
|
315
|
+
|
316
|
+
.button {
|
317
|
+
color: #555555 !important;
|
318
|
+
background-color: #cccccc;
|
319
|
+
border: 1px solid #aaaaaa;
|
320
|
+
background-image: url(../images/layout/button_bg.png);
|
321
|
+
font-size: 9px;
|
322
|
+
margin-top: 10px;
|
323
|
+
margin-bottom: 10px;
|
324
|
+
}
|
325
|
+
|
326
|
+
.button a:link {
|
327
|
+
color: #555555 !important;
|
328
|
+
cursor: pointer;
|
329
|
+
}
|
330
|
+
|
331
|
+
.button a:visited {
|
332
|
+
color: #555555 !important;
|
333
|
+
cursor: pointer;
|
334
|
+
}
|
335
|
+
|
336
|
+
.button a:visited {
|
337
|
+
color: #555555 !important;
|
338
|
+
cursor: pointer;
|
339
|
+
}
|
340
|
+
|
341
|
+
.button:active {
|
342
|
+
background-color: #999999;
|
343
|
+
border: 1px solid #333333;
|
344
|
+
background-image: url(../images/layout/button_bg.png);
|
345
|
+
}
|
346
|
+
|
347
|
+
fieldset.inline {
|
348
|
+
margin-right: 1em;
|
349
|
+
float: left;
|
350
|
+
}
|
351
|
+
|
352
|
+
/* @end */
|
353
|
+
|
354
|
+
/* @group Tables */
|
355
|
+
|
356
|
+
table {
|
357
|
+
border: 1px solid #aaaaaa !important;
|
358
|
+
}
|
359
|
+
|
360
|
+
th {
|
361
|
+
/*background: #7e7587 !important;*/
|
362
|
+
font-size: .8em !important;
|
363
|
+
padding: .5em;
|
364
|
+
color: #ffffff !important;
|
365
|
+
}
|
366
|
+
|
367
|
+
th.sortable_header {
|
368
|
+
cursor: pointer;
|
369
|
+
}
|
370
|
+
|
371
|
+
th.sortable_header:hover {
|
372
|
+
background: #444444;
|
373
|
+
}
|
374
|
+
|
375
|
+
table h1 {
|
376
|
+
font-size: 1.1em;
|
377
|
+
background: none;
|
378
|
+
padding: 0px;
|
379
|
+
margin: 0px !important;
|
380
|
+
height: auto;
|
381
|
+
}
|
382
|
+
|
383
|
+
td {
|
384
|
+
font-size: .8em;
|
385
|
+
}
|
386
|
+
|
387
|
+
table.report {
|
388
|
+
}
|
389
|
+
|
390
|
+
table.report td {
|
391
|
+
text-align: right;
|
392
|
+
border: 1px solid #cccccc;
|
393
|
+
}
|
394
|
+
|
395
|
+
table.report td.metric, table.report th.metric {
|
396
|
+
width: auto;
|
397
|
+
text-align: left !important;
|
398
|
+
}
|
399
|
+
|
400
|
+
table.report td.metric {
|
401
|
+
background-color: #e0e0e0;
|
402
|
+
}
|
403
|
+
|
404
|
+
table.report td.metric a:link, table.report td.metric a:visited {
|
405
|
+
text-decoration: none;
|
406
|
+
}
|
407
|
+
|
408
|
+
table.report td.metric a:hover {
|
409
|
+
text-decoration: underline;
|
410
|
+
}
|
411
|
+
|
412
|
+
table.report td.data, table.report th.data {
|
413
|
+
width: 6%;
|
414
|
+
text-align: right;
|
415
|
+
padding-right: 1em;
|
416
|
+
}
|
417
|
+
|
418
|
+
table.report td.gained {
|
419
|
+
background-color: #ccddcc;
|
420
|
+
}
|
421
|
+
|
422
|
+
table.report td.lost {
|
423
|
+
background-color: #ddcccc;
|
424
|
+
}
|
425
|
+
|
426
|
+
table.report td.new {
|
427
|
+
background-color: #fff5cc;
|
428
|
+
color: #444444;
|
429
|
+
}
|
430
|
+
|
431
|
+
table.results th {
|
432
|
+
}
|
433
|
+
|
434
|
+
table.report th.transparent {
|
435
|
+
background: none;
|
436
|
+
border: 1px solid #eeeeee;
|
437
|
+
border-bottom: 1px solid #cccccc;
|
438
|
+
}
|
439
|
+
|
440
|
+
table.bifurcated_results th {
|
441
|
+
vertical-align: middle;
|
442
|
+
text-align: center !important;
|
443
|
+
font-size: .75em;
|
444
|
+
background-color: #888888;
|
445
|
+
color: #ffffff;
|
446
|
+
padding: .3em;
|
447
|
+
margin: 0px;
|
448
|
+
text-transform: uppercase;
|
449
|
+
}
|
450
|
+
|
451
|
+
table.standard th {
|
452
|
+
text-align: left;
|
453
|
+
color: #444444;
|
454
|
+
font-weight: bold;
|
455
|
+
text-transform: uppercase;
|
456
|
+
font-size: .8em;
|
457
|
+
padding: 1em .5em 1em .5em;
|
458
|
+
background: #7e7587 url(../images/layout/table_header.png)}
|
459
|
+
|
460
|
+
table.standard th a {
|
461
|
+
color: #ffffff !important;
|
462
|
+
text-decoration: none !important;
|
463
|
+
}
|
464
|
+
|
465
|
+
table.standard th a.arrow-desc:after{
|
466
|
+
content: "\25BC";
|
467
|
+
margin-left: 1em;
|
468
|
+
}
|
469
|
+
|
470
|
+
table.standard th a.arrow-asc:after {
|
471
|
+
content: "\25B2";
|
472
|
+
margin-left: 1em;
|
473
|
+
}
|
474
|
+
|
475
|
+
table.standard tr:hover td, table.results tr:hover td {
|
476
|
+
background-color: #cccccc !important;
|
477
|
+
}
|
478
|
+
|
479
|
+
table.results tr.summary {
|
480
|
+
font-weight: bold;
|
481
|
+
}
|
482
|
+
|
483
|
+
table.results tr td {
|
484
|
+
height: 3em;
|
485
|
+
vertical-align: top;
|
486
|
+
}
|
487
|
+
|
488
|
+
table.standard td {
|
489
|
+
}
|
490
|
+
|
491
|
+
table.standard td a:link, table.standard td a:visited {
|
492
|
+
text-decoration: none;
|
493
|
+
}
|
494
|
+
|
495
|
+
table tr.parent {
|
496
|
+
border-top: 1px solid #cccccc;
|
497
|
+
}
|
498
|
+
|
499
|
+
table.drag_highlight {
|
500
|
+
/*background-color: #aaaaaa !important;*/
|
501
|
+
border: 3px solid #999999;
|
502
|
+
}
|
503
|
+
|
504
|
+
tr.drag_highlight td {
|
505
|
+
/*background-color: #cccccc !important;*/
|
506
|
+
border: none;
|
507
|
+
border-bottom: 3px solid #999999;
|
508
|
+
}
|
509
|
+
|
510
|
+
table.with_form_fields td {
|
511
|
+
padding: 1em;
|
512
|
+
padding-bottom: 0em;
|
513
|
+
}
|
514
|
+
|
515
|
+
/* @end */
|
516
|
+
|
517
|
+
/* @group Admin Menu */
|
518
|
+
|
519
|
+
div.menu_icon {
|
520
|
+
float: left;
|
521
|
+
width: 150px;
|
522
|
+
height: 50px;
|
523
|
+
text-align: center;
|
524
|
+
padding-top: 120px;
|
525
|
+
margin-right: 2em;
|
526
|
+
margin-top: 2em;
|
527
|
+
cursor: pointer;
|
528
|
+
}
|
529
|
+
|
530
|
+
div.menu_icon h2 {
|
531
|
+
background: none;
|
532
|
+
color: #7e7587;
|
533
|
+
text-shadow: 0;
|
534
|
+
margin-bottom: 0px;
|
535
|
+
padding-bottom: 3px;
|
536
|
+
margin-top: -10px;
|
537
|
+
}
|
538
|
+
|
539
|
+
div.menu_icon#locations {
|
540
|
+
background: url(../images/menu/locations.png) no-repeat center top;
|
541
|
+
}
|
542
|
+
|
543
|
+
div.menu_icon#pages {
|
544
|
+
background: url(../images/menu/pages.png) no-repeat center top;
|
545
|
+
}
|
546
|
+
|
547
|
+
div.menu_icon#publications {
|
548
|
+
background: url(../images/menu/publications.png) no-repeat center top;
|
549
|
+
}
|
550
|
+
|
551
|
+
div.menu_icon#nav_items {
|
552
|
+
background: url(../images/menu/nav_items.png) no-repeat center top;
|
553
|
+
}
|
554
|
+
|
555
|
+
div.menu_icon#redirects {
|
556
|
+
background: url(../images/menu/redirects.png) no-repeat center top;
|
557
|
+
}
|
558
|
+
|
559
|
+
div.menu_icon#style_guide {
|
560
|
+
background: url(../images/menu/style_guide.png) no-repeat center top;
|
561
|
+
}
|
562
|
+
|
563
|
+
div.menu_icon#configuration {
|
564
|
+
background: url(../images/menu/configuration.png) no-repeat center top;
|
565
|
+
}
|
566
|
+
|
567
|
+
div.menu_icon#users {
|
568
|
+
background: url(../images/menu/users.png) no-repeat center top;
|
569
|
+
}
|
570
|
+
|
571
|
+
div.menu_icon#users:hover {
|
572
|
+
background: url(../images/menu/users_on.png) no-repeat center top;
|
573
|
+
}
|
574
|
+
|
575
|
+
div.menu_icon#messages {
|
576
|
+
background: url(../images/menu/messages.png) no-repeat center top;
|
577
|
+
}
|
578
|
+
|
579
|
+
div.menu_icon#messages:hover {
|
580
|
+
background: url(../images/menu/messages_on.png) no-repeat center top;
|
581
|
+
}
|
582
|
+
|
583
|
+
div.menu_icon#reports {
|
584
|
+
background: url(../images/menu/reports.png) no-repeat center top;
|
585
|
+
}
|
586
|
+
|
587
|
+
div.menu_icon#reports:hover {
|
588
|
+
background: url(../images/menu/reports_on.png) no-repeat center top;
|
589
|
+
}
|
590
|
+
|
591
|
+
div.menu_icon#locations:hover {
|
592
|
+
background: url(../images/menu/locations_on.png) no-repeat center top;
|
593
|
+
}
|
594
|
+
|
595
|
+
div.menu_icon#pages:hover {
|
596
|
+
background: url(../images/menu/pages_on.png) no-repeat center top;
|
597
|
+
}
|
598
|
+
|
599
|
+
div.menu_icon#publications:hover {
|
600
|
+
background: url(../images/menu/publications_on.png) no-repeat center top;
|
601
|
+
}
|
602
|
+
|
603
|
+
div.menu_icon#nav_items:hover {
|
604
|
+
background: url(../images/menu/nav_items_on.png) no-repeat center top;
|
605
|
+
}
|
606
|
+
|
607
|
+
div.menu_icon#redirects:hover {
|
608
|
+
background: url(../images/menu/redirects_on.png) no-repeat center top;
|
609
|
+
}
|
610
|
+
|
611
|
+
div.menu_icon#style_guide:hover {
|
612
|
+
background: url(../images/menu/style_guide_on.png) no-repeat center top;
|
613
|
+
}
|
614
|
+
|
615
|
+
div.menu_icon#configuration:hover {
|
616
|
+
background: url(../images/menu/configuration_on.png) no-repeat center top;
|
617
|
+
}
|
618
|
+
|
619
|
+
/* @end */
|
620
|
+
|
621
|
+
|
622
|
+
/* @group Charts */
|
623
|
+
|
624
|
+
.geochart {
|
625
|
+
border: 1px solid #cccccc;
|
626
|
+
width: 556px;
|
627
|
+
float: left;
|
628
|
+
margin-right: 1em;
|
629
|
+
}
|
630
|
+
|
631
|
+
|
632
|
+
/* @end */
|
633
|
+
|
634
|
+
|
635
|
+
/* @group Components */
|
636
|
+
|
637
|
+
.float_right {
|
638
|
+
float: right !important;
|
639
|
+
}
|
640
|
+
|
641
|
+
.link_block {
|
642
|
+
clear: both;
|
643
|
+
height: 2.75em;
|
644
|
+
margin-left: -1.1em;
|
645
|
+
margin-right: -1.1em;
|
646
|
+
margin-top: 2em;
|
647
|
+
margin-bottom: -2.5em;
|
648
|
+
border: 1px solid #bbbbbb;
|
649
|
+
background: #ffffff url(../images/layout/shadow_border_4.png) repeat-x 0 2px;
|
650
|
+
}
|
651
|
+
|
652
|
+
div.link_block.attached {
|
653
|
+
margin: -17px 0px 1em 0px;
|
654
|
+
width: 99.9%;
|
655
|
+
}
|
656
|
+
|
657
|
+
div.link_block.attached.table {
|
658
|
+
margin: -1px 0px 1em 0px;
|
659
|
+
width: 99.9%;
|
660
|
+
}
|
661
|
+
|
662
|
+
table .link_block {
|
663
|
+
height: 3.1em;
|
664
|
+
margin-top: -3px;
|
665
|
+
margin-left: -5px;
|
666
|
+
margin-right: -5px;
|
667
|
+
margin-bottom: -5px;
|
668
|
+
}
|
669
|
+
|
670
|
+
a.back_button {
|
671
|
+
display: block;
|
672
|
+
text-decoration: none !important;
|
673
|
+
padding-left: 2.25em;
|
674
|
+
margin-top: 1em;
|
675
|
+
color: #9a9a9a;
|
676
|
+
background: url(../images/layout/back.png) no-repeat 0 -1px;
|
677
|
+
text-transform: uppercase;
|
678
|
+
}
|
679
|
+
|
680
|
+
input[type='submit'].link_button {
|
681
|
+
margin-top: 2px;
|
682
|
+
height: 28px !important;
|
683
|
+
padding-top: 0em !important;
|
684
|
+
/*padding: 0em 1.5em 0em 1.25em !important;*/
|
685
|
+
background-color: #dddddd;
|
686
|
+
border: none;
|
687
|
+
border-right: 1px solid #bbbbbb;
|
688
|
+
color: #440000;
|
689
|
+
}
|
690
|
+
|
691
|
+
a.link_button {
|
692
|
+
color: #440000 !important;
|
693
|
+
}
|
694
|
+
|
695
|
+
.link_button {
|
696
|
+
display: block;
|
697
|
+
float: left;
|
698
|
+
width: auto;
|
699
|
+
height: 2em !important;
|
700
|
+
padding-top: 1em;
|
701
|
+
padding-left: 1.25em;
|
702
|
+
padding-right: 1.5em;
|
703
|
+
text-decoration: none !important;
|
704
|
+
font-weight: bold;
|
705
|
+
font-size: 10px;
|
706
|
+
text-transform: uppercase;
|
707
|
+
border-right: 1px solid #bbbbbb;
|
708
|
+
}
|
709
|
+
|
710
|
+
.link_button:hover {
|
711
|
+
background-color: #cccccc;
|
712
|
+
margin-top: .1em;
|
713
|
+
height: 1.9em !important;
|
714
|
+
}
|
715
|
+
|
716
|
+
.menu_box {
|
717
|
+
width: 45%;
|
718
|
+
height: 100px;
|
719
|
+
float: left;
|
720
|
+
}
|
721
|
+
|
722
|
+
.no_bg {
|
723
|
+
margin-top: 0em;
|
724
|
+
background-color: #ffffff;
|
725
|
+
border: none !important;
|
726
|
+
}
|
727
|
+
|
728
|
+
div.jump_links {
|
729
|
+
position: absolute;
|
730
|
+
right: 25px;
|
731
|
+
color: #444444;
|
732
|
+
text-align: right;
|
733
|
+
margin-top: 1em;
|
734
|
+
}
|
735
|
+
|
736
|
+
.jump_links a:link, .jump_links a:visited {
|
737
|
+
color: #444444;
|
738
|
+
text-decoration: none;
|
739
|
+
}
|
740
|
+
|
741
|
+
.jump_links ul {
|
742
|
+
display: inline;
|
743
|
+
float: right;
|
744
|
+
list-style-type: none;
|
745
|
+
}
|
746
|
+
|
747
|
+
.jump_links ul li {
|
748
|
+
float: left;
|
749
|
+
margin-left: .25em;
|
750
|
+
margin-top: 2px;
|
751
|
+
height: 28px;
|
752
|
+
width: 75px;
|
753
|
+
cursor: pointer;
|
754
|
+
padding: 7px 1em 1em 1em;
|
755
|
+
text-align: center;
|
756
|
+
background: url(../images/layout/tab.png) no-repeat;
|
757
|
+
font-size: 9px;
|
758
|
+
}
|
759
|
+
|
760
|
+
.jump_links ul li.active {
|
761
|
+
background: url(../images/layout/tab_active.png) no-repeat;
|
762
|
+
margin-top: 2px;
|
763
|
+
height: 32px;
|
764
|
+
font-weight: bold;
|
765
|
+
}
|
766
|
+
|
767
|
+
img.move_icon {
|
768
|
+
margin-top: 4px;
|
769
|
+
visibility: hidden;
|
770
|
+
}
|
771
|
+
|
772
|
+
tr:hover td img.move_icon {
|
773
|
+
visibility: visible;
|
774
|
+
}
|
775
|
+
|
776
|
+
/* @end */
|
777
|
+
|
778
|
+
/* @group Info Icons */
|
779
|
+
|
780
|
+
div.note {
|
781
|
+
color: #000000;
|
782
|
+
margin-top: 1em;
|
783
|
+
margin-bottom: 2em;
|
784
|
+
background-color: #eeeeee;
|
785
|
+
border: 1px solid #999999;
|
786
|
+
font-size: 1em;
|
787
|
+
}
|
788
|
+
|
789
|
+
div.note span.notification {
|
790
|
+
float: left;
|
791
|
+
display: block;
|
792
|
+
margin-top: -25px;
|
793
|
+
margin-left: -15px;
|
794
|
+
height: 45px;
|
795
|
+
width: 40px;
|
796
|
+
}
|
797
|
+
|
798
|
+
span.notification.detail {
|
799
|
+
background: url(../images/icons/notification_icon_sprite.png) no-repeat 0px 0px;
|
800
|
+
}
|
801
|
+
|
802
|
+
span.notification.info {
|
803
|
+
background: url(../images/icons/notification_icon_sprite.png) no-repeat 0px -45px;
|
804
|
+
}
|
805
|
+
|
806
|
+
span.notification.reminder {
|
807
|
+
background: url(../images/icons/notification_icon_sprite.png) no-repeat 0px -90px;
|
808
|
+
}
|
809
|
+
|
810
|
+
span.notification.error {
|
811
|
+
background: url(../images/icons/notification_icon_sprite.png) no-repeat -45px 0px;
|
812
|
+
}
|
813
|
+
|
814
|
+
span.notification.alert {
|
815
|
+
background: url(../images/icons/notification_icon_sprite.png) no-repeat -45px -45px;
|
816
|
+
}
|
817
|
+
|
818
|
+
span.notification.idea {
|
819
|
+
background: url(../images/icons/notification_icon_sprite.png) no-repeat -45px -90px;
|
820
|
+
}
|
821
|
+
|
822
|
+
span.notification.clarification {
|
823
|
+
background: url(../images/icons/notification_icon_sprite.png) no-repeat -90px 0px;
|
824
|
+
}
|
825
|
+
|
826
|
+
span.notification.question {
|
827
|
+
background: url(../images/icons/notification_icon_sprite.png) no-repeat -90px -45px;
|
828
|
+
}
|
829
|
+
|
830
|
+
span.notification.confusion {
|
831
|
+
background: url(../images/icons/notification_icon_sprite.png) no-repeat -90px -90px;
|
832
|
+
}
|
833
|
+
|
834
|
+
div.note p {
|
835
|
+
margin-top: 1.5em;
|
836
|
+
padding: 1em 1em .5em 1em;
|
837
|
+
}
|
838
|
+
|
839
|
+
|
840
|
+
|
841
|
+
/* @end */
|
842
|
+
|
843
|
+
/* @group Reports */
|
844
|
+
|
845
|
+
.negative {
|
846
|
+
color: #793441;
|
847
|
+
font-weight: bold;
|
848
|
+
}
|
849
|
+
|
850
|
+
.new {
|
851
|
+
color: #827e38;
|
852
|
+
font-weight: bold;
|
853
|
+
}
|
854
|
+
|
855
|
+
.positive {
|
856
|
+
color: #6b7c35;
|
857
|
+
font-weight: bold;
|
858
|
+
}
|
859
|
+
|
860
|
+
/* @end */
|
861
|
+
|
862
|
+
|
863
|
+
/* @group Rails Overrides */
|
864
|
+
|
865
|
+
div#flash_error {
|
866
|
+
border: 1px solid #aaaaaa;
|
867
|
+
color: #660000;
|
868
|
+
padding: 1em;
|
869
|
+
background-color: #eeeeee;
|
870
|
+
}
|
871
|
+
|
872
|
+
.errorExplanation h2 {
|
873
|
+
display: none;
|
874
|
+
}
|
875
|
+
|
876
|
+
.errorExplanation ul li {
|
877
|
+
margin-left: 1.5em;
|
878
|
+
list-style-type: disc;
|
879
|
+
}
|
880
|
+
|
881
|
+
/* @end */
|
882
|
+
|