gnuside-aloha-rails 0.23.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE +18 -0
- data/README.md +48 -0
- data/Rakefile +69 -0
- data/app/assets/javascripts/aloha.js +3 -0
- data/app/assets/javascripts/aloha/preinit.js.erb +1 -0
- data/lib/aloha-rails.rb +1 -0
- data/lib/aloha/rails.rb +2 -0
- data/lib/aloha/rails/engine.rb +9 -0
- data/lib/aloha/rails/version.rb +7 -0
- data/lib/tasks/aloha-assets.rake +9 -0
- data/vendor/assets/javascripts/aloha/css/aloha.scss +31 -0
- data/vendor/assets/javascripts/aloha/img/arrow-down.png +0 -0
- data/vendor/assets/javascripts/aloha/img/arrow-left.png +0 -0
- data/vendor/assets/javascripts/aloha/img/arrow.png +0 -0
- data/vendor/assets/javascripts/aloha/img/base-multi.png +0 -0
- data/vendor/assets/javascripts/aloha/img/base.png +0 -0
- data/vendor/assets/javascripts/aloha/img/bg.png +0 -0
- data/vendor/assets/javascripts/aloha/img/breadcrumb-divider.png +0 -0
- data/vendor/assets/javascripts/aloha/img/gentics-logo.png +0 -0
- data/vendor/assets/javascripts/aloha/img/grabhandle.png +0 -0
- data/vendor/assets/javascripts/aloha/img/maximize.png +0 -0
- data/vendor/assets/javascripts/aloha/img/multisplit-base.jpg +0 -0
- data/vendor/assets/javascripts/aloha/img/multisplit-close.gif +0 -0
- data/vendor/assets/javascripts/aloha/img/multisplit-open.gif +0 -0
- data/vendor/assets/javascripts/aloha/img/pin.png +0 -0
- data/vendor/assets/javascripts/aloha/img/removeformat.png +0 -0
- data/vendor/assets/javascripts/aloha/img/text_indent.png +0 -0
- data/vendor/assets/javascripts/aloha/img/text_indent_remove.png +0 -0
- data/vendor/assets/javascripts/aloha/lib/aloha-jquery-noconflict.js +14 -0
- data/vendor/assets/javascripts/aloha/lib/aloha.js +595 -0
- data/vendor/assets/javascripts/aloha/lib/aloha/block-jump.js +153 -0
- data/vendor/assets/javascripts/aloha/lib/aloha/command.js +287 -0
- data/vendor/assets/javascripts/aloha/lib/aloha/console.js +347 -0
- data/vendor/assets/javascripts/aloha/lib/aloha/contenthandlermanager.js +104 -0
- data/vendor/assets/javascripts/aloha/lib/aloha/copypaste.js +108 -0
- data/vendor/assets/javascripts/aloha/lib/aloha/core.js +623 -0
- data/vendor/assets/javascripts/aloha/lib/aloha/ecma5shims.js +326 -0
- data/vendor/assets/javascripts/aloha/lib/aloha/editable.js +1042 -0
- data/vendor/assets/javascripts/aloha/lib/aloha/engine.js +8646 -0
- data/vendor/assets/javascripts/aloha/lib/aloha/ephemera.js +492 -0
- data/vendor/assets/javascripts/aloha/lib/aloha/ierange-m2.js +29 -0
- data/vendor/assets/javascripts/aloha/lib/aloha/jquery.aloha.js +542 -0
- data/vendor/assets/javascripts/aloha/lib/aloha/markup.js +1276 -0
- data/vendor/assets/javascripts/aloha/lib/aloha/nls/ca/i18n.js +11 -0
- data/vendor/assets/javascripts/aloha/lib/aloha/nls/de/i18n.js +11 -0
- data/vendor/assets/javascripts/aloha/lib/aloha/nls/i18n.js +20 -0
- data/vendor/assets/javascripts/aloha/lib/aloha/nls/mk/i18n.js +11 -0
- data/vendor/assets/javascripts/aloha/lib/aloha/nls/pt-br/i18n.js +11 -0
- data/vendor/assets/javascripts/aloha/lib/aloha/nls/ru/i18n.js +11 -0
- data/vendor/assets/javascripts/aloha/lib/aloha/nls/uk/i18n.js +11 -0
- data/vendor/assets/javascripts/aloha/lib/aloha/nls/zh-hans/i18n.js +11 -0
- data/vendor/assets/javascripts/aloha/lib/aloha/observable.js +113 -0
- data/vendor/assets/javascripts/aloha/lib/aloha/plugin.js +281 -0
- data/vendor/assets/javascripts/aloha/lib/aloha/pluginmanager.js +203 -0
- data/vendor/assets/javascripts/aloha/lib/aloha/rangy-core.js +30 -0
- data/vendor/assets/javascripts/aloha/lib/aloha/registry.js +137 -0
- data/vendor/assets/javascripts/aloha/lib/aloha/repository.js +255 -0
- data/vendor/assets/javascripts/aloha/lib/aloha/repositorymanager.js +742 -0
- data/vendor/assets/javascripts/aloha/lib/aloha/repositoryobjects.js +162 -0
- data/vendor/assets/javascripts/aloha/lib/aloha/selection.js +2402 -0
- data/vendor/assets/javascripts/aloha/lib/aloha/sidebar.js +1045 -0
- data/vendor/assets/javascripts/aloha/lib/aloha/state-override.js +147 -0
- data/vendor/assets/javascripts/aloha/lib/css.js +455 -0
- data/vendor/assets/javascripts/aloha/lib/i18n.js +192 -0
- data/vendor/assets/javascripts/aloha/lib/require.js +2053 -0
- data/vendor/assets/javascripts/aloha/lib/text.js +288 -0
- data/vendor/assets/javascripts/aloha/lib/util/arrays.js +287 -0
- data/vendor/assets/javascripts/aloha/lib/util/boundary-markers.js +86 -0
- data/vendor/assets/javascripts/aloha/lib/util/browser.js +32 -0
- data/vendor/assets/javascripts/aloha/lib/util/class.js +78 -0
- data/vendor/assets/javascripts/aloha/lib/util/dom.js +1888 -0
- data/vendor/assets/javascripts/aloha/lib/util/dom2.js +908 -0
- data/vendor/assets/javascripts/aloha/lib/util/functions.js +62 -0
- data/vendor/assets/javascripts/aloha/lib/util/html.js +311 -0
- data/vendor/assets/javascripts/aloha/lib/util/json2.js +464 -0
- data/vendor/assets/javascripts/aloha/lib/util/keys.js +65 -0
- data/vendor/assets/javascripts/aloha/lib/util/lang.js +89 -0
- data/vendor/assets/javascripts/aloha/lib/util/maps.js +130 -0
- data/vendor/assets/javascripts/aloha/lib/util/misc.js +51 -0
- data/vendor/assets/javascripts/aloha/lib/util/position.js +176 -0
- data/vendor/assets/javascripts/aloha/lib/util/range-context.js +776 -0
- data/vendor/assets/javascripts/aloha/lib/util/range.js +917 -0
- data/vendor/assets/javascripts/aloha/lib/util/strings.js +122 -0
- data/vendor/assets/javascripts/aloha/lib/util/trees.js +336 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/3rdparty.txt +70 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/amplify.store.js +298 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/class.js +76 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/grid.locale.de.js +138 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/grid.locale.en.js +133 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ierange-m2.js +508 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/jquery-1.7.2.js +9421 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/jquery-ui-1.9.0.custom-aloha.js +14711 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/jquery.jqgrid.js +474 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/jquery.jstree.js +4549 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/jquery.layout-1.3.0-rc30.7.js +5924 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/pubsub/js/pubsub-unminified.js +187 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/pubsub/js/pubsub.js +2 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/rangy-core.js +3295 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/repository-browser/css/jstree.css +88 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/repository-browser/css/repository-browser.css +744 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/repository-browser/img/arrow-000-medium.png +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/repository-browser/img/arrow-180.png +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/repository-browser/img/arrow-315-medium.png +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/repository-browser/img/arrow-stop-180.png +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/repository-browser/img/arrow-stop.png +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/repository-browser/img/arrow.png +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/repository-browser/img/control-stop-square-small.png +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/repository-browser/img/folder-horizontal-open.png +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/repository-browser/img/folder-open.png +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/repository-browser/img/magnifier-left.png +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/repository-browser/img/page.png +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/repository-browser/img/picture.png +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/repository-browser/img/sort-alphabet-descending.png +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/repository-browser/img/sort-alphabet.png +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/repository-browser/img/throbber.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/repository-browser/js/repository-browser-unminified.js +1450 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/repository-browser/js/repository-browser.js +32 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/sanitize.js +278 -0
- data/vendor/assets/javascripts/aloha/plugins/common/abbr/css/abbr.css +1 -0
- data/vendor/assets/javascripts/aloha/plugins/common/abbr/img/remabbr.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/abbr/lib/abbr-plugin.js +304 -0
- data/vendor/assets/javascripts/aloha/plugins/common/abbr/nls/ca/i18n.js +6 -0
- data/vendor/assets/javascripts/aloha/plugins/common/abbr/nls/de/i18n.js +6 -0
- data/vendor/assets/javascripts/aloha/plugins/common/abbr/nls/i18n.js +15 -0
- data/vendor/assets/javascripts/aloha/plugins/common/abbr/nls/mk/i18n.js +6 -0
- data/vendor/assets/javascripts/aloha/plugins/common/abbr/nls/pt-br/i18n.js +6 -0
- data/vendor/assets/javascripts/aloha/plugins/common/abbr/nls/ru/i18n.js +6 -0
- data/vendor/assets/javascripts/aloha/plugins/common/abbr/nls/uk/i18n.js +6 -0
- data/vendor/assets/javascripts/aloha/plugins/common/abbr/nls/zh-hans/i18n.js +6 -0
- data/vendor/assets/javascripts/aloha/plugins/common/abbr/package.json +1 -0
- data/vendor/assets/javascripts/aloha/plugins/common/align/LICENSE +166 -0
- data/vendor/assets/javascripts/aloha/plugins/common/align/README +12 -0
- data/vendor/assets/javascripts/aloha/plugins/common/align/css/align.css +31 -0
- data/vendor/assets/javascripts/aloha/plugins/common/align/img/align.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/align/lib/align-plugin.js +465 -0
- data/vendor/assets/javascripts/aloha/plugins/common/align/nls/ca/i18n.js +6 -0
- data/vendor/assets/javascripts/aloha/plugins/common/align/nls/de/i18n.js +9 -0
- data/vendor/assets/javascripts/aloha/plugins/common/align/nls/i18n.js +18 -0
- data/vendor/assets/javascripts/aloha/plugins/common/align/nls/mk/i18n.js +6 -0
- data/vendor/assets/javascripts/aloha/plugins/common/align/nls/pt-br/i18n.js +6 -0
- data/vendor/assets/javascripts/aloha/plugins/common/align/nls/ru/i18n.js +6 -0
- data/vendor/assets/javascripts/aloha/plugins/common/align/nls/uk/i18n.js +6 -0
- data/vendor/assets/javascripts/aloha/plugins/common/align/nls/zh-hans/i18n.js +6 -0
- data/vendor/assets/javascripts/aloha/plugins/common/align/package.json +2 -0
- data/vendor/assets/javascripts/aloha/plugins/common/block/README +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/block/css/block.css +110 -0
- data/vendor/assets/javascripts/aloha/plugins/common/block/img/toolbar-draghandle.gif +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/block/lib/block-plugin.js +347 -0
- data/vendor/assets/javascripts/aloha/plugins/common/block/lib/block.js +1277 -0
- data/vendor/assets/javascripts/aloha/plugins/common/block/lib/blockcontenthandler.js +118 -0
- data/vendor/assets/javascripts/aloha/plugins/common/block/lib/blockmanager.js +621 -0
- data/vendor/assets/javascripts/aloha/plugins/common/block/lib/editor.js +331 -0
- data/vendor/assets/javascripts/aloha/plugins/common/block/lib/editormanager.js +55 -0
- data/vendor/assets/javascripts/aloha/plugins/common/block/lib/sidebarattributeeditor.js +126 -0
- data/vendor/assets/javascripts/aloha/plugins/common/block/nls/ca/i18n.js +3 -0
- data/vendor/assets/javascripts/aloha/plugins/common/block/nls/de/i18n.js +3 -0
- data/vendor/assets/javascripts/aloha/plugins/common/block/nls/i18n.js +12 -0
- data/vendor/assets/javascripts/aloha/plugins/common/block/nls/mk/i18n.js +3 -0
- data/vendor/assets/javascripts/aloha/plugins/common/block/nls/pt-br/i18n.js +3 -0
- data/vendor/assets/javascripts/aloha/plugins/common/block/nls/ru/i18n.js +3 -0
- data/vendor/assets/javascripts/aloha/plugins/common/block/nls/uk/i18n.js +3 -0
- data/vendor/assets/javascripts/aloha/plugins/common/block/nls/zh-hans/i18n.js +3 -0
- data/vendor/assets/javascripts/aloha/plugins/common/block/package.json +11 -0
- data/vendor/assets/javascripts/aloha/plugins/common/characterpicker/css/characterpicker.css +44 -0
- data/vendor/assets/javascripts/aloha/plugins/common/characterpicker/img/icon.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/characterpicker/lib/characterpicker-plugin.js +466 -0
- data/vendor/assets/javascripts/aloha/plugins/common/characterpicker/nls/ca/i18n.js +3 -0
- data/vendor/assets/javascripts/aloha/plugins/common/characterpicker/nls/de/i18n.js +3 -0
- data/vendor/assets/javascripts/aloha/plugins/common/characterpicker/nls/i18n.js +12 -0
- data/vendor/assets/javascripts/aloha/plugins/common/characterpicker/nls/mk/i18n.js +3 -0
- data/vendor/assets/javascripts/aloha/plugins/common/characterpicker/nls/pt-br/i18n.js +3 -0
- data/vendor/assets/javascripts/aloha/plugins/common/characterpicker/nls/ru/i18n.js +3 -0
- data/vendor/assets/javascripts/aloha/plugins/common/characterpicker/nls/uk/i18n.js +3 -0
- data/vendor/assets/javascripts/aloha/plugins/common/characterpicker/nls/zh-hans/i18n.js +3 -0
- data/vendor/assets/javascripts/aloha/plugins/common/commands/css/abbr.css +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/commands/lib/commands-plugin.js +33 -0
- data/vendor/assets/javascripts/aloha/plugins/common/commands/lib/inserthtml.js +126 -0
- data/vendor/assets/javascripts/aloha/plugins/common/commands/package.json +1 -0
- data/vendor/assets/javascripts/aloha/plugins/common/contenthandler/README.md +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/contenthandler/lib/blockelementcontenthandler.js +144 -0
- data/vendor/assets/javascripts/aloha/plugins/common/contenthandler/lib/contenthandler-plugin.js +65 -0
- data/vendor/assets/javascripts/aloha/plugins/common/contenthandler/lib/contenthandler-utils.js +58 -0
- data/vendor/assets/javascripts/aloha/plugins/common/contenthandler/lib/genericcontenthandler.js +359 -0
- data/vendor/assets/javascripts/aloha/plugins/common/contenthandler/lib/oembedcontenthandler.js +461 -0
- data/vendor/assets/javascripts/aloha/plugins/common/contenthandler/lib/sanitizecontenthandler.js +186 -0
- data/vendor/assets/javascripts/aloha/plugins/common/contenthandler/lib/wordcontenthandler.js +461 -0
- data/vendor/assets/javascripts/aloha/plugins/common/contenthandler/package.json +1 -0
- data/vendor/assets/javascripts/aloha/plugins/common/dom-to-xhtml/lib/dom-to-xhtml-plugin.js +74 -0
- data/vendor/assets/javascripts/aloha/plugins/common/dom-to-xhtml/lib/dom-to-xhtml.js +415 -0
- data/vendor/assets/javascripts/aloha/plugins/common/format/img/em.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/format/img/strong.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/format/lib/format-plugin.js +594 -0
- data/vendor/assets/javascripts/aloha/plugins/common/format/nls/ca/i18n.js +52 -0
- data/vendor/assets/javascripts/aloha/plugins/common/format/nls/de/i18n.js +52 -0
- data/vendor/assets/javascripts/aloha/plugins/common/format/nls/i18n.js +61 -0
- data/vendor/assets/javascripts/aloha/plugins/common/format/nls/mk/i18n.js +52 -0
- data/vendor/assets/javascripts/aloha/plugins/common/format/nls/pt-br/i18n.js +52 -0
- data/vendor/assets/javascripts/aloha/plugins/common/format/nls/ru/i18n.js +52 -0
- data/vendor/assets/javascripts/aloha/plugins/common/format/nls/uk/i18n.js +52 -0
- data/vendor/assets/javascripts/aloha/plugins/common/format/nls/zh-hans/i18n.js +52 -0
- data/vendor/assets/javascripts/aloha/plugins/common/highlighteditables/css/highlighteditables.css +14 -0
- data/vendor/assets/javascripts/aloha/plugins/common/highlighteditables/lib/highlighteditables-plugin.js +100 -0
- data/vendor/assets/javascripts/aloha/plugins/common/highlighteditables/package.json +1 -0
- data/vendor/assets/javascripts/aloha/plugins/common/horizontalruler/css/horizontalruler.css +3 -0
- data/vendor/assets/javascripts/aloha/plugins/common/horizontalruler/img/icon.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/horizontalruler/lib/horizontalruler-plugin.js +95 -0
- data/vendor/assets/javascripts/aloha/plugins/common/horizontalruler/nls/ca/i18n.js +3 -0
- data/vendor/assets/javascripts/aloha/plugins/common/horizontalruler/nls/de/i18n.js +3 -0
- data/vendor/assets/javascripts/aloha/plugins/common/horizontalruler/nls/i18n.js +12 -0
- data/vendor/assets/javascripts/aloha/plugins/common/horizontalruler/nls/mk/i18n.js +3 -0
- data/vendor/assets/javascripts/aloha/plugins/common/horizontalruler/nls/pt-br/i18n.js +3 -0
- data/vendor/assets/javascripts/aloha/plugins/common/horizontalruler/nls/ru/i18n.js +3 -0
- data/vendor/assets/javascripts/aloha/plugins/common/horizontalruler/nls/uk/i18n.js +3 -0
- data/vendor/assets/javascripts/aloha/plugins/common/horizontalruler/nls/zh-hans/i18n.js +3 -0
- data/vendor/assets/javascripts/aloha/plugins/common/image/README.md +66 -0
- data/vendor/assets/javascripts/aloha/plugins/common/image/css/image.css +133 -0
- data/vendor/assets/javascripts/aloha/plugins/common/image/img/blank.jpg +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/image/img/crop-buttons.gif +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/image/img/cropnresize.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/image/img/handle-sw.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/image/img/image-align-left.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/image/img/image-align-none.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/image/img/image-align-right.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/image/img/image-border.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/image/img/image-title.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/image/img/image.gif +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/image/img/padding-decrease.gif +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/image/img/padding-increase.gif +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/image/img/page.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/image/img/size-decrease.gif +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/image/img/size-increase.gif +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/image/lib/image-floatingMenu.js +308 -0
- data/vendor/assets/javascripts/aloha/plugins/common/image/lib/image-plugin-actions.js +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/image/lib/image-plugin.js +1341 -0
- data/vendor/assets/javascripts/aloha/plugins/common/image/nls/ca/i18n.js +32 -0
- data/vendor/assets/javascripts/aloha/plugins/common/image/nls/de/i18n.js +32 -0
- data/vendor/assets/javascripts/aloha/plugins/common/image/nls/i18n.js +41 -0
- data/vendor/assets/javascripts/aloha/plugins/common/image/nls/mk/i18n.js +32 -0
- data/vendor/assets/javascripts/aloha/plugins/common/image/nls/pt-br/i18n.js +32 -0
- data/vendor/assets/javascripts/aloha/plugins/common/image/nls/ru/i18n.js +32 -0
- data/vendor/assets/javascripts/aloha/plugins/common/image/nls/uk/i18n.js +32 -0
- data/vendor/assets/javascripts/aloha/plugins/common/image/nls/zh-hans/i18n.js +32 -0
- data/vendor/assets/javascripts/aloha/plugins/common/image/package.json +1 -0
- data/vendor/assets/javascripts/aloha/plugins/common/image/vendor/jcrop/jcrop.gif +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/image/vendor/jcrop/jquery.jcrop.css +46 -0
- data/vendor/assets/javascripts/aloha/plugins/common/image/vendor/jcrop/jquery.jcrop.min.js +165 -0
- data/vendor/assets/javascripts/aloha/plugins/common/image/vendor/mousewheel/mousewheel.js +85 -0
- data/vendor/assets/javascripts/aloha/plugins/common/image/vendor/ui/ui-lightness/images/ui-bg_diagonals-thick_18_b81900_40x40.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/image/vendor/ui/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/image/vendor/ui/ui-lightness/images/ui-bg_flat_10_000000_40x100.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/image/vendor/ui/ui-lightness/images/ui-bg_glass_100_f6f6f6_1x400.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/image/vendor/ui/ui-lightness/images/ui-bg_glass_100_fdf5ce_1x400.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/image/vendor/ui/ui-lightness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/image/vendor/ui/ui-lightness/images/ui-bg_gloss-wave_35_f6a828_500x100.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/image/vendor/ui/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/image/vendor/ui/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/image/vendor/ui/ui-lightness/images/ui-icons_222222_256x240.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/image/vendor/ui/ui-lightness/images/ui-icons_228ef1_256x240.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/image/vendor/ui/ui-lightness/images/ui-icons_ef8c08_256x240.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/image/vendor/ui/ui-lightness/images/ui-icons_ffd27a_256x240.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/image/vendor/ui/ui-lightness/images/ui-icons_ffffff_256x240.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/link/css/link.css +52 -0
- data/vendor/assets/javascripts/aloha/plugins/common/link/extra/delicious.js +264 -0
- data/vendor/assets/javascripts/aloha/plugins/common/link/extra/linklist.js +247 -0
- data/vendor/assets/javascripts/aloha/plugins/common/link/extra/slowlinklist.js +247 -0
- data/vendor/assets/javascripts/aloha/plugins/common/link/lib/link-plugin.js +958 -0
- data/vendor/assets/javascripts/aloha/plugins/common/link/nls/ca/i18n.js +14 -0
- data/vendor/assets/javascripts/aloha/plugins/common/link/nls/de/i18n.js +14 -0
- data/vendor/assets/javascripts/aloha/plugins/common/link/nls/i18n.js +23 -0
- data/vendor/assets/javascripts/aloha/plugins/common/link/nls/mk/i18n.js +14 -0
- data/vendor/assets/javascripts/aloha/plugins/common/link/nls/pt-br/i18n.js +14 -0
- data/vendor/assets/javascripts/aloha/plugins/common/link/nls/ru/i18n.js +14 -0
- data/vendor/assets/javascripts/aloha/plugins/common/link/nls/uk/i18n.js +14 -0
- data/vendor/assets/javascripts/aloha/plugins/common/link/nls/zh-hans/i18n.js +14 -0
- data/vendor/assets/javascripts/aloha/plugins/common/list/lib/list-plugin.js +878 -0
- data/vendor/assets/javascripts/aloha/plugins/common/list/nls/ca/i18n.js +7 -0
- data/vendor/assets/javascripts/aloha/plugins/common/list/nls/de/i18n.js +7 -0
- data/vendor/assets/javascripts/aloha/plugins/common/list/nls/i18n.js +16 -0
- data/vendor/assets/javascripts/aloha/plugins/common/list/nls/mk/i18n.js +7 -0
- data/vendor/assets/javascripts/aloha/plugins/common/list/nls/pt-br/i18n.js +7 -0
- data/vendor/assets/javascripts/aloha/plugins/common/list/nls/ru/i18n.js +7 -0
- data/vendor/assets/javascripts/aloha/plugins/common/list/nls/uk/i18n.js +7 -0
- data/vendor/assets/javascripts/aloha/plugins/common/list/nls/zh-hans/i18n.js +7 -0
- data/vendor/assets/javascripts/aloha/plugins/common/list/package.json +1 -0
- data/vendor/assets/javascripts/aloha/plugins/common/paste/lib/paste-plugin.js +457 -0
- data/vendor/assets/javascripts/aloha/plugins/common/paste/package.json +8 -0
- data/vendor/assets/javascripts/aloha/plugins/common/table/css/table.css +125 -0
- data/vendor/assets/javascripts/aloha/plugins/common/table/img/down.cur +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/table/img/left.cur +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/table/img/table_layout.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/table/img/wai-green.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/table/img/wai-red.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/table/lib/table-cell.js +542 -0
- data/vendor/assets/javascripts/aloha/plugins/common/table/lib/table-create-layer.js +213 -0
- data/vendor/assets/javascripts/aloha/plugins/common/table/lib/table-plugin-utils.js +494 -0
- data/vendor/assets/javascripts/aloha/plugins/common/table/lib/table-plugin.js +1596 -0
- data/vendor/assets/javascripts/aloha/plugins/common/table/lib/table-selection.js +468 -0
- data/vendor/assets/javascripts/aloha/plugins/common/table/lib/table.js +2110 -0
- data/vendor/assets/javascripts/aloha/plugins/common/table/nls/ca/i18n.js +28 -0
- data/vendor/assets/javascripts/aloha/plugins/common/table/nls/de/i18n.js +29 -0
- data/vendor/assets/javascripts/aloha/plugins/common/table/nls/i18n.js +38 -0
- data/vendor/assets/javascripts/aloha/plugins/common/table/nls/mk/i18n.js +28 -0
- data/vendor/assets/javascripts/aloha/plugins/common/table/nls/pt-br/i18n.js +28 -0
- data/vendor/assets/javascripts/aloha/plugins/common/table/nls/ru/i18n.js +28 -0
- data/vendor/assets/javascripts/aloha/plugins/common/table/nls/uk/i18n.js +28 -0
- data/vendor/assets/javascripts/aloha/plugins/common/table/nls/zh-hans/i18n.js +28 -0
- data/vendor/assets/javascripts/aloha/plugins/common/table/package.json +1 -0
- data/vendor/assets/javascripts/aloha/plugins/common/ui/css/jquery-ui-1.9m6.css +430 -0
- data/vendor/assets/javascripts/aloha/plugins/common/ui/css/ui.css +689 -0
- data/vendor/assets/javascripts/aloha/plugins/common/ui/img/blockquote.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/ui/img/character-picker.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/ui/img/em.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/ui/img/format-block.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/ui/img/format-inline.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/ui/img/indent.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/ui/img/jqueryui/ui-icons_222222_256x240.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/ui/img/justify.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/ui/img/language-annotation.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/ui/img/metaview.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/ui/img/metaview/anchor.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/ui/img/metaview/blockquote.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/ui/img/metaview/caption.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/ui/img/metaview/cite.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/ui/img/metaview/dd.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/ui/img/metaview/div.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/ui/img/metaview/dl.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/ui/img/metaview/dt.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/ui/img/metaview/h1.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/ui/img/metaview/h2.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/ui/img/metaview/h3.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/ui/img/metaview/h4.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/ui/img/metaview/h5.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/ui/img/metaview/h6.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/ui/img/metaview/p.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/ui/img/metaview/pre.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/ui/img/metaview/q.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/ui/img/metaview/table.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/ui/img/metaview/td.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/ui/img/metaview/th.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/ui/img/multisplit-close.gif +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/ui/img/multisplit-open.gif +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/ui/img/outdent.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/ui/img/quote.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/ui/img/removeformat.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/ui/img/strong.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/ui/img/tree.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/ui/lib/arena.js +11 -0
- data/vendor/assets/javascripts/aloha/plugins/common/ui/lib/autocomplete.js +70 -0
- data/vendor/assets/javascripts/aloha/plugins/common/ui/lib/button.js +114 -0
- data/vendor/assets/javascripts/aloha/plugins/common/ui/lib/component.js +121 -0
- data/vendor/assets/javascripts/aloha/plugins/common/ui/lib/container.js +210 -0
- data/vendor/assets/javascripts/aloha/plugins/common/ui/lib/context.js +53 -0
- data/vendor/assets/javascripts/aloha/plugins/common/ui/lib/dialog.js +215 -0
- data/vendor/assets/javascripts/aloha/plugins/common/ui/lib/floating.js +405 -0
- data/vendor/assets/javascripts/aloha/plugins/common/ui/lib/menuButton.js +169 -0
- data/vendor/assets/javascripts/aloha/plugins/common/ui/lib/multiSplit.js +237 -0
- data/vendor/assets/javascripts/aloha/plugins/common/ui/lib/port-helper-attribute-field.js +440 -0
- data/vendor/assets/javascripts/aloha/plugins/common/ui/lib/port-helper-multi-split.js +71 -0
- data/vendor/assets/javascripts/aloha/plugins/common/ui/lib/scopes.js +187 -0
- data/vendor/assets/javascripts/aloha/plugins/common/ui/lib/settings.js +202 -0
- data/vendor/assets/javascripts/aloha/plugins/common/ui/lib/subguarded.js +183 -0
- data/vendor/assets/javascripts/aloha/plugins/common/ui/lib/surface.js +106 -0
- data/vendor/assets/javascripts/aloha/plugins/common/ui/lib/tab.js +316 -0
- data/vendor/assets/javascripts/aloha/plugins/common/ui/lib/text.js +33 -0
- data/vendor/assets/javascripts/aloha/plugins/common/ui/lib/toggleButton.js +57 -0
- data/vendor/assets/javascripts/aloha/plugins/common/ui/lib/toolbar.js +251 -0
- data/vendor/assets/javascripts/aloha/plugins/common/ui/lib/ui-plugin.js +169 -0
- data/vendor/assets/javascripts/aloha/plugins/common/ui/lib/ui.js +181 -0
- data/vendor/assets/javascripts/aloha/plugins/common/ui/lib/utils.js +104 -0
- data/vendor/assets/javascripts/aloha/plugins/common/ui/nls/ca/i18n.js +46 -0
- data/vendor/assets/javascripts/aloha/plugins/common/ui/nls/de/i18n.js +48 -0
- data/vendor/assets/javascripts/aloha/plugins/common/ui/nls/i18n.js +75 -0
- data/vendor/assets/javascripts/aloha/plugins/common/ui/nls/mk/i18n.js +46 -0
- data/vendor/assets/javascripts/aloha/plugins/common/ui/nls/pt-br/i18n.js +46 -0
- data/vendor/assets/javascripts/aloha/plugins/common/ui/nls/ru/i18n.js +46 -0
- data/vendor/assets/javascripts/aloha/plugins/common/ui/nls/uk/i18n.js +46 -0
- data/vendor/assets/javascripts/aloha/plugins/common/ui/nls/zh-hans/i18n.js +46 -0
- data/vendor/assets/javascripts/aloha/plugins/common/ui/vendor/jquery-ui-autocomplete-html.js +42 -0
- data/vendor/assets/javascripts/aloha/plugins/common/undo/lib/undo-plugin.js +165 -0
- data/vendor/assets/javascripts/aloha/plugins/common/undo/package.json +7 -0
- data/vendor/assets/javascripts/aloha/plugins/common/undo/vendor/diff_match_patch_uncompressed.js +2155 -0
- data/vendor/assets/javascripts/aloha/plugins/common/undo/vendor/undo.js +121 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/attributes/README +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/attributes/css/attributes.css +12 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/attributes/lib/attributes-plugin.js +237 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/attributes/nls/ca/i18n.js +5 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/attributes/nls/de/i18n.js +5 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/attributes/nls/i18n.js +14 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/attributes/nls/mk/i18n.js +5 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/attributes/nls/pt-br/i18n.js +5 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/attributes/nls/ru/i18n.js +5 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/attributes/nls/uk/i18n.js +5 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/attributes/nls/zh-hans/i18n.js +5 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/captioned-image/css/captioned-image.css +15 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/captioned-image/lib/captioned-image-plugin.js +555 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/cite/README +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/cite/css/cite.css +39 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/cite/img/blockquote.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/cite/img/icon_cite.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/cite/lib/cite-plugin.js +614 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/cite/nls/ca/i18n.js +4 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/cite/nls/de/i18n.js +4 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/cite/nls/i18n.js +13 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/cite/nls/mk/i18n.js +4 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/cite/nls/pt-br/i18n.js +4 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/cite/nls/ru/i18n.js +4 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/cite/nls/uk/i18n.js +4 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/cite/nls/zh-hans/i18n.js +4 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/cite/package.json +1 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/comments/img/add-icon.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/comments/img/add.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/comments/img/comments.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/comments/img/hr.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/comments/img/textbox.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/comments/lib/comments-plugin.js +692 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/comments/lib/comments.css +442 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/comments/package.json +1 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/draganddropfiles/README.md +5 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/draganddropfiles/TODO.md +2 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/draganddropfiles/img/cross.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/draganddropfiles/img/hourglass.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/draganddropfiles/img/loading.gif +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/draganddropfiles/img/page.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/draganddropfiles/img/tick.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/draganddropfiles/lib/draganddropfiles-plugin.js +4 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/draganddropfiles/lib/dragndropfiles.css +110 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/draganddropfiles/lib/dragndropfiles.js +363 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/draganddropfiles/lib/dropfilesrepository.js +365 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/draganddropfiles/nls/ca/i18n.js +3 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/draganddropfiles/nls/de/i18n.js +3 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/draganddropfiles/nls/i18n.js +12 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/draganddropfiles/nls/mk/i18n.js +3 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/draganddropfiles/nls/pt-br/i18n.js +3 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/draganddropfiles/nls/ru/i18n.js +3 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/draganddropfiles/nls/uk/i18n.js +3 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/draganddropfiles/nls/zh-hans/i18n.js +3 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/draganddropfiles/package.json +1 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/formatlesspaste/README.md +1 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/formatlesspaste/css/formatless.css +7 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/formatlesspaste/img/button.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/formatlesspaste/lib/formatlesshandler.js +97 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/formatlesspaste/lib/formatlesspaste-plugin.js +230 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/formatlesspaste/nls/ca/i18n.js +3 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/formatlesspaste/nls/de/i18n.js +3 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/formatlesspaste/nls/i18n.js +12 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/formatlesspaste/nls/mk/i18n.js +3 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/formatlesspaste/nls/pt-br/i18n.js +3 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/formatlesspaste/nls/ru/i18n.js +3 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/formatlesspaste/nls/uk/i18n.js +3 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/formatlesspaste/nls/zh-hans/i18n.js +3 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/formatlesspaste/package.json +8 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/headerids/README +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/headerids/css/headerids.css +8 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/headerids/lib/headerids-plugin.js +254 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/headerids/nls/ca/i18n.js +6 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/headerids/nls/de/i18n.js +6 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/headerids/nls/i18n.js +15 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/headerids/nls/mk/i18n.js +6 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/headerids/nls/pt-br/i18n.js +6 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/headerids/nls/ru/i18n.js +6 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/headerids/nls/uk/i18n.js +6 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/headerids/nls/zh-hans/i18n.js +6 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/hints/README.md +12 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/hints/css/hints.css +29 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/hints/lib/hints-plugin.js +97 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/hints/package.json +9 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/hints/vendor/tipsy.js +242 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/imagebrowser/README +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/imagebrowser/lib/imagebrowser-plugin.js +160 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/imagebrowser/nls/ca/i18n.js +6 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/imagebrowser/nls/de/i18n.js +6 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/imagebrowser/nls/i18n.js +15 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/imagebrowser/nls/mk/i18n.js +6 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/imagebrowser/nls/pt-br/i18n.js +6 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/imagebrowser/nls/ru/i18n.js +6 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/imagebrowser/nls/uk/i18n.js +6 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/imagebrowser/nls/zh-hans/i18n.js +6 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/README +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/ad.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/ae.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/af.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/ag.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/ai.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/al.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/am.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/an.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/ao.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/ar.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/as.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/at.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/au.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/aw.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/ax.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/az.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/ba.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/bb.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/bd.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/be.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/bf.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/bg.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/bh.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/bi.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/bj.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/bm.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/bn.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/bo.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/br.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/bs.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/bt.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/bv.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/bw.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/by.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/bz.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/ca.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/catalonia.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/cc.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/cd.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/cf.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/cg.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/ch.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/ci.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/ck.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/cl.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/cm.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/cn.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/co.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/cr.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/cs.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/cu.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/cv.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/cx.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/cy.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/cz.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/de.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/dj.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/dk.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/dm.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/do.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/dz.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/ec.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/ee.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/eg.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/eh.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/en.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/er.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/es.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/et.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/europeanunion.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/fam.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/fi.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/fj.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/fk.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/fm.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/fo.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/fr.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/ga.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/gb.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/gd.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/ge.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/gf.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/gh.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/gi.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/gl.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/gm.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/gn.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/gp.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/gq.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/gr.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/gs.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/gt.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/gu.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/gw.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/gy.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/hk.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/hm.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/hn.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/hr.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/ht.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/hu.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/id.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/ie.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/il.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/in.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/io.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/iq.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/ir.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/is.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/it.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/jm.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/jo.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/jp.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/ke.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/kg.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/kh.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/ki.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/km.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/kn.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/kp.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/kr.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/kw.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/ky.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/kz.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/la.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/lb.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/lc.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/li.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/lk.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/lr.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/ls.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/lt.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/lu.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/lv.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/ly.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/ma.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/mc.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/md.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/me.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/mg.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/mh.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/mk.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/ml.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/mm.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/mn.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/mo.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/mp.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/mq.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/mr.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/ms.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/mt.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/mu.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/mv.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/mw.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/mx.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/my.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/mz.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/na.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/nc.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/ne.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/nf.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/ng.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/ni.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/nl.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/no.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/np.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/nr.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/nu.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/nz.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/om.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/pa.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/pe.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/pf.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/pg.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/ph.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/pk.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/pl.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/pm.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/pn.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/pr.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/ps.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/pt.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/pw.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/py.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/qa.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/re.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/ro.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/rs.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/ru.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/rw.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/sa.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/sb.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/sc.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/scotland.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/sd.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/se.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/sg.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/sh.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/si.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/sj.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/sk.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/sl.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/sm.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/sn.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/so.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/sr.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/st.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/sv.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/sy.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/sz.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/tc.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/td.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/tf.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/tg.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/th.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/tj.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/tk.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/tl.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/tm.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/tn.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/to.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/tr.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/tt.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/tv.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/tw.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/tz.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/ua.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/ug.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/um.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/us.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/uy.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/uz.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/va.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/vc.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/ve.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/vg.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/vi.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/vn.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/vu.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/wales.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/wf.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/ws.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/ye.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/yt.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/za.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/zm.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/zw.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/lib/linkbrowser-plugin.js +161 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/nls/ca/i18n.js +6 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/nls/de/i18n.js +6 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/nls/i18n.js +15 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/nls/mk/i18n.js +6 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/nls/pt-br/i18n.js +6 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/nls/ru/i18n.js +6 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/nls/uk/i18n.js +6 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/nls/zh-hans/i18n.js +6 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkchecker/nls/ca/i18n.js +28 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkchecker/nls/de/i18n.js +28 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkchecker/nls/i18n.js +37 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkchecker/nls/mk/i18n.js +28 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkchecker/nls/pt-br/i18n.js +28 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkchecker/nls/ru/i18n.js +28 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkchecker/nls/uk/i18n.js +28 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkchecker/nls/zh-hans/i18n.js +28 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkchecker/package.json +1 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkchecker/proxy.php.example +244 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkchecker/src/linkchecker.css +14 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkchecker/src/linkchecker.js +269 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/listenforcer/lib/listenforcer-plugin.js +190 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/metaview/README +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/metaview/css/metaview.css +78 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/metaview/img/anchor.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/metaview/img/blockquote.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/metaview/img/button.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/metaview/img/caption.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/metaview/img/cite.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/metaview/img/dd.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/metaview/img/div.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/metaview/img/dl.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/metaview/img/dt.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/metaview/img/h1.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/metaview/img/h2.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/metaview/img/h3.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/metaview/img/h4.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/metaview/img/h5.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/metaview/img/h6.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/metaview/img/hr.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/metaview/img/icon_cite.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/metaview/img/p.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/metaview/img/pre.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/metaview/img/table.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/metaview/img/td.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/metaview/img/th.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/metaview/lib/metaview-plugin.js +185 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/metaview/nls/ca/i18n.js +3 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/metaview/nls/de/i18n.js +3 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/metaview/nls/i18n.js +12 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/metaview/nls/mk/i18n.js +3 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/metaview/nls/pt-br/i18n.js +3 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/metaview/nls/ru/i18n.js +3 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/metaview/nls/uk/i18n.js +3 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/metaview/nls/zh-hans/i18n.js +3 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/numerated-headers/README +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/numerated-headers/css/numerated-headers.css +7 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/numerated-headers/img/headers.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/numerated-headers/lib/numerated-headers-plugin.js +421 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/numerated-headers/nls/ca/i18n.js +5 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/numerated-headers/nls/de/i18n.js +6 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/numerated-headers/nls/i18n.js +15 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/numerated-headers/nls/mk/i18n.js +5 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/numerated-headers/nls/pt-br/i18n.js +5 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/numerated-headers/nls/ru/i18n.js +5 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/numerated-headers/nls/uk/i18n.js +5 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/numerated-headers/nls/zh-hans/i18n.js +5 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/profiler/css/profiler.css +34 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/profiler/lib/profiler-plugin.js +304 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/ribbon/README.md +8 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/ribbon/css/ribbon.css +54 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/ribbon/img/fade-in.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/ribbon/img/fade-out.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/ribbon/lib/ribbon-plugin.js +144 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/ribbon/package.json +1 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/sourceview/css/sourceview.css +18 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/sourceview/lib/sourceview-plugin.js +252 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/sourceview/vendor/htmlbeautifier.js +468 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/textcolor/css/textcolor.css +65 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/textcolor/img/icon.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/textcolor/lib/textcolor-plugin.js +420 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/textcolor/nls/de/i18n.js +3 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/textcolor/nls/i18n.js +6 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/toc/lib/toc-plugin.js +399 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/toc/nls/ca/i18n.js +3 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/toc/nls/de/i18n.js +3 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/toc/nls/i18n.js +12 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/toc/nls/mk/i18n.js +3 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/toc/nls/pt-br/i18n.js +3 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/toc/nls/ru/i18n.js +3 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/toc/nls/uk/i18n.js +3 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/toc/nls/zh-hans/i18n.js +3 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/toc/package.json +1 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/validation/lib/validation-plugin.js +277 -0
- data/vendor/assets/stylesheets/aloha-common-extra.css +24 -0
- data/vendor/assets/stylesheets/aloha-core.css +19 -0
- data/vendor/assets/stylesheets/aloha-reset.css +24 -0
- data/vendor/assets/stylesheets/aloha-sidebar.css +296 -0
- data/vendor/assets/stylesheets/aloha.css +31 -0
- metadata +898 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 831c2d8e8c8e2dec10e9ca01aae63242f7d01646
|
4
|
+
data.tar.gz: 5549255e4910b75dc8ccacba8ef3be6862afb5f9
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: ccb7cc7720afb433a05629b30fd68503d97537ef459acfbde4bebd1f3dd2374fef814391eda3d6deb27f365f15b279f632da7f90232aaf30b968d761a498ef6a
|
7
|
+
data.tar.gz: c49926710f3f612a8fe46df6e1d298d45035e23202a0b859104c2655ee89593146f738d7b6ddec60f4e51c64d7da36666edc11182d3c96d0e3c2a3c7a8df21f7
|
data/LICENSE
ADDED
@@ -0,0 +1,18 @@
|
|
1
|
+
Copyright (C) 2012 by Didier Lafforgue
|
2
|
+
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
4
|
+
of this software and associated documentation files (the "Software"), to deal
|
5
|
+
in the Software without restriction, including without limitation the rights
|
6
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
7
|
+
copies of the Software, and to permit persons to whom the Software is
|
8
|
+
furnished to do so, subject to the following conditions:
|
9
|
+
|
10
|
+
The above copyright notice and this permission notice shall be included in
|
11
|
+
all copies or substantial portions of the Software.
|
12
|
+
|
13
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
14
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
15
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
16
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
17
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
18
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
data/README.md
ADDED
@@ -0,0 +1,48 @@
|
|
1
|
+
Rails 3.2 Integration for Aloha Editor
|
2
|
+
=================================
|
3
|
+
|
4
|
+
The `aloha-rails` gem integrates the [AlohaEditor](http://aloha-editor.org/) editor with the Rails 3.2 asset pipeline.
|
5
|
+
|
6
|
+
|
7
|
+
Instructions
|
8
|
+
------------
|
9
|
+
|
10
|
+
**1. Add `aloha-rails` to your Gemfile**
|
11
|
+
|
12
|
+
gem 'locomotive-aloha-rails', require: 'aloha-rails'
|
13
|
+
|
14
|
+
Then run `bundle install`.
|
15
|
+
|
16
|
+
|
17
|
+
**2. Use AlohaEditor**
|
18
|
+
|
19
|
+
Add to your application.js:
|
20
|
+
|
21
|
+
//= require aloha
|
22
|
+
|
23
|
+
and in your erb / haml /..etc layout
|
24
|
+
|
25
|
+
= stylesheet_link_tag 'aloha/css/aloha.css'
|
26
|
+
|
27
|
+
and use AlohaEditor in your view:
|
28
|
+
|
29
|
+
<script type="text/javascript">
|
30
|
+
Aloha.ready( function() {
|
31
|
+
|
32
|
+
// Make #content editable once Aloha is loaded and ready.
|
33
|
+
Aloha.jQuery('#content').aloha();
|
34
|
+
|
35
|
+
});
|
36
|
+
</script>
|
37
|
+
|
38
|
+
Credits
|
39
|
+
-------
|
40
|
+
|
41
|
+
[Sam Pohlenz](https://github.com/spohlenz) for his [tinymce-rails plugin](https://github.com/spohlenz/tinymce-rails) as a blueprint.
|
42
|
+
|
43
|
+
Contact
|
44
|
+
-------
|
45
|
+
|
46
|
+
Feel free to contact me at didier at nocoffee dot fr.
|
47
|
+
|
48
|
+
Copyright (c) 2013 NoCoffee
|
data/Rakefile
ADDED
@@ -0,0 +1,69 @@
|
|
1
|
+
require 'rubygems'
|
2
|
+
require 'rake'
|
3
|
+
require 'rubygems/package_task'
|
4
|
+
|
5
|
+
$:.push File.expand_path('../lib', __FILE__)
|
6
|
+
require 'aloha/rails/version'
|
7
|
+
|
8
|
+
gemspec = eval(File.read('locomotive-aloha-rails.gemspec'))
|
9
|
+
Gem::PackageTask.new(gemspec) do |pkg|
|
10
|
+
pkg.gem_spec = gemspec
|
11
|
+
end
|
12
|
+
|
13
|
+
desc 'build the gem and release it to rubygems.org'
|
14
|
+
task :release => :gem do
|
15
|
+
sh "gem push pkg/locomotive-aloha-rails-#{Aloha::Rails::VERSION}.gem"
|
16
|
+
end
|
17
|
+
|
18
|
+
def step(name)
|
19
|
+
print "#{name} ..."
|
20
|
+
yield
|
21
|
+
puts " DONE"
|
22
|
+
end
|
23
|
+
|
24
|
+
def download(url, filename)
|
25
|
+
puts "Downloading #{url} ..."
|
26
|
+
`mkdir -p tmp`
|
27
|
+
`curl -L -# #{url} -o tmp/#{filename}`
|
28
|
+
end
|
29
|
+
|
30
|
+
desc "Update Aloha Editor to version specified in lib/aloha/rails/version.rb"
|
31
|
+
task :update => [ :fetch, :extract, :process ]
|
32
|
+
|
33
|
+
task :fetch do
|
34
|
+
download("https://github.com/alohaeditor/Aloha-Editor/archive/alohaeditor-#{Aloha::VERSION}.zip", "alohaeditor.zip")
|
35
|
+
end
|
36
|
+
|
37
|
+
task :extract do
|
38
|
+
step "Extracting core files" do
|
39
|
+
`rm -rf tmp/aloha`
|
40
|
+
`unzip -u tmp/alohaeditor.zip -d tmp`
|
41
|
+
`mv tmp/Aloha-Editor-alohaeditor-#{Aloha::VERSION}/src tmp/aloha`
|
42
|
+
`rm -rf tmp/Aloha-Editor-alohaeditor-#{Aloha::VERSION}`
|
43
|
+
|
44
|
+
%w(package.json).each { |file| `rm tmp/aloha/#{file}` }
|
45
|
+
%w(demo test plugins/extra/speak plugins/extra/flag-icons plugins/extra/googletranslate plugins/extra/wai-lang plugins/extra/zemanta plugins/extra/proxy).each { |folder| `rm -rf tmp/aloha/#{folder}` }
|
46
|
+
%w(1.5.1 1.6.1 1.6 1.7.1).each { |version| `rm tmp/aloha/lib/vendor/jquery-#{version}.js` }
|
47
|
+
Dir['tmp/aloha/**/demo'].each { |file| `rm -rf #{file}` if File.directory?(file) }
|
48
|
+
Dir['tmp/aloha/**/test'].each { |file| `rm -rf #{file}` if File.directory?(file) }
|
49
|
+
|
50
|
+
`rm -rf vendor/assets/javascripts/aloha`
|
51
|
+
`mkdir -p vendor/assets/javascripts/aloha`
|
52
|
+
`mv tmp/aloha vendor/assets/javascripts/.`
|
53
|
+
end
|
54
|
+
end
|
55
|
+
|
56
|
+
task :process do
|
57
|
+
step "Fixing file encoding" do
|
58
|
+
Dir["vendor/assets/javascripts/aloha/**/*.js"].each do |file|
|
59
|
+
contents = File.read(file).encode('UTF-8', 'ISO-8859-1')
|
60
|
+
File.open(file, 'w') { |f| f.write(contents) }
|
61
|
+
end
|
62
|
+
end
|
63
|
+
step "Wrong color in the aloha.css file" do
|
64
|
+
file = 'vendor/assets/javascripts/aloha/css/aloha.css'
|
65
|
+
content = File.read(file)
|
66
|
+
content.gsub!('#NaNbbaaNaN00NaN00NaN00NaN00NaN', '#000')
|
67
|
+
File.open(file, 'w') { |f| f.write(content) }
|
68
|
+
end
|
69
|
+
end
|
@@ -0,0 +1 @@
|
|
1
|
+
window.Aloha.settings.baseUrl = '<%= Rails.application.config.assets.prefix %>/aloha/lib/';
|
data/lib/aloha-rails.rb
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
require 'aloha/rails'
|
data/lib/aloha/rails.rb
ADDED
@@ -0,0 +1,9 @@
|
|
1
|
+
assets_task = Rake::Task.task_defined?('assets:precompile:primary') ? 'assets:precompile:primary' : 'assets:precompile'
|
2
|
+
|
3
|
+
Rake::Task[assets_task].enhance do
|
4
|
+
assets = File.expand_path(File.dirname(__FILE__) + '/../../vendor/assets/javascripts/aloha')
|
5
|
+
target = File.join(Rails.public_path, Rails.application.config.assets.prefix)
|
6
|
+
|
7
|
+
mkdir_p target
|
8
|
+
cp_r assets, target, preserve: true
|
9
|
+
end
|
@@ -0,0 +1,31 @@
|
|
1
|
+
.aloha div,.aloha span,.aloha button,.aloha a,.aloha img,.aloha ol,.aloha ul,.aloha li,.aloha label{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}.aloha ol,.aloha ul{list-style:none}.aloha-sidebar-bar{z-index:999999999;position:fixed;top:0;left:0;text-align:left;font-family:Arial,sans-serif;font-size:12px;border-right:1px solid #888;-moz-box-shadow:0 0 10px rgba(0,0,0,0.5);-webkit-box-shadow:0 0 10px rgba(0,0,0,0.5);box-shadow:0 0 10px rgba(0,0,0,0.5)}.aloha-sidebar-bar.aloha-sidebar-right{left:auto;right:0;border-right-width:0;border-left:1px solid #888}.aloha-sidebar-inner{position:relative;background-color:#ccc;background-image:-webkit-radial-gradient(rgba(0,0,0,0) 20%,rgba(0,0,0,0.2) 80%,rgba(0,0,0,0.3) 100%);background-image:-moz-radial-gradient(rgba(0,0,0,0) 20%,rgba(0,0,0,0.2) 80%,rgba(0,0,0,0.3) 100%)}.aloha-sidebar-panels{width:100%;margin:0;padding:15px 0}.aloha-sidebar-panels li{width:90%;overflow:hidden;margin:0;padding:0 15px}.aloha-sidebar-panel-top{-webkit-border-top-left-radius:5px;-webkit-border-top-right-radius:5px;-moz-border-radius-topleft:5px;-moz-border-radius-topright:5px}.aloha-sidebar-panel-content.aloha-sidebar-panel-bottom{padding-bottom:0;-webkit-border-bottom-left-radius:5px;-webkit-border-bottom-right-radius:5px;-moz-border-radius-bottomleft:5px;-moz-border-radius-bottomright:5px;border-bottom-width:1px}.aloha-sidebar-panel-title{position:relative;padding:8px 0 0 8px;border:1px solid rgba(0,0,0,0.3);border-bottom-width:0;background-color:#303539;background-image:-webkit-gradient(linear,center top,center bottom,color-stop(0,#6c6f74),color-stop(0.05,#4c4f54),color-stop(0.1,#3f4448),color-stop(0.45,#383d41),color-stop(0.5,#303539),color-stop(0.95,#33363b));background-image:-moz-linear-gradient(center top,#6c6f74 0,#4c4f54 5%,#3f4448 10%,#383d41 45%,#303539 50%,#33363b 95%);color:#ccc;cursor:pointer;font-size:13px;font-weight:bold;line-height:1.5em;text-shadow:0 0 6px #23262b}.aloha-sidebar-panel-title:hover{color:#fff}.aloha-sidebar-panel-title-arrow{position:absolute;top:8px;left:8px;width:16px;height:16px;background:image-url("../img/arrow.png") no-repeat center center;opacity:.3}.aloha-sidebar-panel-title:hover .aloha-sidebar-panel-title-arrow{opacity:.9}.aloha-sidebar-panel-title .aloha-sidebar-panel-title-arrow.aloha-sidebar-panel-title-arrow-down{background-image:image-url("../img/arrow-down.png")}.aloha-sidebar-panel-title-text{margin-left:24px;white-space:nowrap}.aloha-sidebar-panel-content{overflow:hidden;height:5px;background:#303539;padding:2px;padding-top:0}.aloha-sidebar-panel-content-inner{margin:5px 0 0;padding:3px;padding-top:10px;color:#888;background:#fff;background-image:-webkit-radial-gradient(rgba(0,0,0,0) 50%,rgba(0,0,0,0.1) 90%,rgba(0,0,0,0.2) 100%);background-image:-moz-radial-gradient(rgba(0,0,0,0) 50%,rgba(0,0,0,0.1) 90%,rgba(0,0,0,0.2) 100%)}.aloha-sidebar-panel-content-inner ul,.aloha-sidebar-panel-content-inner ol{padding-left:10px}.aloha-sidebar-panel-content-inner legend{color:#000;font-weight:bold}.aloha-sidebar-panel-content-inner label{color:#000;font-weight:bold}.aloha-sidebar-panel-content input,.aloha-sidebar-panel-content textarea{width:180px;margin:3px;padding:2px}.aloha-sidebar-panel-content textarea{height:57px;padding:5px;color:#555;font-family:Arial,sans-serif;font-size:12px;line-height:1.2em}.aloha-sidebar-handle{position:absolute;top:30px;right:-30px;width:40px;height:30px;overflow:hidden;background-color:#303539;background-image:-webkit-gradient(linear,center top,center bottom,color-stop(0,#6c6f74),color-stop(0.05,#4c4f54),color-stop(0.1,#3f4448),color-stop(0.45,#383d41),color-stop(0.5,#303539),color-stop(0.95,#33363b));background-image:-moz-linear-gradient(center top,#6c6f74 0,#4c4f54 5%,#3f4448 10%,#383d41 45%,#303539 50%,#33363b 95%);cursor:pointer;-moz-box-shadow:0 0 10px rgba(0,0,0,0.5);-webkit-box-shadow:0 0 10px rgba(0,0,0,0.5);box-shadow:0 0 10px rgba(0,0,0,0.5);border-top-right-radius:5px;border-bottom-right-radius:5px;-moz-border-radius-topright:5px;-moz-border-radius-bottomright:5px;-webkit-border-top-right-radius:5px;-webkit-border-bottom-right-radius:5px}.aloha-sidebar-right .aloha-sidebar-handle{left:-30px;border-top-right-radius:0;border-bottom-right-radius:0;-moz-border-radius-topright:0;-moz-border-radius-bottomright:0;-webkit-border-top-right-radius:0;-webkit-border-bottom-right-radius:0;border-top-left-radius:5px;border-bottom-left-radius:5px;-moz-border-radius-topleft:5px;-moz-border-radius-bottomleft:5px;-webkit-border-top-left-radius:5px;-webkit-border-bottom-left-radius:5px}.aloha-sidebar-handle-icon{display:block;position:absolute;top:5px;right:5px;background:image-url("../img/arrow.png") no-repeat center center;width:20px;height:20px;opacity:.5}.aloha-sidebar-right .aloha-sidebar-handle-icon{left:5px;right:auto}.aloha-sidebar-handle-icon.aloha-sidebar-handle-icon-left{background-image:image-url("../img/arrow-left.png")}.aloha-sidebar-panel-parent-path{background-color:#303539;background-image:-webkit-gradient(linear,center top,center bottom,color-stop(0,#6c6f74),color-stop(0.05,#4c4f54),color-stop(0.1,#3f4448),color-stop(0.45,#383d41),color-stop(0.5,#303539),color-stop(0.95,#33363b));background-image:-moz-linear-gradient(center top,#6c6f74 0,#4c4f54 5%,#3f4448 10%,#383d41 45%,#303539 50%,#33363b 95%);color:#fff;cursor:pointer;font-size:12px;text-shadow:0 0 6px #23262b;white-space:nowrap;line-height:1em}.aloha-sidebar-panel-parent-path:hover{opacity:.9}.aloha-sidebar-panel-parent-path span{display:inline-block;padding:0 10px 0 5px;background:image-url("../img/breadcrumb-divider.png") no-repeat right center;opacity:.25;line-height:1.6em}.aloha-sidebar-panel-parent-path span:first-child{font-weight:bold;opacity:.8}.aloha-sidebar-panel-parent-path span:last-child{background:0}.aloha-sidebar-panel-parent-content{padding:4px;background-image:-webkit-gradient(linear,center top,center bottom,color-stop(0,rgba(0,0,0,0.25)),color-stop(0.05,rgba(0,0,0,0)));background-image:-moz-linear-gradient(center top,rgba(0,0,0,0.25) 0,rgba(0,0,0,0) 5%)}.ui-jqgrid{position:relative;font-size:11px;border:0}.ui-jqgrid .ui-jqgrid-view{position:relative;left:0;top:0;padding:.0em}.ui-jqgrid .ui-jqgrid-titlebar{padding:.3em .2em .2em .3em;position:relative;border-left:0 none;border-right:0 none;border-top:0 none}.ui-jqgrid .ui-jqgrid-title{float:left;margin:.1em 0 .2em}.ui-jqgrid .ui-jqgrid-titlebar-close{position:absolute;top:50%;width:19px;margin:-10px 0 0 0;padding:1px;height:18px}.ui-jqgrid .ui-jqgrid-titlebar-close span{display:block;margin:1px}.ui-jqgrid .ui-jqgrid-titlebar-close:hover{padding:0}.ui-jqgrid .ui-jqgrid-hdiv{position:relative;margin:0;padding:0;overflow-x:hidden;overflow-y:auto;border-left:0 none;border-top:0 none;border-right:0 none}.ui-jqgrid .ui-jqgrid-hbox{float:left;padding-right:20px}.ui-jqgrid .ui-jqgrid-htable{table-layout:fixed;margin:0}.ui-jqgrid .ui-jqgrid-htable th{height:22px;padding:2px 2px 0 2px}.ui-jqgrid .ui-jqgrid-htable th div{overflow:hidden;position:relative;height:17px}.ui-th-column,.ui-jqgrid .ui-jqgrid-htable th.ui-th-column{overflow:hidden;white-space:nowrap;text-align:center;border-top:0 none;border-bottom:0 none}.ui-th-ltr,.ui-jqgrid .ui-jqgrid-htable th.ui-th-ltr{border-left:0 none}.ui-th-rtl,.ui-jqgrid .ui-jqgrid-htable th.ui-th-rtl{border-right:0 none}.ui-jqgrid .ui-th-div-ie{white-space:nowrap;zoom:1;height:17px}.ui-jqgrid .ui-jqgrid-resize{height:20px;position:relative;cursor:e-resize;display:inline;overflow:hidden}.ui-jqgrid .ui-grid-ico-sort{overflow:hidden;position:absolute;display:inline;cursor:pointer}.ui-jqgrid .ui-icon-asc{margin-top:-3px;height:12px}.ui-jqgrid .ui-icon-desc{margin-top:3px;height:12px}.ui-jqgrid .ui-i-asc{margin-top:0;height:16px}.ui-jqgrid .ui-i-desc{margin-top:0;margin-left:13px;height:16px}.ui-jqgrid tr.ui-search-toolbar th{border-top-width:1px;border-top-color:inherit;border-top-style:ridge}tr.ui-search-toolbar input{margin:1px 0 0 0}tr.ui-search-toolbar select{margin:1px 0 0 0}.ui-jqgrid .ui-jqgrid-bdiv{position:relative;margin:0;padding:0;overflow:auto;text-align:left}.ui-jqgrid .ui-jqgrid-btable{table-layout:fixed;margin:0}.ui-jqgrid tr.jqgrow{outline-style:none;background:0}.ui-jqgrid tr.jqgrow td{font-weight:normal;overflow:hidden;white-space:pre;height:22px;padding:0 2px 0 2px;border-bottom-width:1px;border-bottom-color:inherit;border-bottom-style:solid}.ui-jqgrid tr.jqgfirstrow td{padding:0 2px 0 2px;border-right-width:1px;border-right-style:solid}.ui-jqgrid tr.jqgroup td{font-weight:normal;overflow:hidden;white-space:pre;height:22px;padding:0 2px 0 2px;border-bottom-width:1px;border-bottom-color:inherit;border-bottom-style:solid}.ui-jqgrid tr.jqfoot td{font-weight:bold;overflow:hidden;white-space:pre;height:22px;padding:0 2px 0 2px;border-bottom-width:1px;border-bottom-color:inherit;border-bottom-style:solid}.ui-jqgrid tr.ui-row-ltr td{text-align:left;border-right-width:1px;border-right-color:inherit;border-right-style:solid}.ui-jqgrid tr.ui-row-rtl td{text-align:right;border-left-width:1px;border-left-color:inherit;border-left-style:solid}.ui-jqgrid td.jqgrid-rownum{padding:0 2px 0 2px;margin:0;border:0 none}.ui-jqgrid .ui-jqgrid-resize-mark{width:2px;left:0;background-color:#777;cursor:e-resize;cursor:col-resize;position:absolute;top:0;height:100px;overflow:hidden;display:none;border:0 none}.ui-jqgrid .ui-jqgrid-sdiv{position:relative;margin:0;padding:0;overflow:hidden;border-left:0 none;border-top:0 none;border-right:0 none}.ui-jqgrid .ui-jqgrid-ftable{table-layout:fixed;margin-bottom:0}.ui-jqgrid tr.footrow td{font-weight:bold;overflow:hidden;white-space:nowrap;height:21px;padding:0 2px 0 2px;border-top-width:1px;border-top-color:inherit;border-top-style:solid}.ui-jqgrid tr.footrow-ltr td{text-align:left;border-right-width:1px;border-right-color:inherit;border-right-style:solid}.ui-jqgrid tr.footrow-rtl td{text-align:right;border-left-width:1px;border-left-color:inherit;border-left-style:solid}.ui-jqgrid .ui-jqgrid-pager{border-left:0 none;border-right:0 none;border-bottom:0 none;margin:0;padding:0;position:relative;height:40px;white-space:nowrap;overflow:hidden}.ui-jqgrid .ui-pager-control{position:relative}.ui-jqgrid .ui-pg-table{position:relative;padding-bottom:2px;width:auto;margin:0}.ui-jqgrid .ui-pg-table td{font-weight:normal;vertical-align:middle;padding:1px}.ui-jqgrid .ui-pg-button{height:19px}.ui-jqgrid .ui-pg-button span{display:block;margin:1px;float:left}.ui-jqgrid .ui-pg-button span.ui-separator{display:none}.ui-jqgrid .ui-pg-button:hover{padding:0}.ui-jqgrid .ui-state-disabled:hover{padding:1px}.ui-jqgrid .ui-pg-input{height:13px;font-size:.8em;margin:0}.ui-jqgrid .ui-pg-selbox{font-size:.8em;line-height:18px;display:block;height:18px;margin:0}.ui-jqgrid .ui-separator{display:none;height:18px;border-left:1px solid #ccc;border-right:1px solid #ccc;margin:1px;float:right}.ui-jqgrid .ui-paging-info{font-weight:normal;height:19px;margin:0;line-height:1em;padding-right:10px}.ui-jqgrid .ui-jqgrid-pager .ui-pg-div{padding:1px 0;float:left;list-style-image:none;list-style-position:outside;list-style-type:none;position:relative}.ui-jqgrid .ui-jqgrid-pager .ui-pg-button{cursor:pointer}.ui-jqgrid .ui-jqgrid-pager .ui-pg-div span.ui-icon{float:left;margin:0 2px}.ui-jqgrid td input,.ui-jqgrid td select .ui-jqgrid td textarea{margin:0}.ui-jqgrid td textarea{width:auto;height:auto}.ui-jqgrid .ui-jqgrid-toppager{border-left:0 none;border-right:0 none;border-top:0 none;margin:0;padding:0;position:relative;height:25px;white-space:nowrap;overflow:hidden}.ui-jqgrid .ui-jqgrid-btable .ui-sgcollapsed span{display:block}.ui-jqgrid .ui-subgrid{margin:0;padding:0;width:100%}.ui-jqgrid .ui-subgrid table{table-layout:fixed}.ui-jqgrid .ui-subgrid tr.ui-subtblcell td{height:18px;border-right-width:1px;border-right-color:inherit;border-right-style:solid;border-bottom-width:1px;border-bottom-color:inherit;border-bottom-style:solid}.ui-jqgrid .ui-subgrid td.subgrid-data{border-top:0 none}.ui-jqgrid .ui-subgrid td.subgrid-cell{border-width:0 0 1px 0}.ui-jqgrid .ui-th-subgrid{height:20px}.ui-jqgrid .loading{position:absolute;top:45%;left:45%;width:auto;z-index:101;padding:6px;margin:5px;text-align:center;font-weight:bold;display:none;border-width:2px}.ui-jqgrid .jqgrid-overlay{display:none;z-index:100}* html .jqgrid-overlay{width:expression(this.parentNode.offsetWidth+"px");height:expression(this.parentNode.offsetHeight+"px")}* .jqgrid-overlay iframe{position:absolute;top:0;left:0;z-index:-1;width:expression(this.parentNode.offsetWidth+"px");height:expression(this.parentNode.offsetHeight+"px")}.ui-jqgrid .tree-wrap{position:relative;height:18px;float:left;overflow:hidden;white-space:nowrap}.ui-jqgrid .tree-minus{position:absolute;height:18px;width:18px;overflow:hidden}.ui-jqgrid .tree-plus{position:absolute;height:18px;width:18px;overflow:hidden}.ui-jqgrid .tree-leaf{position:absolute;height:18px;width:18px;overflow:hidden}.ui-jqgrid .treeclick{cursor:pointer}.ui-jqgrid .ui-jqgrid-resize-ltr{float:right;margin:-2px -2px -2px 0}.ui-jqgrid .ui-jqgrid-resize-rtl{float:left;margin:-2px 0 -1px -3px}.ui-jqgrid .ui-jqgrid-titlebar{position:relative;border-radius-topleft:0;-moz-border-radius-topleft:0;-webkit-border-top-left-radius:0;border-radius-topright:2px;-moz-border-radius-topright:2px;-webkit-border-top-right-radius:2px;border:0;background-color:#303539;background-image:-webkit-gradient(linear,center top,center bottom,color-stop(0,#6c6f74),color-stop(0.05,#4c4f54),color-stop(0.1,#3f4448),color-stop(0.45,#383d41),color-stop(0.5,#303539),color-stop(0.95,#33363b),color-stop(1,#4c4f54));background-image:-moz-linear-gradient(center top,#6c6f74 0,#4c4f54 5%,#3f4448 10%,#383d41 45%,#303539 50%,#33363b 95%,#4c4f54 100%);filter:progid:dximagetransform.microsoft.gradient(startColorstr='#383d41',endColorstr='#303539',gradientType='0');color:#ddd;text-shadow:0 0 4px #23262b;font-weight:bold;font-size:13px;line-height:2em;white-space:nowrap}.ui-jqgrid .ui-jqgrid-title{float:none;display:block}.ui-jqgrid .ui-jqgrid-titlebar-close{display:none}.ui-jqgrid .ui-jqgrid-hdiv{background:#303539}.ui-jqgrid .ui-jqgrid-htable{border:0;background:#fff}.ui-jqgrid .ui-jqgrid-htable th{background-color:#303539;background-image:-webkit-gradient(linear,center top,center bottom,color-stop(0,#6c6f74),color-stop(0.05,#4c4f54),color-stop(0.1,#3f4448),color-stop(0.45,#383d41),color-stop(0.5,#303539),color-stop(0.95,#33363b),color-stop(1,#4c4f54));background-image:-moz-linear-gradient(center top,#6c6f74 0,#4c4f54 5%,#3f4448 10%,#383d41 45%,#303539 50%,#33363b 95%,#4c4f54 100%);filter:progid:dximagetransform.microsoft.gradient(startColorstr='#383d41',endColorstr='#303539',gradientType='0');color:#ddd;text-shadow:0 0 4px #23262b;font-weight:bold;font-size:13px}.ui-jqgrid .ui-jqgrid-htable th:hover{background-color:#3f4448;background-image:-webkit-gradient(linear,center top,center bottom,color-stop(0,#6c6f74),color-stop(0.05,#4c4f54),color-stop(0.45,#3f4448),color-stop(0.5,#383d41),color-stop(1,#3f4448));background-image:-moz-linear-gradient(center top,#6c6f74 0,#4c4f54 5%,#3f4448 45%,#383d41 50%,#3f4448 100%);filter:progid:dximagetransform.microsoft.gradient(startColorstr='#4c4f54',endColorstr='#3f4448',gradientType='0');color:#fff;text-shadow:0 0 2px gba(0,0,0,0.5)}.ui-jqgrid .ui-jqgrid-htable th:hover .ui-grid-ico-sort{opacity:1;filter:alpha(opacity=100)}.ui-th-ltr,.ui-jqgrid .ui-jqgrid-htable th.ui-th-ltr{border:1px solid #33363b;border-right:1px solid #3f4448}.ui-jqgrid-resize{background:#fff;opacity:.10;filter:alpha(opacity=10);text-indent:0}.ui-jqgrid-resize:hover{opacity:.5;filter:alpha(opacity=50)}.ui-jqgrid .s-ico{display:none}.ui-jqgrid .ui-grid-ico-sort{display:none}.ui-jqgrid-sortable{cursor:default}.ui-jqgrid .ui-icon-asc{background:image-url("../lib/vendor/repository-browser/img/sort-alphabet.png") no-repeat center center}.ui-jqgrid .ui-icon-desc{background:image-url("../lib/vendor/repository-browser/img/sort-alphabet-descending.png") no-repeat center center}.ui-jqgrid .ui-grid-ico-sort.ui-state-disabled{display:none}.ui-th-column,.ui-jqgrid .ui-jqgrid-htable th.ui-th-column{text-align:left;text-indent:10px;line-height:1.5em}.ui-jqgrid .ui-jqgrid-btable{border:0}.ui-jqgrid .ui-jqgrid-bdiv{background:#fff}.ui-jqgrid tr.jqgfirstrow td{border:0}.ui-jqgrid tr.jqgrow td{border:1px solid #f5f5f5;border-left:0;border-right:0;padding:2px;color:#636363;font-size:12px;cursor:default}.ui-jqgrid tr.jqgrow:hover td{color:#303539;background:#f5f5f5}.ui-jqgrid tr.ui-row-ltr td{border-width:1px;vertical-align:middle}.ui-jqgrid .ui-pg-table{border:0}.ui-jqgrid .ui-pg-table td{padding:5px;border:0;color:#ddd;background-color:#303539}.ui-jqgrid .ui-pg-table td.ui-pg-button{opacity:1!important;filter:alpha(opacity=100)}.ui-jqgrid .ui-jqgrid-pager{border:0;border-top:1px solid #33363b;color:#ddd;text-shadow:0 0 4px #23262b;font-weight:bold;font-size:13px}.ui-jqgrid .ui-pg-button{width:16px;height:16px;opacity:.6;filter:alpha(opacity=60)}.ui-jqgrid .ui-pg-button:hover{padding:5px;opacity:1;filter:alpha(opacity=100)}.ui-jqgrid .ui-pg-button.ui-state-disabled{cursor:default}.ui-jqgrid .ui-pg-button.ui-state-disabled .ui-icon{opacity:.10;filter:alpha(opacity=10)}.ui-jqgrid .ui-pg-button .ui-icon{display:inline-block;background-position:center center;background-repeat:no-repeat;width:16px;height:16px}.ui-jqgrid .ui-pg-button .ui-icon-seek-next{background-image:image-url("../lib/vendor/repository-browser/img/arrow.png")}.ui-jqgrid .ui-pg-button .ui-icon-seek-end{background-image:image-url("../lib/vendor/repository-browser/img/arrow-stop.png")}.ui-jqgrid .ui-pg-button .ui-icon-seek-prev{background-image:image-url("../lib/vendor/repository-browser/img/arrow-180.png")}.ui-jqgrid .ui-pg-button .ui-icon-seek-first{background-image:image-url("../lib/vendor/repository-browser/img/arrow-stop-180.png")}.ui-jqgrid .ui-pg-input{width:20px;height:20px;font-size:11px;margin:0;background-color:#fff;background-image:-webkit-gradient(linear,left top,left bottom,color-stop(0,#bbb),color-stop(0.1,#ddd),color-stop(0.3,#eee),color-stop(1,#fff));background-image:-moz-linear-gradient(center top,#ccc 0,#ddd 10%,#eee 30%,#fff 100%);filter:progid:dximagetransform.microsoft.gradient(startColorstr='#dddddd',endColorstr='#ffffff',gradientType='0');border-width:0;border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px;color:#777;text-align:center}.ui-jqgrid .loading{position:absolute;top:45%;left:45%;width:auto;z-index:101;padding:6px 6px 6px 20px;margin:5px;text-align:center;display:none;border-width:2px;font-weight:normal;color:#777;background:image-url("../lib/vendor/repository-browser/img/throbber.gif") no-repeat left center}.ui-jqgrid .jqgrid-overlay{display:none;z-index:100}.repository-browser-modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;height:100%;width:100%;z-index:999;background-image:-webkit-radial-gradient(rgba(127,127,127,0.5) 0,rgba(127,127,127,0.6) 40%,rgba(0,0,0,0.7) 100%);background-image:-moz-radial-gradient(rgba(127,127,127,0.5),rgba(127,127,127,0.6) 40%,rgba(0,0,0,0.7))}div.repository-browser-modal-window{position:fixed;top:0;left:0;z-index:9999;font-family:Arial,sans-serif}.repository-browser-modal-window .ui-widget{font-family:Arial,sans-serif}.ui-layout-resizer{background-color:#303539;background-image:-webkit-gradient(linear,left center,right center,color-stop(0,#303539),color-stop(0.3,#4c4f54),color-stop(0.7,#6c6f74),color-stop(1,#303539));background-image:-moz-linear-gradient(left center,#303539 0,#4c4f54 30%,#6c6f74 70%,#303539 100%);filter:progid:dximagetransform.microsoft.gradient(startColorstr='#4c4f54',endColorstr='#303539',gradientType='0')}.ui-layout-toggler{border:1px solid #355ea0;background-color:#508ac9;background-image:-webkit-gradient(linear,right center,left center,color-stop(0,#81add2),color-stop(0.1,#5693cc),color-stop(0.45,#5b9acf),color-stop(0.6,#508ac9),color-stop(1,#456eb0));background-image:-moz-linear-gradient(right center,#81add2 0,#5693cc 10%,#5b9acf 45%,#508ac9 60%,#456eb0 100%);filter:progid:dximagetransform.microsoft.gradient(startColorstr='#81add2',endColorstr='#456eb0',gradientType='0')}.ui-layout-toggler:hover{opacity:.5;filter:alpha(opacity=50)}.ui-draggable-dragging{opacity:.85}.repository-browser-shadow{background:transparent;-moz-box-shadow:0 0 10px rgba(0,0,0,0.2);-webkit-box-shadow:0 0 10px rgba(0,0,0,0.2);box-shadow:0 0 10px rgba(0,0,0,0.2)}.repository-browser-rounded-top{border-radius-topleft:2px;-moz-border-radius-topleft:2px;-webkit-border-top-left-radius:2px;border-radius-topright:2px;-moz-border-radius-topright:2px;-webkit-border-top-right-radius:2px}.repository-browser-grid{height:400px;border:1px solid #53565b;border:1px solid rgba(0,0,0,0.2);text-align:left;line-height:1.5em}.repository-browser-clear{float:none;clear:both}.repository-browser-list a{color:#777;text-decoration:none}.repository-browser-list .ui-state-hover a{color:#fff;text-decoration:underline}.repository-browser-list-altrow{background:rgba(0,0,0,0.05)}.repository-browser-list-icon{width:100%;height:16px;background:#000 no-repeat center center}.repository-browser-icon-page{background:image-url("../lib/vendor/repository-browser/img/page.png") no-repeat center center}.repository-browser-icon-file{background:image-url("../lib/vendor/repository-browser/img/folder-open.png") no-repeat center center}.repository-browser-icon-image{background:image-url("../lib/vendor/repository-browser/img/picture.png") no-repeat center center}.repository-browser-grab-handle{cursor:default}.repository-browser-btns{position:absolute;top:5px;right:5px}.repository-browser-btn{display:inline-block;float:left;margin:-1px 5px 0 0;padding:0 8px;border:1px solid #355ea0;background-color:#508ac9;background-image:-webkit-gradient(linear,center top,center bottom,color-stop(0,#81add2),color-stop(0.1,#5693cc),color-stop(0.45,#5b9acf),color-stop(0.6,#508ac9),color-stop(1,#456eb0));background-image:-moz-linear-gradient(center top,#81add2 0,#5693cc 10%,#5b9acf 45%,#508ac9 60%,#456eb0 100%);filter:progid:dximagetransform.microsoft.gradient(startColorstr='#81add2',endColorstr='#456eb0',gradientType='0');border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px;opacity:.8;filter:alpha(opacity=80);line-height:22px;color:#fff;text-shadow:0 0 4px #23262b}.repository-browser-btn:hover{opacity:.9;filter:alpha(opacity=90)}.repository-browser-btn.repository-browser-pressed{opacity:1;filter:alpha(opacity=100)}.repository-browser-btns input{float:left;height:15px;padding:4px 2px;border:1px solid #ccc;background-color:#fff;background-image:-webkit-gradient(linear,left top,left bottom,color-stop(0,#bbb),color-stop(0.1,#ddd),color-stop(0.3,#eee),color-stop(1,#fff));background-image:-moz-linear-gradient(center top,#ccc 0,#ddd 10%,#eee 30%,#fff 100%);filter:progid:dximagetransform.microsoft.gradient(startColorstr='#dddddd',endColorstr='#ffffff',gradientType='0');color:#555;font-size:13px;line-height:1.5em}.repository-browser-search-btn{border-radius-topleft:0;-moz-border-radius-topleft:0;-webkit-border-top-left-radius:0;border-radius-bottomleft:0;-moz-border-radius-bottomleft:0;-webkit-border-bottom-left-radius:0;cursor:pointer}.repository-browser-search-icon{width:16px;height:22px;display:inline-block;background:image-url("../lib/vendor/repository-browser/img/magnifier-left.png") no-repeat center center;vertical-align:middle}.repository-browser-close-btn{margin-right:0}.repository-browser-tree{overflow:scroll;padding-left:4px;background:#fff;font-size:12px}.repository-browser-tree-header{overflow:hidden;position:relative;border-radius-topleft:2px;-moz-border-radius-topleft:2px;-webkit-border-top-left-radius:2px;height:18px;padding:8px;background-color:#303539;background-image:-webkit-gradient(linear,center top,center bottom,color-stop(0,#6c6f74),color-stop(0.05,#4c4f54),color-stop(0.1,#3f4448),color-stop(0.45,#383d41),color-stop(0.5,#303539),color-stop(0.95,#33363b),color-stop(1,#4c4f54));background-image:-moz-linear-gradient(center top,#6c6f74 0,#4c4f54 5%,#3f4448 10%,#383d41 45%,#303539 50%,#33363b 95%,#4c4f54 100%);filter:progid:dximagetransform.microsoft.gradient(startColorstr='#383d41',endColorstr='#303539',gradientType='0');color:#ddd;text-shadow:0 0 4px #23262b;font-weight:bold;font-size:13px;line-height:1.5em;white-space:nowrap}.repository-browser-icon{width:20px;height:20px;margin:0 auto;background-repeat:no-repeat;background-position:center center}.repository-browser-search-field,.repository-browser-search-btn{display:none}.aloha-editable{min-height:1.2em;outline:0}.aloha-editable ::selection,.aloha-editable ::-moz-selection{background:#80b5f2;color:white}.aloha-textarea{overflow:hidden;border:1px solid #ccc;padding:6px;overflow:auto}.aloha .ui-state-default .aloha-icon.aloha-icon-abbr-rem{background:image-url("aloha/plugins/common/abbr/img/remabbr.png") no-repeat 0 0}.aloha .ui-helper-hidden{display:none}.aloha .ui-helper-hidden-accessible{position:absolute!important;clip:rect(1px 1px 1px 1px);clip:rect(1px,1px,1px,1px)}.aloha .ui-helper-reset{margin:0;padding:0;border:0;outline:0;line-height:1.3;text-decoration:none;font-size:100%;list-style:none}.aloha .ui-helper-clearfix:after{content:".";display:block;height:0;clear:both;visibility:hidden}.aloha .ui-helper-clearfix{display:inline-block}.aloha .ui-helper-clearfix{display:block}.aloha .ui-helper-zfix{width:100%;height:100%;top:0;left:0;position:absolute;opacity:0;filter:alpha(opacity=0)}.aloha .ui-state-disabled{cursor:default!important}.aloha .ui-icon{display:block;text-indent:-99999px;overflow:hidden;background-repeat:no-repeat}.aloha .ui-autocomplete{position:absolute;cursor:default}.aloha .ui-button{display:inline-block;position:relative;padding:0;margin-right:.1em;text-decoration:none!important;cursor:pointer;text-align:center;zoom:1;overflow:visible}.aloha .ui-button-icon-only{width:2.2em}button.ui-button-icon-only{width:2.4em}.aloha .ui-button-icons-only{width:3.4em}button.ui-button-icons-only{width:3.7em}.aloha .ui-button .ui-button-text{display:block;line-height:1.4}.aloha .ui-button-text-only .ui-button-text{padding:.4em 1em}.aloha .ui-button-icon-only .ui-button-text,.aloha .ui-button-icons-only .ui-button-text{padding:.4em;text-indent:-9999999px}.aloha .ui-button-text-icon-primary .ui-button-text,.aloha .ui-button-text-icons .ui-button-text{padding:.4em 1em .4em 2.1em}.aloha .ui-button-text-icon-secondary .ui-button-text,.aloha .ui-button-text-icons .ui-button-text{padding:.4em 2.1em .4em 1em}.aloha .ui-button-text-icons .ui-button-text{padding-left:2.1em;padding-right:2.1em}input.ui-button{padding:.4em 1em}.aloha .ui-button-icon-only .ui-icon,.aloha .ui-button-text-icon-primary .ui-icon,.aloha .ui-button-text-icon-secondary .ui-icon,.aloha .ui-button-text-icons .ui-icon,.aloha .ui-button-icons-only .ui-icon{position:absolute;top:50%;margin-top:-8px}.aloha .ui-button-icon-only .ui-icon{left:50%;margin-left:-8px}.aloha .ui-button-text-icon-primary .ui-button-icon-primary,.aloha .ui-button-text-icons .ui-button-icon-primary,.aloha .ui-button-icons-only .ui-button-icon-primary{left:.5em}.aloha .ui-button-text-icon-secondary .ui-button-icon-secondary,.aloha .ui-button-text-icons .ui-button-icon-secondary,.aloha .ui-button-icons-only .ui-button-icon-secondary{right:.5em}.aloha .ui-button-text-icons .ui-button-icon-secondary,.aloha .ui-button-icons-only .ui-button-icon-secondary{right:.5em}.aloha .ui-buttonset{margin-right:7px}.aloha .ui-buttonset .ui-button{margin-left:0;margin-right:-0.3em}button.ui-button::-moz-focus-inner{border:0;padding:0}.aloha .ui-menubar{list-style:none;margin:0;padding-left:0}.aloha .ui-menubar-item{float:left}.aloha .ui-menubar .ui-button{float:left;font-weight:normal;border-top-width:0!important;border-bottom-width:0!important;margin:0;outline:0}.aloha .ui-menubar .ui-menubar-link{border-right:1px dashed transparent;border-left:1px dashed transparent}.aloha .ui-menubar .ui-menu{position:absolute;z-index:9999}.aloha .ui-menu{list-style:none;padding:2px;margin:0;display:block;outline:0}.aloha .ui-menu .ui-menu{margin-top:-3px;position:absolute}.aloha .ui-menu .ui-menu-item{margin:0;padding:0;zoom:1;width:100%}.aloha .ui-menu .ui-menu-item a{text-decoration:none;display:block;padding:2px .4em;line-height:1.5;zoom:1;font-weight:normal}.aloha .ui-menu .ui-menu-item a.ui-state-focus,.aloha .ui-menu .ui-menu-item a.ui-state-active{font-weight:normal;margin:-1px}.aloha .ui-menu li.ui-state-disabled{font-weight:normal;padding:.0em .4em;margin:.4em 0 .2em;line-height:1.5}.aloha .ui-menu-icons{position:relative}.aloha .ui-menu-icons .ui-menu-item a{position:relative;padding-left:2em}.aloha .ui-menu .ui-icon{position:absolute;top:.2em;left:.2em}.aloha .ui-menu .ui-menu-icon{position:static;float:right}.aloha .ui-progressbar{height:2em;text-align:left}.aloha .ui-progressbar .ui-progressbar-value{margin:-1px;height:100%}.aloha .ui-resizable{position:relative}.aloha .ui-resizable-handle{position:absolute;font-size:.1px;z-index:99999;display:block}.aloha .ui-resizable-disabled .ui-resizable-handle,.aloha .ui-resizable-autohide .ui-resizable-handle{display:none}.aloha .ui-resizable-n{cursor:n-resize;height:7px;width:100%;top:-5px;left:0}.aloha .ui-resizable-s{cursor:s-resize;height:7px;width:100%;bottom:-5px;left:0}.aloha .ui-resizable-e{cursor:e-resize;width:7px;right:-5px;top:0;height:100%}.aloha .ui-resizable-w{cursor:w-resize;width:7px;left:-5px;top:0;height:100%}.aloha .ui-resizable-se{cursor:se-resize;width:12px;height:12px;right:1px;bottom:1px}.aloha .ui-resizable-sw{cursor:sw-resize;width:9px;height:9px;left:-5px;bottom:-5px}.aloha .ui-resizable-nw{cursor:nw-resize;width:9px;height:9px;left:-5px;top:-5px}.aloha .ui-resizable-ne{cursor:ne-resize;width:9px;height:9px;right:-5px;top:-5px}.aloha .ui-selectable-helper{position:absolute;z-index:100;border:1px dotted black}.aloha .ui-tabs{position:relative;padding:.2em;zoom:1}.aloha .ui-tabs .ui-tabs-nav{margin:0;padding:.2em .2em 0}.aloha .ui-tabs .ui-tabs-nav li{list-style:none;float:left;position:relative;top:0;margin:1px .2em 0 0;border-bottom:0!important;padding:0;white-space:nowrap}.aloha .ui-tabs .ui-tabs-nav li a{float:left;padding:.5em 1em;text-decoration:none}.aloha .ui-tabs .ui-tabs-nav li.ui-tabs-active{margin-bottom:-1px;padding-bottom:1px}.aloha .ui-tabs .ui-tabs-nav li.ui-tabs-active a,.aloha .ui-tabs .ui-tabs-nav li.ui-state-disabled a,.aloha .ui-tabs .ui-tabs-nav li.ui-tabs-loading a{cursor:text}.aloha .ui-tabs .ui-tabs-nav li a,.aloha .ui-tabs.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-active a{cursor:pointer}.aloha .ui-tabs .ui-tabs-panel{display:block;border-width:0;padding:1em 1.4em;background:0}.aloha .ui-widget{font-family:Verdana,Arial,sans-serif;font-size:1.1em}.aloha .ui-widget .ui-widget{font-size:1em}.aloha .ui-widget input,.aloha .ui-widget select,.aloha .ui-widget textarea,.aloha .ui-widget button{font-family:Verdana,Arial,sans-serif;font-size:1em}.aloha .ui-widget-content{border:1px solid #aaa;background:#fff;color:#222}.aloha .ui-widget-content a{color:#222}.aloha .ui-widget-header{border:1px solid #aaa;background:#ccc;color:#222;font-weight:bold}.aloha .ui-widget-header a{color:#222}.aloha .ui-state-default,.aloha .ui-widget-content .ui-state-default,.aloha .ui-widget-header .ui-state-default{border:1px solid #d3d3d3;background:#e6e6e6;font-weight:normal;color:#555}.aloha .ui-state-default a,.aloha .ui-state-default a:link,.aloha .ui-state-default a:visited{color:#555;text-decoration:none}.aloha .ui-state-hover,.aloha .ui-widget-content .ui-state-hover,.aloha .ui-widget-header .ui-state-hover,.aloha .ui-state-focus,.aloha .ui-widget-content .ui-state-focus,.aloha .ui-widget-header .ui-state-focus{border:1px solid #999;background:#dadada;font-weight:normal;color:#212121}.aloha .ui-state-hover a,.aloha .ui-state-hover a:hover{color:#212121;text-decoration:none}.aloha .ui-state-active,.aloha .ui-widget-content .ui-state-active,.aloha .ui-widget-header .ui-state-active{border:1px solid #aaa;background:#fff;font-weight:normal;color:#212121}.aloha .ui-state-active a,.aloha .ui-state-active a:link,.aloha .ui-state-active a:visited{color:#212121;text-decoration:none}.aloha .ui-widget :active{outline:0}.aloha .ui-state-highlight,.aloha .ui-widget-content .ui-state-highlight,.aloha .ui-widget-header .ui-state-highlight{border:1px solid #fcefa1;background:#fbf9ee;color:#363636}.aloha .ui-state-highlight a,.aloha .ui-widget-content .ui-state-highlight a,.ui-widget-header .ui-state-highlight a{color:#363636}.aloha .ui-state-error,.aloha .ui-widget-content .ui-state-error,.aloha .ui-widget-header .ui-state-error{border:1px solid #cd0a0a;background:#fef1ec;color:#cd0a0a}.aloha .ui-state-error a,.aloha .ui-widget-content .ui-state-error a,.aloha .ui-widget-header .ui-state-error a{color:#cd0a0a}.aloha .ui-state-error-text,.aloha .ui-widget-content .ui-state-error-text,.aloha .ui-widget-header .ui-state-error-text{color:#cd0a0a}.aloha .ui-priority-primary,.aloha .ui-widget-content .ui-priority-primary,.aloha .ui-widget-header .ui-priority-primary{font-weight:bold}.aloha .ui-priority-secondary,.aloha .ui-widget-content .ui-priority-secondary,.ui-widget-header .ui-priority-secondary{opacity:.7;filter:alpha(opacity=70);font-weight:normal}.aloha .ui-state-disabled,.aloha .ui-widget-content .ui-state-disabled,.aloha .ui-widget-header .ui-state-disabled{opacity:.35;filter:alpha(opacity=35);background-image:none}.aloha .ui-icon{width:16px;height:16px}.aloha .ui-corner-all,.aloha .ui-corner-top,.aloha .ui-corner-left,.aloha .ui-corner-tl{-moz-border-radius-topleft:4px;-webkit-border-top-left-radius:4px;-khtml-border-top-left-radius:4px;border-top-left-radius:4px}.aloha .ui-corner-all,.aloha .ui-corner-top,.aloha .ui-corner-right,.aloha .ui-corner-tr{-moz-border-radius-topright:4px;-webkit-border-top-right-radius:4px;-khtml-border-top-right-radius:4px;border-top-right-radius:4px}.aloha .ui-corner-all,.aloha .ui-corner-bottom,.aloha .ui-corner-left,.aloha .ui-corner-bl{-moz-border-radius-bottomleft:4px;-webkit-border-bottom-left-radius:4px;-khtml-border-bottom-left-radius:4px;border-bottom-left-radius:4px}.aloha .ui-corner-all,.aloha .ui-corner-bottom,.aloha .ui-corner-right,.aloha .ui-corner-br{-moz-border-radius-bottomright:4px;-webkit-border-bottom-right-radius:4px;-khtml-border-bottom-right-radius:4px;border-bottom-right-radius:4px}.aloha .ui-widget-shadow{margin:-8px 0 0 -8px;padding:8px;background:#aaa;opacity:.3;filter:alpha(opacity=30);-moz-border-radius:8px;-khtml-border-radius:8px;-webkit-border-radius:8px;border-radius:8px}.aloha.ui-dialog{position:absolute;padding:.2em;width:300px;overflow:hidden}.aloha.ui-dialog .ui-dialog-titlebar{padding:.4em 1em;position:relative}.aloha.ui-dialog .ui-dialog-title{float:left;margin:.1em 16px .1em 0}.aloha.ui-dialog .ui-dialog-titlebar-close{position:absolute;right:.3em;top:50%;width:19px;margin:-10px 0 0 0;padding:1px;height:18px}.aloha.ui-dialog .ui-dialog-titlebar-close span{display:block;margin:1px}.aloha.ui-dialog .ui-dialog-titlebar-close:hover,.aloha .ui-dialog .ui-dialog-titlebar-close:focus{padding:0}.aloha.ui-dialog .ui-dialog-content{position:relative;border:0;padding:.5em 1em;background:0;overflow:auto;zoom:1}.aloha.ui-dialog .ui-dialog-buttonpane{text-align:left;border-width:1px 0 0 0;background-image:none;margin:.5em 0 0 0;padding:.3em 1em .5em .4em}.aloha.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset{float:right}.aloha.ui-dialog .ui-dialog-buttonpane button{margin:.5em .4em .5em 0;cursor:pointer}.aloha.ui-dialog .ui-resizable-se{width:14px;height:14px;right:3px;bottom:3px}.aloha.ui-draggable .ui-dialog-titlebar{cursor:move}.aloha.ui-widget{font-family:Verdana,Arial,sans-serif;font-size:1.1em}.aloha.ui-widget .ui-widget{font-size:1em}.aloha.ui-widget input,.aloha .ui-widget select,.aloha .ui-widget textarea,.aloha .ui-widget button{font-family:Verdana,Arial,sans-serif;font-size:1em}.aloha.ui-widget-content{border:1px solid #aaa;background:#fff;color:#222}.aloha.ui-widget-content a{color:#222}.ui-widget-overlay{position:absolute;top:0;left:0;width:100%;height:100%;background:#aaa;opacity:.3;filter:alpha(opacity=30)}.aloha .aloha-ui-toolbar .ui-corner-all,.aloha .aloha-ui-toolbar .ui-corner-top,.aloha .aloha-ui-toolbar .ui-corner-left,.aloha .aloha-ui-toolbar .ui-corner-tl{-moz-border-radius-topleft:0;-webkit-border-top-left-radius:0;-khtml-border-top-left-radius:0;border-top-left-radius:0}.aloha .aloha-ui-toolbar .ui-corner-all,.aloha .aloha-ui-toolbar .ui-corner-top,.aloha .aloha-ui-toolbar .ui-corner-right,.aloha .aloha-ui-toolbar .ui-corner-tr{-moz-border-radius-topright:0;-webkit-border-top-right-radius:0;-khtml-border-top-right-radius:0;border-top-right-radius:0}.aloha .aloha-ui-toolbar .ui-corner-all,.aloha .aloha-ui-toolbar .ui-corner-bottom,.aloha .aloha-ui-toolbar .ui-corner-left,.aloha .aloha-ui-toolbar .ui-corner-bl{-moz-border-radius-bottomleft:0;-webkit-border-bottom-left-radius:0;-khtml-border-bottom-left-radius:0;border-bottom-left-radius:0}.aloha .aloha-ui-toolbar .ui-corner-all,.aloha .aloha-ui-toolbar .ui-corner-bottom,.aloha .aloha-ui-toolbar .ui-corner-right,.aloha .aloha-ui-toolbar .ui-corner-br{-moz-border-radius-bottomright:0;-webkit-border-bottom-right-radius:0;-khtml-border-bottom-right-radius:0;border-bottom-right-radius:0}.aloha .aloha-ui-toolbar{text-align:left;width:609px}.aloha .aloha-ui-toolbar .ui-button-icon-only{background-color:transparent;border-color:transparent;-moz-border-radius:2px;-khtml-border-radius:2px;-webkit-border-radius:2px;border-radius:2px}.aloha .aloha-ui-toolbar .ui-button-icon-only:hover{border-color:#999;background-color:#e6e6e6;background-image:linear-gradient(bottom,rgba(0,0,0,0.05) 0,rgba(255,255,255,0.4) 40%);background-image:-o-linear-gradient(bottom,rgba(0,0,0,0.05) 0,rgba(255,255,255,0.4) 40%);background-image:-moz-linear-gradient(bottom,rgba(0,0,0,0.05) 0,rgba(255,255,255,0.4) 40%);background-image:-webkit-linear-gradient(bottom,rgba(0,0,0,0.05) 0,rgba(255,255,255,0.4) 40%);background-image:-ms-linear-gradient(bottom,rgba(0,0,0,0.05) 0,rgba(255,255,255,0.4) 40%)}.aloha .aloha-ui-toolbar .ui-tabs{font-size:11px;font-family:tahoma,arial,helvetica;line-height:normal;padding:0}.aloha .aloha-ui-toolbar .ui-tabs-nav li{border:1px solid #aaa;margin:0 1px}.aloha .aloha-ui-toolbar .ui-tabs-nav li,.aloha .aloha-ui-toolbar .ui-tabs-nav li a{cursor:default;color:#333;text-decoration:none;-moz-border-radius-topleft:2px;-webkit-border-top-left-radius:2px;-khtml-border-top-left-radius:2px;border-top-left-radius:2px;-moz-border-radius-topright:2px;-webkit-border-top-right-radius:2px;-khtml-border-top-right-radius:2px;border-top-right-radius:2px}.aloha .aloha-ui-toolbar .ui-tabs-nav li a{padding:.2em .6em;border-bottom:0;border-top:1px solid #f0f0f0;background-image:linear-gradient(bottom,rgba(0,0,0,0.05) 70%,rgba(0,0,0,0.1) 90%);background-image:-o-linear-gradient(bottom,rgba(0,0,0,0.05) 70%,rgba(0,0,0,0.1) 90%);background-image:-moz-linear-gradient(bottom,rgba(0,0,0,0.05) 70%,rgba(0,0,0,0.1) 90%);background-image:-webkit-linear-gradient(bottom,rgba(0,0,0,0.05) 70%,rgba(0,0,0,0.1) 90%);background-image:-ms-linear-gradient(bottom,rgba(0,0,0,0.05) 70%,rgba(0,0,0,0.1) 90%)}.aloha .aloha-ui-toolbar .ui-tabs-nav li.ui-state-active{font-weight:bold;background:#f0f0f0}.aloha .aloha-ui-toolbar .ui-tabs-nav li.ui-state-active a{background:#f0f0f0;background-image:linear-gradient(bottom,rgba(255,255,255,0) 70%,rgba(255,255,255,0.5) 90%);background-image:-o-linear-gradient(bottom,rgba(255,255,255,0) 70%,rgba(255,255,255,0.5) 90%);background-image:-moz-linear-gradient(bottom,rgba(255,255,255,0) 70%,rgba(255,255,255,0.5) 90%);background-image:-webkit-linear-gradient(bottom,rgba(255,255,255,0) 70%,rgba(255,255,255,0.5) 90%);background-image:-ms-linear-gradient(bottom,rgba(255,255,255,0) 70%,rgba(255,255,255,0.5) 90%)}.aloha .aloha-ui-toolbar .ui-widget-content{min-width:130px;border:0;background:transparent}.aloha .aloha-ui-toolbar .ui-widget-header{padding-right:30px;border:0;-moz-border-radius-topleft:2px;-webkit-border-top-left-radius:2px;-khtml-border-top-left-radius:2px;border-top-left-radius:2px;-moz-border-radius-topright:2px;-webkit-border-top-right-radius:2px;-khtml-border-top-right-radius:2px;border-top-right-radius:2px;background:transparent;background-image:linear-gradient(bottom,rgba(0,0,0,0.05) 0,rgba(0,0,0,0) 10%);background-image:-o-linear-gradient(bottom,rgba(0,0,0,0.05) 0,rgba(0,0,0,0) 10%);background-image:-moz-linear-gradient(bottom,rgba(0,0,0,0.05) 0,rgba(0,0,0,0) 10%);background-image:-webkit-linear-gradient(bottom,rgba(0,0,0,0.05) 0,rgba(0,0,0,0) 10%);background-image:-ms-linear-gradient(bottom,rgba(0,0,0,0.05) 0,rgba(0,0,0,0) 10%)}.aloha .aloha-ui-toolbar.aloha-ui-hover .ui-widget-header{cursor:move;background:#777;background:rgba(0,0,0,0.3);background-image:linear-gradient(bottom,rgba(0,0,0,0.35) 0,rgba(0,0,0,0.3) 20%);background-image:-o-linear-gradient(bottom,rgba(0,0,0,0.35) 0,rgba(0,0,0,0.3) 20%);background-image:-moz-linear-gradient(bottom,rgba(0,0,0,0.35) 0,rgba(0,0,0,0.3) 20%);background-image:-webkit-linear-gradient(bottom,rgba(0,0,0,0.35) 0,rgba(0,0,0,0.3) 20%);background-image:-ms-linear-gradient(bottom,rgba(0,0,0,0.35) 0,rgba(0,0,0,0.3) 20%)}.aloha .aloha-ui-toolbar .ui-tabs-panel{padding:2px;background:#f0f0f0;border:1px solid #d0d0d0;box-shadow:2px 2px 10px rgba(0,0,0,0.1);-moz-border-radius-bottomleft:2px;-webkit-border-bottom-left-radius:2px;-khtml-border-bottom-left-radius:2px;border-bottom-left-radius:2px;-moz-border-radius-bottomright:2px;-webkit-border-bottom-right-radius:2px;-khtml-border-bottom-right-radius:2px;border-bottom-right-radius:2px}.aloha .aloha-ui-toolbar li.ui-state-active{border:1px solid #d0d0d0}.aloha .aloha-ui-toolbar .aloha-ui-pin{position:absolute;display:none;top:.8em;right:.4em;width:20px;height:10px;background:image-url("../img/pin.png") no-repeat;cursor:pointer}.aloha .aloha-ui-toolbar .aloha-ui-pin-down{background-position:-16px 0}.aloha .aloha-ui-toolbar.aloha-ui-hover .aloha-ui-pin{display:block}.aloha .aloha-ui-toolbar .aloha-ui-menubutton-menu,.aloha .aloha-ui-toolbar .aloha-ui-menubutton-menu .ui-menu,.aloha .aloha-ui-menubutton-menu,.aloha .aloha-ui-menubutton-menu .ui-menu{position:absolute;padding:.4em 0;background:#f0f0f0;border:1px solid #d0d0d0;box-shadow:2px 2px 10px rgba(0,0,0,0.1);-moz-border-radius:0;-khtml-border-radius:0;-webkit-border-radius:0;border-radius:0;font-size:11px;text-align:left}.aloha .aloha-ui-menubutton-menu .ui-menu-item a{white-space:nowrap;padding-left:10px;color:#212121;-moz-border-radius:0;-khtml-border-radius:0;-webkit-border-radius:0;border-radius:0;border-color:transparent}.aloha .aloha-ui-menubutton-menu .ui-menu-item a.ui-state-active{background:#dadada}.aloha .aloha-ui-menubutton-menu .ui-menu-item .ui-menu-icon{margin-right:-16px}.aloha .aloha-ui-menubutton-menu .ui-menu-item a{padding-right:20px}.aloha .aloha-ui-menubutton-menu .aloha-ui-inline-icon{margin-bottom:-4px;margin-right:5px}.aloha .aloha-ui-menubutton-expand .aloha-ui-inline-icon-container{margin-right:-4px;margin-left:4px}.aloha .aloha-ui-menubutton-expand .ui-button-icon-secondary{right:3px}.aloha .aloha-ui-menubutton-iehack .aloha-ui-menubutton-menu .ui-menu-item a{width:200px;white-space:normal;display:inline-block}.aloha .aloha-ui-menubutton-container{height:24px;font-size:11px;border:1px solid transparent;float:left;-moz-border-radius:4px;-khtml-border-radius:4px;-webkit-border-radius:4px;border-radius:4px}.aloha .aloha-ui-menubutton-container .ui-buttonset{margin:0}.aloha .aloha-ui-menubutton-container .ui-button{height:24px;background:transparent;-moz-border-radius:4px;-khtml-border-radius:4px;-webkit-border-radius:4px;border-radius:4px;padding:0;border-width:0}.aloha .ui-buttonset .ui-button.aloha-ui-menubutton-action{border-right:1px solid transparent;-moz-border-radius-topright:0;-webkit-border-top-right-radius:0;-khtml-border-top-right-radius:0;border-top-right-radius:0;-moz-border-radius-bottomright:0;-webkit-border-bottom-right-radius:0;-khtml-border-bottom-right-radius:0;border-bottom-right-radius:0}.aloha .ui-button.aloha-ui-menubutton-expand{min-width:18px;border-left:1px solid transparent;-moz-border-radius-topleft:0;-webkit-border-top-left-radius:0;-khtml-border-top-left-radius:0;border-top-left-radius:0;-moz-border-radius-bottomleft:0;-webkit-border-bottom-left-radius:0;-khtml-border-bottom-left-radius:0;border-bottom-left-radius:0}.aloha .aloha-ui-menubutton-container .ui-button-text{font-size:11px}.aloha .aloha-ui-menubutton-expand.aloha-ui-menubutton-single{-moz-border-radius:4px;-khtml-border-radius:4px;-webkit-border-radius:4px;border-radius:4px;border-width:0}.aloha .aloha-ui-menubutton-container .ui-button-icon-primary{left:0}.aloha .aloha-ui-menubutton-container:hover{border-color:#bbb}.aloha .aloha-ui-menubutton-container:hover .ui-button{background-color:#e6e6e6;background-image:linear-gradient(bottom,rgba(0,0,0,0.05) 0,rgba(255,255,255,0.4) 40%);background-image:-o-linear-gradient(bottom,rgba(0,0,0,0.05) 0,rgba(255,255,255,0.4) 40%);background-image:-moz-linear-gradient(bottom,rgba(0,0,0,0.05) 0,rgba(255,255,255,0.4) 40%);background-image:-webkit-linear-gradient(bottom,rgba(0,0,0,0.05) 0,rgba(255,255,255,0.4) 40%);background-image:-ms-linear-gradient(bottom,rgba(0,0,0,0.05) 0,rgba(255,255,255,0.4) 40%)}.aloha .aloha-ui-menubutton-container:hover .aloha-ui-menubutton-expand{border-color:#bbb}.aloha .aloha-ui-menubutton-container:hover .aloha-ui-menubutton-action{border-color:rgba(255,255,255,0.5)}.aloha .aloha-ui-menubutton-container.aloha-ui-menubutton-pressed{border-color:#999}.aloha .aloha-ui-menubutton-container.aloha-ui-menubutton-pressed .ui-button{background:#ccc;box-shadow:inset 0 0 4px rgba(0,0,0,0.2)}.aloha .aloha-ui-menubutton-single .ui-button-text{padding-right:2.1em}.aloha .ui-state-default .aloha-icon{background-image:image-url("aloha/plugins/common/ui/img/format-inline.png")}.aloha .ui-state-default .aloha-icon-tree{background-image:image-url("aloha/plugins/common/ui/img/tree.png")}.aloha .ui-state-default .aloha-icon-bold{background-position:0 0}.aloha .ui-state-default .aloha-icon-italic{background-position:-16px 0}.aloha .ui-state-default .aloha-icon-underline{background-position:-32px 0}.aloha .ui-state-default .aloha-icon-strikethrough{background-position:-48px 0}.aloha .ui-state-default .aloha-icon-subscript{background-position:-64px 0}.aloha .ui-state-default .aloha-icon-superscript{background-position:-80px 0}.aloha .ui-state-default .aloha-icon-createTable{background-position:-96px 0}.aloha .ui-state-default .aloha-icon-addcolumnleft{background-position:-112px 0}.aloha .ui-state-default .aloha-icon-addcolumnright{background-position:-128px 0}.aloha .ui-state-default .aloha-icon-addrowbefore{background-position:-144px 0}.aloha .ui-state-default .aloha-icon-addrowafter{background-position:-160px 0}.aloha .ui-state-default .aloha-icon-deleterows{background-position:-176px 0}.aloha .ui-state-default .aloha-icon-deletecolumns{background-position:-192px 0}.aloha .ui-state-default .aloha-icon-table-caption{background-position:-320px 0}.aloha .ui-state-default .aloha-icon-rowheader{background-position:-352px 0}.aloha .ui-state-default .aloha-icon-columnheader{background-position:-368px 0}.aloha .ui-state-default .aloha-icon-mergecells{background-position:-384px 0}.aloha .ui-state-default .aloha-icon-splitcells{background-position:-400px 0}.aloha .ui-state-default .aloha-icon-orderedlist{background-position:-272px 0}.aloha .ui-state-default .aloha-icon-unorderedlist{background-position:-256px 0}.aloha .ui-state-default .aloha-icon-link{background-position:-288px 0}.aloha .ui-state-default .aloha-icon-unlink{background-position:-304px 0}.aloha .ui-state-default .aloha-icon-abbr{background-position:-336px 0}.aloha .ui-state-default .aloha-icon-emphasis{background-image:image-url("aloha/plugins/common/ui/img/em.png")}.aloha .ui-state-default .aloha-icon-strong{background-image:image-url("aloha/plugins/common/ui/img/strong.png")}.aloha .ui-state-default .aloha-icon-indent{background:image-url("../img/text_indent.png") no-repeat center center}.aloha .ui-state-default .aloha-icon-outdent{background:image-url("../img/text_indent_remove.png") no-repeat center center}.aloha .ui-button-icon-only .aloha-ui-inline-icon-container{width:18px;height:18px;margin-top:-10px;margin-left:-9px}.aloha .aloha-ui-inline-icon-container{text-indent:0}.aloha .ui-button-text-icon-primary .ui-button-icon-primary{margin-left:4px}.aloha .ui-state-default .aloha-large-icon{background-image:image-url("aloha/plugins/common/ui/img/format-block.png");width:54px;height:44px;margin-left:-27px!important;margin-top:-22px!important}.aloha .aloha-large-button{width:60px!important;height:50px!important}.aloha .aloha-large-icon-h1{background-position:-52px 0}.aloha .aloha-large-icon-h2{background-position:-104px 0}.aloha .aloha-large-icon-h3{background-position:-156px 0}.aloha .aloha-large-icon-h4{background-position:-208px 0}.aloha .aloha-large-icon-h5{background-position:-260px 0}.aloha .aloha-large-icon-h6{background-position:-312px 0}.aloha .aloha-large-icon-pre{background-position:-364px 0}.aloha .aloha-multisplit-active{border:1px solid #aaa!important}.aloha .aloha-button-active{border:1px solid #aaa!important;background:#fff!important}.aloha .ui-state-default .aloha-jqueryui-icon{background-image:image-url("aloha/plugins/common/ui/img/jqueryui/ui-icons_222222_256x240.png")}.aloha .ui-icon-triangle-1-s{background-position:-64px -16px}.aloha .ui-icon-carat-1-e{background:image-url("aloha/plugins/common/ui/img/jqueryui/ui-icons_222222_256x240.png") no-repeat -30px -16px}.aloha .ui-icon-gripsmall-diagonal-se{background:image-url("aloha/plugins/common/ui/img/jqueryui/ui-icons_222222_256x240.png") no-repeat}.aloha .aloha-multisplit{position:relative;width:260px;height:50px;overflow:hidden;margin:0 auto}.aloha .aloha-multisplit-open{overflow:visible}.aloha .aloha-multisplit-content{text-align:left;position:relative;width:245px}.aloha .aloha-multisplit-open .aloha-multisplit-content{background:#ccc;box-shadow:inset 0 0 15px rgba(0,0,0,0.25)}.aloha .aloha-multisplit .aloha-multisplit-toggle{position:absolute;top:0;right:0;width:15px;height:50px;overflow:hidden;border-width:0;background-color:#f0f0f0;background-image:image-url("aloha/plugins/common/ui/img/multisplit-open.gif");background-repeat:no-repeat;background-position:bottom center;text-indent:-99999px;margin:0}.aloha .aloha-multisplit-open .aloha-multisplit-toggle{background-image:image-url("aloha/plugins/common/ui/img/multisplit-close.gif")}.aloha .aloha-multisplit .ui-button-icon-only.aloha-multisplit-toggle:hover{background-color:#fff;border-color:#e6e6e6}.aloha .aloha-multisplit .ui-button-icon-only{background:#e6e6e6;border-color:lightGrey}.aloha .aloha-multisplit .ui-button-icon-only.aloha-multisplit-active{background:#3b73d7}.aloha .aloha-multisplit .aloha-ui-multisplit-fullwidth{display:block;width:100%;background:#f0f0f0 image-url("aloha/plugins/common/ui/img/removeformat.png") no-repeat 6px 3px;border:1px solid #bbb;padding-left:18px;text-align:left}.aloha .aloha-multisplit .aloha-ui-multisplit-fullwidth:hover{border-color:#999}.aloha .aloha-ui-component-group{float:left;border:1px solid #e0e0e0;box-shadow:inset 0 0 10px #fff;-moz-border-radius:4px;-khtml-border-radius:4px;-webkit-border-radius:4px;border-radius:4px;padding:2px;margin:2px;vertical-align:top}.aloha .aloha-ui-clear{float:none;clear:both}.aloha.aloha-dialog{padding:0 2px 2px;border:1px solid #999;background:#f0f0f0;box-shadow:0 5px 20px rgba(0,0,0,0.2);color:#555;font-size:12px;text-align:left;-moz-border-radius:4px;-khtml-border-radius:4px;-webkit-border-radius:4px;border-radius:4px}.aloha.aloha-dialog .ui-dialog-titlebar{padding:4px;border-width:0;background:transparent;font:bold 12px tahoma,arial,verdana,sans-serif;color:#555}.aloha.aloha-dialog .ui-dialog-content{min-height:25px!important;color:#555}.aloha.aloha-dialog .ui-dialog-buttonpane{padding:0;border-width:0;background:transparent}.aloha.aloha-dialog .ui-button,.aloha.aloha-dialog .ui-dialog-titlebar-close{outline:0;background-color:#e6e6e6;background-image:linear-gradient(bottom,rgba(0,0,0,0.05) 0,rgba(255,255,255,0.2) 50%);background-image:-o-linear-gradient(bottom,rgba(0,0,0,0.05) 0,rgba(255,255,255,0.2) 50%);background-image:-moz-linear-gradient(bottom,rgba(0,0,0,0.05) 0,rgba(255,255,255,0.2) 50%);background-image:-webkit-linear-gradient(bottom,rgba(0,0,0,0.05) 0,rgba(255,255,255,0.2) 50%);background-image:-ms-linear-gradient(bottom,rgba(0,0,0,0.05) 0,rgba(255,255,255,0.2) 50%)}.aloha.aloha-dialog .ui-dialog-titlebar-close{padding:0;border:1px solid #ccc;margin-top:-7px}.aloha.aloha-dialog .ui-dialog-titlebar-close:hover{border-color:#999}.aloha.aloha-dialog .ui-icon-closethick{background:image-url("aloha/plugins/common/ui/img/jqueryui/ui-icons_222222_256x240.png") no-repeat -80px -128px}.aloha-ui-hidden{display:none}.aloha .ui-autocomplete.ui-widget-content{background:#fff;border:1px solid #ddd;box-shadow:1px 2px 10px rgba(0,0,0,0.25);padding:3px;-moz-border-radius:0;-khtml-border-radius:0;-webkit-border-radius:0;border-radius:0}.aloha .ui-autocomplete .ui-menu-item a{text-align:left;font-size:12px;-moz-border-radius:0;-khtml-border-radius:0;-webkit-border-radius:0;border-radius:0;border-color:transparent}.aloha .ui-autocomplete .ui-menu-item a.ui-state-focus{background:#3b73d7;color:#fff}.aloha.ui-tooltip{font-size:10px;line-height:1.2em;padding:4px 6px;border:1px solid #ccc;z-index:999999;position:absolute;-o-box-shadow:0 0 5px #aaa;-moz-box-shadow:0 0 5px #aaa;-webkit-box-shadow:0 0 5px #aaa;box-shadow:0 0 5px #aaa;font-family:Verdana,Arial,sans-serif;background:#fff;color:#222}.aloha-toolbar .aloha-ui-label{display:inline-block;white-space:nowrap;height:23px;margin:2px 2px 0}.aloha.aloha-toolbar .aloha-ui-label-text{margin-right:2px}.aloha-link-pointer a{cursor:pointer}.aloha-link-text{cursor:text}.aloha-editable-active .aloha-block.aloha-link-text,.aloha-block.aloha-block-highlighted.aloha-link-text{box-shadow:none}.aloha-link-radioTarget{width:auto!important}.aloha-link-title-container{padding:5px 5px}.aloha-link-target-container{padding:5px 5px}.aloha-link-target-container ul{margin-left:0}.aloha-link-target-container li{padding:0!important;list-style:none}.aloha-link-target-container fieldset{border:2px groove threedface!important;padding-bottom:5px}.aloha-link-title-container fieldset{border:2px groove threedface!important;padding-bottom:5px}.aloha-link-target-container fieldset input[type=text],.aloha-link-title-container fieldset input[type=text]{width:90%}.x-form-field.x-form-text.aloha-link-href-field{color:#333!important;padding:3px}.aloha-character-picker-overlay{position:absolute;display:none;float:left;padding:0;top:0;left:0;border:0;border-collapse:collapse;z-index:999999}.aloha-character-picker-overlay{border-collapse:collapse}.aloha-character-picker-overlay tr,.aloha-character-picker-overlay th{background:0}.aloha-character-picker-overlay td{width:1.2em;height:1.2em;padding:.1em;border:1px solid #afafaf;background-color:#fff;color:#000;line-height:1.2em;font-size:1em;text-align:center;cursor:pointer}.aloha-character-picker-overlay td.focused{border:1px solid #407bcf;background-color:#b9d6f9}.aloha .ui-icon.aloha-icon-characterpicker{background:image-url("aloha/plugins/common/characterpicker/img/icon.png")}/*!
|
2
|
+
* Aloha Editor
|
3
|
+
* Author & Copyright (c) 2010 Gentics Software GmbH
|
4
|
+
* aloha-sales@gentics.com
|
5
|
+
* Licensed unter the terms of http://www.aloha-editor.com/license.html
|
6
|
+
*/.aloha-editable-highlight{outline:#ffe767 solid 5px!important}.aloha-editable-active,.aloha-editable-active[contenteditable=true]:focus{outline:#80b5f2 solid 5px!important}.aloha .ui-icon.aloha-icon-horizontalruler{background:image-url("aloha/plugins/common/horizontalruler/img/icon.png")}.aloha-block table.debug-block{background:#eee;border:1px dashed #999;border-radius:7px;margin:5px 0;padding:4px;width:100%}.aloha-editable-active .aloha-block,.aloha-block.aloha-block-highlighted{cursor:pointer;box-shadow:0 0 0 3px #ffe767}.aloha-block.aloha-block-active,.aloha-block.aloha-block-active:hover{box-shadow:0 0 0 3px #80b5f2}.aloha-ie8 .aloha-block:hover{outline:3px solid #ffe767}.aloha-ie8 .aloha-block.aloha-block-active,.aloha-ie8 .aloha-block.aloha-block-active:hover{outline:3px solid #80b5f2}.aloha-ie7 .aloha-block:hover{border:3px solid #ffe767;margin:-3px}.aloha-ie7 .aloha-block.aloha-block-active,.aloha-ie7 .aloha-block.aloha-block-active:hover{border:3px solid #80b5f2;margin:-3px}.aloha-block-droppable{border-left:1px solid red;margin-left:-1px}.aloha-ie7 .aloha-block-droppable{margin-left:0}.aloha-block-droppable.aloha-block-droppable-right{margin-left:0!important;border-left:none!important;margin-right:-1px;border-right:1px solid red}.aloha-block-droppable-blocklevel{position:relative}.aloha-block-blockleveldragdropline{position:absolute;width:100%;height:2px;background-color:red;bottom:0}.aloha-block .aloha-editable{cursor:auto}.aloha-block{position:relative}.aloha-block:hover>.aloha-block-draghandle,.aloha-block-active>.aloha-block-draghandle{display:block}.aloha-block-draghandle{position:absolute;left:0;top:-13px;width:24px;height:12px;overflow:hidden;display:none;background:image-url("aloha/plugins/common/block/img/toolbar-draghandle.gif");border-top:1px solid #CCC;border-left:1px solid #CCC;border-right:1px solid #CCC;border-top-left-radius:5px;border-top-right-radius:5px}.aloha-block.ui-draggable-dragging .aloha-block-draghandle{display:none}.aloha-block-editor label{display:block}.aloha-block-dropInlineElementIntoEmptyBlock{border:1px solid red}.aloha-block-dropzone{background-color:#eef}.aloha .ui-state-default .aloha-icon.aloha-icon-toggledragdrop{background:image-url("../img/base.png") -416px 0}.aloha-icon-align{background:image-url("aloha/plugins/common/align/img/align.png") no-repeat!important}.aloha-icon-align-left{background-position:0 0!important}.aloha-icon-align-center{background-position:-16px 0!important}.aloha-icon-align-right{background-position:-32px 0!important}.aloha-icon-align-justify{background-position:-48px 0!important}.aloha-icon-align-top{background-position:-64px 0!important}.aloha-icon-align-middle{background-position:-80px 0!important}.aloha-icon-align-bottom{background-position:-96px 0!important}.jcrop-holder{text-align:left}.jcrop-vline,.jcrop-hline{font-size:0;position:absolute;background:#fff image-url("aloha/plugins/common/image/vendor/jcrop/jcrop.gif") top left repeat}.jcrop-vline{height:100%;width:1px!important}.jcrop-hline{width:100%;height:1px!important}.jcrop-handle{font-size:1px;width:7px!important;height:7px!important;border:1px #eee solid;background-color:#333;*width:9px;*height:9px}.cnr-crop-apply{background-image:image-url("aloha/plugins/common/image/img/crop-buttons.gif")!important;background-position:-2px -2px!important}.cnr-crop-cancel{background-image:image-url("aloha/plugins/common/image/img/crop-buttons.gif")!important;background-position:23px -2px!important}.jcrop-tracker{width:100%;height:100%}.custom .jcrop-vline,.custom .jcrop-hline{background:yellow}.custom .jcrop-handle{border-color:black;background-color:#c7bb00;-moz-border-radius:3px;-webkit-border-radius:3px}.aloha-image-align-left{background:image-url("aloha/plugins/common/image/img/image-align-left.png")}.aloha-image-align-right{background:image-url("aloha/plugins/common/image/img/image-align-right.png")}.aloha-image-align-none{background:image-url("aloha/plugins/common/image/img/image-align-none.png")}.aloha-img.aloha-image-title{background:image-url("aloha/plugins/common/image/img/image-title.png")}.aloha-img.aloha-image-border{background:image-url("aloha/plugins/common/image/img/image-border.png")}.aloha-image-insert{background:image-url("aloha/plugins/common/image/img/image.gif")!important}.aloha-img.aloha-image-padding-increase{background:image-url("aloha/plugins/common/image/img/padding-increase.gif")}.aloha-img.aloha-image-padding-decrease{background:image-url("aloha/plugins/common/image/img/padding-decrease.gif")}.aloha-img.aloha-image-size-increase{background:image-url("aloha/plugins/common/image/img/size-increase.gif")}.aloha-img.aloha-image-size-decrease{background:image-url("aloha/plugins/common/image/img/size-decrease.gif")}.aloha-default-file-icon{background:image-url("aloha/plugins/common/image/img/page.png");width:16px;height:16px;margin:0;padding:0}.aloha-icon-cnr-resize,.aloha-icon-cnr-crop,.aloha-icon-cnr-reset{background:image-url("aloha/plugins/common/image/img/cropnresize.png")}.aloha-icon-cnr-crop{background-position:-2px -2px!important}.aloha-icon-cnr-reset{background-position:-42px -2px!important}.aloha-icon-cnr-ratio{background-image:image-url("aloha/plugins/common/image/img/cropnresize.png")!important;background-position:-60px -2px!important}#aloha-CropNResize-btns{z-index:10000;width:70px;display:none;position:absolute}#aloha-CropNResize-btns button{background:#ededed;border:1px solid #c6c6c6;cursor:pointer;color:#96ca03;text-shadow:-1px -1px 1px rgba(0,0,0,0.3);font-size:16px;border-radius:3px;-webkit-border-radius:3px;-moz-border-radius:3px;padding:0;width:23px;height:23px;margin-right:3px}#aloha-CropNResize-btns button.cnr-crop-apply{padding-left:2px}#aloha-CropNResize-btns button.cnr-crop-cancel{color:#c92404}.aloha .ui-resizable-se{width:16px;height:16px;background-position:-80px -224px!important}.aloha-image-box-active{-moz-box-shadow:0 2px 8px rgba(0,0,0,0.2);-webkit-box-shadow:0 2px 8px rgba(0,0,0,0.2);box-shadow:0 2px 8px rgba(0,0,0,0.2)}.aloha.aloha-toolbar .aloha-image-input-label .aloha-ui-label-text{display:inline-block;width:31px}.aloha-table tr.aloha-table-selectcolumn{line-height:.01em;height:12px!important}.aloha-table td.aloha-table-selectrow{width:25px!important}.aloha-editable div.aloha-table-wrapper,.aloha-table-wrapper div.aloha-table-cell-editable,.aloha-table-wrapper .aloha-table-leftuppercorner div,.aloha-table-wrapper tr.aloha-table-selectcolumn td,.aloha-table-wrapper td.aloha-table-selectrow,.aloha-table-wrapper div.aloha-editable-caption{margin:0;padding:0;border:0;background:0;outline:0 solid transparent;zoom:1}div.aloha-table-cell-editable{height:100%;min-height:100%;width:100%;z-index:99999}tr.aloha-table-selectcolumn td,td.aloha-table-selectrow{visibility:hidden}.aloha-editable-active tr.aloha-table-selectcolumn td,.aloha-editable-active td.aloha-table-selectrow{visibility:visible}.aloha-cell-selected{background-color:#80b5f2!important;color:#FFF}.aloha-table td.aloha-table-selectrow,.aloha-table tr.aloha-table-selectcolumn td{background-color:#d0d0d0}.aloha-table td.aloha-table-selectrow:hover,.aloha-table tr.aloha-table-selectcolumn td:hover{background-color:#ffe767}.aloha-table tr.aloha-table-selectcolumn td.aloha-table-leftuppercorner,.aloha-table tr.aloha-table-selectcolumn td.aloha-table-leftuppercorner:hover{cursor:default;background-color:transparent}.aloha-table td .aloha-table-cell-editable{cursor:text!important}.aloha-table tr.aloha-table-selectcolumn td{cursor:image-url("aloha/plugins/common/table/img/down.cur"),s-resize}.aloha-table td.aloha-table-selectrow{cursor:image-url("aloha/plugins/common/table/img/left.cur"),e-resize}.aloha-table-wrapper div.aloha-wai-red{background-image:image-url("aloha/plugins/common/table/img/wai-red.png")}.aloha-table-wrapper div.aloha-wai-green{background-image:image-url("aloha/plugins/common/table/img/wai-green.png")}.aloha-table td.aloha-table-leftuppercorner div{cursor:pointer!important}.aloha-table-createdialog{z-index:99999;position:absolute;background-color:#f0f0f0;border:1px solid #ccc;-moz-border-radius:2px;-webkit-border-radius:2px;border-radius:2px}.aloha-table-createdialog table{padding:0;margin:0}.aloha-table-createdialog table td{margin:0;padding:0;border:1px solid #afafaf;font-size:8px;width:15px;height:15px}.aloha-table-createdialog table td.hover{background-color:#1c94c4}.aloha-table-createdialog #table-size-info{text-align:center;font-size:.8em}.aloha-table-textarea{width:90%;height:100px;margin-left:5px;margin-right:5px}.aloha-table-label{margin-left:5px}.aloha .ui-state-default .aloha-icon-table-naturalfit{background-position:-432px 0}.aloha-cite-button{background:image-url("aloha/plugins/extra/cite/img/icon_cite.png") no-repeat!important}.aloha-cite-block-button{background:image-url("aloha/plugins/extra/cite/img/blockquote.png") no-repeat!important;border:1px solid none!important;border-radius:3px 3px 3px 3px;height:44px!important;width:54px!important}.aloha-cite-pressed{border:2px solid #3b73d7!important}.aloha-cite-panel-label{padding:5px}.aloha-cite-panel-btns{padding:5px}.aloha-cite-panel-btns button{width:100%}/*!
|
7
|
+
* Aloha Editor
|
8
|
+
* Author & Copyright (c) 2010 Gentics Software GmbH
|
9
|
+
* aloha-sales@gentics.com
|
10
|
+
* Licensed unter the terms of http://www.aloha-editor.com/license.html
|
11
|
+
*/.aloha-icon-formatless-paste{background:image-image-url("aloha/plugins/extra/formatlesspaste/img/button.png") no-repeat 0 0!important}/*!
|
12
|
+
* Aloha Editor
|
13
|
+
* Author & Copyright (c) 2011 Gentics Software GmbH
|
14
|
+
* aloha-sales@gentics.com
|
15
|
+
* Licensed unter the terms of http://www.aloha-editor.com/license.html
|
16
|
+
*/.aloha-icon-wai-lang{background:image-url("aloha/plugins/extra/wai-lang/img/button.png") no-repeat 0 0!important}.aloha-icon-wai-lang-remove{background:image-url("aloha/plugins/extra/wai-lang/img/remove-button.png") no-repeat 0 0!important}.aloha .aloha-wai-lang-img-item{height:18px}.aloha .aloha-wai-lang-img{margin:3px 5px 0 2px}.aloha .aloha-wai-lang-label-item{display:inline;font-weight:bold}/*!
|
17
|
+
* Aloha Editor
|
18
|
+
* Author & Copyright (c) 2010 Gentics Software GmbH
|
19
|
+
* aloha-sales@gentics.com
|
20
|
+
* Licensed unter the terms of http://www.aloha-editor.com/license.html
|
21
|
+
*/.aloha-icon-numerated-headers{background:image-url("aloha/plugins/extra/numerated-headers/img/headers.png") no-repeat 0 0!important}.aloha.aloha-ribbon{position:fixed;top:0;left:0;right:0}.aloha .aloha-ribbon-toolbar{position:relative;z-index:90000;display:none;padding:.2em .4em;border-top:1px solid #f0f0f0;background:#f0f0f0;box-shadow:0 0 5px rgba(0,0,0,0.1);-moz-border-radius:0;-khtml-border-radius:0;-webkit-border-radius:0;border-radius:0;background-image:linear-gradient(bottom,rgba(0,0,0,0.05) 50%,rgba(0,0,0,0.1) 90%);background-image:-o-linear-gradient(bottom,rgba(0,0,0,0.05) 50%,rgba(0,0,0,0.1) 90%);background-image:-moz-linear-gradient(bottom,rgba(0,0,0,0.05) 50%,rgba(0,0,0,0.1) 90%);background-image:-webkit-linear-gradient(bottom,rgba(0,0,0,0.05) 50%,rgba(0,0,0,0.1) 90%);background-image:-ms-linear-gradient(bottom,rgba(0,0,0,0.05) 50%,rgba(0,0,0,0.1) 90%)}.aloha .aloha-ribbon-toolbar .aloha-ui-menubutton-container{margin-left:4px}.aloha .aloha-ribbon-toolbar .aloha-ribbon-in,.aloha .aloha-ribbon-toolbar .aloha-ribbon-out{height:24px;width:24px;background-color:transparent;background-repeat:no-repeat;background-position:center center;border-color:transparent;border-width:1px!important}.aloha .aloha-ribbon-toolbar .aloha-ribbon-in:hover,.aloha .aloha-ribbon-toolbar .aloha-ribbon-out:hover{background-color:#f0f0f0;border-color:#bbb}.aloha .aloha-ribbon-toolbar .aloha-ribbon-in{float:right!important;background-image:image-url("aloha/plugins/extra/ribbon/img/fade-in.png")!important}.aloha .aloha-ribbon-toolbar .aloha-ribbon-out{float:left;background-image:image-url("aloha/plugins/extra/ribbon/img/fade-out.png")!important}.aloha .aloha-ribbon-icon{float:left}/*!
|
22
|
+
* Aloha Editor
|
23
|
+
* Author & Copyright (c) 2010 Gentics Software GmbH
|
24
|
+
* aloha-sales@gentics.com
|
25
|
+
* Licensed unter the terms of http://www.aloha-editor.com/license.html
|
26
|
+
*/.aloha-headerids-label{margin:5px;display:block}.aloha-headerids-input{margin-right:5px}/*!
|
27
|
+
* Aloha Editor
|
28
|
+
* Author & Copyright (c) 2010 Gentics Software GmbH
|
29
|
+
* aloha-sales@gentics.com
|
30
|
+
* Licensed unter the terms of http://www.aloha-editor.com/license.html
|
31
|
+
*/.aloha-icon-metaview{background:image-url("aloha/plugins/extra/metaview/img/button.png") no-repeat 0 0!important}.aloha-metaview p,.aloha-metaview pre,.aloha-metaview h1,.aloha-metaview h2,.aloha-metaview h3,.aloha-metaview h4,.aloha-metaview h5,.aloha-metaview h6,.aloha-metaview blockquote,.aloha-metaview ol,.aloha-metaview ul,.aloha-metaview div,.aloha-metaview dl,.aloha-metaview dt,.aloha-metaview dd,.aloha-metaview td,.aloha-metaview th,.aloha-metaview table,.aloha-metaview caption,.aloha-metaview hr{background:#fff no-repeat 2px 2px;padding:8px 5px 5px;margin:10px;border:1px solid #ddd;min-height:1em}.aloha-metaview caption{margin-bottom:0}* .aloha-metaview p,* .aloha-metaview pre,* .aloha-metaview h1,* .aloha-metaview h2,* .aloha-metaview h3,* .aloha-metaview h4,* .aloha-metaview h5,* .aloha-metaview h6,* .aloha-metaview blockquote,* .aloha-metaview ol,* .aloha-metaview ul,* .aloha-metaview div,* .aloha-metaview dl,* .aloha-metaview dt,* .aloha-metaview dd,* .aloha-metaview td,* .aloha-metaview th,* .aloha-metaview table,* .aloha-metaview caption,* .aloha-metaview hr{min-height:auto}.aloha-metaview ul,.aloha-metaview ol{border-left:20px solid #ddd;padding:0 5px}.aloha-metaview p{background-image:image-url("aloha/plugins/extra/metaview/img/p.png")}.aloha-metaview pre{background-image:image-url("aloha/plugins/extra/metaview/img/pre.png")}.aloha-metaview h1{background-image:image-url("aloha/plugins/extra/metaview/img/h1.png")}.aloha-metaview h2{background-image:image-url("aloha/plugins/extra/metaview/img/h2.png")}.aloha-metaview h3{background-image:image-url("aloha/plugins/extra/metaview/img/h3.png")}.aloha-metaview h4{background-image:image-url("aloha/plugins/extra/metaview/img/h4.png")}.aloha-metaview h5{background-image:image-url("aloha/plugins/extra/metaview/img/h5.png")}.aloha-metaview h6{background-image:image-url("aloha/plugins/extra/metaview/img/h6.png")}.aloha-metaview blockquote{background-image:image-url("aloha/plugins/extra/metaview/img/blockquote.png")}.aloha-metaview div{background-image:image-url("aloha/plugins/extra/metaview/img/div.png")}.aloha-metaview dl{background-image:image-url("aloha/plugins/extra/metaview/img/dl.png")}.aloha-metaview dt{background-image:image-url("aloha/plugins/extra/metaview/img/dt.png")}.aloha-metaview dd{background-image:image-url("aloha/plugins/extra/metaview/img/dd.png")}.aloha-metaview td{background-image:image-url("aloha/plugins/extra/metaview/img/td.png")}.aloha-metaview th{background-image:image-url("aloha/plugins/extra/metaview/img/th.png")}.aloha-metaview table{background-image:image-url("aloha/plugins/extra/metaview/img/table.png")}.aloha-metaview caption{background-image:image-url("aloha/plugins/extra/metaview/img/caption.png")}.aloha-metaview hr{background-image:image-url("aloha/plugins/extra/metaview/img/hr.png")}.aloha-metaview abbr[title],.aloha-metaview dfn[title]{border-bottom:1px dotted;cursor:help}.aloha-metaview [lang]{background-image:image-url("aloha/plugins/extra/wai-lang/img/button.png");padding-left:20px;border:1px dotted #ddd;background-color:#ccc;background-repeat:no-repeat;background-position:left center}.aloha-metaview q{background-image:image-url("aloha/plugins/extra/metaview/img/icon_cite.png");padding-left:20px;border:1px dotted #ddd;background-color:#ccc;background-repeat:no-repeat;background-position:left center}.aloha-metaview a{background-image:image-url("aloha/plugins/extra/metaview/img/anchor.png");padding-left:20px;border:1px dotted #ddd;background-color:#ccc;background-repeat:no-repeat;background-position:left center}.aloha-color-picker-overlay{position:absolute;display:none;float:left;padding:0;top:0;left:0;border:1px solid #afafaf!important;border-collapse:collapse!important;background:#fff;z-index:999999}.aloha-color-picker-overlay{border-collapse:collapse}.aloha-color-picker-overlay td{font-size:1em!important;padding:.25em!important;background-color:#fff;border:0}.aloha-color-picker-overlay td div{width:1em!important;height:1em!important;border:1px solid #afafaf!important;padding:.05em!important}.aloha-color-picker-overlay td.mouseover div{border:1px solid #000!important;cursor:pointer}.aloha-color-picker-overlay td.focused div{border:1px solid #000!important}.aloha-color-picker-overlay .removecolor{line-height:17px}.aloha .ui-icon.aloha-icon-colorpicker{background-color:#fff}.greenborder{background-color:#9cf}
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1,14 @@
|
|
1
|
+
// To be included in the compiled aloha-full.js (which includes
|
2
|
+
// requirejs and jQuery) immediately after jQuery. This will prevent
|
3
|
+
// Aloha's jQuery from polluting the global namespace.
|
4
|
+
// TODO: requirejs shouldn't leak either
|
5
|
+
// NB: this is only for aloha-full.js to preserve behaviour with the way
|
6
|
+
// older builds of aloha were done. It is now always preferred to use
|
7
|
+
// aloha-bare.js (which doesn't include either requirejs or jQuery) and
|
8
|
+
// let the implementer worry exactly how to set up jQuery and requirejs
|
9
|
+
// to suit his needs.
|
10
|
+
Aloha = window.Aloha || {};
|
11
|
+
Aloha.settings = Aloha.settings || {};
|
12
|
+
Aloha.settings = { sidebar: { disabled: true } };
|
13
|
+
// Restore the global $ and jQuery variables of your project's jQuery
|
14
|
+
Aloha.settings.jQuery = window.jQuery.noConflict(true);
|
@@ -0,0 +1,595 @@
|
|
1
|
+
/* aloha.js is part of Aloha Editor project http://aloha-editor.org
|
2
|
+
*
|
3
|
+
* Aloha Editor is a WYSIWYG HTML5 inline editing library and editor.
|
4
|
+
* Copyright (c) 2010-2012 Gentics Software GmbH, Vienna, Austria.
|
5
|
+
* Contributors http://aloha-editor.org/contribution.php
|
6
|
+
*
|
7
|
+
* Aloha Editor is free software; you can redistribute it and/or
|
8
|
+
* modify it under the terms of the GNU General Public License
|
9
|
+
* as published by the Free Software Foundation; either version 2
|
10
|
+
* of the License, or any later version.
|
11
|
+
*
|
12
|
+
* Aloha Editor is distributed in the hope that it will be useful,
|
13
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
14
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
15
|
+
* GNU General Public License for more details.
|
16
|
+
*
|
17
|
+
* You should have received a copy of the GNU General Public License
|
18
|
+
* along with this program; if not, write to the Free Software
|
19
|
+
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
20
|
+
*
|
21
|
+
* As an additional permission to the GNU GPL version 2, you may distribute
|
22
|
+
* non-source (e.g., minimized or compacted) forms of the Aloha-Editor
|
23
|
+
* source code without the copy of the GNU GPL normally required,
|
24
|
+
* provided you include this license notice and a URL through which
|
25
|
+
* recipients can access the Corresponding Source.
|
26
|
+
*/
|
27
|
+
(function (global) {
|
28
|
+
'use strict';
|
29
|
+
|
30
|
+
/**
|
31
|
+
* Initialization facilities.
|
32
|
+
*/
|
33
|
+
var Initialization = {
|
34
|
+
|
35
|
+
/**
|
36
|
+
* A list of all stages that are passed into the Initialization.start()
|
37
|
+
* function. Unless failure happens, every single one of these phases
|
38
|
+
* will be passed.
|
39
|
+
*
|
40
|
+
* @type {Array.<object>}
|
41
|
+
*/
|
42
|
+
phases: [],
|
43
|
+
|
44
|
+
/**
|
45
|
+
* Completed phases.
|
46
|
+
*
|
47
|
+
* This array grows as the initialization process progresses through
|
48
|
+
* the initialization phases. Each phases which is completed is pushed
|
49
|
+
* to the bottom of the list.
|
50
|
+
*
|
51
|
+
* @type {Array.<object>}
|
52
|
+
*/
|
53
|
+
completed: [],
|
54
|
+
|
55
|
+
/**
|
56
|
+
* Starts the initialization phases.
|
57
|
+
*
|
58
|
+
* @param {object.<object>} phases Initialization phases.
|
59
|
+
* @param {function} callback Callback function to be invoked when
|
60
|
+
* initialization is completed.
|
61
|
+
*/
|
62
|
+
start: function (phases, callback) {
|
63
|
+
Initialization.phases = Initialization.phases.concat(phases);
|
64
|
+
Initialization.proceed(0, phases, callback);
|
65
|
+
},
|
66
|
+
|
67
|
+
/**
|
68
|
+
* Proceeds to next initialization phase.
|
69
|
+
*
|
70
|
+
* @param {number} index The current initialization phase, as an index
|
71
|
+
* into `phases'.
|
72
|
+
* @param {Array.<object>} phases
|
73
|
+
* @param {function=} callback Callback function to invoke at the end
|
74
|
+
* of the initialization phases.
|
75
|
+
*/
|
76
|
+
proceed: function (index, phases, callback) {
|
77
|
+
if (index < phases.length) {
|
78
|
+
var phase = phases[index];
|
79
|
+
var next = function () {
|
80
|
+
Initialization.proceed(++index, phases, callback);
|
81
|
+
};
|
82
|
+
var event = function () {
|
83
|
+
Initialization.completed.push(phase);
|
84
|
+
if (phase.event) {
|
85
|
+
Aloha.trigger(phase.event);
|
86
|
+
}
|
87
|
+
};
|
88
|
+
if (phase.fn) {
|
89
|
+
phase.fn(event, next);
|
90
|
+
} else {
|
91
|
+
event();
|
92
|
+
next();
|
93
|
+
}
|
94
|
+
} else if (callback) {
|
95
|
+
callback();
|
96
|
+
}
|
97
|
+
},
|
98
|
+
|
99
|
+
/**
|
100
|
+
* Retreives an phase object whose `event' property string matches the
|
101
|
+
* given event name.
|
102
|
+
*
|
103
|
+
* @param {string} event The event name.
|
104
|
+
* @return {object} A phase object or null.
|
105
|
+
*/
|
106
|
+
getPhaseByEvent: function (event) {
|
107
|
+
var i;
|
108
|
+
for (i = 0; i < Initialization.phases.length; i++) {
|
109
|
+
if (event === Initialization.phases[i].event) {
|
110
|
+
return Initialization.phases[i];
|
111
|
+
}
|
112
|
+
}
|
113
|
+
return null;
|
114
|
+
},
|
115
|
+
|
116
|
+
/**
|
117
|
+
* Given and the name of an event, returns a corresponding readiness
|
118
|
+
* state concerning what should be done with that event at the current
|
119
|
+
* stage in the initialization phase.
|
120
|
+
*
|
121
|
+
* @param {string} event Name of event.
|
122
|
+
* @return {string} One of either "immediate", "deferred", or "noraml".
|
123
|
+
*/
|
124
|
+
getReadiness: function (event) {
|
125
|
+
var i;
|
126
|
+
for (i = 0; i < Initialization.completed.length; i++) {
|
127
|
+
if (event === Initialization.completed[i].event) {
|
128
|
+
return 'immediate';
|
129
|
+
}
|
130
|
+
}
|
131
|
+
return Initialization.getPhaseByEvent(event) ? 'deferred'
|
132
|
+
: 'normal';
|
133
|
+
}
|
134
|
+
};
|
135
|
+
|
136
|
+
/**
|
137
|
+
* Gets the configuration for loading Aloha.
|
138
|
+
*
|
139
|
+
* If Aloha.settings.baseUrl is not specified, it will be taken from
|
140
|
+
* the first script element that has a data-aloha-plugins attribute,
|
141
|
+
* or, if there is no such script element, the first script element
|
142
|
+
* of which the src attribute matches /\/aloha.js$/.
|
143
|
+
*
|
144
|
+
* If Aloha.settings.plugins.load is not specified, it will be taken
|
145
|
+
* from the data-aloha-plugins attribute from the first script
|
146
|
+
* element carrying this attribute.
|
147
|
+
*
|
148
|
+
* @return
|
149
|
+
* A map with two properties:
|
150
|
+
* baseUrl - the path to aloha.js (this file).
|
151
|
+
* plugins - an array of plugins to load.
|
152
|
+
*/
|
153
|
+
function getLoadConfig() {
|
154
|
+
var scripts,
|
155
|
+
script,
|
156
|
+
plugins = Aloha.settings.plugins && Aloha.settings.plugins.load,
|
157
|
+
baseUrl = Aloha.settings.baseUrl,
|
158
|
+
pluginsAttr,
|
159
|
+
regexAlohaJs = /\/aloha.js(\?\S*)?$/,
|
160
|
+
regexStripFilename = /\/[^\/]*\.js$/,
|
161
|
+
i;
|
162
|
+
|
163
|
+
if (!plugins || !baseUrl) {
|
164
|
+
scripts = document.getElementsByTagName('script');
|
165
|
+
for (i = 0; i < scripts.length; i++) {
|
166
|
+
script = scripts[i];
|
167
|
+
pluginsAttr = script.getAttribute('data-aloha-plugins');
|
168
|
+
if (null != pluginsAttr) {
|
169
|
+
if (!plugins) {
|
170
|
+
plugins = pluginsAttr;
|
171
|
+
}
|
172
|
+
if (!baseUrl) {
|
173
|
+
baseUrl = script.src.replace(regexStripFilename, '');
|
174
|
+
}
|
175
|
+
break;
|
176
|
+
}
|
177
|
+
if (!baseUrl && regexAlohaJs.test(script.src)) {
|
178
|
+
baseUrl = script.src.replace(regexAlohaJs, '');
|
179
|
+
}
|
180
|
+
}
|
181
|
+
}
|
182
|
+
|
183
|
+
if (typeof plugins === 'string' && plugins !== '') {
|
184
|
+
plugins = plugins.replace(/\s+/g, '').split(',');
|
185
|
+
}
|
186
|
+
|
187
|
+
return {
|
188
|
+
baseUrl: baseUrl,
|
189
|
+
plugins: plugins || []
|
190
|
+
};
|
191
|
+
}
|
192
|
+
|
193
|
+
function isDeferInit() {
|
194
|
+
var scripts = document.getElementsByTagName('script');
|
195
|
+
for (var i = 0; i < scripts.length; i++) {
|
196
|
+
var attr = scripts[i].getAttribute('data-aloha-defer-init');
|
197
|
+
if ("true" === attr) {
|
198
|
+
return true;
|
199
|
+
}
|
200
|
+
}
|
201
|
+
return false;
|
202
|
+
}
|
203
|
+
|
204
|
+
/**
|
205
|
+
* Extends the given map with plugin specific requirejs path configuration.
|
206
|
+
*
|
207
|
+
* plugin-name: bundle-path/plugin-name/lib
|
208
|
+
* plugin-name/nls: bundle-path/plugin-name/nls
|
209
|
+
* plugin-name/css: bundle-path/plugin-name/css
|
210
|
+
* plugin-name/vendor: bundle-path/plugin-name/vendor
|
211
|
+
* plugin-name/res: bundle-path/plugin-name/res
|
212
|
+
*/
|
213
|
+
function mergePluginPaths(paths, bundlePath, pluginName) {
|
214
|
+
var resourceFolders = ['nls', 'css', 'vendor', 'res'],
|
215
|
+
resourceFolder,
|
216
|
+
i;
|
217
|
+
paths[pluginName] = bundlePath + '/' + pluginName + '/lib';
|
218
|
+
for (i = 0; i < resourceFolders.length; i++) {
|
219
|
+
var resourceFolder = resourceFolders[i];
|
220
|
+
paths[pluginName + '/' + resourceFolder]
|
221
|
+
= bundlePath + '/' + pluginName + '/' + resourceFolder;
|
222
|
+
}
|
223
|
+
}
|
224
|
+
|
225
|
+
/**
|
226
|
+
* Gets the configuration for loading the given plugins.
|
227
|
+
*
|
228
|
+
* The bundle-path for each given plugin is determined in the following manner:
|
229
|
+
* Aloha.settings.basePath + (Aloha.settings.bundles[bundleName] || "../plugins/bundle-name")
|
230
|
+
*
|
231
|
+
* @param plugins
|
232
|
+
* An array of plugins to get the configuration for in the
|
233
|
+
* form "bundle-name/plugin-name"
|
234
|
+
* @return
|
235
|
+
* A map with the following properties:
|
236
|
+
* paths - requirejs path configuration for each plugin (mergePluginPaths())
|
237
|
+
* entryPoints - an array of requirejs entry points ("link/link-plugin")
|
238
|
+
* baseUrlByName - ("link" => "bundle-path/link")
|
239
|
+
* names - an array of plugin names (the same as the given
|
240
|
+
* array with the bundle-name stripped)
|
241
|
+
*/
|
242
|
+
function getPluginLoadConfig(plugins) {
|
243
|
+
var paths = {},
|
244
|
+
entryPoints = [],
|
245
|
+
names = [],
|
246
|
+
baseUrlByName = {},
|
247
|
+
map = {},
|
248
|
+
parts,
|
249
|
+
bundleName,
|
250
|
+
pluginName,
|
251
|
+
basePath = Aloha.settings.basePath || '',
|
252
|
+
bundlePath,
|
253
|
+
bundles = Aloha.settings.bundles || {},
|
254
|
+
i;
|
255
|
+
for (i = 0; i < plugins.length; i++) {
|
256
|
+
parts = plugins[i].split('/');
|
257
|
+
bundleName = parts[0];
|
258
|
+
pluginName = parts[1];
|
259
|
+
if (bundles[bundleName]) {
|
260
|
+
bundlePath = basePath + bundles[bundleName];
|
261
|
+
} else {
|
262
|
+
bundlePath = basePath + '../plugins/' + bundleName;
|
263
|
+
}
|
264
|
+
mergePluginPaths(paths, bundlePath, pluginName);
|
265
|
+
baseUrlByName[pluginName] = bundlePath + '/' + pluginName;
|
266
|
+
entryPoints.push(pluginName + '/' + pluginName + '-plugin');
|
267
|
+
map[pluginName] = {'jquery': 'aloha/jquery'};
|
268
|
+
}
|
269
|
+
return {
|
270
|
+
paths: paths,
|
271
|
+
entryPoints: entryPoints,
|
272
|
+
baseUrlByName: baseUrlByName,
|
273
|
+
names: names,
|
274
|
+
map: map
|
275
|
+
};
|
276
|
+
}
|
277
|
+
|
278
|
+
/**
|
279
|
+
* Merges properites of all given arguments into a new one.
|
280
|
+
* Duplicate properties will be "seived" out.
|
281
|
+
* Works in a similar way to jQuery.extend.
|
282
|
+
* Necessary because we must not assume that jquery was already
|
283
|
+
* loaded.
|
284
|
+
*/
|
285
|
+
function mergeObjects () {
|
286
|
+
var clone = {};
|
287
|
+
var objects = Array.prototype.slice.call(arguments);
|
288
|
+
var name;
|
289
|
+
var i;
|
290
|
+
var obj;
|
291
|
+
for (i = 0; i < objects.length; i++) {
|
292
|
+
obj = objects[i];
|
293
|
+
for (name in obj) {
|
294
|
+
if (obj.hasOwnProperty(name)) {
|
295
|
+
clone[name] = objects[i][name];
|
296
|
+
}
|
297
|
+
}
|
298
|
+
}
|
299
|
+
return clone;
|
300
|
+
}
|
301
|
+
|
302
|
+
function createDefine(name, module) {
|
303
|
+
define(name, function () {
|
304
|
+
return module;
|
305
|
+
});
|
306
|
+
}
|
307
|
+
|
308
|
+
function load() {
|
309
|
+
Aloha.features = {};
|
310
|
+
Aloha.defaults = {};
|
311
|
+
Aloha.settings = Aloha.settings || {};
|
312
|
+
Aloha.initialize = Initialization.start;
|
313
|
+
|
314
|
+
var loadConfig = getLoadConfig();
|
315
|
+
var pluginConfig = getPluginLoadConfig(loadConfig.plugins);
|
316
|
+
|
317
|
+
Aloha.settings.baseUrl = loadConfig.baseUrl;
|
318
|
+
Aloha.settings.loadedPlugins = pluginConfig.names;
|
319
|
+
Aloha.settings._pluginBaseUrlByName = pluginConfig.baseUrlByName;
|
320
|
+
|
321
|
+
var coreMap = {
|
322
|
+
'aloha': {'jquery': 'aloha/jquery'},
|
323
|
+
'aloha/jquery': {'jquery': 'jquery'}, // avoid a circular dependency
|
324
|
+
'jqueryui': {'jquery': 'aloha/jquery'},
|
325
|
+
'vendor': {'jquery': 'aloha/jquery'},
|
326
|
+
'util': {'jquery': 'aloha/jquery'},
|
327
|
+
'RepositoryBrowser': {'jquery': 'aloha/jquery'},
|
328
|
+
'jstree': {'jquery': 'aloha/jquery'},
|
329
|
+
'jqgrid': {'jquery': 'aloha/jquery'},
|
330
|
+
'jqgrid-locale-en': {'jquery': 'aloha/jquery'},
|
331
|
+
'jqgrid-locale-de': {'jquery': 'aloha/jquery'},
|
332
|
+
'jquery-layout': {'jquery': 'aloha/jquery'}
|
333
|
+
};
|
334
|
+
|
335
|
+
/**
|
336
|
+
* Map the 'jquery' module to the 'aloha/jquery' module. This
|
337
|
+
* enforces Aloha modules to always use aloha/jquery instead of
|
338
|
+
* jquery. One could also just write
|
339
|
+
* define(['aloha/jquery']... to require Aloha's jquery, but
|
340
|
+
* this is problematic in vendor files that don't know anything
|
341
|
+
* about Aloha. Each key in the map is either the module name,
|
342
|
+
* or the firs part of the module name. For example, the mapping
|
343
|
+
* under the key 'aloha' will take effect for all modules with
|
344
|
+
* names like aloha/xxx. When a new 'paths' entry is added
|
345
|
+
* (browserPaths or other), an entry should also be added the
|
346
|
+
* moduleMap to rename the jquery dependency.
|
347
|
+
* See also define('aloha/jquery', ... below.
|
348
|
+
*/
|
349
|
+
var moduleMap = mergeObjects(coreMap, pluginConfig.map)
|
350
|
+
|
351
|
+
var defaultConfig = {
|
352
|
+
context: 'aloha',
|
353
|
+
config: {
|
354
|
+
i18n: {
|
355
|
+
locale: Aloha.settings.locale || 'en'
|
356
|
+
}
|
357
|
+
},
|
358
|
+
baseUrl: Aloha.settings.baseUrl,
|
359
|
+
map: moduleMap
|
360
|
+
};
|
361
|
+
|
362
|
+
var DependencyManagement = global.__DEPS__ || (global.__DEPS__ = {});
|
363
|
+
|
364
|
+
DependencyManagement.lang = defaultConfig.locale;
|
365
|
+
|
366
|
+
var defaultPaths = {
|
367
|
+
jquery: 'vendor/jquery-1.7.2',
|
368
|
+
jqueryui: 'vendor/jquery-ui-1.9.0.custom-aloha'
|
369
|
+
};
|
370
|
+
|
371
|
+
var browserPaths = {
|
372
|
+
PubSub: 'vendor/pubsub/js/pubsub-unminified',
|
373
|
+
'Class': 'vendor/class',
|
374
|
+
RepositoryBrowser: 'vendor/repository-browser/js/repository-browser-unminified',
|
375
|
+
jstree: 'vendor/jquery.jstree', // Mutates jquery
|
376
|
+
jqgrid: 'vendor/jquery.jqgrid', // Mutates jquery
|
377
|
+
'jquery-layout': 'vendor/jquery.layout-1.3.0-rc30.7', // Mutates jquery
|
378
|
+
'jqgrid-locale-en': 'vendor/grid.locale.en', // Mutates jqgrid
|
379
|
+
'jqgrid-locale-de': 'vendor/grid.locale.de', // Mutates jqgrid
|
380
|
+
'repository-browser-i18n-de': 'vendor/repository-browser/js/repository-browser-unminified',
|
381
|
+
'repository-browser-i18n-en': 'vendor/repository-browser/js/repository-browser-unminified'
|
382
|
+
};
|
383
|
+
|
384
|
+
var requireConfig = mergeObjects(
|
385
|
+
defaultConfig,
|
386
|
+
Aloha.settings.requireConfig
|
387
|
+
);
|
388
|
+
|
389
|
+
requireConfig.paths = mergeObjects(
|
390
|
+
defaultPaths,
|
391
|
+
browserPaths,
|
392
|
+
pluginConfig.paths,
|
393
|
+
requireConfig.paths
|
394
|
+
);
|
395
|
+
|
396
|
+
// Create define() wrappers that will provide the initialized objects
|
397
|
+
// that the user passes into Aloha via require() calls.
|
398
|
+
var predefinedModules = Aloha.settings.predefinedModules || {};
|
399
|
+
|
400
|
+
if (Aloha.settings.jQuery) {
|
401
|
+
predefinedModules.jquery = Aloha.settings.jQuery;
|
402
|
+
}
|
403
|
+
|
404
|
+
var moduleName;
|
405
|
+
for (moduleName in predefinedModules) if (predefinedModules.hasOwnProperty(moduleName)) {
|
406
|
+
createDefine(moduleName, predefinedModules[moduleName]);
|
407
|
+
delete requireConfig.paths[moduleName];
|
408
|
+
}
|
409
|
+
|
410
|
+
// Configure require and expose the Aloha.require.
|
411
|
+
var alohaRequire = require.config(requireConfig);
|
412
|
+
|
413
|
+
Aloha.require = function (callback) {
|
414
|
+
// Pass the Aloha object to the given callback.
|
415
|
+
if (1 === arguments.length && typeof callback === 'function') {
|
416
|
+
return alohaRequire(['aloha'], callback);
|
417
|
+
}
|
418
|
+
return alohaRequire.apply(this, arguments);
|
419
|
+
};
|
420
|
+
|
421
|
+
/**
|
422
|
+
*
|
423
|
+
* @param {string} event Name of event
|
424
|
+
* @param {function} fn Event handler
|
425
|
+
*/
|
426
|
+
Aloha.bind = function (event, fn) {
|
427
|
+
Aloha.require(['aloha/jquery'], function ($) {
|
428
|
+
// Because we will only need to load jQuery once
|
429
|
+
Aloha.bind = function (event, fn) {
|
430
|
+
switch(Initialization.getReadiness(event)) {
|
431
|
+
case 'deferred':
|
432
|
+
var phase = Initialization.getPhaseByEvent(event);
|
433
|
+
if (!phase.deferred) {
|
434
|
+
phase.deferred = $.Deferred();
|
435
|
+
}
|
436
|
+
phase.deferred.done(fn);
|
437
|
+
break;
|
438
|
+
case 'immediate':
|
439
|
+
fn();
|
440
|
+
break;
|
441
|
+
case 'normal':
|
442
|
+
$(Aloha, 'body').bind(event, fn);
|
443
|
+
break;
|
444
|
+
default:
|
445
|
+
throw 'Unknown readiness';
|
446
|
+
}
|
447
|
+
return this;
|
448
|
+
};
|
449
|
+
Aloha.bind(event, fn);
|
450
|
+
});
|
451
|
+
return this;
|
452
|
+
};
|
453
|
+
|
454
|
+
Aloha.trigger = function (type, data) {
|
455
|
+
Aloha.require(['aloha/jquery'], function ($) {
|
456
|
+
Aloha.trigger = function (type, data) {
|
457
|
+
var phase = Initialization.getPhaseByEvent(type);
|
458
|
+
if (phase) {
|
459
|
+
if (phase.deferred) {
|
460
|
+
$(phase.deferred.resolve);
|
461
|
+
phase.deferred = null;
|
462
|
+
}
|
463
|
+
}
|
464
|
+
$(Aloha, 'body').trigger(type, data);
|
465
|
+
return this;
|
466
|
+
};
|
467
|
+
Aloha.trigger(type, data);
|
468
|
+
});
|
469
|
+
return this;
|
470
|
+
};
|
471
|
+
|
472
|
+
Aloha.unbind = function (typeOrEvent) {
|
473
|
+
Aloha.require(['aloha/jquery'], function ($) {
|
474
|
+
Aloha.unbind = function (typeOrEvent) {
|
475
|
+
$(Aloha, 'body').unbind(typeOrEvent);
|
476
|
+
};
|
477
|
+
Aloha.unbind(typeOrEvent);
|
478
|
+
});
|
479
|
+
};
|
480
|
+
|
481
|
+
Aloha.ready = function (fn) {
|
482
|
+
this.bind('aloha-ready', fn);
|
483
|
+
return this;
|
484
|
+
};
|
485
|
+
|
486
|
+
/**
|
487
|
+
* This makes sure that all Aloha modules will receive the same jQuery.
|
488
|
+
*
|
489
|
+
* This is a workaround for when a user includes his own
|
490
|
+
* jQuery _after_ aloha.js has been loaded.
|
491
|
+
*
|
492
|
+
* If multiple 'jquery's are included in the page, each version
|
493
|
+
* will make its own call to define(), and depending on when an
|
494
|
+
* Aloha module is loaded, it may receive a different
|
495
|
+
* 'jquery'. However, 'aloha/jquery' will not be redefined and
|
496
|
+
* will therefore point always to only one particular version.
|
497
|
+
*
|
498
|
+
* !!Important!! to be certain that 'aloha/jquery' points to
|
499
|
+
* the jQuery intended for Aloha, it can't be loaded
|
500
|
+
* dynamically, because if a user loads his own jQuery after
|
501
|
+
* aloha.js, then there is no way to tell whether it is the
|
502
|
+
* user's jQuery or Aloha's jQuery that has finished
|
503
|
+
* loading. Instead, jQuery must be loaded before aloha.js and
|
504
|
+
* passed in to us.
|
505
|
+
*/
|
506
|
+
var jQueryThatWasPassedToUs = Aloha.settings.jQuery;
|
507
|
+
define('aloha/jquery', ['jquery'], function ($) {
|
508
|
+
// We prefer Aloha.settings.jQuery, since a dynamically loaded
|
509
|
+
// jQuery may have been redefined by a user's jQuery.
|
510
|
+
return jQueryThatWasPassedToUs || $;
|
511
|
+
});
|
512
|
+
|
513
|
+
// Initialize this early so that the user doesn't have to use
|
514
|
+
// Aloha.ready().
|
515
|
+
Aloha.jQuery = jQueryThatWasPassedToUs;
|
516
|
+
|
517
|
+
define('aloha', [
|
518
|
+
'aloha/jquery',
|
519
|
+
'util/json2',
|
520
|
+
'aloha/rangy-core',
|
521
|
+
'util/class',
|
522
|
+
'util/lang',
|
523
|
+
'util/range',
|
524
|
+
'util/dom',
|
525
|
+
'aloha/core',
|
526
|
+
'aloha/editable',
|
527
|
+
'aloha/console',
|
528
|
+
'aloha/markup',
|
529
|
+
'aloha/plugin',
|
530
|
+
'aloha/selection',
|
531
|
+
'aloha/command',
|
532
|
+
'aloha/jquery.aloha',
|
533
|
+
'aloha/sidebar',
|
534
|
+
'util/position',
|
535
|
+
'aloha/repositorymanager',
|
536
|
+
'aloha/repository',
|
537
|
+
'aloha/repositoryobjects',
|
538
|
+
'aloha/contenthandlermanager'
|
539
|
+
], function($) {
|
540
|
+
Aloha.features.jquery = true;
|
541
|
+
|
542
|
+
// Set it again in case jQuery was loaded asynchronously.
|
543
|
+
Aloha.jQuery = $;
|
544
|
+
|
545
|
+
// Some core files provide default settings in Aloha.defaults.
|
546
|
+
Aloha.settings = $.extendObjects(true, {}, Aloha.defaults,
|
547
|
+
Aloha.settings);
|
548
|
+
|
549
|
+
return Aloha;
|
550
|
+
});
|
551
|
+
|
552
|
+
// TODO aloha should not make the require call itself. Instead, user
|
553
|
+
// code should require and initialize aloha.
|
554
|
+
require(requireConfig, ['aloha', 'aloha/jquery'], function (Aloha, $) {
|
555
|
+
require(requireConfig, pluginConfig.entryPoints, function () {
|
556
|
+
$(function () {
|
557
|
+
// Rangy must be initialized only after the body is
|
558
|
+
// available since it accesses the body element during
|
559
|
+
// initialization.
|
560
|
+
window.rangy.init();
|
561
|
+
|
562
|
+
// The same for Aloha, but probably only because it depends
|
563
|
+
// on rangy.
|
564
|
+
Aloha.init();
|
565
|
+
});
|
566
|
+
});
|
567
|
+
});
|
568
|
+
} // end load()
|
569
|
+
|
570
|
+
global.Aloha = global.Aloha || {};
|
571
|
+
if (global.Aloha.deferInit || isDeferInit()) {
|
572
|
+
global.Aloha.deferInit = load;
|
573
|
+
} else {
|
574
|
+
// Unless init is deferred above, aloha mus be loaded
|
575
|
+
// immediately in the development version, but later in the
|
576
|
+
// compiled version. The reason loading must be delayed in the
|
577
|
+
// compiled version is that the "include" directive in the r.js
|
578
|
+
// build profile, which lists the plugins that will be compiled
|
579
|
+
// into aloha.js, will include the plugins *after* this
|
580
|
+
// file. Since the require() call that loads the plugins is in
|
581
|
+
// this file, it will not see any of the plugin's defines that
|
582
|
+
// come after this file. The call to Aloha._load is only made in
|
583
|
+
// compiled mode in closure-end.frag. The call to load() below
|
584
|
+
// is only made in development mode because the excludeStart and
|
585
|
+
// excludeEnd r.js pragmas will exclude everything inbetween in
|
586
|
+
// the compiled version.
|
587
|
+
// TODO ideally the bootstrap file should not make the require
|
588
|
+
// call at all. Instead, user code should require and
|
589
|
+
// initialize aloha.
|
590
|
+
Aloha._load = load;
|
591
|
+
//>>excludeStart("alohaLoadInEndClosure", pragmas.alohaLoadInEndClosure);
|
592
|
+
load();
|
593
|
+
//>>excludeEnd("alohaLoadInEndClosure");
|
594
|
+
}
|
595
|
+
}(window));
|