locomotive-aloha-rails 0.20.1
Sign up to get free protection for your applications and to get access to all the features.
- data/LICENSE +18 -0
- data/README.md +48 -0
- data/Rakefile +60 -0
- data/app/assets/javascripts/aloha/preinit.js.erb +1 -0
- data/app/assets/javascripts/aloha.js +2 -0
- data/lib/aloha/rails/engine.rb +9 -0
- data/lib/aloha/rails/sprockets_monkeypatch.rb +13 -0
- data/lib/aloha/rails/version.rb +7 -0
- data/lib/aloha/rails.rb +3 -0
- data/lib/aloha-rails.rb +1 -0
- data/vendor/assets/javascripts/aloha/css/aloha-core.css +44 -0
- data/vendor/assets/javascripts/aloha/css/aloha-sidebar.css +284 -0
- data/vendor/assets/javascripts/aloha/css/aloha.css +7774 -0
- data/vendor/assets/javascripts/aloha/css/ext-aloha-reset.css +33 -0
- data/vendor/assets/javascripts/aloha/css/ext-aloha.css +357 -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-big.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/fade-in.png +0 -0
- data/vendor/assets/javascripts/aloha/img/fade-out.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/command.js +246 -0
- data/vendor/assets/javascripts/aloha/lib/aloha/console.js +330 -0
- data/vendor/assets/javascripts/aloha/lib/aloha/contenthandlermanager.js +65 -0
- data/vendor/assets/javascripts/aloha/lib/aloha/core.js +560 -0
- data/vendor/assets/javascripts/aloha/lib/aloha/ecma5.js +194 -0
- data/vendor/assets/javascripts/aloha/lib/aloha/ecma5shims.js +280 -0
- data/vendor/assets/javascripts/aloha/lib/aloha/editable.js +854 -0
- data/vendor/assets/javascripts/aloha/lib/aloha/engine.js +8306 -0
- data/vendor/assets/javascripts/aloha/lib/aloha/ext-alohaproxy.js +86 -0
- data/vendor/assets/javascripts/aloha/lib/aloha/ext-alohareader.js +50 -0
- data/vendor/assets/javascripts/aloha/lib/aloha/ext-alohatreeloader.js +77 -0
- data/vendor/assets/javascripts/aloha/lib/aloha/ext.js +32 -0
- data/vendor/assets/javascripts/aloha/lib/aloha/floatingmenu.js +1304 -0
- data/vendor/assets/javascripts/aloha/lib/aloha/ierange-m2.js +546 -0
- data/vendor/assets/javascripts/aloha/lib/aloha/jquery.aloha.js +324 -0
- data/vendor/assets/javascripts/aloha/lib/aloha/jquery.js +24 -0
- data/vendor/assets/javascripts/aloha/lib/aloha/jquery.patch.js +115 -0
- data/vendor/assets/javascripts/aloha/lib/aloha/markup.js +977 -0
- data/vendor/assets/javascripts/aloha/lib/aloha/message.js +115 -0
- data/vendor/assets/javascripts/aloha/lib/aloha/nls/de/i18n.js +10 -0
- data/vendor/assets/javascripts/aloha/lib/aloha/nls/i18n.js +20 -0
- data/vendor/assets/javascripts/aloha/lib/aloha/observable.js +106 -0
- data/vendor/assets/javascripts/aloha/lib/aloha/plugin.js +276 -0
- data/vendor/assets/javascripts/aloha/lib/aloha/pluginmanager.js +146 -0
- data/vendor/assets/javascripts/aloha/lib/aloha/rangy-core.js +3242 -0
- data/vendor/assets/javascripts/aloha/lib/aloha/registry.js +59 -0
- data/vendor/assets/javascripts/aloha/lib/aloha/repository.js +241 -0
- data/vendor/assets/javascripts/aloha/lib/aloha/repositorymanager.js +570 -0
- data/vendor/assets/javascripts/aloha/lib/aloha/repositoryobjects.js +146 -0
- data/vendor/assets/javascripts/aloha/lib/aloha/selection.js +2083 -0
- data/vendor/assets/javascripts/aloha/lib/aloha/sidebar.js +1133 -0
- data/vendor/assets/javascripts/aloha/lib/aloha/ui-attributefield.js +530 -0
- data/vendor/assets/javascripts/aloha/lib/aloha/ui-browser.js +214 -0
- data/vendor/assets/javascripts/aloha/lib/aloha/ui.js +889 -0
- data/vendor/assets/javascripts/aloha/lib/aloha-bootstrap.js +27645 -0
- data/vendor/assets/javascripts/aloha/lib/aloha.js +88750 -0
- data/vendor/assets/javascripts/aloha/lib/css.js +313 -0
- data/vendor/assets/javascripts/aloha/lib/i18n.js +153 -0
- data/vendor/assets/javascripts/aloha/lib/jquery-plugin.js +46 -0
- data/vendor/assets/javascripts/aloha/lib/order.js +140 -0
- data/vendor/assets/javascripts/aloha/lib/require.js +2013 -0
- data/vendor/assets/javascripts/aloha/lib/text.js +262 -0
- data/vendor/assets/javascripts/aloha/lib/util/class.js +80 -0
- data/vendor/assets/javascripts/aloha/lib/util/dom.js +1673 -0
- data/vendor/assets/javascripts/aloha/lib/util/json2.js +481 -0
- data/vendor/assets/javascripts/aloha/lib/util/lang.js +66 -0
- data/vendor/assets/javascripts/aloha/lib/util/position.js +158 -0
- data/vendor/assets/javascripts/aloha/lib/util/range.js +923 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/adapter/jquery/ext-jquery-adapter-debug.js +2470 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/adapter/jquery/ext-jquery-adapter.js +7 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/ext-all-debug.js +47684 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/ext-all.js +13 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/gpl-3.0.txt +674 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/license.txt +42 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/charts.swf +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/css/ext-all.css +5903 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/css/ext-all.less +6795 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/css/xtheme-gray.css +1692 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/expressinstall.swf +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/box/corners-blue.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/box/corners.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/box/l-blue.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/box/l.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/box/r-blue.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/box/r.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/box/tb-blue.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/box/tb.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/button/arrow.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/button/btn.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/button/group-cs.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/button/group-lr.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/button/group-tb.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/button/s-arrow-b-noline.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/button/s-arrow-b.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/button/s-arrow-bo.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/button/s-arrow-noline.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/button/s-arrow-o.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/button/s-arrow.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/dd/drop-add.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/dd/drop-no.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/dd/drop-yes.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/editor/tb-sprite.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/form/checkbox.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/form/clear-trigger.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/form/clear-trigger.psd +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/form/date-trigger.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/form/date-trigger.psd +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/form/error-tip-corners.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/form/exclamation.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/form/radio.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/form/search-trigger.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/form/search-trigger.psd +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/form/text-bg.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/form/trigger-square.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/form/trigger-square.psd +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/form/trigger-tpl.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/form/trigger.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/form/trigger.psd +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/gradient-bg.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/grid/arrow-left-white.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/grid/arrow-right-white.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/grid/col-move-bottom.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/grid/col-move-top.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/grid/columns.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/grid/dirty.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/grid/done.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/grid/drop-no.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/grid/drop-yes.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/grid/footer-bg.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/grid/grid-blue-hd.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/grid/grid-blue-split.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/grid/grid-hrow.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/grid/grid-loading.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/grid/grid-split.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/grid/grid-vista-hd.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/grid/grid3-hd-btn.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/grid/grid3-hrow-over.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/grid/grid3-hrow.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/grid/grid3-special-col-bg.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/grid/grid3-special-col-sel-bg.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/grid/group-by.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/grid/group-collapse.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/grid/group-expand-sprite.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/grid/group-expand.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/grid/hd-pop.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/grid/hmenu-asc.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/grid/hmenu-desc.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/grid/hmenu-lock.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/grid/hmenu-lock.png +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/grid/hmenu-unlock.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/grid/hmenu-unlock.png +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/grid/invalid_line.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/grid/loading.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/grid/mso-hd.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/grid/nowait.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/grid/page-first-disabled.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/grid/page-first.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/grid/page-last-disabled.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/grid/page-last.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/grid/page-next-disabled.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/grid/page-next.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/grid/page-prev-disabled.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/grid/page-prev.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/grid/pick-button.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/grid/refresh.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/grid/row-check-sprite.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/grid/row-expand-sprite.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/grid/row-over.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/grid/row-sel.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/grid/sort-hd.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/grid/sort_asc.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/grid/sort_desc.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/grid/wait.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/layout/collapse.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/layout/expand.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/layout/gradient-bg.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/layout/mini-bottom.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/layout/mini-left.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/layout/mini-right.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/layout/mini-top.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/layout/ns-collapse.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/layout/ns-expand.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/layout/panel-close.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/layout/panel-title-bg.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/layout/panel-title-light-bg.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/layout/stick.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/layout/stuck.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/layout/tab-close-on.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/layout/tab-close.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/menu/checked.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/menu/group-checked.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/menu/item-over.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/menu/menu-parent.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/menu/menu.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/menu/unchecked.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/panel/corners-sprite.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/panel/left-right.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/panel/light-hd.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/panel/tool-sprite-tpl.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/panel/tool-sprites.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/panel/tools-sprites-trans.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/panel/top-bottom.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/panel/top-bottom.png +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/panel/white-corners-sprite.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/panel/white-left-right.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/panel/white-top-bottom.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/progress/progress-bg.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/qtip/bg.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/qtip/close.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/qtip/tip-anchor-sprite.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/qtip/tip-sprite.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/s.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/shadow-c.png +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/shadow-lr.png +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/shadow.png +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/shared/blue-loading.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/shared/calendar.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/shared/glass-bg.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/shared/hd-sprite.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/shared/large-loading.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/shared/left-btn.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/shared/loading-balls.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/shared/right-btn.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/shared/warning.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/sizer/e-handle-dark.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/sizer/e-handle.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/sizer/ne-handle-dark.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/sizer/ne-handle.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/sizer/nw-handle-dark.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/sizer/nw-handle.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/sizer/s-handle-dark.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/sizer/s-handle.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/sizer/se-handle-dark.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/sizer/se-handle.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/sizer/square.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/sizer/sw-handle-dark.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/sizer/sw-handle.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/slider/slider-bg.png +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/slider/slider-thumb.png +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/slider/slider-v-bg.png +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/slider/slider-v-thumb.png +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/tabs/scroll-left.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/tabs/scroll-right.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/tabs/scroller-bg.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/tabs/tab-btm-inactive-left-bg.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/tabs/tab-btm-inactive-right-bg.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/tabs/tab-btm-left-bg.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/tabs/tab-btm-over-left-bg.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/tabs/tab-btm-over-right-bg.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/tabs/tab-btm-right-bg.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/tabs/tab-close.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/tabs/tab-strip-bg.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/tabs/tab-strip-bg.png +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/tabs/tab-strip-btm-bg.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/tabs/tabs-sprite.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/toolbar/bg.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/toolbar/btn-arrow-light.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/toolbar/btn-arrow.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/toolbar/btn-over-bg.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/toolbar/gray-bg.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/toolbar/more.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/toolbar/tb-bg.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/toolbar/tb-btn-sprite.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/toolbar/tb-xl-btn-sprite.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/toolbar/tb-xl-sep.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/tree/arrows.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/tree/drop-add.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/tree/drop-between.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/tree/drop-no.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/tree/drop-over.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/tree/drop-under.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/tree/drop-yes.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/tree/elbow-end-minus-nl.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/tree/elbow-end-minus.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/tree/elbow-end-plus-nl.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/tree/elbow-end-plus.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/tree/elbow-end.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/tree/elbow-line.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/tree/elbow-minus-nl.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/tree/elbow-minus.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/tree/elbow-plus-nl.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/tree/elbow-plus.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/tree/elbow.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/tree/folder-open.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/tree/folder.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/tree/leaf.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/tree/loading.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/tree/s.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/window/icon-error.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/window/icon-info.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/window/icon-question.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/window/icon-warning.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/window/left-corners.png +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/window/left-corners.psd +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/window/left-right.png +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/window/left-right.psd +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/window/right-corners.png +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/window/right-corners.psd +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/window/top-bottom.png +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/window/top-bottom.psd +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/button/btn-arrow.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/button/btn-sprite.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/button/btn.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/button/group-cs.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/button/group-lr.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/button/group-tb.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/button/s-arrow-bo.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/button/s-arrow-o.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/form/clear-trigger.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/form/date-trigger.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/form/search-trigger.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/form/trigger-square.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/form/trigger.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/gradient-bg.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/grid/col-move-bottom.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/grid/col-move-top.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/grid/grid3-hd-btn.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/grid/grid3-hrow-over.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/grid/grid3-hrow-over2.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/grid/grid3-hrow.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/grid/grid3-hrow2.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/grid/grid3-special-col-bg.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/grid/grid3-special-col-bg2.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/grid/grid3-special-col-sel-bg.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/grid/group-collapse.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/grid/group-expand-sprite.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/grid/group-expand.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/grid/page-first.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/grid/page-last.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/grid/page-next.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/grid/page-prev.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/grid/refresh.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/grid/row-expand-sprite.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/grid/sort_asc.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/grid/sort_desc.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/menu/group-checked.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/menu/item-over-disabled.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/menu/item-over.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/menu/menu-parent.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/panel/corners-sprite.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/panel/left-right.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/panel/light-hd.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/panel/tool-sprite-tpl.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/panel/tool-sprites.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/panel/tools-sprites-trans.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/panel/top-bottom.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/panel/top-bottom.png +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/panel/white-corners-sprite.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/panel/white-left-right.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/panel/white-top-bottom.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/progress/progress-bg.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/qtip/bg.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/qtip/close.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/qtip/tip-anchor-sprite.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/qtip/tip-sprite.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/s.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/shared/hd-sprite.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/shared/left-btn.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/shared/right-btn.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/sizer/e-handle.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/sizer/ne-handle.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/sizer/nw-handle.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/sizer/s-handle.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/sizer/se-handle.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/sizer/square.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/sizer/sw-handle.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/slider/slider-thumb.png +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/slider/slider-v-thumb.png +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/tabs/scroll-left.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/tabs/scroll-right.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/tabs/scroller-bg.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/tabs/tab-btm-inactive-left-bg.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/tabs/tab-btm-inactive-right-bg.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/tabs/tab-btm-left-bg.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/tabs/tab-btm-over-left-bg.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/tabs/tab-btm-over-right-bg.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/tabs/tab-btm-right-bg.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/tabs/tab-close.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/tabs/tab-strip-bg.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/tabs/tab-strip-bg.png +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/tabs/tab-strip-btm-bg.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/tabs/tabs-sprite.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/toolbar/bg.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/toolbar/btn-arrow-light.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/toolbar/btn-arrow.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/toolbar/btn-over-bg.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/toolbar/gray-bg.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/toolbar/more.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/toolbar/tb-bg.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/toolbar/tb-btn-sprite.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/tree/arrows.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/tree/elbow-end-minus-nl.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/tree/elbow-end-minus.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/tree/elbow-end-plus-nl.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/tree/elbow-end-plus.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/window/icon-error.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/window/icon-info.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/window/icon-question.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/window/icon-warning.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/window/left-corners.png +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/window/left-corners.pspimage +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/window/left-right.png +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/window/right-corners.png +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/window/top-bottom.png +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/resources.jsb +507 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/jquery-1.6.1.js +8936 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/jquery.json-2.2.min.js +33 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/jquery.store.js +446 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/sanitize.js +267 -0
- data/vendor/assets/javascripts/aloha/plugins/common/abbr/css/abbr.css +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/abbr/lib/abbr-plugin.js +293 -0
- data/vendor/assets/javascripts/aloha/plugins/common/abbr/nls/de/i18n.js +1 -0
- data/vendor/assets/javascripts/aloha/plugins/common/abbr/nls/i18n.js +4 -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 +19 -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 +345 -0
- data/vendor/assets/javascripts/aloha/plugins/common/align/nls/en/i18n.js +1 -0
- data/vendor/assets/javascripts/aloha/plugins/common/align/nls/fr/i18n.js +1 -0
- data/vendor/assets/javascripts/aloha/plugins/common/align/nls/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 +51 -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 +104 -0
- data/vendor/assets/javascripts/aloha/plugins/common/block/lib/block.js +442 -0
- data/vendor/assets/javascripts/aloha/plugins/common/block/lib/blockcontenthandler.js +58 -0
- data/vendor/assets/javascripts/aloha/plugins/common/block/lib/blockmanager.js +242 -0
- data/vendor/assets/javascripts/aloha/plugins/common/block/lib/editor.js +209 -0
- data/vendor/assets/javascripts/aloha/plugins/common/block/lib/editormanager.js +34 -0
- data/vendor/assets/javascripts/aloha/plugins/common/block/lib/sidebarattributeeditor.js +119 -0
- data/vendor/assets/javascripts/aloha/plugins/common/block/package.json +11 -0
- data/vendor/assets/javascripts/aloha/plugins/common/characterpicker/css/characterpicker.css +38 -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 +227 -0
- data/vendor/assets/javascripts/aloha/plugins/common/characterpicker/nls/de/i18n.js +1 -0
- data/vendor/assets/javascripts/aloha/plugins/common/characterpicker/nls/i18n.js +4 -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 +15 -0
- data/vendor/assets/javascripts/aloha/plugins/common/commands/lib/inserthtml.js +107 -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/contenthandler-plugin.js +54 -0
- data/vendor/assets/javascripts/aloha/plugins/common/contenthandler/lib/genericcontenthandler.js +255 -0
- data/vendor/assets/javascripts/aloha/plugins/common/contenthandler/lib/oembedcontenthandler.js +276 -0
- data/vendor/assets/javascripts/aloha/plugins/common/contenthandler/lib/sanitizecontenthandler.js +136 -0
- data/vendor/assets/javascripts/aloha/plugins/common/contenthandler/lib/wordcontenthandler.js +279 -0
- data/vendor/assets/javascripts/aloha/plugins/common/contenthandler/package.json +1 -0
- data/vendor/assets/javascripts/aloha/plugins/common/format/css/format.css +8 -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 +303 -0
- data/vendor/assets/javascripts/aloha/plugins/common/format/nls/de/i18n.js +1 -0
- data/vendor/assets/javascripts/aloha/plugins/common/format/nls/eo/i18n.js +1 -0
- data/vendor/assets/javascripts/aloha/plugins/common/format/nls/fi/i18n.js +1 -0
- data/vendor/assets/javascripts/aloha/plugins/common/format/nls/fr/i18n.js +1 -0
- data/vendor/assets/javascripts/aloha/plugins/common/format/nls/i18n.js +10 -0
- data/vendor/assets/javascripts/aloha/plugins/common/format/nls/it/i18n.js +1 -0
- data/vendor/assets/javascripts/aloha/plugins/common/format/nls/pl/i18n.js +1 -0
- data/vendor/assets/javascripts/aloha/plugins/common/format/nls/ru/i18n.js +1 -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 +72 -0
- data/vendor/assets/javascripts/aloha/plugins/common/highlighteditables/package.json +1 -0
- data/vendor/assets/javascripts/aloha/plugins/common/horizontalruler/css/horizontalruler.css +4 -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 +55 -0
- data/vendor/assets/javascripts/aloha/plugins/common/horizontalruler/nls/de/i18n.js +1 -0
- data/vendor/assets/javascripts/aloha/plugins/common/horizontalruler/nls/i18n.js +4 -0
- data/vendor/assets/javascripts/aloha/plugins/common/image/AGPL3 +661 -0
- data/vendor/assets/javascripts/aloha/plugins/common/image/LICENSE +25 -0
- data/vendor/assets/javascripts/aloha/plugins/common/image/README.md +83 -0
- data/vendor/assets/javascripts/aloha/plugins/common/image/css/image.css +124 -0
- data/vendor/assets/javascripts/aloha/plugins/common/image/demo/crop.html +76 -0
- data/vendor/assets/javascripts/aloha/plugins/common/image/demo/crop.php +21 -0
- data/vendor/assets/javascripts/aloha/plugins/common/image/demo/cropnresize.jpg +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/image/demo/index.html +120 -0
- data/vendor/assets/javascripts/aloha/plugins/common/image/img/blank.jpg +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-plugin.js +1615 -0
- data/vendor/assets/javascripts/aloha/plugins/common/image/nls/cz/i18n.js +16 -0
- data/vendor/assets/javascripts/aloha/plugins/common/image/nls/de/i18n.js +1 -0
- data/vendor/assets/javascripts/aloha/plugins/common/image/nls/fr/i18n.js +1 -0
- data/vendor/assets/javascripts/aloha/plugins/common/image/nls/i18n.js +7 -0
- data/vendor/assets/javascripts/aloha/plugins/common/image/nls/ru/i18n.js +16 -0
- data/vendor/assets/javascripts/aloha/plugins/common/image/package.json +1 -0
- data/vendor/assets/javascripts/aloha/plugins/common/image/test/test.css +12 -0
- data/vendor/assets/javascripts/aloha/plugins/common/image/test/test.html +40 -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 +35 -0
- data/vendor/assets/javascripts/aloha/plugins/common/image/vendor/jcrop/jquery.jcrop.min.js +163 -0
- data/vendor/assets/javascripts/aloha/plugins/common/image/vendor/mousewheel/mousewheel.js +60 -0
- data/vendor/assets/javascripts/aloha/plugins/common/image/vendor/ui/jquery-ui-1.8.10.custom.min.js +97 -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/image/vendor/ui/ui-lightness/jquery-ui-1.8.10.cropnresize.css +33 -0
- data/vendor/assets/javascripts/aloha/plugins/common/image/vendor/ui/ui-lightness/jquery-ui-1.8.10.custom.css +314 -0
- data/vendor/assets/javascripts/aloha/plugins/common/link/css/link.css +55 -0
- data/vendor/assets/javascripts/aloha/plugins/common/link/demo/background.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/link/demo/external-link-ltr-icon.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/link/demo/index.css +91 -0
- data/vendor/assets/javascripts/aloha/plugins/common/link/demo/index.html +91 -0
- data/vendor/assets/javascripts/aloha/plugins/common/link/extra/delicious.js +246 -0
- data/vendor/assets/javascripts/aloha/plugins/common/link/extra/linklist.js +227 -0
- data/vendor/assets/javascripts/aloha/plugins/common/link/extra/slowlinklist.js +228 -0
- data/vendor/assets/javascripts/aloha/plugins/common/link/lib/link-plugin.js +759 -0
- data/vendor/assets/javascripts/aloha/plugins/common/link/nls/de/i18n.js +13 -0
- data/vendor/assets/javascripts/aloha/plugins/common/link/nls/fr/i18n.js +6 -0
- data/vendor/assets/javascripts/aloha/plugins/common/link/nls/i18n.js +9 -0
- data/vendor/assets/javascripts/aloha/plugins/common/link/nls/pl/i18n.js +6 -0
- data/vendor/assets/javascripts/aloha/plugins/common/link/nls/ru/i18n.js +6 -0
- data/vendor/assets/javascripts/aloha/plugins/common/list/lib/list-plugin.js +849 -0
- data/vendor/assets/javascripts/aloha/plugins/common/list/nls/de/i18n.js +1 -0
- data/vendor/assets/javascripts/aloha/plugins/common/list/nls/eo/i18n.js +1 -0
- data/vendor/assets/javascripts/aloha/plugins/common/list/nls/fi/i18n.js +1 -0
- data/vendor/assets/javascripts/aloha/plugins/common/list/nls/fr/i18n.js +1 -0
- data/vendor/assets/javascripts/aloha/plugins/common/list/nls/i18n.js +9 -0
- data/vendor/assets/javascripts/aloha/plugins/common/list/nls/it/i18n.js +1 -0
- data/vendor/assets/javascripts/aloha/plugins/common/list/nls/ru/i18n.js +1 -0
- data/vendor/assets/javascripts/aloha/plugins/common/list/package.json +1 -0
- data/vendor/assets/javascripts/aloha/plugins/common/paste/README.md +3 -0
- data/vendor/assets/javascripts/aloha/plugins/common/paste/lib/paste-plugin.js +221 -0
- data/vendor/assets/javascripts/aloha/plugins/common/paste/package.json +8 -0
- data/vendor/assets/javascripts/aloha/plugins/common/table/css/table.css +160 -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 +463 -0
- data/vendor/assets/javascripts/aloha/plugins/common/table/lib/table-create-layer.js +210 -0
- data/vendor/assets/javascripts/aloha/plugins/common/table/lib/table-plugin-utils.js +355 -0
- data/vendor/assets/javascripts/aloha/plugins/common/table/lib/table-plugin.js +1498 -0
- data/vendor/assets/javascripts/aloha/plugins/common/table/lib/table-selection.js +374 -0
- data/vendor/assets/javascripts/aloha/plugins/common/table/lib/table.js +1529 -0
- data/vendor/assets/javascripts/aloha/plugins/common/table/nls/de/i18n.js +1 -0
- data/vendor/assets/javascripts/aloha/plugins/common/table/nls/eo/i18n.js +1 -0
- data/vendor/assets/javascripts/aloha/plugins/common/table/nls/fi/i18n.js +1 -0
- data/vendor/assets/javascripts/aloha/plugins/common/table/nls/fr/i18n.js +1 -0
- data/vendor/assets/javascripts/aloha/plugins/common/table/nls/i18n.js +11 -0
- data/vendor/assets/javascripts/aloha/plugins/common/table/nls/it/i18n.js +1 -0
- data/vendor/assets/javascripts/aloha/plugins/common/table/nls/pl/i18n.js +1 -0
- data/vendor/assets/javascripts/aloha/plugins/common/table/nls/ru/i18n.js +1 -0
- data/vendor/assets/javascripts/aloha/plugins/common/table/package.json +1 -0
- data/vendor/assets/javascripts/aloha/plugins/common/undo/demo/index.css +49 -0
- data/vendor/assets/javascripts/aloha/plugins/common/undo/demo/index.html +85 -0
- data/vendor/assets/javascripts/aloha/plugins/common/undo/lib/undo-plugin.js +134 -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 +119 -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 +217 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/attributes/nls/de/i18n.js +1 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/attributes/nls/en/i18n.js +1 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/attributes/nls/i18n.js +5 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/browser/README +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/browser/css/browser.css +360 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/browser/css/browser.jqgrid.css +374 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/browser/css/browsercombined.css +752 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/browser/css/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/browser/css/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/browser/css/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/browser/css/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/browser/css/images/ui-bg_glass_75_dadada_1x400.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/browser/css/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/browser/css/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/browser/css/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/browser/css/images/ui-icons_222222_256x240.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/browser/css/images/ui-icons_2e83ff_256x240.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/browser/css/images/ui-icons_454545_256x240.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/browser/css/images/ui-icons_888888_256x240.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/browser/css/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/browser/css/jquery-ui-1.8.13.custom.css +319 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/browser/css/jstree.css +88 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/browser/css/throbber.gif +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/browser/css/ui.jqgrid.css +148 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/browser/img/arrow-000-medium.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/browser/img/arrow-180.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/browser/img/arrow-315-medium.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/browser/img/arrow-stop-180.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/browser/img/arrow-stop.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/browser/img/arrow.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/browser/img/control-stop-square-small.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/browser/img/folder-horizontal-open.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/browser/img/folder-open.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/browser/img/gcn-icons/gcn-icon-file.gif +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/browser/img/gcn-icons/gcn-icon-image.gif +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/browser/img/gcn-icons/gcn-icon-page.gif +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/browser/img/magnifier-left.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/browser/img/page.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/browser/img/picture.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/browser/img/sort-alphabet-descending.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/browser/img/sort-alphabet.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/browser/img/throbber.gif +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/browser/lib/browser-plugin.js +10 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/browser/lib/browser.js +1103 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/browser/lib/locale.js +26 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/browser/nls/de/i18n.js +18 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/browser/nls/de.json +1 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/browser/nls/en/i18n.js +18 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/browser/nls/en.json +1 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/browser/nls/i18n.js +4 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/browser/vendor/grid.locale.de.js +134 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/browser/vendor/grid.locale.en.js +129 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/browser/vendor/jquery.jqGrid.js +467 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/browser/vendor/jquery.jstree.js +4544 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/browser/vendor/jquery.ui.js +756 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/browser/vendor/ui-layout.js +108 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/cite/README +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/cite/css/cite.css +49 -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 +539 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/cite/nls/de/i18n.js +1 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/cite/nls/en/i18n.js +1 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/cite/nls/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/package.json +1 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/comments/src/comments.css +442 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/comments/src/comments.js +669 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/draganddropfiles/AGPL3 +661 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/draganddropfiles/LICENSE +25 -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/demo/index.css +47 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/draganddropfiles/demo/index.html +101 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/draganddropfiles/demo/migration/index.css +189 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/draganddropfiles/demo/migration/index.html +321 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/draganddropfiles/demo/specs/DragnDropnImage.graphml +677 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/draganddropfiles/demo/style.css +47 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/draganddropfiles/demo/upload.php +26 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/draganddropfiles/i18n/en.json +1 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/draganddropfiles/i18n/fr.json +1 -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 +349 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/draganddropfiles/lib/dropfilesrepository.js +365 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/draganddropfiles/package.json +1 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/formatlesspaste/README.md +3 -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 +67 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/formatlesspaste/lib/formatlesspaste-plugin.js +103 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/formatlesspaste/nls/de/i18n.js +1 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/formatlesspaste/nls/i18n.js +7 -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 +127 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/headerids/nls/de/i18n.js +1 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/headerids/nls/en/i18n.js +1 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/headerids/nls/i18n.js +5 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/hints/dep/jquery.poshytip.js +470 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/hints/i18n/de.json +1 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/hints/i18n/en.json +1 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/hints/img/tip-twitter_arrows.gif +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/hints/package.json +9 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/hints/src/hints.css +61 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/hints/src/hints.js +49 -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 +153 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/nls/de/i18n.js +1 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/nls/fr/i18n.js +1 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/nls/i18n.js +7 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/nls/pl/i18n.js +1 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/nls/ru/i18n.js +1 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkchecker/demo/index.css +49 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkchecker/demo/index.html +82 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkchecker/i18n/en.json +1 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkchecker/package.json +1 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkchecker/proxy.php +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 +256 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/listenforcer/lib/listenforcer-plugin.js +165 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/metaview/README +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/metaview/css/metaview.css +86 -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/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 +82 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/metaview/nls/de/i18n.js +1 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/metaview/nls/de.json +1 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/metaview/nls/en/i18n.js +1 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/metaview/nls/en.json +1 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/metaview/nls/i18n.js +5 -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/demo/index.css +189 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/numerated-headers/demo/index.html +139 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/numerated-headers/demo/js/aloha-config.js +115 -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 +233 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/numerated-headers/nls/de/i18n.js +1 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/numerated-headers/nls/en/i18n.js +1 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/numerated-headers/nls/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 +285 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/ribbon/LICENSE.md +662 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/ribbon/README.md +8 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/ribbon/css/ribbon.css +10 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/ribbon/lib/ribbon-plugin.js +186 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/ribbon/package.json +1 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/toc/i18n/de.json +1 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/toc/i18n/en.json +1 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/toc/package.json +1 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/toc/src/toc.js +350 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/vie/LICENSE +22 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/vie/README.markdown +65 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/vie/demo/index.html +93 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/vie/img/cms-decoupled-communications.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/vie/package.json +1 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/vie/src/backbone-min.js +27 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/vie/src/underscore-min.js +25 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/vie/src/vie-aloha.js +74 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/vie/src/vie-collectionmanager.js +70 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/vie/src/vie-containermanager.js +263 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/vie/src/vie.js +20 -0
- metadata +1105 -0
@@ -0,0 +1,108 @@
|
|
1
|
+
/*
|
2
|
+
jquery.layout 1.3.0 - Release Candidate 29.14
|
3
|
+
$Date: 2011-02-13 08:00:00 (Sun, 13 Feb 2011) $
|
4
|
+
$Rev: 302914 $
|
5
|
+
|
6
|
+
Copyright (c) 2010
|
7
|
+
Fabrizio Balliano (http://www.fabrizioballiano.net)
|
8
|
+
Kevin Dalman (http://allpro.net)
|
9
|
+
|
10
|
+
Dual licensed under the GPL (http://www.gnu.org/licenses/gpl.html)
|
11
|
+
and MIT (http://www.opensource.org/licenses/mit-license.php) licenses.
|
12
|
+
|
13
|
+
Changelog: http://layout.jquery-dev.net/changelog.cfm#1.3.0.rc29.13
|
14
|
+
|
15
|
+
Docs: http://layout.jquery-dev.net/documentation.html
|
16
|
+
Tips: http://layout.jquery-dev.net/tips.html
|
17
|
+
Help: http://groups.google.com/group/jquery-ui-layout
|
18
|
+
*/
|
19
|
+
(function(f){var C=f.browser;f.layout={browser:{mozilla:!!C.mozilla,webkit:!!C.webkit||!!C.safari,msie:!!C.msie,isIE6:!!C.msie&&C.version==6,boxModel:!1},scrollbarWidth:function(){return window.scrollbarWidth||f.layout.getScrollbarSize("width")},scrollbarHeight:function(){return window.scrollbarHeight||f.layout.getScrollbarSize("height")},getScrollbarSize:function(j){var o=f('<div style="position: absolute; top: -10000px; left: -10000px; width: 100px; height: 100px; overflow: scroll;"></div>').appendTo("body"),
|
20
|
+
p={width:o.width()-o[0].clientWidth,height:o.height()-o[0].clientHeight};o.remove();window.scrollbarWidth=p.width;window.scrollbarHeight=p.height;return j.match(/^(width|height)$/i)?p[j]:p},showInvisibly:function(j,o){if(!j)return{};j.jquery||(j=f(j));var p={display:j.css("display"),visibility:j.css("visibility")};return o||p.display=="none"?(j.css({display:"block",visibility:"hidden"}),p):{}},getElemDims:function(j){var o={},p=o.css={},r={},F,ga,H=j.offset();o.offsetLeft=H.left;o.offsetTop=H.top;
|
21
|
+
f.each("Left,Right,Top,Bottom".split(","),function(x,z){F=p["border"+z]=f.layout.borderWidth(j,z);ga=p["padding"+z]=f.layout.cssNum(j,"padding"+z);r[z]=F+ga;o["inset"+z]=ga});o.offsetWidth=j.innerWidth();o.offsetHeight=j.innerHeight();o.outerWidth=j.outerWidth();o.outerHeight=j.outerHeight();o.innerWidth=o.outerWidth-r.Left-r.Right;o.innerHeight=o.outerHeight-r.Top-r.Bottom;p.width=j.width();p.height=j.height();return o},getElemCSS:function(f,o){var p={},r=f[0].style,F=o.split(","),ga="Top,Bottom,Left,Right".split(","),
|
22
|
+
H="Color,Style,Width".split(","),x,z,C,S,T,X;for(S=0;S<F.length;S++)if(x=F[S],x.match(/(border|padding|margin)$/))for(T=0;T<4;T++)if(z=ga[T],x=="border")for(X=0;X<3;X++)C=H[X],p[x+z+C]=r[x+z+C];else p[x+z]=r[x+z];else p[x]=r[x];return p},cssWidth:function(j,o){var p=f.layout.borderWidth,r=f.layout.cssNum;if(o<=0)return 0;if(!f.layout.browser.boxModel)return o;p=o-p(j,"Left")-p(j,"Right")-r(j,"paddingLeft")-r(j,"paddingRight");return Math.max(0,p)},cssHeight:function(j,o){var p=f.layout.borderWidth,
|
23
|
+
r=f.layout.cssNum;if(o<=0)return 0;if(!f.layout.browser.boxModel)return o;p=o-p(j,"Top")-p(j,"Bottom")-r(j,"paddingTop")-r(j,"paddingBottom");return Math.max(0,p)},cssNum:function(j,o){j.jquery||(j=f(j));var p=f.layout.showInvisibly(j),r=parseInt(f.curCSS(j[0],o,!0),10)||0;j.css(p);return r},borderWidth:function(j,o){j.jquery&&(j=j[0]);var p="border"+o.substr(0,1).toUpperCase()+o.substr(1);return f.curCSS(j,p+"Style",!0)=="none"?0:parseInt(f.curCSS(j,p+"Width",!0),10)||0},isMouseOverElem:function(j,
|
24
|
+
o){var p=f(o||this),r=p.offset(),F=r.top,r=r.left,C=r+p.outerWidth(),p=F+p.outerHeight(),H=j.pageX,x=j.pageY;return f.layout.browser.msie&&H<0&&x<0||H>=r&&H<=C&&x>=F&&x<=p}};f.fn.layout=function(j){function o(a){if(!a)return!0;var b=a.keyCode;if(b<33)return!0;var c={38:"north",40:"south",37:"west",39:"east"},d=a.shiftKey,e=a.ctrlKey,h,g,i,n;e&&b>=37&&b<=40&&m[c[b]].enableCursorHotkey?n=c[b]:(e||d)&&f.each(k.borderPanes.split(","),function(a,c){h=m[c];g=h.customHotkey;i=h.customHotkeyModifier;if(d&&
|
25
|
+
i=="SHIFT"||e&&i=="CTRL"||e&&d)if(g&&b==(isNaN(g)||g<=9?g.toUpperCase().charCodeAt(0):g))return n=c,!1});if(!n||!q[n]||!m[n].closable||l[n].isHidden)return!0;ca(n);a.stopPropagation();return a.returnValue=!1}function p(a){this&&this.tagName&&(a=this);var b;I(a)?b=q[a]:f(a).data("layoutRole")?b=f(a):f(a).parents().each(function(){if(f(this).data("layoutRole"))return b=f(this),!1});if(b&&b.length){var c=b.data("layoutEdge"),a=l[c];a.cssSaved&&r(c);if(a.isSliding||a.isResizing||a.isClosed)a.cssSaved=
|
26
|
+
!1;else{var d={zIndex:k.zIndex.pane_normal+2},e={},h=b.css("overflow"),g=b.css("overflowX"),i=b.css("overflowY");if(h!="visible")e.overflow=h,d.overflow="visible";if(g&&!g.match(/visible|auto/))e.overflowX=g,d.overflowX="visible";if(i&&!i.match(/visible|auto/))e.overflowY=g,d.overflowY="visible";a.cssSaved=e;b.css(d);f.each(k.allPanes.split(","),function(a,b){b!=c&&r(b)})}}}function r(a){this&&this.tagName&&(a=this);var b;I(a)?b=q[a]:f(a).data("layoutRole")?b=f(a):f(a).parents().each(function(){if(f(this).data("layoutRole"))return b=
|
27
|
+
f(this),!1});if(b&&b.length){var a=b.data("layoutEdge"),a=l[a],c=a.cssSaved||{};!a.isSliding&&!a.isResizing&&b.css("zIndex",k.zIndex.pane_normal);b.css(c);a.cssSaved=!1}}function F(a,b,c){var d=f(a);if(d.length)if(k.borderPanes.indexOf(b)==-1)alert(D.errButton+D.Pane.toLowerCase()+": "+b);else return a=m[b].buttonClass+"-"+c,d.addClass(a+" "+a+"-"+b).data("layoutName",m.name),d;else alert(D.errButton+D.selector+": "+a);return null}function C(a,b,c){switch(b.toLowerCase()){case "toggle":H(a,c);break;
|
28
|
+
case "open":x(a,c);break;case "close":z(a,c);break;case "pin":Ba(a,c);break;case "toggle-slide":H(a,c,!0);break;case "open-slide":x(a,c,!0)}}function H(a,b,c){(a=F(a,b,"toggle"))&&a.click(function(a){ca(b,!!c);a.stopPropagation()})}function x(a,b,c){(a=F(a,b,"open"))&&a.attr("title",D.Open).click(function(a){M(b,!!c);a.stopPropagation()})}function z(a,b){var c=F(a,b,"close");c&&c.attr("title",D.Close).click(function(a){J(b);a.stopPropagation()})}function Ba(a,b){var c=F(a,b,"pin");if(c){var d=l[b];
|
29
|
+
c.click(function(a){T(f(this),b,d.isSliding||d.isClosed);d.isSliding||d.isClosed?M(b):J(b);a.stopPropagation()});T(c,b,!d.isClosed&&!d.isSliding);k[b].pins.push(a)}}function S(a,b){f.each(k[a].pins,function(c,d){T(f(d),a,b)})}function T(a,b,c){var d=a.attr("pin");if(!(d&&c==(d=="down"))){var d=m[b].buttonClass+"-pin",e=d+"-"+b,b=d+"-up "+e+"-up",d=d+"-down "+e+"-down";a.attr("pin",c?"down":"up").attr("title",c?D.Unpin:D.Pin).removeClass(c?b:d).addClass(c?d:b)}}function X(a){for(var a=f.extend({},
|
30
|
+
m.cookie,a||{}).name||m.name||"Layout",b=document.cookie,b=b?b.split(";"):[],c,d=0,e=b.length;d<e;d++)if(c=f.trim(b[d]).split("="),c[0]==a)return Ca(decodeURIComponent(c[1]));return""}function pa(a,b){var c=f.extend({},m.cookie,b||{}),d=c.name||m.name||"Layout",e="",h="",g=!1;c.expires.toUTCString?h=c.expires:typeof c.expires=="number"&&(h=new Date,c.expires>0?h.setDate(h.getDate()+c.expires):(h.setYear(1970),g=!0));h&&(e+=";expires="+h.toUTCString());c.path&&(e+=";path="+c.path);c.domain&&(e+=";domain="+
|
31
|
+
c.domain);c.secure&&(e+=";secure");g?(l.cookie={},document.cookie=d+"="+e):(l.cookie=qa(a||c.keys),document.cookie=d+"="+encodeURIComponent(Da(l.cookie))+e);return f.extend({},l.cookie)}function Ea(a){if(a=X(a))l.cookie=f.extend({},a),Fa(a);return a}function Fa(a,b){f.extend(!0,m,a);if(l.initialized){var c,d,e=!b;f.each(k.allPanes.split(","),function(b,g){c=a[g];if(typeof c=="object")d=c.initHidden,d===!0&&la(g,e),d===!1&&ha(g,!1,e),d=c.size,d>0&&Y(g,d),d=c.initClosed,d===!0&&J(g,!1,e),d===!1&&M(g,
|
32
|
+
!1,e)})}}function qa(a){var b={},c={isClosed:"initClosed",isHidden:"initHidden"},d,e,h;if(!a)a=m.cookie.keys;f.isArray(a)&&(a=a.join(","));for(var a=a.replace(/__/g,".").split(","),g=0,i=a.length;g<i;g++)d=a[g].split("."),e=d[0],d=d[1],k.allPanes.indexOf(e)<0||(h=l[e][d],h!=void 0&&(d=="isClosed"&&l[e].isSliding&&(h=!0),(b[e]||(b[e]={}))[c[d]?c[d]:d]=h));return b}function Da(a){function b(a){var d=[],e=0,h,g,i;for(h in a)g=a[h],i=typeof g,i=="string"?g='"'+g+'"':i=="object"&&(g=b(g)),d[e++]='"'+h+
|
33
|
+
'":'+g;return"{"+d.join(",")+"}"}return b(a)}function Ca(a){try{return window.eval("("+a+")")||{}}catch(b){return{}}}var D={Pane:"Pane",Open:"Open",Close:"Close",Resize:"Resize",Slide:"Slide Open",Pin:"Pin",Unpin:"Un-Pin",selector:"selector",msgNoRoom:"Not enough room to show this pane.",errContainerMissing:"UI Layout Initialization Error\n\nThe specified layout-container does not exist.",errCenterPaneMissing:"UI Layout Initialization Error\n\nThe center-pane element does not exist.\n\nThe center-pane is a required element.",
|
34
|
+
errContainerHeight:"UI Layout Initialization Warning\n\nThe layout-container \"CONTAINER\" has no height.\n\nTherefore the layout is 0-height and hence 'invisible'!",errButton:"Error Adding Button \n\nInvalid "},m={name:"",containerClass:"ui-layout-container",scrollToBookmarkOnLoad:!0,resizeWithWindow:!0,resizeWithWindowDelay:200,resizeWithWindowMaxDelay:0,onresizeall_start:null,onresizeall_end:null,onload_start:null,onload_end:null,onunload_start:null,onunload_end:null,autoBindCustomButtons:!1,zIndex:null,
|
35
|
+
defaults:{applyDemoStyles:!1,closable:!0,resizable:!0,slidable:!0,initClosed:!1,initHidden:!1,contentSelector:".ui-layout-content",contentIgnoreSelector:".ui-layout-ignore",findNestedContent:!1,paneClass:"ui-layout-pane",resizerClass:"ui-layout-resizer",togglerClass:"ui-layout-toggler",buttonClass:"ui-layout-button",minSize:0,maxSize:0,spacing_open:6,spacing_closed:6,togglerLength_open:50,togglerLength_closed:50,togglerAlign_open:"center",togglerAlign_closed:"center",togglerTip_open:D.Close,togglerTip_closed:D.Open,
|
36
|
+
togglerContent_open:"",togglerContent_closed:"",resizerDblClickToggle:!0,autoResize:!0,autoReopen:!0,resizerDragOpacity:1,maskIframesOnResize:!0,resizeNestedLayout:!0,resizeWhileDragging:!1,resizeContentWhileDragging:!1,noRoomToOpenTip:D.msgNoRoom,resizerTip:D.Resize,sliderTip:D.Slide,sliderCursor:"pointer",slideTrigger_open:"click",slideTrigger_close:"mouseleave",slideDelay_open:300,slideDelay_close:300,hideTogglerOnSlide:!1,preventQuickSlideClose:!(!f.browser.webkit&&!f.browser.safari),preventPrematureSlideClose:!1,
|
37
|
+
showOverflowOnHover:!1,enableCursorHotkey:!0,customHotkeyModifier:"SHIFT",fxName:"slide",fxSpeed:null,fxSettings:{},fxOpacityFix:!0,triggerEventsOnLoad:!1,triggerEventsWhileDragging:!0,onshow_start:null,onshow_end:null,onhide_start:null,onhide_end:null,onopen_start:null,onopen_end:null,onclose_start:null,onclose_end:null,onresize_start:null,onresize_end:null,onsizecontent_start:null,onsizecontent_end:null,onswap_start:null,onswap_end:null,ondrag_start:null,ondrag_end:null},north:{paneSelector:".ui-layout-north",
|
38
|
+
size:"auto",resizerCursor:"n-resize",customHotkey:""},south:{paneSelector:".ui-layout-south",size:"auto",resizerCursor:"s-resize",customHotkey:""},east:{paneSelector:".ui-layout-east",size:200,resizerCursor:"e-resize",customHotkey:""},west:{paneSelector:".ui-layout-west",size:200,resizerCursor:"w-resize",customHotkey:""},center:{paneSelector:".ui-layout-center",minWidth:0,minHeight:0},useStateCookie:!1,cookie:{name:"",autoSave:!0,autoLoad:!0,domain:"",path:"",expires:"",secure:!1,keys:"north.size,south.size,east.size,west.size,north.isClosed,south.isClosed,east.isClosed,west.isClosed,north.isHidden,south.isHidden,east.isHidden,west.isHidden"}},
|
39
|
+
ra={slide:{all:{duration:"fast"},north:{direction:"up"},south:{direction:"down"},east:{direction:"right"},west:{direction:"left"}},drop:{all:{duration:"slow"},north:{direction:"up"},south:{direction:"down"},east:{direction:"right"},west:{direction:"left"}},scale:{all:{duration:"fast"}}},l={id:"layout"+(new Date).getTime(),initialized:!1,container:{},north:{},south:{},east:{},west:{},center:{},cookie:{}},k={allPanes:"north,south,west,east,center",borderPanes:"north,south,west,east",altSide:{north:"south",
|
40
|
+
south:"north",east:"west",west:"east"},hidden:{visibility:"hidden"},visible:{visibility:"visible"},zIndex:{pane_normal:1,resizer_normal:2,iframe_mask:2,pane_sliding:100,pane_animate:1E3,resizer_drag:1E4},resizers:{cssReq:{position:"absolute",padding:0,margin:0,fontSize:"1px",textAlign:"left",overflow:"hidden"},cssDemo:{background:"#DDD",border:"none"}},togglers:{cssReq:{position:"absolute",display:"block",padding:0,margin:0,overflow:"hidden",textAlign:"center",fontSize:"1px",cursor:"pointer",zIndex:1},
|
41
|
+
cssDemo:{background:"#AAA"}},content:{cssReq:{position:"relative"},cssDemo:{overflow:"auto",padding:"10px"},cssDemoPane:{overflow:"hidden",padding:0}},panes:{cssReq:{position:"absolute",margin:0},cssDemo:{padding:"10px",background:"#FFF",border:"1px solid #BBB",overflow:"auto"}},north:{side:"Top",sizeType:"Height",dir:"horz",cssReq:{top:0,bottom:"auto",left:0,right:0,width:"auto"},pins:[]},south:{side:"Bottom",sizeType:"Height",dir:"horz",cssReq:{top:"auto",bottom:0,left:0,right:0,width:"auto"},pins:[]},
|
42
|
+
east:{side:"Right",sizeType:"Width",dir:"vert",cssReq:{left:"auto",right:0,top:"auto",bottom:"auto",height:"auto"},pins:[]},west:{side:"Left",sizeType:"Width",dir:"vert",cssReq:{left:0,right:"auto",top:"auto",bottom:"auto",height:"auto"},pins:[]},center:{dir:"center",cssReq:{left:"auto",right:"auto",top:"auto",bottom:"auto",height:"auto",width:"auto"}}},E={data:{},set:function(a,b,c){E.clear(a);E.data[a]=setTimeout(b,c)},clear:function(a){var b=E.data;b[a]&&(clearTimeout(b[a]),delete b[a])}},I=function(a){try{return typeof a==
|
43
|
+
"string"||typeof a=="object"&&a.constructor.toString().match(/string/i)!==null}catch(b){return!1}},y=function(a,b){return Math.max(a,b)},Ta=function(a){var b,c={cookie:{},defaults:{fxSettings:{}},north:{fxSettings:{}},south:{fxSettings:{}},east:{fxSettings:{}},west:{fxSettings:{}},center:{fxSettings:{}}},a=a||{};a.effects||a.cookie||a.defaults||a.north||a.south||a.west||a.east||a.center?c=f.extend(!0,c,a):f.each(a,function(a,e){b=a.split("__");if(!b[1]||c[b[0]])c[b[1]?b[0]:"defaults"][b[1]?b[1]:b[0]]=
|
44
|
+
e});return c},Ga=function(a,b,c){function d(h){var g=k[h];g.doCallback?(e.push(h),h=g.callback.split(",")[1],h!=b&&!f.inArray(h,e)>=0&&d(h)):(g.doCallback=!0,g.callback=a+","+b+","+(c?1:0))}var e=[];f.each(k.borderPanes.split(","),function(a,b){if(k[b].isMoving)return d(b),!1})},Ha=function(a){a=k[a];k.isLayoutBusy=!1;delete a.isMoving;if(a.doCallback&&a.callback){a.doCallback=!1;var b=a.callback.split(","),c=b[2]>0?!0:!1;b[0]=="open"?M(b[1],c):b[0]=="close"&&J(b[1],c);if(!a.doCallback)a.callback=
|
45
|
+
null}},t=function(a,b){if(b){var c;try{if(typeof b=="function")c=b;else if(I(b))if(b.match(/,/)){var d=b.split(",");c=eval(d[0]);if(typeof c=="function"&&d.length>1)return c(d[1])}else c=eval(b);else return;if(typeof c=="function")return a&&q[a]?c(a,q[a],f.extend({},l[a]),m[a],m.name):c(da,f.extend({},l),m,m.name)}catch(e){}}},Ia=function(a,b){if(!a)return{};a.jquery||(a=f(a));var c={display:a.css("display"),visibility:a.css("visibility")};return b||c.display=="none"?(a.css({display:"block",visibility:"hidden"}),
|
46
|
+
c):{}},Ja=function(a){if(!l.browser.mozilla){var b=q[a];l[a].tagName=="IFRAME"?b.css(k.hidden).css(k.visible):b.find("IFRAME").css(k.hidden).css(k.visible)}},Z=function(a,b){a.jquery||(a=f(a));var c=Ia(a),d=parseInt(f.curCSS(a[0],b,!0),10)||0;a.css(c);return d},ia=function(a,b){a.jquery&&(a=a[0]);var c="border"+b.substr(0,1).toUpperCase()+b.substr(1);return f.curCSS(a,c+"Style",!0)=="none"?0:parseInt(f.curCSS(a,c+"Width",!0),10)||0},K=function(a,b){var c=I(a),d=c?q[a]:f(a);isNaN(b)&&(b=c?P(a):d.outerWidth());
|
47
|
+
if(b<=0)return 0;if(!l.browser.boxModel)return b;c=b-ia(d,"Left")-ia(d,"Right")-Z(d,"paddingLeft")-Z(d,"paddingRight");return y(0,c)},L=function(a,b){var c=I(a),d=c?q[a]:f(a);isNaN(b)&&(b=c?P(a):d.outerHeight());if(b<=0)return 0;if(!l.browser.boxModel)return b;c=b-ia(d,"Top")-ia(d,"Bottom")-Z(d,"paddingTop")-Z(d,"paddingBottom");return y(0,c)},ma=function(a){var b=k[a].dir,a={minWidth:1001-K(a,1E3),minHeight:1001-L(a,1E3)};if(b=="horz")a.minSize=a.minHeight;if(b=="vert")a.minSize=a.minWidth;return a},
|
48
|
+
Ua=function(a,b,c){var d=a;I(a)?d=q[a]:a.jquery||(d=f(a));a=L(d,b);d.css({height:a,visibility:"visible"});a>0&&d.innerWidth()>0?c&&d.data("autoHidden")&&(d.show().data("autoHidden",!1),l.browser.mozilla||d.css(k.hidden).css(k.visible)):c&&!d.data("autoHidden")&&d.hide().data("autoHidden",!0)},U=function(a,b,c){if(!c)c=k[a].dir;I(b)&&b.match(/%/)&&(b=parseInt(b,10)/100);if(b===0)return 0;else if(b>=1)return parseInt(b,10);else if(b>0){var a=m,d;c=="horz"?d=u.innerHeight-(q.north?a.north.spacing_open:
|
49
|
+
0)-(q.south?a.south.spacing_open:0):c=="vert"&&(d=u.innerWidth-(q.west?a.west.spacing_open:0)-(q.east?a.east.spacing_open:0));return Math.floor(d*b)}else if(a=="center")return 0;else{d=q[a];var c=c=="horz"?"height":"width",a=Ia(d),e=d.css(c);d.css(c,"auto");b=c=="height"?d.outerHeight():d.outerWidth();d.css(c,e).css(a);return b}},P=function(a,b){var c=q[a],d=m[a],e=l[a],h=b?d.spacing_open:0,d=b?d.spacing_closed:0;return!c||e.isHidden?0:e.isClosed||e.isSliding&&b?d:k[a].dir=="horz"?c.outerHeight()+
|
50
|
+
h:c.outerWidth()+h},Q=function(a,b){var c=m[a],d=l[a],e=k[a],h=e.dir;e.side.toLowerCase();e.sizeType.toLowerCase();var e=b!=void 0?b:d.isSliding,g=c.spacing_open,i=k.altSide[a],f=l[i],O=q[i],A=!O||f.isVisible===!1||f.isSliding?0:h=="horz"?O.outerHeight():O.outerWidth(),i=(!O||f.isHidden?0:m[i][f.isClosed!==!1?"spacing_closed":"spacing_open"])||0,f=h=="horz"?u.innerHeight:u.innerWidth,O=ma("center"),O=h=="horz"?y(m.center.minHeight,O.minHeight):y(m.center.minWidth,O.minWidth),e=f-g-(e?0:U("center",
|
51
|
+
O,h)+A+i),h=d.minSize=y(U(a,c.minSize),ma(a).minSize),g=c.maxSize?U(a,c.maxSize):1E5,e=d.maxSize=Math.min(g,e),d=d.resizerPosition={},g=u.insetTop,A=u.insetLeft,i=u.innerWidth,f=u.innerHeight,c=c.spacing_open;switch(a){case "north":d.min=g+h;d.max=g+e;break;case "west":d.min=A+h;d.max=A+e;break;case "south":d.min=g+f-e-c;d.max=g+f-h-c;break;case "east":d.min=A+i-e-c,d.max=A+i-h-c}},$=function(a){var b={},c=b.css={},d={},e,h,g=a.offset();b.offsetLeft=g.left;b.offsetTop=g.top;f.each("Left,Right,Top,Bottom".split(","),
|
52
|
+
function(g,f){e=c["border"+f]=ia(a,f);h=c["padding"+f]=Z(a,"padding"+f);d[f]=e+h;b["inset"+f]=h});b.offsetWidth=a.innerWidth();b.offsetHeight=a.innerHeight();b.outerWidth=a.outerWidth();b.outerHeight=a.outerHeight();b.innerWidth=b.outerWidth-d.Left-d.Right;b.innerHeight=b.outerHeight-d.Top-d.Bottom;c.width=a.width();c.height=a.height();return b},na=function(a,b){var c={},d=a[0].style,e=b.split(","),f="Top,Bottom,Left,Right".split(","),g="Color,Style,Width".split(","),i,n,k,l,m,j;for(l=0;l<e.length;l++)if(i=
|
53
|
+
e[l],i.match(/(border|padding|margin)$/))for(m=0;m<4;m++)if(n=f[m],i=="border")for(j=0;j<3;j++)k=g[j],c[i+n+k]=d[i+n+k];else c[i+n]=d[i+n];else c[i]=d[i];return c},sa=function(a,b){var c=f(a),d=c.data("layoutRole"),e=c.data("layoutEdge"),h=m[e][d+"Class"],e="-"+e,g=c.hasClass(h+"-closed")?"-closed":"-open",i=g=="-closed"?"-open":"-closed",g=h+"-hover "+(h+e+"-hover ")+(h+g+"-hover ")+(h+e+g+"-hover ");b&&(g+=h+i+"-hover "+(h+e+i+"-hover "));d=="resizer"&&c.hasClass(h+"-sliding")&&(g+=h+"-sliding-hover "+
|
54
|
+
(h+e+"-sliding-hover "));return f.trim(g)},ta=function(a,b){var c=f(b||this);a&&c.data("layoutRole")=="toggler"&&a.stopPropagation();c.addClass(sa(c))},R=function(a,b){var c=f(b||this);c.removeClass(sa(c,!0))},Ka=function(a){f("body").disableSelection();ta(a,this)},ua=function(a,b){var c=b||this,d=f(c).data("layoutEdge"),e=d+"ResizerLeave";E.clear(d+"_openSlider");E.clear(e);b?l[d].isResizing||f("body").enableSelection():(R(a,this),E.set(e,function(){ua(a,c)},200))},Va=function(){var a=Number(m.resizeWithWindowDelay)||
|
55
|
+
100;a>0&&(E.clear("winResize"),E.set("winResize",function(){E.clear("winResize");E.clear("winResizeRepeater");ea()},a),E.data.winResizeRepeater||La())},La=function(){var a=Number(m.resizeWithWindowMaxDelay);a>0&&E.set("winResizeRepeater",function(){La();ea()},a)},Ma=function(){var a=m;l.cookie=qa();t(null,a.onunload_start);a.useStateCookie&&a.cookie.autoSave&&pa();t(null,a.onunload_end||a.onunload)},Na=function(a){if(!a||a=="all")a=k.borderPanes;f.each(a.split(","),function(a,c){var d=m[c];if(d.enableCursorHotkey||
|
56
|
+
d.customHotkey)return f(document).bind("keydown."+v,o),!1})},Wa=function(){function a(a){for(var c in b)a[c]!=void 0&&(a[b[c]]=a[c],delete a[c])}j=Ta(j);var b={applyDefaultStyles:"applyDemoStyles"};a(j.defaults);f.each(k.allPanes.split(","),function(b,c){a(j[c])});j.effects&&(f.extend(ra,j.effects),delete j.effects);f.extend(m.cookie,j.cookie);f.each("name,containerClass,zIndex,scrollToBookmarkOnLoad,resizeWithWindow,resizeWithWindowDelay,resizeWithWindowMaxDelay,onresizeall,onresizeall_start,onresizeall_end,onload,onload_start,onload_end,onunload,onunload_start,onunload_end,autoBindCustomButtons,useStateCookie".split(","),
|
57
|
+
function(a,b){j[b]!==void 0?m[b]=j[b]:j.defaults[b]!==void 0&&(m[b]=j.defaults[b],delete j.defaults[b])});f.each("paneSelector,resizerCursor,customHotkey".split(","),function(a,b){delete j.defaults[b]});f.extend(!0,m.defaults,j.defaults);k.center=f.extend(!0,{},k.panes,k.center);var c=m.zIndex;if(c===0||c>0)k.zIndex.pane_normal=c,k.zIndex.resizer_normal=c+1,k.zIndex.iframe_mask=c+1;f.extend(m.center,j.center);var d=f.extend(!0,{},m.defaults,j.defaults,m.center),c="paneClass,contentSelector,applyDemoStyles,triggerEventsOnLoad,showOverflowOnHover,onresize,onresize_start,onresize_end,resizeNestedLayout,resizeContentWhileDragging,onsizecontent,onsizecontent_start,onsizecontent_end".split(",");
|
58
|
+
f.each(c,function(a,b){m.center[b]=d[b]});var e,h=m.defaults;f.each(k.borderPanes.split(","),function(a,b){k[b]=f.extend(!0,{},k.panes,k[b]);e=m[b]=f.extend(!0,{},m.defaults,m[b],j.defaults,j[b]);if(!e.paneClass)e.paneClass="ui-layout-pane";if(!e.resizerClass)e.resizerClass="ui-layout-resizer";if(!e.togglerClass)e.togglerClass="ui-layout-toggler";f.each(["_open","_close",""],function(a,c){var d="fxName"+c,g="fxSpeed"+c,k="fxSettings"+c;e[d]=j[b][d]||j[b].fxName||j.defaults[d]||j.defaults.fxName||
|
59
|
+
e[d]||e.fxName||h[d]||h.fxName||"none";var l=e[d];if(l=="none"||!f.effects||!f.effects[l]||!ra[l]&&!e[k]&&!e.fxSettings)l=e[d]="none";l=ra[l]||{};d=l.all||{};l=l[b]||{};e[k]=f.extend({},d,l,h.fxSettings||{},h[k]||{},e.fxSettings,e[k],j.defaults.fxSettings,j.defaults[k]||{},j[b].fxSettings,j[b][k]||{});e[g]=j[b][g]||j[b].fxSpeed||j.defaults[g]||j.defaults.fxSpeed||e[g]||e[k].duration||e.fxSpeed||e.fxSettings.duration||h.fxSpeed||h.fxSettings.duration||l.duration||d.duration||"normal"})})},Oa=function(a){a=
|
60
|
+
m[a].paneSelector;if(a.substr(0,1)==="#")return G.find(a).eq(0);else{var b=G.children(a).eq(0);return b.length?b:G.children("form:first").children(a).eq(0)}},Xa=function(){f.each(k.allPanes.split(","),function(a,b){Pa(b)});va();f.each(k.borderPanes.split(","),function(a,b){q[b]&&l[b].isVisible&&(Q(b),V(b))});W("center");f.each(k.allPanes.split(","),function(a,b){var c=m[b];q[b]&&l[b].isVisible&&(c.triggerEventsOnLoad&&t(b,c.onresize_end||c.onresize),aa(b))});G.innerHeight()<2&&alert(D.errContainerHeight.replace(/CONTAINER/,
|
61
|
+
u.ref))},Pa=function(a){var b=m[a],c=l[a],d=k[a],e=d.dir,f=a=="center",g={},i=q[a],n;i?wa(a):N[a]=!1;i=q[a]=Oa(a);if(i.length){i.data("layoutCSS")||i.data("layoutCSS",na(i,"position,top,left,bottom,right,width,height,overflow,zIndex,display,backgroundColor,padding,margin,border"));i.data("parentLayout",da).data("layoutRole","pane").data("layoutEdge",a).css(d.cssReq).css("zIndex",k.zIndex.pane_normal).css(b.applyDemoStyles?d.cssDemo:{}).addClass(b.paneClass+" "+b.paneClass+"-"+a).bind("mouseenter."+
|
62
|
+
v,ta).bind("mouseleave."+v,R);Qa(a,!1);if(!f)n=c.size=U(a,b.size),d=U(a,b.minSize)||1,f=U(a,b.maxSize)||1E5,n>0&&(n=y(Math.min(n,f),d)),c.isClosed=!1,c.isSliding=!1,c.isResizing=!1,c.isHidden=!1;c.tagName=i.attr("tagName");c.edge=a;c.noRoom=!1;c.isVisible=!0;switch(a){case "north":g.top=u.insetTop;g.left=u.insetLeft;g.right=u.insetRight;break;case "south":g.bottom=u.insetBottom;g.left=u.insetLeft;g.right=u.insetRight;break;case "west":g.left=u.insetLeft;break;case "east":g.right=u.insetRight}if(e==
|
63
|
+
"horz")g.height=y(1,L(a,n));else if(e=="vert")g.width=y(1,K(a,n));i.css(g);e!="horz"&&W(a,!0);c.noRoom||i.css({visibility:"visible",display:"block"});b.initClosed&&b.closable?J(a,!0,!0):(b.initHidden||b.initClosed)&&la(a);b.showOverflowOnHover&&i.hover(p,r);l.initialized&&(va(a),Na(a),ea(),c.isVisible&&(b.triggerEventsOnLoad&&t(a,b.onresize_end||b.onresize),aa(a)))}else q[a]=!1},va=function(a){if(!a||a=="all")a=k.borderPanes;f.each(a.split(","),function(a,c){var d=q[c];w[c]=!1;B[c]=!1;if(d){var d=
|
64
|
+
m[c],e=l[c],h=d.resizerClass,g=d.togglerClass;k[c].side.toLowerCase();var i="-"+c,n=w[c]=f("<div></div>"),j=d.closable?B[c]=f("<div></div>"):!1;!e.isVisible&&d.slidable&&n.attr("title",d.sliderTip).css("cursor",d.sliderCursor);n.attr("id",d.paneSelector.substr(0,1)=="#"?d.paneSelector.substr(1)+"-resizer":"").data("parentLayout",da).data("layoutRole","resizer").data("layoutEdge",c).css(k.resizers.cssReq).css("zIndex",k.zIndex.resizer_normal).css(d.applyDemoStyles?k.resizers.cssDemo:{}).addClass(h+
|
65
|
+
" "+h+i).appendTo(G);j&&(j.attr("id",d.paneSelector.substr(0,1)=="#"?d.paneSelector.substr(1)+"-toggler":"").data("parentLayout",da).data("layoutRole","toggler").data("layoutEdge",c).css(k.togglers.cssReq).css(d.applyDemoStyles?k.togglers.cssDemo:{}).addClass(g+" "+g+i).appendTo(n),d.togglerContent_open&&f("<span>"+d.togglerContent_open+"</span>").data("layoutRole","togglerContent").data("layoutEdge",c).addClass("content content-open").css("display","none").appendTo(j),d.togglerContent_closed&&f("<span>"+
|
66
|
+
d.togglerContent_closed+"</span>").data("layoutRole","togglerContent").data("layoutEdge",c).addClass("content content-closed").css("display","none").appendTo(j),Ra(c));Ya(c);e.isVisible?xa(c):(ya(c),ba(c,!0))}});ja("all")},Qa=function(a,b){var c=m[a],d=c.contentSelector,e=q[a],f;d&&(f=N[a]=c.findNestedContent?e.find(d).eq(0):e.children(d).eq(0));f&&f.length?(f.data("layoutCSS")||f.data("layoutCSS",na(f,"height")),f.css(k.content.cssReq),c.applyDemoStyles&&(f.css(k.content.cssDemo),e.css(k.content.cssDemoPane)),
|
67
|
+
l[a].content={},b!==!1&&fa(a)):N[a]=!1},Za=function(){var a;f.each("toggle,open,close,pin,toggle-slide,open-slide".split(","),function(b,c){f.each(k.borderPanes.split(","),function(b,e){f(".ui-layout-button-"+c+"-"+e).each(function(){a=f(this).data("layoutName")||f(this).attr("layoutName");(a==void 0||a==m.name)&&C(this,c,e)})})})},Ya=function(a){var b=typeof f.fn.draggable=="function",c;if(!a||a=="all")a=k.borderPanes;f.each(a.split(","),function(a,e){var h=m[e],g=l[e],i=k[e],n=i.dir=="horz"?"top":
|
68
|
+
"left",j,A;if(!b||!q[e]||!h.resizable)return h.resizable=!1,!0;var p=w[e],o=h.resizerClass,r=o+"-drag",y=o+"-"+e+"-drag",x=o+"-dragging",D=o+"-"+e+"-dragging",B=o+"-dragging-limit",C=o+"-"+e+"-dragging-limit",z=!1;g.isClosed||p.attr("title",h.resizerTip).css("cursor",h.resizerCursor);p.bind("mouseenter."+v,Ka).bind("mouseleave."+v,ua);p.draggable({containment:G[0],axis:i.dir=="horz"?"y":"x",delay:0,distance:1,helper:"clone",opacity:h.resizerDragOpacity,addClasses:!1,zIndex:k.zIndex.resizer_drag,start:function(){h=
|
69
|
+
m[e];g=l[e];A=h.resizeWhileDragging;if(!1===t(e,h.ondrag_start))return!1;k.isLayoutBusy=!0;g.isResizing=!0;E.clear(e+"_closeSlider");Q(e);j=g.resizerPosition;p.addClass(r+" "+y);z=!1;c=f(h.maskIframesOnResize===!0?"iframe":h.maskIframesOnResize).filter(":visible");var a,b=0;c.each(function(){a="ui-layout-mask-"+ ++b;f(this).data("layoutMaskID",a);f('<div id="'+a+'" class="ui-layout-mask ui-layout-mask-'+e+'"/>').css({background:"#fff",opacity:"0.001",zIndex:k.zIndex.iframe_mask,position:"absolute",
|
70
|
+
width:this.offsetWidth+"px",height:this.offsetHeight+"px"}).css(f(this).position()).appendTo(this.parentNode)});f("body").disableSelection()},drag:function(a,b){z||(b.helper.addClass(x+" "+D).css({right:"auto",bottom:"auto"}).children().css("visibility","hidden"),z=!0,g.isSliding&&q[e].css("zIndex",k.zIndex.pane_sliding));var c=0;if(b.position[n]<j.min)b.position[n]=j.min,c=-1;else if(b.position[n]>j.max)b.position[n]=j.max,c=1;c?(b.helper.addClass(B+" "+C),window.defaultStatus="Panel has reached its "+
|
71
|
+
(c>0&&e.match(/north|west/)||c<0&&e.match(/south|east/)?"maximum":"minimum")+" size"):(b.helper.removeClass(B+" "+C),window.defaultStatus="");A&&F(a,b,e)},stop:function(a,b){f("body").enableSelection();window.defaultStatus="";p.removeClass(r+" "+y);g.isResizing=!1;k.isLayoutBusy=!1;F(a,b,e,!0)}});var F=function(a,b,d,e){var a=b.position,b=k[d],g;switch(d){case "north":g=a.top;break;case "west":g=a.left;break;case "south":g=u.offsetHeight-a.top-h.spacing_open;break;case "east":g=u.offsetWidth-a.left-
|
72
|
+
h.spacing_open}if(e){if(f("div.ui-layout-mask").each(function(){this.parentNode.removeChild(this)}),!1===t(d,h.ondrag_end||h.ondrag))return!1}else c.each(function(){f("#"+f(this).data("layoutMaskID")).css(f(this).position()).css({width:this.offsetWidth+"px",height:this.offsetHeight+"px"})});za(d,g-u["inset"+b.side])}})},wa=function(a,b,c){if(q[a]){var d=q[a],e=N[a],h=w[a],g=B[a],i=m[a].paneClass,n=i+"-"+a,i=[i,i+"-open",i+"-closed",i+"-sliding",n,n+"-open",n+"-closed",n+"-sliding"];f.merge(i,sa(d,
|
73
|
+
!0));d&&d.length&&(b&&!d.data("layoutContainer")&&(!e||!e.length||!e.data("layoutContainer"))?d.remove():(d.removeClass(i.join(" ")).removeData("layoutParent").removeData("layoutRole").removeData("layoutEdge").removeData("autoHidden").unbind("."+v),d.data("layoutContainer")||d.css(d.data("layoutCSS")).removeData("layoutCSS"),e&&e.length&&!e.data("layoutContainer")&&e.css(e.data("layoutCSS")).removeData("layoutCSS")));g&&g.length&&g.remove();h&&h.length&&h.remove();q[a]=N[a]=w[a]=B[a]=!1;c||(ea(),
|
74
|
+
l[a]={})}},la=function(a,b){var c=m[a],d=l[a],e=q[a],f=w[a];if(e&&!d.isHidden&&!(l.initialized&&!1===t(a,c.onhide_start)))if(d.isSliding=!1,f&&f.hide(),!l.initialized||d.isClosed){if(d.isClosed=!0,d.isHidden=!0,d.isVisible=!1,e.hide(),W(k[a].dir=="horz"?"all":"center"),l.initialized||c.triggerEventsOnLoad)t(a,c.onhide_end||c.onhide)}else d.isHiding=!0,J(a,!1,b)},ha=function(a,b,c,d){var e=l[a];if(q[a]&&e.isHidden&&!1!==t(a,m[a].onshow_start))e.isSliding=!1,e.isShowing=!0,b===!1?J(a,!0):M(a,!1,c,d)},
|
75
|
+
ca=function(a,b){I(a)||(a.stopImmediatePropagation(),a=f(this).data("layoutEdge"));var c=l[I(a)?f.trim(a):a==void 0||a==null?"":a];c.isHidden?ha(a):c.isClosed?M(a,!!b):J(a)},$a=function(a){var b=l[a];q[a].hide();b.isClosed=!0;b.isVisible=!1},J=function(a,b,c,d){function e(){if(i.isClosed){ba(a,!0);var b=k.altSide[a];l[b].noRoom&&(Q(b),V(b));if(!d&&(l.initialized||g.triggerEventsOnLoad))n||t(a,g.onclose_end||g.onclose),n&&t(a,g.onshow_end||g.onshow),j&&t(a,g.onhide_end||g.onhide)}Ha(a)}if(l.initialized){var f=
|
76
|
+
q[a],g=m[a],i=l[a],c=!c&&!i.isClosed&&g.fxName_close!="none",n=i.isShowing,j=i.isHiding;delete i.isShowing;delete i.isHiding;if(f&&(g.closable||n||j)&&(b||!i.isClosed||n))if(k.isLayoutBusy)Ga("close",a,b);else if(n||!1!==t(a,g.onclose_start)){k[a].isMoving=!0;k.isLayoutBusy=!0;i.isClosed=!0;i.isVisible=!1;if(j)i.isHidden=!0;else if(n)i.isHidden=!1;i.isSliding?ka(a,!1):W(k[a].dir=="horz"?"all":"center",!1);ya(a);c?(oa(a,!0),f.hide(g.fxName_close,g.fxSettings_close,g.fxSpeed_close,function(){oa(a,!1);
|
77
|
+
e()})):(f.hide(),e())}}else $a(a)},ya=function(a){var b=w[a],c=B[a],d=m[a],e=k[a].side.toLowerCase(),h=d.resizerClass,g=d.togglerClass,i="-"+a;b.css(e,u["inset"+k[a].side]).removeClass(h+"-open "+h+i+"-open").removeClass(h+"-sliding "+h+i+"-sliding").addClass(h+"-closed "+h+i+"-closed").unbind("dblclick."+v);d.resizable&&typeof f.fn.draggable=="function"&&b.draggable("disable").removeClass("ui-state-disabled").css("cursor","default").attr("title","");c&&(c.removeClass(g+"-open "+g+i+"-open").addClass(g+
|
78
|
+
"-closed "+g+i+"-closed").attr("title",d.togglerTip_closed),c.children(".content-open").hide(),c.children(".content-closed").css("display","block"));S(a,!1);l.initialized&&ja("all")},M=function(a,b,c,d){function e(){i.isVisible&&(Ja(a),i.isSliding||W(k[a].dir=="vert"?"center":"all",!1),xa(a));Ha(a)}var f=q[a],g=m[a],i=l[a],c=!c&&i.isClosed&&g.fxName_open!="none",n=i.isShowing;delete i.isShowing;if(f&&(g.resizable||g.closable||n)&&(!i.isVisible||i.isSliding))if(i.isHidden&&!n)ha(a,!0);else if(k.isLayoutBusy)Ga("open",
|
79
|
+
a,b);else if(Q(a,b),!1!==t(a,g.onopen_start))if(i.minSize>i.maxSize)S(a,!1),!d&&g.noRoomToOpenTip&&alert(g.noRoomToOpenTip);else{k[a].isMoving=!0;k.isLayoutBusy=!0;b?ka(a,!0):i.isSliding?ka(a,!1):g.slidable&&ba(a,!1);i.noRoom=!1;V(a);i.isVisible=!0;i.isClosed=!1;if(n)i.isHidden=!1;c?(oa(a,!0),f.show(g.fxName_open,g.fxSettings_open,g.fxSpeed_open,function(){oa(a,!1);e()})):(f.show(),e())}},xa=function(a,b){var c=q[a],d=w[a],e=B[a],h=m[a],g=l[a],i=k[a].side.toLowerCase(),n=h.resizerClass,j=h.togglerClass,
|
80
|
+
A="-"+a;d.css(i,u["inset"+k[a].side]+P(a)).removeClass(n+"-closed "+n+A+"-closed").addClass(n+"-open "+n+A+"-open");g.isSliding?d.addClass(n+"-sliding "+n+A+"-sliding"):d.removeClass(n+"-sliding "+n+A+"-sliding");h.resizerDblClickToggle&&d.bind("dblclick",ca);R(0,d);h.resizable&&typeof f.fn.draggable=="function"?d.draggable("enable").css("cursor",h.resizerCursor).attr("title",h.resizerTip):g.isSliding||d.css("cursor","default");e&&(e.removeClass(j+"-closed "+j+A+"-closed").addClass(j+"-open "+j+A+
|
81
|
+
"-open").attr("title",h.togglerTip_open),R(0,e),e.children(".content-closed").hide(),e.children(".content-open").css("display","block"));S(a,!g.isSliding);f.extend(g,$(c));l.initialized&&(ja("all"),fa(a,!0));if(!b&&(l.initialized||h.triggerEventsOnLoad)&&c.is(":visible"))t(a,h.onopen_end||h.onopen),g.isShowing&&t(a,h.onshow_end||h.onshow),l.initialized&&(t(a,h.onresize_end||h.onresize),aa(a))},Sa=function(a){function b(){e.isClosed?k[d].isMoving||M(d,!0):ka(d,!0)}var c=I(a)?null:a,d=c?f(this).data("layoutEdge"):
|
82
|
+
a,e=l[d],a=m[d].slideDelay_open;c&&c.stopImmediatePropagation();e.isClosed&&c&&c.type=="mouseenter"&&a>0?E.set(d+"_openSlider",b,a):b()},Aa=function(a){function b(){e.isClosed?ka(d,!1):k[d].isMoving||J(d)}var c=I(a)?null:a,d=c?f(this).data("layoutEdge"):a,a=m[d],e=l[d],h=k[d].isMoving?1E3:300;if(!e.isClosed&&!e.isResizing)if(a.slideTrigger_close=="click")b();else if(!a.preventQuickSlideClose||!k.isLayoutBusy)if(!a.preventPrematureSlideClose||!c||!f.layout.isMouseOverElem(c,q[d]))c?E.set(d+"_closeSlider",
|
83
|
+
b,y(a.slideDelay_close,h)):b()},oa=function(a,b){var c=q[a];if(b)c.css({zIndex:k.zIndex.pane_animate}),a=="south"?c.css({top:u.insetTop+u.innerHeight-c.outerHeight()}):a=="east"&&c.css({left:u.insetLeft+u.innerWidth-c.outerWidth()});else{c.css({zIndex:l[a].isSliding?k.zIndex.pane_sliding:k.zIndex.pane_normal});a=="south"?c.css({top:"auto"}):a=="east"&&c.css({left:"auto"});var d=m[a];l.browser.msie&&d.fxOpacityFix&&d.fxName_open!="slide"&&c.css("filter")&&c.css("opacity")==1&&c[0].style.removeAttribute("filter")}},
|
84
|
+
ba=function(a,b){var c=m[a],d=w[a],e=c.slideTrigger_open.toLowerCase();if(d&&(!b||c.slidable)){if(e.match(/mouseover/))e=c.slideTrigger_open="mouseenter";else if(!e.match(/click|dblclick|mouseenter/))e=c.slideTrigger_open="click";d[b?"bind":"unbind"](e+"."+v,Sa).css("cursor",b?c.sliderCursor:"default").attr("title",b?c.sliderTip:"")}},ka=function(a,b){function c(b){E.clear(a+"_closeSlider");b.stopPropagation()}var d=m[a],e=l[a],f=k.zIndex,g=d.slideTrigger_close.toLowerCase(),i=b?"bind":"unbind",n=
|
85
|
+
q[a],j=w[a];e.isSliding=b;E.clear(a+"_closeSlider");b&&ba(a,!1);n.css("zIndex",b?f.pane_sliding:f.pane_normal);j.css("zIndex",b?f.pane_sliding:f.resizer_normal);if(!g.match(/click|mouseleave/))g=d.slideTrigger_close="mouseleave";j[i](g,Aa);g=="mouseleave"&&(n[i]("mouseleave."+v,Aa),j[i]("mouseenter."+v,c),n[i]("mouseenter."+v,c));b?g=="click"&&!d.resizable&&(j.css("cursor",b?d.sliderCursor:"default"),j.attr("title",b?d.togglerTip_open:"")):E.clear(a+"_closeSlider")},V=function(a,b,c,d){var b=m[a],
|
86
|
+
e=l[a],f=k[a],g=q[a],i=w[a],n=f.dir=="vert",j=!1;if(a=="center"||n&&e.noVerticalRoom)if((j=e.maxHeight>0)&&e.noRoom){g.show();i&&i.show();e.isVisible=!0;e.noRoom=!1;if(n)e.noVerticalRoom=!1;Ja(a)}else if(!j&&!e.noRoom)g.hide(),i&&i.hide(),e.isVisible=!1,e.noRoom=!0;if(a!="center")if(e.minSize<=e.maxSize){if(e.size>e.maxSize?Y(a,e.maxSize,c,d):e.size<e.minSize?Y(a,e.minSize,c,d):i&&g.is(":visible")&&(c=f.side.toLowerCase(),d=e.size+u["inset"+f.side],Z(i,c)!=d&&i.css(c,d)),e.noRoom)e.wasOpen&&b.closable?
|
87
|
+
b.autoReopen?M(a,!1,!0,!0):e.noRoom=!1:ha(a,e.wasOpen,!0,!0)}else if(!e.noRoom)e.noRoom=!0,e.wasOpen=!e.isClosed&&!e.isSliding,e.isClosed||(b.closable?J(a,!0,!0):la(a,!0))},za=function(a,b,c){var d=m[a],e=d.resizeWhileDragging&&!k.isLayoutBusy;d.autoResize=!1;Y(a,b,c,e)},Y=function(a,b,c,d){var e=m[a],h=l[a],g=q[a],i=w[a],n=k[a].side.toLowerCase(),j="inset"+k[a].side,A=k.isLayoutBusy&&!e.triggerEventsWhileDragging,o;Q(a);o=h.size;b=U(a,b);b=y(b,U(a,e.minSize));b=Math.min(b,h.maxSize);if(b<h.minSize)V(a,
|
88
|
+
!1,c);else if(d||b!=o)!c&&l.initialized&&h.isVisible&&t(a,e.onresize_start),g.css(k[a].sizeType.toLowerCase(),y(1,k[a].dir=="horz"?L(a,b):K(a,b))),h.size=b,f.extend(h,$(g)),i&&g.is(":visible")&&i.css(n,b+u[j]),fa(a),!c&&!A&&l.initialized&&h.isVisible&&(t(a,e.onresize_end||e.onresize),aa(a)),c||(h.isSliding||W(k[a].dir=="horz"?"all":"center",A,d),ja("all")),a=k.altSide[a],b<o&&l[a].noRoom&&(Q(a),V(a,!1,c))},W=function(a,b,c){if(!a||a=="all")a="east,west,center";f.each(a.split(","),function(a,e){if(q[e]){var h=
|
89
|
+
m[e],g=l[e],i=q[e],n=!0,k={},n={top:P("north",!0),bottom:P("south",!0),left:P("west",!0),right:P("east",!0),width:0,height:0};n.width=u.innerWidth-n.left-n.right;n.height=u.innerHeight-n.bottom-n.top;n.top+=u.insetTop;n.bottom+=u.insetBottom;n.left+=u.insetLeft;n.right+=u.insetRight;f.extend(g,$(i));if(e=="center"){if(!c&&g.isVisible&&n.width==g.outerWidth&&n.height==g.outerHeight)return!0;f.extend(g,ma(e),{maxWidth:n.width,maxHeight:n.height});k=n;k.width=K(e,n.width);k.height=L(e,n.height);n=k.width>
|
90
|
+
0&&k.height>0;if(!n&&!l.initialized&&h.minWidth>0){var j=h.minWidth-g.outerWidth,o=m.east.minSize||0,p=m.west.minSize||0,r=l.east.size,w=l.west.size,v=r,x=w;j>0&&l.east.isVisible&&r>o&&(v=y(r-o,r-j),j-=r-v);j>0&&l.west.isVisible&&w>p&&(x=y(w-p,w-j),j-=w-x);if(j==0){r!=o&&Y("east",v,!0);w!=p&&Y("west",x,!0);W("center",b,c);return}}}else{g.isVisible&&!g.noVerticalRoom&&f.extend(g,$(i),ma(e));if(!c&&!g.noVerticalRoom&&n.height==g.outerHeight)return!0;k.top=n.top;k.bottom=n.bottom;k.height=L(e,n.height);
|
91
|
+
g.maxHeight=y(0,k.height);n=g.maxHeight>0;if(!n)g.noVerticalRoom=!0}n?(!b&&l.initialized&&t(e,h.onresize_start),i.css(k),g.noRoom&&!g.isClosed&&!g.isHidden&&V(e),g.isVisible&&(f.extend(g,$(i)),l.initialized&&fa(e))):!g.noRoom&&g.isVisible&&V(e);if(!g.isVisible)return!0;if(e=="center")g=l.browser,g=g.isIE6||g.msie&&!g.boxModel,q.north&&(g||l.north.tagName=="IFRAME")&&q.north.css("width",K(q.north,u.innerWidth)),q.south&&(g||l.south.tagName=="IFRAME")&&q.south.css("width",K(q.south,u.innerWidth));!b&&
|
92
|
+
l.initialized&&(t(e,h.onresize_end||h.onresize),aa(e))}})},ea=function(){f.extend(l.container,$(G));if(u.outerHeight){if(!1===t(null,m.onresizeall_start))return!1;var a,b,c;f.each(["south","north","east","west"],function(a,e){q[e]&&(c=l[e],b=m[e],b.autoResize&&c.size!=b.size?Y(e,b.size,!0,!0):(Q(e),V(e,!1,!0,!0)))});W("all",!0,!0);ja("all");b=m;f.each(k.allPanes.split(","),function(c,e){if((a=q[e])&&l[e].isVisible)t(e,b[e].onresize_end||b[e].onresize),aa(e)});t(null,b.onresizeall_end||b.onresizeall)}},
|
93
|
+
aa=function(a){var b=q[a],c=N[a];m[a].resizeNestedLayout&&(b.data("layoutContainer")?b.layout().resizeAll():c&&c.data("layoutContainer")&&c.layout().resizeAll())},fa=function(a,b){if(!a||a=="all")a=k.allPanes;f.each(a.split(","),function(a,d){function e(a){return y(j.css.paddingBottom,parseInt(a.css("marginBottom"),10)||0)}function f(){var a=m[d].contentIgnoreSelector,a=i.nextAll().not(a||":lt(0)"),b=a.filter(":visible"),c=b.filter(":last");o={top:i[0].offsetTop,height:i.outerHeight(),numFooters:a.length,
|
94
|
+
hiddenFooters:a.length-b.length,spaceBelow:0};o.spaceAbove=o.top;o.bottom=o.top+o.height;o.spaceBelow=c.length?c[0].offsetTop+c.outerHeight()-o.bottom+e(c):e(i)}var g=q[d],i=N[d],n=m[d],j=l[d],o=j.content;if(!g||!i||!g.is(":visible"))return!0;if(!1!==t(null,n.onsizecontent_start)){if(!k.isLayoutBusy||o.top==void 0||b||n.resizeContentWhileDragging)f(),o.hiddenFooters>0&&g.css("overflow")=="hidden"&&(g.css("overflow","visible"),f(),g.css("overflow","hidden"));g=j.innerHeight-(o.spaceAbove-j.css.paddingTop)-
|
95
|
+
(o.spaceBelow-j.css.paddingBottom);if(!i.is(":visible")||o.height!=g)Ua(i,g,!0),o.height=g;l.initialized&&(t(d,n.onsizecontent_end||n.onsizecontent),aa(d))}})},ja=function(a){if(!a||a=="all")a=k.borderPanes;f.each(a.split(","),function(a,c){var d=m[c],e=l[c],h=q[c],g=w[c],i=B[c],j;if(h&&g){var o=k[c].dir,p=e.isClosed?"_closed":"_open",r=d["spacing"+p],t=d["togglerAlign"+p],p=d["togglerLength"+p],v;if(r==0)g.hide();else{!e.noRoom&&!e.isHidden&&g.show();o=="horz"?(v=h.outerWidth(),e.resizerLength=v,
|
96
|
+
g.css({width:y(1,K(g,v)),height:y(0,L(g,r)),left:Z(h,"left")})):(v=h.outerHeight(),e.resizerLength=v,g.css({height:y(1,L(g,v)),width:y(0,K(g,r)),top:u.insetTop+P("north",!0)}));R(d,g);if(i){if(p==0||e.isSliding&&d.hideTogglerOnSlide){i.hide();return}else i.show();if(!(p>0)||p=="100%"||p>v)p=v,t=0;else if(I(t))switch(t){case "top":case "left":t=0;break;case "bottom":case "right":t=v-p;break;default:t=Math.floor((v-p)/2)}else h=parseInt(t,10),t=t>=0?h:v-p+h;if(o=="horz"){var x=K(i,p);i.css({width:y(0,
|
97
|
+
x),height:y(1,L(i,r)),left:t,top:0});i.children(".content").each(function(){j=f(this);j.css("marginLeft",Math.floor((x-j.outerWidth())/2))})}else{var z=L(i,p);i.css({height:y(0,z),width:y(1,K(i,r)),top:t,left:0});i.children(".content").each(function(){j=f(this);j.css("marginTop",Math.floor((z-j.outerHeight())/2))})}R(0,i)}if(!l.initialized&&(d.initHidden||e.noRoom))g.hide(),i&&i.hide()}}})},Ra=function(a){var b=B[a],c=m[a];if(b)c.closable=!0,b.bind("click."+v,function(b){b.stopPropagation();ca(a)}).bind("mouseenter."+
|
98
|
+
v,ta).bind("mouseleave."+v,R).css("visibility","visible").css("cursor","pointer").attr("title",l[a].isClosed?c.togglerTip_closed:c.togglerTip_open).show()},G=f(this).eq(0);if(!G.length)return null;if(G.data("layoutContainer")&&G.data("layout"))return G.data("layout");var q={},N={},w={},B={},u=l.container,v=l.id,da={options:m,state:l,container:G,panes:q,contents:N,resizers:w,togglers:B,toggle:ca,hide:la,show:ha,open:M,close:J,slideOpen:Sa,slideClose:Aa,slideToggle:function(a){ca(a,!0)},initContent:Qa,
|
99
|
+
sizeContent:fa,sizePane:za,swapPanes:function(a,b){function c(a){var b=q[a],c=N[a];return!b?!1:{pane:a,P:b?b[0]:!1,C:c?c[0]:!1,state:f.extend({},l[a]),options:f.extend({},m[a])}}function d(a,b){if(a){var c=a.P,d=a.C,e=a.pane,h=k[b],j=h.side.toLowerCase(),o="inset"+h.side,p=f.extend({},l[b]),r=m[b],t={resizerCursor:r.resizerCursor};f.each("fxName,fxSpeed,fxSettings".split(","),function(a,b){t[b]=r[b];t[b+"_open"]=r[b+"_open"];t[b+"_close"]=r[b+"_close"]});q[b]=f(c).data("layoutEdge",b).css(k.hidden).css(h.cssReq);
|
100
|
+
N[b]=d?f(d):!1;m[b]=f.extend({},a.options,t);l[b]=f.extend({},a.state);c.className=c.className.replace(RegExp(r.paneClass+"-"+e,"g"),r.paneClass+"-"+b);va(b);h.dir!=k[e].dir?(c=g[b]||0,Q(b),c=y(c,l[b].minSize),za(b,c,!0)):w[b].css(j,u[o]+(l[b].isVisible?P(b):0));a.state.isVisible&&!p.isVisible?xa(b,!0):(ya(b),ba(b,!0));a=null}}l[a].edge=b;l[b].edge=a;var e=!1;!1===t(a,m[a].onswap_start)&&(e=!0);!e&&!1===t(b,m[b].onswap_start)&&(e=!0);if(e)l[a].edge=a,l[b].edge=b;else{var e=c(a),h=c(b),g={};g[a]=e?
|
101
|
+
e.state.size:0;g[b]=h?h.state.size:0;q[a]=!1;q[b]=!1;l[a]={};l[b]={};B[a]&&B[a].remove();B[b]&&B[b].remove();w[a]&&w[a].remove();w[b]&&w[b].remove();w[a]=w[b]=B[a]=B[b]=!1;d(e,b);d(h,a);e=h=g=null;q[a]&&q[a].css(k.visible);q[b]&&q[b].css(k.visible);ea();t(a,m[a].onswap_end||m[a].onswap);t(b,m[b].onswap_end||m[b].onswap)}},resizeAll:ea,destroy:function(){f(window).unbind("."+v);f(document).unbind("."+v);f.each(k.allPanes.split(","),function(a,c){wa(c,!1,!0)});var a=G.removeData("layout").removeData("layoutContainer").removeClass(m.containerClass);
|
102
|
+
!a.data("layoutEdge")&&a.data("layoutCSS")&&a.css(a.data("layoutCSS")).removeData("layoutCSS");u.tagName=="BODY"&&(a=f("html")).data("layoutCSS")&&a.css(a.data("layoutCSS")).removeData("layoutCSS");Ma()},addPane:Pa,removePane:wa,setSizeLimits:Q,bindButton:C,addToggleBtn:H,addOpenBtn:x,addCloseBtn:z,addPinBtn:Ba,allowOverflow:p,resetOverflow:r,encodeJSON:Da,decodeJSON:Ca,getState:qa,getCookie:X,saveCookie:pa,deleteCookie:function(){pa("",{expires:-1})},loadCookie:Ea,loadState:Fa,cssWidth:K,cssHeight:L,
|
103
|
+
enableClosable:Ra,disableClosable:function(a,b){var c=B[a];if(c)m[a].closable=!1,l[a].isClosed&&M(a,!1,!0),c.unbind("."+v).css("visibility",b?"hidden":"visible").css("cursor","default").attr("title","")},enableSlidable:function(a){var b=w[a];if(b&&b.data("draggable"))m[a].slidable=!0,s.isClosed&&ba(a,!0)},disableSlidable:function(a){var b=w[a];if(b)m[a].slidable=!1,l[a].isSliding?J(a,!1,!0):(ba(a,!1),b.css("cursor","default").attr("title",""),R(null,b[0]))},enableResizable:function(a){var b=w[a],
|
104
|
+
c=m[a];if(b&&b.data("draggable"))c.resizable=!0,b.draggable("enable").bind("mouseenter."+v,Ka).bind("mouseleave."+v,ua),l[a].isClosed||b.css("cursor",c.resizerCursor).attr("title",c.resizerTip)},disableResizable:function(a){var b=w[a];if(b&&b.data("draggable"))m[a].resizable=!1,b.draggable("disable").unbind("."+v).css("cursor","default").attr("title",""),R(null,b[0])}};(function(){Wa();var a=m;if(!1===t(null,a.onload_start))return!1;if(!Oa("center").length)return alert(D.errCenterPaneMissing),null;
|
105
|
+
a.useStateCookie&&a.cookie.autoLoad&&Ea();l.browser={mozilla:f.browser.mozilla,webkit:f.browser.webkit||f.browser.safari,msie:f.browser.msie,isIE6:f.browser.msie&&f.browser.version==6,boxModel:f.support.boxModel};var b=G,c=u.tagName=b.attr("tagName"),d=c=="BODY",e={};u.selector=b.selector.split(".slice")[0];u.ref=c+"/"+u.selector;b.data("layout",da).data("layoutContainer",v).addClass(m.containerClass);b.data("layoutCSS")||(d?(e=f.extend(na(b,"position,margin,padding,border"),{height:b.css("height"),
|
106
|
+
overflow:b.css("overflow"),overflowX:b.css("overflowX"),overflowY:b.css("overflowY")}),c=f("html"),c.data("layoutCSS",{height:"auto",overflow:c.css("overflow"),overflowX:c.css("overflowX"),overflowY:c.css("overflowY")})):e=na(b,"position,margin,padding,border,top,bottom,left,right,width,height,overflow,overflowX,overflowY"),b.data("layoutCSS",e));try{if(d)f("html").css({height:"100%",overflow:"hidden",overflowX:"hidden",overflowY:"hidden"}),f("body").css({position:"relative",height:"100%",overflow:"hidden",
|
107
|
+
overflowX:"hidden",overflowY:"hidden",margin:0,padding:0,border:"none"});else{var e={overflow:"hidden"},h=b.css("position");b.css("height");if(!b.data("layoutRole")&&(!h||!h.match(/fixed|absolute|relative/)))e.position="relative";b.css(e);b.is(":visible")&&b.innerHeight()<2&&alert(D.errContainerHeight.replace(/CONTAINER/,u.ref))}}catch(g){}f.extend(l.container,$(b));Xa();fa();if(a.scrollToBookmarkOnLoad)b=self.location,b.hash&&b.replace(b.hash);Na();a.autoBindCustomButtons&&Za();a.resizeWithWindow&&
|
108
|
+
!G.data("layoutRole")&&f(window).bind("resize."+v,Va);f(window).bind("unload."+v,Ma);l.initialized=!0;t(null,a.onload_end||a.onload)})();return da}})(jQuery);
|
File without changes
|
@@ -0,0 +1,49 @@
|
|
1
|
+
.aloha-cite-button {
|
2
|
+
background: url(../img/icon_cite.png) no-repeat !important;
|
3
|
+
}
|
4
|
+
.aloha-cite-block-button {
|
5
|
+
background: url(../img/blockquote.png) no-repeat !important;
|
6
|
+
border: 1px solid none !important;
|
7
|
+
border-radius: 3px 3px 3px 3px;
|
8
|
+
height: 44px !important;
|
9
|
+
width: 54px !important;
|
10
|
+
}
|
11
|
+
.aloha-cite-pressed {
|
12
|
+
border: 2px solid #3B73D7 !important;
|
13
|
+
}
|
14
|
+
|
15
|
+
.aloha-cite-wrapper {
|
16
|
+
/* background: #efd25d; */
|
17
|
+
/* background: rgba(0, 0, 0, 0.1); */
|
18
|
+
}
|
19
|
+
q.aloha-cite-wrapper {
|
20
|
+
/* background: #ffd25d; */
|
21
|
+
}
|
22
|
+
blockquote.aloha-cite-wrapper {
|
23
|
+
/* background: #dfd25d; */
|
24
|
+
}
|
25
|
+
|
26
|
+
/* background: none repeat scroll 0 0 rgba(0, 0, 0, 0.3);
|
27
|
+
box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 7px 0 rgba(0, 0, 0, 0.8) inset; */
|
28
|
+
|
29
|
+
.aloha-cite-panel-label {
|
30
|
+
padding: 5px;
|
31
|
+
}
|
32
|
+
.aloha-cite-panel-field {
|
33
|
+
}
|
34
|
+
.aloha-cite-panel-btns {
|
35
|
+
padding: 5px;
|
36
|
+
}
|
37
|
+
.aloha-cite-panel-btns button {
|
38
|
+
width: 100%;
|
39
|
+
}
|
40
|
+
|
41
|
+
.aloha-cite-panel-field input,
|
42
|
+
.aloha-cite-panel-field textarea {
|
43
|
+
width: 190px;
|
44
|
+
padding: 5px;
|
45
|
+
color: #555;
|
46
|
+
font-family: Arial, sans-serif;
|
47
|
+
font-size: 12px;
|
48
|
+
line-height: 1em;
|
49
|
+
}
|
@@ -0,0 +1,539 @@
|
|
1
|
+
/*!
|
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
|
+
*/
|
7
|
+
|
8
|
+
define([
|
9
|
+
'aloha',
|
10
|
+
'aloha/jquery',
|
11
|
+
'aloha/plugin',
|
12
|
+
'aloha/floatingmenu',
|
13
|
+
'format/format-plugin',
|
14
|
+
'util/dom',
|
15
|
+
'i18n!cite/nls/i18n',
|
16
|
+
'i18n!aloha/nls/i18n'
|
17
|
+
], function CiteClosure (Aloha, jQuery, Plugin, FloatingMenu, Format, domUtils, i18n, i18nCore) {
|
18
|
+
|
19
|
+
|
20
|
+
Aloha.require( ['css!cite/css/cite.css'] );
|
21
|
+
|
22
|
+
var
|
23
|
+
GENTICS = window.GENTICS,
|
24
|
+
$ = jQuery,
|
25
|
+
ns = 'aloha-cite',
|
26
|
+
uid = +new Date,
|
27
|
+
animating = false;
|
28
|
+
|
29
|
+
// namespaced classnames
|
30
|
+
var nsClasses = {
|
31
|
+
quote : nsClass('quote'),
|
32
|
+
blockquote : nsClass('blockquote'),
|
33
|
+
'panel-label' : nsClass('panel-label'),
|
34
|
+
'panel-field' : nsClass('panel-field'),
|
35
|
+
'panel-btns' : nsClass('panel-btns'),
|
36
|
+
'link-field' : nsClass('link-field'),
|
37
|
+
'note-field' : nsClass('note-field'),
|
38
|
+
references : nsClass('references')
|
39
|
+
};
|
40
|
+
|
41
|
+
// ------------------------------------------------------------------------
|
42
|
+
// Local (helper) functions
|
43
|
+
// ------------------------------------------------------------------------
|
44
|
+
|
45
|
+
/**
|
46
|
+
* Simple templating
|
47
|
+
*
|
48
|
+
* @param {String} str - The string containing placeholder keys in curly
|
49
|
+
* brackets
|
50
|
+
* @param {Object} obj - Associative array of replacing placeholder keys
|
51
|
+
* with corresponding values
|
52
|
+
*/
|
53
|
+
function supplant (str, obj) {
|
54
|
+
return str.replace(/\{([a-z0-9\-\_]+)\}/ig, function (str, p1, offset, s) {
|
55
|
+
var replacement = obj[p1] || str;
|
56
|
+
return (typeof replacement === 'function') ? replacement() : replacement;
|
57
|
+
});
|
58
|
+
};
|
59
|
+
|
60
|
+
/**
|
61
|
+
* Wrapper to call the supplant method on a given string, taking the
|
62
|
+
* nsClasses object as the associative array containing the replacement
|
63
|
+
* pairs
|
64
|
+
*
|
65
|
+
* @param {String} str
|
66
|
+
* @return {String}
|
67
|
+
*/
|
68
|
+
function renderTemplate (str) {
|
69
|
+
return (typeof str === 'string') ? supplant(str, nsClasses) : str;
|
70
|
+
};
|
71
|
+
|
72
|
+
/**
|
73
|
+
* Generates a selector string with this plugins's namespace prefixed the
|
74
|
+
* each classname
|
75
|
+
*
|
76
|
+
* Usage:
|
77
|
+
* nsSel('header,', 'main,', 'foooter ul')
|
78
|
+
* will return
|
79
|
+
* ".aloha-myplugin-header, .aloha-myplugin-main, .aloha-mypluzgin-footer ul"
|
80
|
+
*
|
81
|
+
* @return {String}
|
82
|
+
*/
|
83
|
+
function nsSel () {
|
84
|
+
var strBldr = [], prx = ns;
|
85
|
+
$.each(arguments, function () { strBldr.push('.' + (this == '' ? prx : prx + '-' + this)); });
|
86
|
+
return $.trim(strBldr.join(' '));
|
87
|
+
};
|
88
|
+
|
89
|
+
/**
|
90
|
+
* Generates a string with this plugins's namespace prefixed the each
|
91
|
+
* classname
|
92
|
+
*
|
93
|
+
* Usage:
|
94
|
+
* nsClass('header', 'innerheaderdiv')
|
95
|
+
* will return
|
96
|
+
* "aloha-myplugin-header aloha-myplugin-innerheaderdiv"
|
97
|
+
*
|
98
|
+
* @return {String}
|
99
|
+
*/
|
100
|
+
function nsClass () {
|
101
|
+
var strBldr = [], prx = ns;
|
102
|
+
$.each(arguments, function () { strBldr.push(this == '' ? prx : prx + '-' + this); });
|
103
|
+
return $.trim(strBldr.join(' '));
|
104
|
+
};
|
105
|
+
|
106
|
+
/**
|
107
|
+
* Coverts hexidecimal string #00ffcc into rgb array [0, 255, 127]
|
108
|
+
*
|
109
|
+
* @param {String} hex - Hexidecimal string representing color. In the form
|
110
|
+
* #ff3344 or #f34
|
111
|
+
* @return {Array} rgb representation of hexidecimal color
|
112
|
+
*/
|
113
|
+
function hex2rgb (hex) {
|
114
|
+
var hex = hex.replace('#', '').split('');
|
115
|
+
|
116
|
+
if (hex.length == 3) {
|
117
|
+
hex[5] = hex[4] = hex[2];
|
118
|
+
hex[3] = hex[2] = hex[1];
|
119
|
+
hex[1] = hex[0];
|
120
|
+
}
|
121
|
+
|
122
|
+
var rgb = [];
|
123
|
+
|
124
|
+
for (var i = 0; i < 3; ++i) {
|
125
|
+
rgb[i] = parseInt('0x' + hex[i * 2] + hex[i * 2 + 1], 16);
|
126
|
+
}
|
127
|
+
|
128
|
+
return rgb;
|
129
|
+
};
|
130
|
+
|
131
|
+
// ------------------------------------------------------------------------
|
132
|
+
// Plugin
|
133
|
+
// ------------------------------------------------------------------------
|
134
|
+
|
135
|
+
return Plugin.create('cite', {
|
136
|
+
|
137
|
+
citations: [],
|
138
|
+
referenceContainer: null,
|
139
|
+
|
140
|
+
init: function () {
|
141
|
+
var that = this;
|
142
|
+
|
143
|
+
// Harverst configuration options that may be defined outside of
|
144
|
+
// the plugin
|
145
|
+
if (Aloha.settings &&
|
146
|
+
Aloha.settings.plugins &&
|
147
|
+
Aloha.settings.plugins.cite &&
|
148
|
+
Aloha.settings.plugins.cite) {
|
149
|
+
var referenceContainer = $(Aloha.settings.plugins.cite.referenceContainer);
|
150
|
+
|
151
|
+
if (referenceContainer.length > 0) {
|
152
|
+
this.referenceContainer = referenceContainer;
|
153
|
+
}
|
154
|
+
}
|
155
|
+
|
156
|
+
// Add the inline quote button in the floating menu, in the
|
157
|
+
// standard manner...
|
158
|
+
this.buttons = [];
|
159
|
+
this.buttons[0] = new Aloha.ui.Button({
|
160
|
+
name : 'quote',
|
161
|
+
text : 'Quote', // that.i18n('button.' + button + '.text'),
|
162
|
+
tooltip : i18n.t('cite.button.add.quote'), // that.i18n('button.' + button + '.tooltip'),
|
163
|
+
iconClass : nsClass('button','inline-button'),
|
164
|
+
size : 'small',
|
165
|
+
toggle : true,
|
166
|
+
onclick : function() {
|
167
|
+
that.addInlineQuote();
|
168
|
+
}
|
169
|
+
});
|
170
|
+
FloatingMenu.addButton(
|
171
|
+
'Aloha.continuoustext',
|
172
|
+
this.buttons[0],
|
173
|
+
i18nCore.t('floatingmenu.tab.format'),
|
174
|
+
1
|
175
|
+
);
|
176
|
+
|
177
|
+
// We brute-forcishly push our button settings into the
|
178
|
+
// multiSplitButton. The multiSplitButton will pick it up and
|
179
|
+
// render it. Nevertheless, because this button is added so late,
|
180
|
+
// it means that it will not be automatically shown when doLayout
|
181
|
+
// is called on the FloatingMenu. We therefore have to do it
|
182
|
+
// ourselves at aloha-selection-changed.
|
183
|
+
Format.multiSplitButton.items.push({
|
184
|
+
name : 'blockquote',
|
185
|
+
text : 'Blockquote', // that.i18n('button.' + button + '.text'),
|
186
|
+
tooltip : i18n.t('cite.button.add.blockquote'), // that.i18n('button.' + button + '.tooltip'),
|
187
|
+
iconClass : nsClass('button', 'block-button'),
|
188
|
+
click : function() {
|
189
|
+
that.addBlockQuote();
|
190
|
+
}
|
191
|
+
});
|
192
|
+
|
193
|
+
this.sidebar = null;
|
194
|
+
|
195
|
+
var citePlugin = this;
|
196
|
+
|
197
|
+
// Note that if the sidebar is not loaded,
|
198
|
+
// aloha-sidebar-initialized will not fire and this listener will
|
199
|
+
// not be called, which is what we would want if there are no
|
200
|
+
// sidebars
|
201
|
+
Aloha.ready( function (ev) {
|
202
|
+
citePlugin.sidebar = Aloha.Sidebar.right.show();
|
203
|
+
// citePlugin.sidebar.settings.overlayPage = false;
|
204
|
+
citePlugin.sidebar.addPanel({
|
205
|
+
id : nsClass('sidebar-panel'),
|
206
|
+
title : 'Citation',
|
207
|
+
content : '',
|
208
|
+
expanded : true,
|
209
|
+
activeOn : '.aloha-cite-wrapper',
|
210
|
+
|
211
|
+
// Executed once, when this panel object is instantialized
|
212
|
+
onInit : function () {
|
213
|
+
var that = this;
|
214
|
+
var content = this.setContent(renderTemplate(
|
215
|
+
'<div class="{panel-label}">Link:</div>\
|
216
|
+
<div class="{panel-field} {link-field}" style="margin: 5px;"><input type="text" /></div>'
|
217
|
+
+ (citePlugin.referenceContainer
|
218
|
+
? '<div class="{panel-label}">Note:</div>\
|
219
|
+
<div class="{panel-field} {note-field}" style="margin: 5px;"><textarea></textarea></div>'
|
220
|
+
: '')
|
221
|
+
)).content;
|
222
|
+
|
223
|
+
content.find('input, textarea').bind('keypress change', function () {
|
224
|
+
var content = that.content;
|
225
|
+
|
226
|
+
citePlugin.addCiteDetails(
|
227
|
+
content.attr('data-cite-id'),
|
228
|
+
content.find(nsSel('link-field input')).val(),
|
229
|
+
content.find(nsSel('note-field textarea')).val()
|
230
|
+
);
|
231
|
+
});
|
232
|
+
},
|
233
|
+
|
234
|
+
/**
|
235
|
+
* Invoked during aloha-selection-changed, if activeOn
|
236
|
+
* function returns true for the current selection.
|
237
|
+
* Will populate panel fields with the details of the
|
238
|
+
* selected citation if they are already available.
|
239
|
+
* If no citation exists for the selected quotation, then
|
240
|
+
* one will be created for it first.
|
241
|
+
*/
|
242
|
+
onActivate: function (effective) {
|
243
|
+
var uid = effective.attr('data-cite-id');
|
244
|
+
var index = that.getIndexOfCitation(uid);
|
245
|
+
var content = this.content;
|
246
|
+
|
247
|
+
if (index == -1) {
|
248
|
+
index = that.citations.push({
|
249
|
+
uid : uid,
|
250
|
+
link : null,
|
251
|
+
notes : null
|
252
|
+
}) - 1;
|
253
|
+
}
|
254
|
+
|
255
|
+
content.attr('data-cite-id', uid);
|
256
|
+
content.find(nsSel('link-field input')).val(effective.attr('cite')); //.focus();
|
257
|
+
content.find(nsSel('note-field textarea')).val(that.citations[index].note);
|
258
|
+
}
|
259
|
+
|
260
|
+
});
|
261
|
+
});
|
262
|
+
|
263
|
+
Aloha.bind('aloha-selection-changed', function(event, rangeObject){
|
264
|
+
Format.multiSplitButton.showItem('blockquote');
|
265
|
+
|
266
|
+
var buttons = $('button' + nsSel('button'));
|
267
|
+
|
268
|
+
$.each(that.buttons, function(index, button) {
|
269
|
+
// set to false to prevent multiple buttons being active when they should not
|
270
|
+
var statusWasSet = false;
|
271
|
+
var tagName;
|
272
|
+
var effective = rangeObject.markupEffectiveAtStart;
|
273
|
+
var i = effective.length;
|
274
|
+
|
275
|
+
// check whether any of the effective items are citation tags
|
276
|
+
while (i--) {
|
277
|
+
tagName = effective[i].tagName.toLowerCase();
|
278
|
+
if ('q' == tagName || 'blockquote' == tagName) {
|
279
|
+
statusWasSet = true;
|
280
|
+
break;
|
281
|
+
}
|
282
|
+
}
|
283
|
+
|
284
|
+
buttons.filter(nsSel('block-button')).removeClass(nsClass('pressed'));
|
285
|
+
that.buttons[0].setPressed(false);
|
286
|
+
|
287
|
+
if (statusWasSet) {
|
288
|
+
if(tagName == 'q') {
|
289
|
+
that.buttons[0].setPressed(true);
|
290
|
+
} else {
|
291
|
+
buttons.filter(nsSel('block-button'))
|
292
|
+
.addClass(nsClass('pressed'));
|
293
|
+
}
|
294
|
+
|
295
|
+
// We've got what we came for, so return false to break the each loop
|
296
|
+
return false;
|
297
|
+
}
|
298
|
+
});
|
299
|
+
});
|
300
|
+
},
|
301
|
+
|
302
|
+
/**
|
303
|
+
* Do a binary search through all citations for a given uid.
|
304
|
+
* The bit shifting may be a *bit* of an overkill, but with big lists
|
305
|
+
* it proves to be significantly more performant
|
306
|
+
*
|
307
|
+
* @param {String} uid - uid of citation
|
308
|
+
*/
|
309
|
+
getIndexOfCitation: function (uid) {
|
310
|
+
var c = this.citations;
|
311
|
+
var max = c.length;
|
312
|
+
var min = 0;
|
313
|
+
var mid;
|
314
|
+
var cuid;
|
315
|
+
|
316
|
+
// Infinite loop guard for debugging.
|
317
|
+
// So your tab/browser doesn't freeze up like a Christmas turkey ;-)
|
318
|
+
// var __guard = 1000;
|
319
|
+
|
320
|
+
while (min < max /* && --__guard */) {
|
321
|
+
mid = (min + max) >> 1; // Math.floor(i) / 2 == i >> 1 == ~~(i / 2)
|
322
|
+
if ((cuid = c[mid].uid) == uid) {
|
323
|
+
return mid;
|
324
|
+
} else if (cuid > uid) {
|
325
|
+
max = mid;
|
326
|
+
} else if (cuid < uid) {
|
327
|
+
min = mid + 1;
|
328
|
+
}
|
329
|
+
}
|
330
|
+
|
331
|
+
return -1;
|
332
|
+
},
|
333
|
+
|
334
|
+
addBlockQuote: function () {
|
335
|
+
var classes = [nsClass('wrapper'), nsClass(++uid)].join(' ');
|
336
|
+
var markup = $(supplant(
|
337
|
+
'<blockquote class="{classes}" data-cite-id="{uid}"></blockquote>',
|
338
|
+
{uid:uid, classes:classes}
|
339
|
+
));
|
340
|
+
|
341
|
+
// now re enable the editable
|
342
|
+
if (Aloha.activeEditable) {
|
343
|
+
jQuery(Aloha.activeEditable.obj[0]).click();
|
344
|
+
}
|
345
|
+
|
346
|
+
Aloha.Selection.changeMarkupOnSelection(markup);
|
347
|
+
|
348
|
+
this.referenceContainer && this.addCiteToReferences(uid);
|
349
|
+
|
350
|
+
if (this.sidebar) {
|
351
|
+
this.sidebar.open();
|
352
|
+
}
|
353
|
+
// .activatePanel(nsClass('sidebar-panel'), markup);
|
354
|
+
},
|
355
|
+
|
356
|
+
addInlineQuote: function () {
|
357
|
+
var classes = [nsClass('wrapper'), nsClass(++uid)].join(' ');
|
358
|
+
var markup = $(supplant(
|
359
|
+
'<q class="{classes}" data-cite-id="{uid}"></q>',
|
360
|
+
{uid:uid, classes:classes}
|
361
|
+
));
|
362
|
+
var rangeObject = Aloha.Selection.rangeObject;
|
363
|
+
var foundMarkup;
|
364
|
+
|
365
|
+
// now re enable the editable
|
366
|
+
if (Aloha.activeEditable) {
|
367
|
+
jQuery(Aloha.activeEditable.obj[0]).click();
|
368
|
+
}
|
369
|
+
|
370
|
+
// check whether the markup is found in the range (at the start of the range)
|
371
|
+
foundMarkup = rangeObject.findMarkup(function() {
|
372
|
+
if (this.nodeName && markup.get(0) &&
|
373
|
+
(typeof this.nodeName === 'string') &&
|
374
|
+
(typeof markup.get(0).nodeName === 'string')) {
|
375
|
+
return this.nodeName.toLowerCase() == markup.get(0).nodeName.toLowerCase();
|
376
|
+
}
|
377
|
+
|
378
|
+
return false;
|
379
|
+
}, Aloha.activeEditable.obj);
|
380
|
+
|
381
|
+
if (foundMarkup) {
|
382
|
+
// remove the markup
|
383
|
+
if (rangeObject.isCollapsed()) {
|
384
|
+
// when the range is collapsed, we remove exactly the one DOM element
|
385
|
+
domUtils.removeFromDOM(foundMarkup, rangeObject, true);
|
386
|
+
} else {
|
387
|
+
// the range is not collapsed, so we remove the markup from the range
|
388
|
+
domUtils.removeMarkup(rangeObject, markup, Aloha.activeEditable.obj);
|
389
|
+
}
|
390
|
+
} else {
|
391
|
+
// when the range is collapsed, extend it to a word
|
392
|
+
if (rangeObject.isCollapsed()) {
|
393
|
+
domUtils.extendToWord(rangeObject);
|
394
|
+
}
|
395
|
+
|
396
|
+
// add the markup
|
397
|
+
domUtils.addMarkup(rangeObject, markup);
|
398
|
+
}
|
399
|
+
|
400
|
+
// select the modified range
|
401
|
+
rangeObject.select();
|
402
|
+
|
403
|
+
this.referenceContainer && this.addCiteToReferences(uid);
|
404
|
+
|
405
|
+
if (this.sidebar) {
|
406
|
+
this.sidebar.open();
|
407
|
+
}
|
408
|
+
// .activatePanel(nsClass('sidebar-panel'), markup);
|
409
|
+
|
410
|
+
return false;
|
411
|
+
},
|
412
|
+
|
413
|
+
/**
|
414
|
+
* Adds an item for the citation matching the given uid to the
|
415
|
+
* references list. If no OL list for references exist, we create one.
|
416
|
+
* This method will assume that this.referenceContainer is a jQuery
|
417
|
+
* object container into which the references list should be built.
|
418
|
+
*
|
419
|
+
* @param {String} uid - uid of citation
|
420
|
+
*/
|
421
|
+
addCiteToReferences: function (uid) {
|
422
|
+
var index = this.getIndexOfCitation(uid);
|
423
|
+
|
424
|
+
if (index == -1) {
|
425
|
+
return;
|
426
|
+
}
|
427
|
+
|
428
|
+
var wrapper = $('.aloha-editable-active ' + nsSel(uid));
|
429
|
+
var note = 'cite-note-' + uid;
|
430
|
+
var ref = 'cite-ref-' + uid;
|
431
|
+
|
432
|
+
wrapper.append(
|
433
|
+
supplant(
|
434
|
+
'<sup id="{ref}" contenteditable="false"><a href="#{note}">[{count}]</a></sup>',
|
435
|
+
{
|
436
|
+
ref : ref,
|
437
|
+
note : note,
|
438
|
+
count : index + 1
|
439
|
+
}
|
440
|
+
)
|
441
|
+
);
|
442
|
+
|
443
|
+
if (this.referenceContainer.find('ol.references').length == 0) {
|
444
|
+
this.referenceContainer
|
445
|
+
.append('<h2>References</h2>')
|
446
|
+
.append('<ol class="references"></ol>');
|
447
|
+
}
|
448
|
+
|
449
|
+
this.referenceContainer.find('ol.references').append(
|
450
|
+
supplant(
|
451
|
+
'<li id="{note}"><a href="#{ref}">^</a> <span></span></li>',
|
452
|
+
{
|
453
|
+
ref : ref,
|
454
|
+
note : note
|
455
|
+
}
|
456
|
+
)
|
457
|
+
);
|
458
|
+
},
|
459
|
+
|
460
|
+
/**
|
461
|
+
* Responsible for updating the citation reference in memory, and in
|
462
|
+
* the references list when a user adds or changes information for a
|
463
|
+
* given citation
|
464
|
+
*
|
465
|
+
* @param {String} uid
|
466
|
+
* @param {String} link
|
467
|
+
* @param {String} note
|
468
|
+
*/
|
469
|
+
addCiteDetails: function (uid, link, note) {
|
470
|
+
this.citations[this.getIndexOfCitation(uid)] = {
|
471
|
+
uid : uid,
|
472
|
+
link : link,
|
473
|
+
note : note
|
474
|
+
};
|
475
|
+
|
476
|
+
if (link) {
|
477
|
+
// Update link attribute
|
478
|
+
var el = $(nsSel(uid)).attr('cite', link);
|
479
|
+
|
480
|
+
// Highlight animation for happy user
|
481
|
+
var round = Math.round;
|
482
|
+
var from = hex2rgb('#fdff9a');
|
483
|
+
var to = hex2rgb('#fdff9a');
|
484
|
+
|
485
|
+
from.push(1);
|
486
|
+
to.push(0);
|
487
|
+
|
488
|
+
var diff = [ to[0] - from[0],
|
489
|
+
to[1] - from[1],
|
490
|
+
to[2] - from[2],
|
491
|
+
to[3] - from[3] ];
|
492
|
+
|
493
|
+
el.css({
|
494
|
+
__tick: 0,
|
495
|
+
'background-color': 'rgba(' + from.join(',') + ')',
|
496
|
+
'box-shadow': '0 0 20px rgba(' + from.join(',') + ')'
|
497
|
+
})
|
498
|
+
if ( !animating ) {
|
499
|
+
animating = true;
|
500
|
+
el.animate({__tick: 1}, {
|
501
|
+
duration: 500,
|
502
|
+
easing: 'linear',
|
503
|
+
step: function (val, fx) {
|
504
|
+
var rgba = [ round(from[0] + diff[0] * val),
|
505
|
+
round(from[1] + diff[1] * val),
|
506
|
+
round(from[2] + diff[2] * val),
|
507
|
+
from[3] + diff[3] * val ];
|
508
|
+
|
509
|
+
$(this).css({
|
510
|
+
'background-color': 'rgba(' + rgba.join(',') + ')',
|
511
|
+
'box-shadow': '0 0 ' + (20 * (1 - val)) + 'px rgba(' + from.join(',') + ')'
|
512
|
+
});
|
513
|
+
},
|
514
|
+
complete: function() {
|
515
|
+
animating = false;
|
516
|
+
}
|
517
|
+
});
|
518
|
+
}
|
519
|
+
}
|
520
|
+
|
521
|
+
// Update information in references list for this citation
|
522
|
+
if (this.referenceContainer) {
|
523
|
+
$('li#cite-note-' + uid + ' span').html(
|
524
|
+
supplant(
|
525
|
+
link ? '<a class="external" target="_blank" href="{url}">{url}</a>' : '',
|
526
|
+
{url:link}
|
527
|
+
) + (note ? '. ' + note : '')
|
528
|
+
)
|
529
|
+
}
|
530
|
+
},
|
531
|
+
|
532
|
+
toString: function () {
|
533
|
+
return 'aloha-citiation-plugin';
|
534
|
+
}
|
535
|
+
|
536
|
+
});
|
537
|
+
|
538
|
+
});
|
539
|
+
|