erp_app 3.0.0 → 3.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +3 -0
- data/app/controllers/erp_app/application_controller.rb +1 -0
- data/app/controllers/erp_app/desktop/base_controller.rb +1 -1
- data/app/controllers/erp_app/desktop/configuration_management/base_controller.rb +180 -0
- data/app/controllers/erp_app/desktop/configuration_management/options_controller.rb +55 -0
- data/app/controllers/erp_app/desktop/configuration_management/types_controller.rb +129 -0
- data/app/controllers/erp_app/desktop/control_panel/application_management_controller.rb +1 -1
- data/app/controllers/erp_app/desktop/control_panel/desktop_management_controller.rb +1 -1
- data/app/controllers/erp_app/desktop/control_panel/profile_management_controller.rb +14 -16
- data/app/controllers/erp_app/desktop/file_manager/base_controller.rb +5 -7
- data/app/controllers/erp_app/desktop/system_management/application_role_management_controller.rb +1 -1
- data/app/controllers/erp_app/desktop/user_management/application_management_controller.rb +9 -9
- data/app/controllers/erp_app/desktop/user_management/base_controller.rb +1 -1
- data/app/controllers/erp_app/desktop/user_management/role_management_controller.rb +13 -8
- data/app/controllers/erp_app/mobile/base_controller.rb +21 -0
- data/app/controllers/erp_app/mobile/login_controller.rb +11 -0
- data/app/controllers/erp_app/mobile/user_management/base_controller.rb +24 -0
- data/app/controllers/erp_app/organizer/base_controller.rb +6 -5
- data/app/controllers/erp_app/organizer/crm/base_controller.rb +117 -15
- data/app/controllers/erp_app/public_controller.rb +73 -6
- data/app/controllers/erp_app/shared/configuration_controller.rb +53 -0
- data/app/controllers/erp_app/widget_proxy_controller.rb +1 -1
- data/app/models/app_container.rb +8 -2
- data/app/models/application.rb +1 -1
- data/app/models/configuration.rb +129 -0
- data/app/models/configuration_item.rb +45 -0
- data/app/models/configuration_item_type.rb +96 -0
- data/app/models/configuration_item_type_configuration_option.rb +10 -0
- data/app/models/configuration_option.rb +20 -0
- data/app/models/desktop.rb +7 -10
- data/app/models/extensions/user.rb +41 -2
- data/app/models/mobile.rb +10 -0
- data/app/models/mobile_application.rb +6 -0
- data/app/models/organizer.rb +3 -6
- data/app/models/preference.rb +2 -2
- data/app/models/preference_type.rb +1 -1
- data/app/models/user_preference.rb +3 -3
- data/app/models/valid_configuration.rb +4 -0
- data/app/models/valid_preference_type.rb +2 -2
- data/app/observers/user_app_container_observer.rb +7 -2
- data/app/views/erp_app/desktop/base/index.erb +25 -32
- data/app/views/erp_app/login/index.erb +3 -3
- data/app/views/erp_app/mobile/base/index.erb +37 -0
- data/app/views/erp_app/mobile/login/index.erb +22 -0
- data/app/views/erp_app/mobile/user_management/base/index.html.erb +28 -0
- data/app/views/erp_app/organizer/base/get_party_details.erb +19 -0
- data/app/views/erp_app/organizer/base/index.erb +20 -23
- data/app/views/erp_app/widget_proxy/index.erb +1 -1
- data/config/routes.rb +22 -0
- data/db/data_migrations/20110728201729_erp_app_setup.rb +3 -1
- data/db/data_migrations/20120229160222_add_userinfo_widget.rb +30 -0
- data/db/data_migrations/20120405193721_create_party_and_role_type_for_communication_events.rb +10 -0
- data/db/data_migrations/20120411180756_create_user_management_mobile_application.rb +18 -0
- data/db/data_migrations/20120413000515_create_mobile_containers.rb +13 -0
- data/db/data_migrations/20120418164215_create_configuration_management_desktop_application.rb +22 -0
- data/db/data_migrations/upgrade/20120213182651_add_true_north_background.rb +16 -0
- data/db/migrate/20080805000096_base_app_framework.rb +125 -33
- data/db/migrate/20120316152543_add_is_template_to_configurations.rb +5 -0
- data/db/migrate/20120320182253_update_app_container.rb +20 -0
- data/db/migrate/20120325123722_remove_file_system_loader_column.rb +9 -0
- data/db/migrate/20120411151848_add_base_url_to_application.rb +5 -0
- data/db/migrate/20120427000446_add_user_defined_to_config_option.rb +17 -0
- data/db/migrate/20120429130430_update_configuration_join_tables.rb +16 -0
- data/db/migrate/upgrade/20120208201934_add_configuration_models.rb +109 -0
- data/db/migrate/upgrade/20120209194251_add_user_defined_to_config_type.rb +5 -0
- data/db/migrate/upgrade/20120210172929_add_config_types_to_configs.rb +23 -0
- data/lib/erp_app/application_resource_loader/base_loader.rb +17 -0
- data/lib/erp_app/application_resource_loader/{file_system_loader.rb → desktop_organizer_loader.rb} +15 -29
- data/lib/erp_app/application_resource_loader/mobile_loader.rb +46 -0
- data/lib/erp_app/application_resource_loader/shared_loader.rb +26 -0
- data/lib/erp_app/application_resource_loader.rb +4 -0
- data/lib/erp_app/config.rb +2 -2
- data/lib/erp_app/engine.rb +7 -4
- data/lib/erp_app/extensions/railties/action_view/base.rb +12 -0
- data/lib/erp_app/extensions/railties/action_view/helpers/active_ext_helper.rb +17 -0
- data/lib/erp_app/extensions/railties/action_view/helpers/extjs_helper.rb +45 -0
- data/lib/erp_app/extensions/railties/action_view/helpers/include_helper.rb +134 -0
- data/lib/erp_app/extensions/railties/action_view/helpers/tag_helper.rb +27 -0
- data/lib/erp_app/extensions.rb +1 -2
- data/lib/erp_app/version.rb +8 -1
- data/lib/erp_app/widgets/base.rb +50 -43
- data/lib/erp_app/widgets/javascript_loader.rb +13 -20
- data/lib/erp_app/widgets/loader.rb +126 -0
- data/lib/erp_app/widgets/railties/action_view/base.rb +8 -0
- data/lib/erp_app/widgets/railties/action_view/helpers/widget_helper.rb +57 -0
- data/lib/erp_app/widgets.rb +2 -2
- data/lib/erp_app.rb +3 -1
- data/lib/generators/cms_widget/templates/engine/engine_template.rb +0 -4
- data/lib/generators/cms_widget/templates/javascript/base.js.erb +2 -1
- data/lib/generators/desktop_application/USAGE +1 -1
- data/lib/generators/desktop_application/templates/controllers/controller_template.rb +7 -5
- data/lib/generators/desktop_application/templates/migrate/migration_template.rb +0 -4
- data/lib/generators/mobile_application/USAGE +24 -0
- data/lib/generators/mobile_application/mobile_application_generator.rb +27 -0
- data/lib/generators/mobile_application/templates/INSTALL +25 -0
- data/lib/generators/mobile_application/templates/controllers/controller_template.rb +11 -0
- data/lib/generators/mobile_application/templates/migrate/migration_template.rb +14 -0
- data/lib/generators/mobile_application/templates/public/app.js.erb +35 -0
- data/lib/generators/mobile_application/templates/views/index.html.erb +28 -0
- data/lib/generators/organizer_application/templates/controllers/controller_template.rb +9 -11
- data/public/images/icons/apartment/apartment_16x16.png +0 -0
- data/public/images/icons/apartment/apartment_24x24.png +0 -0
- data/public/images/icons/apartment/apartment_32x32.png +0 -0
- data/public/images/icons/apartment/apartment_48x48.png +0 -0
- data/public/images/wallpaper/truenorth.png +0 -0
- data/public/javascripts/erp_app/authentication/widget_manager.js +23 -2
- data/public/javascripts/erp_app/ckeditor/ckeditor.js +113 -111
- data/public/javascripts/erp_app/ckeditor/contents.css +2 -2
- data/public/javascripts/erp_app/ckeditor/lang/_translationstatus.txt +59 -59
- data/public/javascripts/erp_app/ckeditor/lang/af.js +1 -1
- data/public/javascripts/erp_app/ckeditor/lang/ar.js +1 -1
- data/public/javascripts/erp_app/ckeditor/lang/bg.js +1 -1
- data/public/javascripts/erp_app/ckeditor/lang/bn.js +1 -1
- data/public/javascripts/erp_app/ckeditor/lang/bs.js +1 -1
- data/public/javascripts/erp_app/ckeditor/lang/ca.js +1 -1
- data/public/javascripts/erp_app/ckeditor/lang/cs.js +1 -1
- data/public/javascripts/erp_app/ckeditor/lang/cy.js +1 -1
- data/public/javascripts/erp_app/ckeditor/lang/da.js +1 -1
- data/public/javascripts/erp_app/ckeditor/lang/de.js +1 -1
- data/public/javascripts/erp_app/ckeditor/lang/el.js +1 -1
- data/public/javascripts/erp_app/ckeditor/lang/en-au.js +1 -1
- data/public/javascripts/erp_app/ckeditor/lang/en-ca.js +1 -1
- data/public/javascripts/erp_app/ckeditor/lang/en-gb.js +1 -1
- data/public/javascripts/erp_app/ckeditor/lang/en.js +1 -1
- data/public/javascripts/erp_app/ckeditor/lang/eo.js +1 -1
- data/public/javascripts/erp_app/ckeditor/lang/es.js +1 -1
- data/public/javascripts/erp_app/ckeditor/lang/et.js +1 -1
- data/public/javascripts/erp_app/ckeditor/lang/eu.js +1 -1
- data/public/javascripts/erp_app/ckeditor/lang/fa.js +1 -1
- data/public/javascripts/erp_app/ckeditor/lang/fi.js +1 -1
- data/public/javascripts/erp_app/ckeditor/lang/fo.js +1 -1
- data/public/javascripts/erp_app/ckeditor/lang/fr-ca.js +1 -1
- data/public/javascripts/erp_app/ckeditor/lang/fr.js +1 -1
- data/public/javascripts/erp_app/ckeditor/lang/gl.js +1 -1
- data/public/javascripts/erp_app/ckeditor/lang/gu.js +1 -1
- data/public/javascripts/erp_app/ckeditor/lang/he.js +1 -1
- data/public/javascripts/erp_app/ckeditor/lang/hi.js +1 -1
- data/public/javascripts/erp_app/ckeditor/lang/hr.js +1 -1
- data/public/javascripts/erp_app/ckeditor/lang/hu.js +1 -1
- data/public/javascripts/erp_app/ckeditor/lang/is.js +1 -1
- data/public/javascripts/erp_app/ckeditor/lang/it.js +1 -1
- data/public/javascripts/erp_app/ckeditor/lang/ja.js +1 -1
- data/public/javascripts/erp_app/ckeditor/lang/ka.js +1 -1
- data/public/javascripts/erp_app/ckeditor/lang/km.js +1 -1
- data/public/javascripts/erp_app/ckeditor/lang/ko.js +1 -1
- data/public/javascripts/erp_app/ckeditor/lang/lt.js +1 -1
- data/public/javascripts/erp_app/ckeditor/lang/lv.js +1 -1
- data/public/javascripts/erp_app/ckeditor/lang/mn.js +1 -1
- data/public/javascripts/erp_app/ckeditor/lang/ms.js +1 -1
- data/public/javascripts/erp_app/ckeditor/lang/nb.js +1 -1
- data/public/javascripts/erp_app/ckeditor/lang/nl.js +1 -1
- data/public/javascripts/erp_app/ckeditor/lang/no.js +1 -1
- data/public/javascripts/erp_app/ckeditor/lang/pl.js +1 -1
- data/public/javascripts/erp_app/ckeditor/lang/pt-br.js +1 -1
- data/public/javascripts/erp_app/ckeditor/lang/pt.js +1 -1
- data/public/javascripts/erp_app/ckeditor/lang/ro.js +1 -1
- data/public/javascripts/erp_app/ckeditor/lang/ru.js +1 -1
- data/public/javascripts/erp_app/ckeditor/lang/sk.js +1 -1
- data/public/javascripts/erp_app/ckeditor/lang/sl.js +1 -1
- data/public/javascripts/erp_app/ckeditor/lang/sr-latn.js +1 -1
- data/public/javascripts/erp_app/ckeditor/lang/sr.js +1 -1
- data/public/javascripts/erp_app/ckeditor/lang/sv.js +1 -1
- data/public/javascripts/erp_app/ckeditor/lang/th.js +1 -1
- data/public/javascripts/erp_app/ckeditor/lang/tr.js +1 -1
- data/public/javascripts/erp_app/ckeditor/lang/uk.js +1 -1
- data/public/javascripts/erp_app/ckeditor/lang/vi.js +1 -1
- data/public/javascripts/erp_app/ckeditor/lang/zh-cn.js +1 -1
- data/public/javascripts/erp_app/ckeditor/lang/zh.js +1 -1
- data/public/javascripts/erp_app/ckeditor/plugins/autogrow/plugin.js +1 -1
- data/public/javascripts/erp_app/ckeditor/plugins/docprops/dialogs/docprops.js +2 -2
- data/public/javascripts/erp_app/ckeditor/plugins/find/dialogs/find.js +5 -5
- data/public/javascripts/erp_app/ckeditor/plugins/flash/dialogs/flash.js +1 -1
- data/public/javascripts/erp_app/ckeditor/plugins/forms/dialogs/textarea.js +1 -1
- data/public/javascripts/erp_app/ckeditor/plugins/image/dialogs/image.js +1 -1
- data/public/javascripts/erp_app/ckeditor/plugins/link/dialogs/link.js +1 -1
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/codemirror_config.js +85 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/config/editor.css +96 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/config/images/buttonbg.gif +0 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/config/images/cancel.png +0 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/config/images/highlight.png +0 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/config/images/redo.png +0 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/config/images/reindent.png +0 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/config/images/save.png +0 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/config/images/search.png +0 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/config/images/undo.png +0 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/config/nocolors.css +24 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/LICENSE +23 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/bigtest.html +1296 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/compress.html +169 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/csharp/css/csharpcolors.css +60 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/csharp/index.html +61 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/csharp/js/parsecsharp.js +329 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/csharp/js/tokenizecsharp.js +196 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/freemarker/LICENSE +24 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/freemarker/css/freemarkercolors.css +63 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/freemarker/index.html +75 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/freemarker/js/parsefreemarker.js +380 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/groovy/index.html +57 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/java/LICENSE +20 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/java/css/javacolors.css +64 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/java/index.html +66 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/java/js/parsejava.js +285 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/java/js/tokenizejava.js +222 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/lua/LICENSE +32 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/lua/css/luacolors.css +63 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/lua/index.html +68 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/lua/js/parselua.js +254 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/ometa/LICENSE +23 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/ometa/css/ometacolors.css +63 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/ometa/index.html +77 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/ometa/js/parseometa.js +364 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/ometa/js/tokenizeometa.js +209 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/php/LICENSE +37 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/php/css/phpcolors.css +114 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/php/index.html +310 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/php/js/parsephp.js +419 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/php/js/parsephphtmlmixed.js +116 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/php/js/tokenizephp.js +1208 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/plsql/LICENSE +22 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/plsql/css/plsqlcolors.css +57 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/plsql/index.html +67 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/plsql/js/parseplsql.js +233 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/python/LICENSE +32 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/python/css/pythoncolors.css +58 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/python/index.html +141 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/python/js/parsepython.js +541 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/regex/css/js-regexcolors.css +214 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/regex/css/regexcolors.css +214 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/regex/index.html +114 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/regex/js/parsejavascript_and_regex.js +91 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/regex/js/parseregex-unicode.js +284 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/regex/js/parseregex.js +847 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/regex/js-regex.html +118 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/scheme/LICENSE +23 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/scheme/css/schemecolors.css +45 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/scheme/index.html +82 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/scheme/js/parsescheme.js +428 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/scheme/js/tokenizescheme.js +241 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/sql/LICENSE +22 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/sql/css/sqlcolors.css +59 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/sql/index.html +56 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/sql/js/parsesql.js +267 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/xquery/LICENSE +13 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/xquery/css/xqcolors-dark.css +93 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/xquery/css/xqcolors.css +99 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/xquery/css/xqcolors2.css +96 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/xquery/index.html +552 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/xquery/js/parsexquery.js +234 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/xquery/js/tokenizexquery.js +457 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/css/baboon.png +0 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/css/baboon_vector.ai +965 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/css/csscolors.css +55 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/css/docs.css +158 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/css/font.js +15 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/css/jscolors.css +59 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/css/people.jpg +0 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/css/sparqlcolors.css +43 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/css/xmlcolors.css +55 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/csstest.html +60 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/faq.html +86 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/favicon.ico +0 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/googleb196c451afc2ee11.html +1 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/googlehostedservice.html +1 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/highlight.html +82 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/htmltest.html +53 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/index.html +254 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/js/codemirror.js +582 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/js/editor.js +1670 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/js/highlight.js +68 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/js/mirrorframe.js +81 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/js/parsecss.js +161 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/js/parsedummy.js +32 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/js/parsehtmlmixed.js +93 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/js/parsejavascript.js +359 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/js/parsesparql.js +162 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/js/parsexml.js +291 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/js/select.js +697 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/js/stringstream.js +159 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/js/tokenize.js +57 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/js/tokenizejavascript.js +174 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/js/undo.js +413 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/js/unittests.js +44 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/js/util.js +133 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/jstest.html +56 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/manual.html +806 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/mixedtest.html +52 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/sparqltest.html +41 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/story.html +672 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/unittests.html +125 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/xhtmltest.xhtml +50 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/lang/de.js +20 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/lang/en.js +20 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/dialogs/sourcepopup.js +102 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/lang/de.js +9 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/lang/en.js +9 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/plugin.js +27 -0
- data/public/javascripts/erp_app/ckeditor/plugins/specialchar/dialogs/specialchar.js +1 -1
- data/public/javascripts/erp_app/ckeditor/plugins/specialchar/lang/en.js +1 -1
- data/public/javascripts/erp_app/ckeditor/plugins/table/dialogs/table.js +4 -4
- data/public/javascripts/erp_app/ckeditor/plugins/wsc/dialogs/wsc.js +1 -1
- data/public/javascripts/erp_app/ckeditor/skins/kama/dialog.css +1 -1
- data/public/javascripts/erp_app/ckeditor/skins/kama/editor.css +3 -3
- data/public/javascripts/erp_app/ckeditor/skins/office2003/dialog.css +1 -1
- data/public/javascripts/erp_app/ckeditor/skins/office2003/editor.css +1 -1
- data/public/javascripts/erp_app/ckeditor/skins/v2/dialog.css +1 -1
- data/public/javascripts/erp_app/ckeditor/skins/v2/editor.css +1 -1
- data/public/javascripts/erp_app/ckeditor/themes/default/theme.js +2 -2
- data/public/javascripts/erp_app/ckeditor_example_config_override.js +44 -0
- data/public/javascripts/erp_app/desktop/applications/configuration_management/configuration_options_panel.js +229 -0
- data/public/javascripts/erp_app/desktop/applications/configuration_management/configuration_tree_panel.js +482 -0
- data/public/javascripts/erp_app/desktop/applications/configuration_management/configuration_types_panel.js +425 -0
- data/public/javascripts/erp_app/desktop/applications/configuration_management/module.js +95 -0
- data/public/javascripts/erp_app/desktop/applications/configuration_management/stores.0.js +68 -0
- data/public/javascripts/erp_app/desktop/applications/control_panel/application_management_panel.js +2 -1
- data/public/javascripts/erp_app/desktop/applications/control_panel/module.js +48 -47
- data/public/javascripts/erp_app/desktop/applications/control_panel/profile_management_panel.js +141 -84
- data/public/javascripts/erp_app/desktop/applications/file_manager/module.js +1 -2
- data/public/javascripts/erp_app/desktop/applications/scaffold/models_tree_panel.js +1 -2
- data/public/javascripts/erp_app/desktop/applications/system_management/application_role_management_panel.js +1 -2
- data/public/javascripts/erp_app/desktop/applications/user_management/module.js +10 -6
- data/public/javascripts/erp_app/desktop/applications/user_management/role_management_panel.js +3 -9
- data/public/javascripts/erp_app/desktop/applications/user_management/user_application_mgt_panel.js +4 -10
- data/public/javascripts/erp_app/ecommerce/credit_card_window.js +1 -1
- data/public/javascripts/erp_app/jquery_support.js +5 -5
- data/public/javascripts/erp_app/login/mobile.js +52 -0
- data/public/javascripts/erp_app/mobile/app.js +46 -0
- data/public/javascripts/erp_app/mobile/applications/user_management/app/model/user.js +14 -0
- data/public/javascripts/erp_app/mobile/applications/user_management/app/store/users.js +19 -0
- data/public/javascripts/erp_app/mobile/applications/user_management/app/view/templates.js +24 -0
- data/public/javascripts/erp_app/mobile/applications/user_management/app.js +168 -0
- data/public/javascripts/erp_app/mobile/mobile_base.js +10 -0
- data/public/javascripts/erp_app/organizer/applications/crm/base.js +415 -117
- data/public/javascripts/erp_app/organizer/applications/crm/contact_mechanism_grid.js +8 -1
- data/public/javascripts/erp_app/organizer/applications/crm/party_grid.js +33 -36
- data/public/javascripts/erp_app/organizer/applications/crm/userinfo.js +215 -0
- data/public/javascripts/erp_app/organizer/layout.js +9 -11
- data/public/javascripts/erp_app/shared/active_ext/active_ext_grid.js +1 -2
- data/public/javascripts/erp_app/shared/active_ext/active_ext_grid_panel.js +2 -3
- data/public/javascripts/erp_app/shared/compass_ckeditor.js +7 -6
- data/public/javascripts/erp_app/shared/compass_codemirror.js +161 -162
- data/public/javascripts/erp_app/shared/configuration/configuration_form.js +278 -0
- data/public/javascripts/erp_app/shared/configuration/configuration_panel.js +109 -0
- data/public/javascripts/erp_app/{coolclock → shared/coolclock}/coolclock.js +0 -0
- data/public/javascripts/erp_app/{coolclock → shared/coolclock}/moreskins.js +0 -0
- data/public/javascripts/erp_app/{coolclock → shared/coolclock}/tray_clock.js +0 -0
- data/public/javascripts/erp_app/shared/dynamic_editable_grid.js +29 -28
- data/public/javascripts/erp_app/shared/dynamic_editable_grid_loader_panel.js +3 -3
- data/public/javascripts/erp_app/shared/file_manager_tree.js +41 -25
- data/public/javascripts/erp_app/shared/file_upload/Ext.ux.AwesomeUploader.js +1 -1
- data/public/javascripts/erp_app/shared/file_upload/Ext.ux.XHRUpload.js +1 -1
- data/public/javascripts/erp_app/shared/file_upload/upload_window.js +245 -242
- data/public/javascripts/erp_app/shared/google_map_panel.js +82 -83
- data/public/javascripts/erp_app/shared/notes_grid.js +1 -2
- data/public/javascripts/erp_app/shared/preference_form.js +3 -5
- data/public/javascripts/erp_app/tinymce/Ext.ux.TinyMCE.js +689 -0
- data/public/javascripts/erp_app/tinymce/center_region.js +611 -0
- data/public/javascripts/erp_app/utility.js +284 -246
- data/public/javascripts/erp_app/widgets.js +39 -35
- data/public/javascripts/extjs/Ext.ux.form.MultiSelect.js +422 -0
- data/public/javascripts/extjs/ext-all-debug.js +15973 -12927
- data/public/javascripts/extjs/ext-all.js +1 -1
- data/public/javascripts/extjs/overrides.js +61 -0
- data/public/javascripts/sencha_touch/sencha-touch-all-debug.js +78370 -0
- data/public/javascripts/sencha_touch/sencha-touch-all.js +15 -0
- data/public/stylesheets/erp_app/mobile/applications/user_management/main.css +5 -0
- data/public/stylesheets/erp_app/mobile/mobile.css +336 -0
- data/public/stylesheets/erp_app/{compass-ext-all.css → shared/compass-ext-all.css} +37 -1
- data/public/stylesheets/extjs/resources/css/ext-all-access.css +1 -1
- data/public/stylesheets/extjs/resources/css/ext-all-gray.css +1 -1
- data/public/stylesheets/extjs/resources/css/ext-all-scoped.css +1 -1
- data/public/stylesheets/extjs/resources/css/ext-all.css +1 -1
- data/public/stylesheets/extjs/resources/css/ext-ie-scoped.css +1 -1
- data/public/stylesheets/extjs/resources/css/ext-ie.css +1 -1
- data/public/stylesheets/extjs/resources/css/ext-sandbox.css +1 -1
- data/public/stylesheets/extjs/resources/css/ext-standard-scoped.css +1 -1
- data/public/stylesheets/extjs/resources/css/ext-standard.css +1 -1
- data/public/stylesheets/extjs/resources/sass/ext-all-access.scss +7 -0
- data/public/stylesheets/extjs/resources/sass/ext-all-gray.scss +6 -0
- data/public/stylesheets/extjs/resources/themes/images/access/boundlist/trigger-arrow.png +0 -0
- data/public/stylesheets/extjs/resources/themes/images/access/grid/refresh-disabled.gif +0 -0
- data/public/stylesheets/extjs/resources/themes/images/access/tab-bar/{tab-bar-bg.gif → tab-bar-default-bg.gif} +0 -0
- data/public/stylesheets/extjs/resources/themes/images/access/tree/drop-above.gif +0 -0
- data/public/stylesheets/extjs/resources/themes/images/access/tree/drop-append.gif +0 -0
- data/public/stylesheets/extjs/resources/themes/images/access/tree/drop-below.gif +0 -0
- data/public/stylesheets/extjs/resources/themes/images/default/btn/btn-default-large-focus-corners.gif +0 -0
- data/public/stylesheets/extjs/resources/themes/images/default/btn/btn-default-large-over-corners.gif +0 -0
- data/public/stylesheets/extjs/resources/themes/images/default/btn/btn-default-large-pressed-corners.gif +0 -0
- data/public/stylesheets/extjs/resources/themes/images/default/btn/btn-default-medium-focus-corners.gif +0 -0
- data/public/stylesheets/extjs/resources/themes/images/default/btn/btn-default-medium-over-corners.gif +0 -0
- data/public/stylesheets/extjs/resources/themes/images/default/btn/btn-default-medium-pressed-corners.gif +0 -0
- data/public/stylesheets/extjs/resources/themes/images/default/btn/btn-default-small-focus-corners.gif +0 -0
- data/public/stylesheets/extjs/resources/themes/images/default/btn/btn-default-small-over-corners.gif +0 -0
- data/public/stylesheets/extjs/resources/themes/images/default/btn/btn-default-small-pressed-corners.gif +0 -0
- data/public/stylesheets/extjs/resources/themes/images/default/btn/btn-default-toolbar-large-focus-corners.gif +0 -0
- data/public/stylesheets/extjs/resources/themes/images/default/btn/btn-default-toolbar-large-over-corners.gif +0 -0
- data/public/stylesheets/extjs/resources/themes/images/default/btn/btn-default-toolbar-large-pressed-corners.gif +0 -0
- data/public/stylesheets/extjs/resources/themes/images/default/btn/btn-default-toolbar-medium-focus-corners.gif +0 -0
- data/public/stylesheets/extjs/resources/themes/images/default/btn/btn-default-toolbar-medium-over-corners.gif +0 -0
- data/public/stylesheets/extjs/resources/themes/images/default/btn/btn-default-toolbar-medium-pressed-corners.gif +0 -0
- data/public/stylesheets/extjs/resources/themes/images/default/btn/btn-default-toolbar-small-focus-corners.gif +0 -0
- data/public/stylesheets/extjs/resources/themes/images/default/btn/btn-default-toolbar-small-over-corners.gif +0 -0
- data/public/stylesheets/extjs/resources/themes/images/default/btn/btn-default-toolbar-small-pressed-corners.gif +0 -0
- data/public/stylesheets/extjs/resources/themes/images/default/form-invalid-tip/form-invalid-tip-corners.gif +0 -0
- data/public/stylesheets/extjs/resources/themes/images/default/form-invalid-tip/form-invalid-tip-sides.gif +0 -0
- data/public/stylesheets/extjs/resources/themes/images/default/tab/tab-default-bottom-disabled-bg.gif +0 -0
- data/public/stylesheets/extjs/resources/themes/images/default/tab/tab-default-bottom-disabled-corners.gif +0 -0
- data/public/stylesheets/extjs/resources/themes/images/default/tab/tab-default-bottom-disabled-sides.gif +0 -0
- data/public/stylesheets/extjs/resources/themes/images/default/tab/tab-default-top-disabled-bg.gif +0 -0
- data/public/stylesheets/extjs/resources/themes/images/default/tab/tab-default-top-disabled-corners.gif +0 -0
- data/public/stylesheets/extjs/resources/themes/images/default/tab/tab-default-top-disabled-sides.gif +0 -0
- data/public/stylesheets/extjs/resources/themes/images/default/tab-bar/tab-bar-default-bg.gif +0 -0
- data/public/stylesheets/extjs/resources/themes/images/default/tip/tip-corners.gif +0 -0
- data/public/stylesheets/extjs/resources/themes/images/default/window-header/window-header-default-bottom-sides.gif +0 -0
- data/public/stylesheets/extjs/resources/themes/images/default/window-header/window-header-default-left-sides.gif +0 -0
- data/public/stylesheets/extjs/resources/themes/images/default/window-header/window-header-default-right-sides.gif +0 -0
- data/public/stylesheets/extjs/resources/themes/images/default/window-header/window-header-default-top-corners.gif +0 -0
- data/public/stylesheets/extjs/resources/themes/images/default/window-header/window-header-default-top-sides.gif +0 -0
- data/public/stylesheets/extjs/resources/themes/stylesheets/ext4/default/_all.scss +3 -0
- data/public/stylesheets/extjs/resources/themes/stylesheets/ext4/default/_mixins.scss +6 -3
- data/public/stylesheets/extjs/resources/themes/stylesheets/ext4/default/core/_core.scss +17 -17
- data/public/stylesheets/extjs/resources/themes/stylesheets/ext4/default/core/_reset.scss +17 -7
- data/public/stylesheets/extjs/resources/themes/stylesheets/ext4/default/layout/_layout.scss +10 -6
- data/public/stylesheets/extjs/resources/themes/stylesheets/ext4/default/mixins/_frame.scss +4 -4
- data/public/stylesheets/extjs/resources/themes/stylesheets/ext4/default/mixins/_reset-extras.scss +144 -0
- data/public/stylesheets/extjs/resources/themes/stylesheets/ext4/default/mixins/_theme-background-image.scss +8 -4
- data/public/stylesheets/extjs/resources/themes/stylesheets/ext4/default/util/_dragdrop.scss +3 -3
- data/public/stylesheets/extjs/resources/themes/stylesheets/ext4/default/util/_messagebox.scss +5 -5
- data/public/stylesheets/extjs/resources/themes/stylesheets/ext4/default/util/_resizable.scss +6 -6
- data/public/stylesheets/extjs/resources/themes/stylesheets/ext4/default/util/_splitter.scss +8 -8
- data/public/stylesheets/extjs/resources/themes/stylesheets/ext4/default/util/_tool.scss +1 -1
- data/public/stylesheets/extjs/resources/themes/stylesheets/ext4/default/variables/_core.scss +1 -1
- data/public/stylesheets/extjs/resources/themes/stylesheets/ext4/default/variables/_menu.scss +1 -0
- data/public/stylesheets/extjs/resources/themes/stylesheets/ext4/default/widgets/_button.scss +38 -27
- data/public/stylesheets/extjs/resources/themes/stylesheets/ext4/default/widgets/_datepicker.scss +7 -7
- data/public/stylesheets/extjs/resources/themes/stylesheets/ext4/default/widgets/_drawcomponent.scss +1 -5
- data/public/stylesheets/extjs/resources/themes/stylesheets/ext4/default/widgets/_grid.scss +56 -57
- data/public/stylesheets/extjs/resources/themes/stylesheets/ext4/default/widgets/_loadmask.scss +1 -1
- data/public/stylesheets/extjs/resources/themes/stylesheets/ext4/default/widgets/_menu.scss +22 -16
- data/public/stylesheets/extjs/resources/themes/stylesheets/ext4/default/widgets/_panel.scss +10 -4
- data/public/stylesheets/extjs/resources/themes/stylesheets/ext4/default/widgets/_progress-bar.scss +2 -1
- data/public/stylesheets/extjs/resources/themes/stylesheets/ext4/default/widgets/_qtip.scss +1 -1
- data/public/stylesheets/extjs/resources/themes/stylesheets/ext4/default/widgets/_slider.scss +9 -11
- data/public/stylesheets/extjs/resources/themes/stylesheets/ext4/default/widgets/_tab.scss +68 -43
- data/public/stylesheets/extjs/resources/themes/stylesheets/ext4/default/widgets/_tabbar.scss +1 -1
- data/public/stylesheets/extjs/resources/themes/stylesheets/ext4/default/widgets/_toolbar.scss +3 -3
- data/public/stylesheets/extjs/resources/themes/stylesheets/ext4/default/widgets/_tree.scss +48 -31
- data/public/stylesheets/extjs/resources/themes/stylesheets/ext4/default/widgets/form/_all.scss +4 -2
- data/public/stylesheets/extjs/resources/themes/stylesheets/ext4/default/widgets/form/_checkbox.scss +3 -2
- data/public/stylesheets/extjs/resources/themes/stylesheets/ext4/default/widgets/form/_checkboxgroup.scss +3 -2
- data/public/stylesheets/extjs/resources/themes/stylesheets/ext4/default/widgets/form/_field.scss +3 -3
- data/public/stylesheets/extjs/resources/themes/stylesheets/ext4/default/widgets/form/_fieldset.scss +1 -5
- data/public/stylesheets/extjs/resources/themes/stylesheets/ext4/default/widgets/form/_htmleditor.scss +16 -15
- data/public/stylesheets/extjs/resources/themes/stylesheets/ext4/default/widgets/form/_triggerfield.scss +10 -10
- data/public/stylesheets/extjs/resources/themes/templates/resources/sass/config.rb +2 -4
- data/public/stylesheets/extjs/resources/themes/templates/resources/sass/my-ext-theme.scss +1 -0
- data/public/stylesheets/sencha_touch/resources/css/android.css +1 -0
- data/public/stylesheets/sencha_touch/resources/css/apple.css +1 -0
- data/public/stylesheets/sencha_touch/resources/css/bb6.css +1 -0
- data/public/stylesheets/sencha_touch/resources/css/sencha-touch.css +1 -0
- data/public/stylesheets/sencha_touch/resources/css/touch-charts.css +1 -0
- data/public/stylesheets/sencha_touch/resources/css-debug/android.css +6757 -0
- data/public/stylesheets/sencha_touch/resources/css-debug/apple.css +6766 -0
- data/public/stylesheets/sencha_touch/resources/css-debug/bb6.css +6352 -0
- data/public/stylesheets/sencha_touch/resources/css-debug/sencha-touch.css +6755 -0
- data/public/stylesheets/sencha_touch/resources/images/icon1.png +0 -0
- data/public/stylesheets/sencha_touch/resources/images/icon2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/images/icon3.png +0 -0
- data/public/stylesheets/sencha_touch/resources/images/icon4.png +0 -0
- data/public/stylesheets/sencha_touch/resources/images/welcome.png +0 -0
- data/public/stylesheets/sencha_touch/resources/sass/android.scss +37 -0
- data/public/stylesheets/sencha_touch/resources/sass/apple.scss +39 -0
- data/public/stylesheets/sencha_touch/resources/sass/bb6.scss +66 -0
- data/public/stylesheets/sencha_touch/resources/sass/config-debug.rb +11 -0
- data/public/stylesheets/sencha_touch/resources/sass/config.rb +11 -0
- data/public/stylesheets/sencha_touch/resources/sass/sencha-touch.scss +18 -0
- data/public/stylesheets/sencha_touch/resources/themes/compass_init.rb +6 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/check.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/clear_icon.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/disclosure.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/disclosure2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/dotgrid.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/loading.gif +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/action.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/add.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/add1.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/add_black.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/address_book.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/arrow_down.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/arrow_left.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/arrow_right.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/arrow_up.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/at.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/atom.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/attachment.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/attachment2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/attachment3.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/attachment_black.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/backspace.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/battery_full.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/battery_low.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/battery_power.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/blank.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/bolt.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/bolt_side.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/bookmark1.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/bookmark2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/bookmark_black.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/bookmarks.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/briefcase1.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/briefcase2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/brightness1.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/brightness2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/broadcast.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/bug.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/bulb.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/bullseye1.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/bullseye2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/calendar.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/calendar2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/calendar_add.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/card1.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/card2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/chart1.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/chart2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/chart3.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/chat.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/chat1.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/chat2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/chat3.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/chat4.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/chat_black1.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/chat_black2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/check1.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/check2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/check_black1.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/check_black2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/check_dotted.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/circle.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/circle2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/clash.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/cloud.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/cloud_black.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/cloud_black_upload1.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/cloud_black_upload2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/cloud_bolt.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/cloud_download.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/code1.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/code2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/code3.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/compass1.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/compass2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/compass3.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/compose.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/compose1.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/compose2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/compose3.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/compose_black.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/contract.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/cube.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/data.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/delete.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/delete1.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/delete_black1.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/delete_black2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/doc.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/doc2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/doc_black.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/doc_black_landscape.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/doc_compose1.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/doc_compose2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/doc_delete.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/doc_down.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/doc_drawer.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/doc_list.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/doc_new.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/doc_send.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/doc_up.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/docs1.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/docs2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/docs_black1.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/docs_black2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/download.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/download1.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/download2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/download_screen.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/eject.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/empty1.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/empty2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/equalizer1.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/equalizer2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/event_complete.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/expand.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/favorites.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/favorites1.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/favorites_circle.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/fforward.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/find.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/flag.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/flickr2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/folder.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/folder_add.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/folder_black.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/folder_black_open.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/folder_delete.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/folder_delete2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/folder_lock.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/folder_open2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/font.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/forbidden.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/forward_black.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/globe1.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/globe2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/globe_black.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/headphones.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/heart.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/heart_circle.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/help.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/help_black.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/home.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/home2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/hot.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/inbox1.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/inbox2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/inbox3.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/infinite.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/infinite2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/info.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/info2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/info_plain.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/info_plain2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/json.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/lab.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/layout.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/link1.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/link2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/link_black.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/list.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/locate.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/locate1.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/locate2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/locate3.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/locate4.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/lock_closed.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/lock_open.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/look.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/loop.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/loop2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/loop_circle.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/magic.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/mail.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/mail1.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/mail2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/mail3.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/mail4.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/mail5.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/maps.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/mic.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/minus1.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/minus2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/minus_black1.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/minus_black2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/monitor1.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/monitor2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/monitor3.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/monitor4.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/more.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/mouse.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/move.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/music1.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/music2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/nodes1.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/nodes2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/note1.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/note2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/note3.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/note_black.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/nuclear.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/organize.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/outbox.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/pause.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/phone1.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/phone2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/phone_black.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/phone_ring1.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/phone_ring2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/photo1.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/photo2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/photo3.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/photo_black1.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/photo_black2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/photos1.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/photos2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/photos4.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/piechart.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/play1.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/play2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/play_black1.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/play_black2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/podcast.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/power socket.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/power_on.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/print.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/print2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/quote1.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/quote2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/quote_black1.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/quote_black2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/quote_black3.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/refresh.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/refresh1.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/refresh2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/refresh3.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/refresh5.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/reply.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/replytoall.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/resize.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/resize_black.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/rewind.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/right.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/right2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/rss.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/rss2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/rss_black.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/rss_black1.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/rss_black2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/screens.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/search.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/search1.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/search2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/search_black.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/server.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/servers.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/settings.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/settings1.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/settings10.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/settings11.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/settings3.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/settings4.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/settings5.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/settings6.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/settings7.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/settings8.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/settings9.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/settings_black.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/share.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/shield1.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/shield2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/shop1.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/shop2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/shuffle.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/sign_backforth.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/sign_cross.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/sign_leftright.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/sign_leftright2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/sign_split.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/sign_switch.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/sign_uturn.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/spaces1.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/spaces2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/speedometer1.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/speedometer2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/speedometer_black1.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/speedometer_black2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/star.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/stop.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/stop1.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/stop2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/sync.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/tabbed_book.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/tag.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/tag_black.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/tags.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/team.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/team1.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/time.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/time_repeat.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/trash.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/trash2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/trash_black.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/tree.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/tv.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/tweak.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/twitter1.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/twitter2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/up1.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/up2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/up_black.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/upload2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/user.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/user3.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/user_add.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/user_business.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/user_fave.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/user_list.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/user_list2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/user_remote1.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/user_remove2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/user_send.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/video.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/video_black1.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/video_black2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/volume.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/volume_black.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/volume_down.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/volume_mute.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/volume_up.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/warming_dotted.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/warning_black.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/wifi.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/wifi2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/wifi3.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/wifi4.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/window.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pullarrow.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/select_mask.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/tip.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/tip_horizontal.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/tip_right.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/togglebg.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/togglemask.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/togglethumb.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/togglethumbbg.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/togglethumbmask.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/trackmask_outer.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/lib/theme_images.rb +18 -0
- data/public/stylesheets/sencha_touch/resources/themes/stylesheets/sencha-touch/default/_all.scss +2 -0
- data/public/stylesheets/sencha_touch/resources/themes/stylesheets/sencha-touch/default/_core.scss +3 -0
- data/public/stylesheets/sencha_touch/resources/themes/stylesheets/sencha-touch/default/_global.scss +2 -0
- data/public/stylesheets/sencha_touch/resources/themes/stylesheets/sencha-touch/default/_mixins.scss +196 -0
- data/public/stylesheets/sencha_touch/resources/themes/stylesheets/sencha-touch/default/_variables.scss +116 -0
- data/public/stylesheets/sencha_touch/resources/themes/stylesheets/sencha-touch/default/_widgets.scss +16 -0
- data/public/stylesheets/sencha_touch/resources/themes/stylesheets/sencha-touch/default/core/_core.scss +189 -0
- data/public/stylesheets/sencha_touch/resources/themes/stylesheets/sencha-touch/default/core/_layout.scss +362 -0
- data/public/stylesheets/sencha_touch/resources/themes/stylesheets/sencha-touch/default/core/_reset.scss +62 -0
- data/public/stylesheets/sencha_touch/resources/themes/stylesheets/sencha-touch/default/widgets/_buttons.scss +354 -0
- data/public/stylesheets/sencha_touch/resources/themes/stylesheets/sencha-touch/default/widgets/_carousel.scss +113 -0
- data/public/stylesheets/sencha_touch/resources/themes/stylesheets/sencha-touch/default/widgets/_form-sliders-basic.scss +102 -0
- data/public/stylesheets/sencha_touch/resources/themes/stylesheets/sencha-touch/default/widgets/_form-sliders.scss +149 -0
- data/public/stylesheets/sencha_touch/resources/themes/stylesheets/sencha-touch/default/widgets/_form.scss +608 -0
- data/public/stylesheets/sencha_touch/resources/themes/stylesheets/sencha-touch/default/widgets/_img.scss +5 -0
- data/public/stylesheets/sencha_touch/resources/themes/stylesheets/sencha-touch/default/widgets/_indexbar.scss +76 -0
- data/public/stylesheets/sencha_touch/resources/themes/stylesheets/sencha-touch/default/widgets/_list.scss +401 -0
- data/public/stylesheets/sencha_touch/resources/themes/stylesheets/sencha-touch/default/widgets/_loading-spinner.scss +121 -0
- data/public/stylesheets/sencha_touch/resources/themes/stylesheets/sencha-touch/default/widgets/_map.scss +11 -0
- data/public/stylesheets/sencha_touch/resources/themes/stylesheets/sencha-touch/default/widgets/_media.scss +21 -0
- data/public/stylesheets/sencha_touch/resources/themes/stylesheets/sencha-touch/default/widgets/_msgbox.scss +94 -0
- data/public/stylesheets/sencha_touch/resources/themes/stylesheets/sencha-touch/default/widgets/_panel.scss +79 -0
- data/public/stylesheets/sencha_touch/resources/themes/stylesheets/sencha-touch/default/widgets/_picker.scss +154 -0
- data/public/stylesheets/sencha_touch/resources/themes/stylesheets/sencha-touch/default/widgets/_sheets.scss +52 -0
- data/public/stylesheets/sencha_touch/resources/themes/stylesheets/sencha-touch/default/widgets/_tabs.scss +269 -0
- data/public/stylesheets/sencha_touch/resources/themes/stylesheets/sencha-touch/default/widgets/_toolbar-forms.scss +182 -0
- data/public/stylesheets/sencha_touch/resources/themes/stylesheets/sencha-touch/default/widgets/_toolbar.scss +156 -0
- data/public/stylesheets/sencha_touch/resources/themes/templates/project/manifest.rb +1 -0
- data/public/stylesheets/sencha_touch/resources/themes/templates/project/sencha-touch.scss +17 -0
- metadata +3251 -2688
- data/README.rdoc +0 -2
- data/config/initializers/erp_app.rb +0 -4
- data/lib/erp_app/extensions/active_record/acts_as_app_container.rb +0 -72
- data/lib/erp_app/extensions/railties/action_view.rb +0 -110
- data/lib/erp_app/widgets/railties/action_view.rb +0 -36
- data/lib/erp_app/widgets/railties/engine.rb +0 -55
- data/public/images/icons/add/Thumbs.db +0 -0
- data/public/images/icons/calendar/Thumbs.db +0 -0
- data/public/images/icons/copy/Thumbs.db +0 -0
- data/public/images/icons/cut/Thumbs.db +0 -0
- data/public/images/icons/delete/Thumbs.db +0 -0
- data/public/images/icons/edit/Thumbs.db +0 -0
- data/public/images/icons/folder/Thumbs.db +0 -0
- data/public/images/icons/gear/Thumbs.db +0 -0
- data/public/images/icons/globe/Thumbs.db +0 -0
- data/public/images/icons/grid/Thumbs.db +0 -0
- data/public/images/icons/help/Thumbs.db +0 -0
- data/public/images/icons/information/Thumbs.db +0 -0
- data/public/images/icons/key/Thumbs.db +0 -0
- data/public/images/icons/log_out/Thumbs.db +0 -0
- data/public/images/icons/mail/Thumbs.db +0 -0
- data/public/images/icons/new/Thumbs.db +0 -0
- data/public/images/icons/next/Thumbs.db +0 -0
- data/public/images/icons/open/Thumbs.db +0 -0
- data/public/images/icons/paste/Thumbs.db +0 -0
- data/public/images/icons/picture/Thumbs.db +0 -0
- data/public/images/icons/presentation/Thumbs.db +0 -0
- data/public/images/icons/preview/Thumbs.db +0 -0
- data/public/images/icons/previous/Thumbs.db +0 -0
- data/public/images/icons/print/Thumbs.db +0 -0
- data/public/images/icons/properties/Thumbs.db +0 -0
- data/public/images/icons/redo/Thumbs.db +0 -0
- data/public/images/icons/refresh/Thumbs.db +0 -0
- data/public/images/icons/remove/Thumbs.db +0 -0
- data/public/images/icons/rename/Thumbs.db +0 -0
- data/public/images/icons/save/Thumbs.db +0 -0
- data/public/images/icons/search/Thumbs.db +0 -0
- data/public/images/icons/send/Thumbs.db +0 -0
- data/public/images/icons/settings/Thumbs.db +0 -0
- data/public/images/icons/synchronize/Thumbs.db +0 -0
- data/public/images/icons/undo/Thumbs.db +0 -0
- data/public/images/icons/upload/Thumbs.db +0 -0
- data/public/images/icons/user/Thumbs.db +0 -0
- data/public/images/icons/zoom_in/Thumbs.db +0 -0
- data/public/images/icons/zoom_out/Thumbs.db +0 -0
- data/public/javascripts/erp_app/ckeditor/plugins/jwplayer/jwplayer/Thumbs.db +0 -0
- data/public/javascripts/erp_app/shared/ajax_pagination.js +0 -33
- data/public/stylesheets/extjs/resources/themes/images/access/tab-bar/tab-bar-bg.png +0 -0
- data/public/stylesheets/extjs/resources/themes/templates/resources/css/my-ext-theme.css +0 -59
- data/spec/dummy/db/schema.rb +0 -709
- data/spec/dummy/db/spec.sqlite3 +0 -0
- data/spec/dummy/log/RAILS_ENV=spec.log +0 -0
- data/spec/dummy/log/development.log +0 -0
- data/spec/dummy/log/spec.log +0 -52150
data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/js/codemirror.js
ADDED
@@ -0,0 +1,582 @@
|
|
1
|
+
/* CodeMirror main module (http://codemirror.net/)
|
2
|
+
*
|
3
|
+
* Implements the CodeMirror constructor and prototype, which take care
|
4
|
+
* of initializing the editor frame, and providing the outside interface.
|
5
|
+
*/
|
6
|
+
|
7
|
+
// The CodeMirrorConfig object is used to specify a default
|
8
|
+
// configuration. If you specify such an object before loading this
|
9
|
+
// file, the values you put into it will override the defaults given
|
10
|
+
// below. You can also assign to it after loading.
|
11
|
+
var CodeMirrorConfig = window.CodeMirrorConfig || {};
|
12
|
+
|
13
|
+
var CodeMirror = (function(){
|
14
|
+
function setDefaults(object, defaults) {
|
15
|
+
for (var option in defaults) {
|
16
|
+
if (!object.hasOwnProperty(option))
|
17
|
+
object[option] = defaults[option];
|
18
|
+
}
|
19
|
+
}
|
20
|
+
function forEach(array, action) {
|
21
|
+
for (var i = 0; i < array.length; i++)
|
22
|
+
action(array[i]);
|
23
|
+
}
|
24
|
+
function createHTMLElement(el) {
|
25
|
+
if (document.createElementNS && document.documentElement.namespaceURI !== null)
|
26
|
+
return document.createElementNS("http://www.w3.org/1999/xhtml", el)
|
27
|
+
else
|
28
|
+
return document.createElement(el)
|
29
|
+
}
|
30
|
+
|
31
|
+
// These default options can be overridden by passing a set of
|
32
|
+
// options to a specific CodeMirror constructor. See manual.html for
|
33
|
+
// their meaning.
|
34
|
+
setDefaults(CodeMirrorConfig, {
|
35
|
+
stylesheet: [],
|
36
|
+
path: "",
|
37
|
+
parserfile: [],
|
38
|
+
basefiles: ["util.js", "stringstream.js", "select.js", "undo.js", "editor.js", "tokenize.js"],
|
39
|
+
iframeClass: null,
|
40
|
+
passDelay: 200,
|
41
|
+
passTime: 50,
|
42
|
+
lineNumberDelay: 200,
|
43
|
+
lineNumberTime: 50,
|
44
|
+
continuousScanning: false,
|
45
|
+
saveFunction: null,
|
46
|
+
onLoad: null,
|
47
|
+
onChange: null,
|
48
|
+
undoDepth: 50,
|
49
|
+
undoDelay: 800,
|
50
|
+
disableSpellcheck: true,
|
51
|
+
textWrapping: true,
|
52
|
+
readOnly: false,
|
53
|
+
width: "",
|
54
|
+
height: "300px",
|
55
|
+
minHeight: 100,
|
56
|
+
autoMatchParens: false,
|
57
|
+
markParen: null,
|
58
|
+
unmarkParen: null,
|
59
|
+
parserConfig: null,
|
60
|
+
tabMode: "indent", // or "spaces", "default", "shift"
|
61
|
+
enterMode: "indent", // or "keep", "flat"
|
62
|
+
electricChars: true,
|
63
|
+
reindentOnLoad: false,
|
64
|
+
activeTokens: null,
|
65
|
+
onCursorActivity: null,
|
66
|
+
lineNumbers: false,
|
67
|
+
firstLineNumber: 1,
|
68
|
+
onLineNumberClick: null,
|
69
|
+
indentUnit: 2,
|
70
|
+
domain: null,
|
71
|
+
noScriptCaching: false,
|
72
|
+
incrementalLoading: false
|
73
|
+
});
|
74
|
+
|
75
|
+
function addLineNumberDiv(container, firstNum) {
|
76
|
+
var nums = createHTMLElement("div"),
|
77
|
+
scroller = createHTMLElement("div");
|
78
|
+
nums.style.position = "absolute";
|
79
|
+
nums.style.height = "100%";
|
80
|
+
if (nums.style.setExpression) {
|
81
|
+
try {nums.style.setExpression("height", "this.previousSibling.offsetHeight + 'px'");}
|
82
|
+
catch(e) {} // Seems to throw 'Not Implemented' on some IE8 versions
|
83
|
+
}
|
84
|
+
nums.style.top = "0px";
|
85
|
+
nums.style.left = "0px";
|
86
|
+
nums.style.overflow = "hidden";
|
87
|
+
container.appendChild(nums);
|
88
|
+
scroller.className = "CodeMirror-line-numbers";
|
89
|
+
nums.appendChild(scroller);
|
90
|
+
scroller.innerHTML = "<div>" + firstNum + "</div>";
|
91
|
+
return nums;
|
92
|
+
}
|
93
|
+
|
94
|
+
function frameHTML(options) {
|
95
|
+
if (typeof options.parserfile == "string")
|
96
|
+
options.parserfile = [options.parserfile];
|
97
|
+
if (typeof options.basefiles == "string")
|
98
|
+
options.basefiles = [options.basefiles];
|
99
|
+
if (typeof options.stylesheet == "string")
|
100
|
+
options.stylesheet = [options.stylesheet];
|
101
|
+
|
102
|
+
var html = ["<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\"><html><head>"];
|
103
|
+
// Hack to work around a bunch of IE8-specific problems.
|
104
|
+
html.push("<meta http-equiv=\"X-UA-Compatible\" content=\"IE=EmulateIE7\"/>");
|
105
|
+
var queryStr = options.noScriptCaching ? "?nocache=" + new Date().getTime().toString(16) : "";
|
106
|
+
forEach(options.stylesheet, function(file) {
|
107
|
+
html.push("<link rel=\"stylesheet\" type=\"text/css\" href=\"" + file + queryStr + "\"/>");
|
108
|
+
});
|
109
|
+
forEach(options.basefiles.concat(options.parserfile), function(file) {
|
110
|
+
if (!/^https?:/.test(file)) file = options.path + file;
|
111
|
+
html.push("<script type=\"text/javascript\" src=\"" + file + queryStr + "\"><" + "/script>");
|
112
|
+
});
|
113
|
+
html.push("</head><body style=\"border-width: 0;\" class=\"editbox\" spellcheck=\"" +
|
114
|
+
(options.disableSpellcheck ? "false" : "true") + "\"></body></html>");
|
115
|
+
return html.join("");
|
116
|
+
}
|
117
|
+
|
118
|
+
var internetExplorer = document.selection && window.ActiveXObject && /MSIE/.test(navigator.userAgent);
|
119
|
+
|
120
|
+
function CodeMirror(place, options) {
|
121
|
+
// Use passed options, if any, to override defaults.
|
122
|
+
this.options = options = options || {};
|
123
|
+
setDefaults(options, CodeMirrorConfig);
|
124
|
+
|
125
|
+
// Backward compatibility for deprecated options.
|
126
|
+
if (options.dumbTabs) options.tabMode = "spaces";
|
127
|
+
else if (options.normalTab) options.tabMode = "default";
|
128
|
+
if (options.cursorActivity) options.onCursorActivity = options.cursorActivity;
|
129
|
+
|
130
|
+
var frame = this.frame = createHTMLElement("iframe");
|
131
|
+
if (options.iframeClass) frame.className = options.iframeClass;
|
132
|
+
frame.frameBorder = 0;
|
133
|
+
frame.style.border = "0";
|
134
|
+
frame.style.width = '100%';
|
135
|
+
frame.style.height = '100%';
|
136
|
+
// display: block occasionally suppresses some Firefox bugs, so we
|
137
|
+
// always add it, redundant as it sounds.
|
138
|
+
frame.style.display = "block";
|
139
|
+
|
140
|
+
var div = this.wrapping = createHTMLElement("div");
|
141
|
+
div.style.position = "relative";
|
142
|
+
div.className = "CodeMirror-wrapping";
|
143
|
+
div.style.width = options.width;
|
144
|
+
div.style.height = (options.height == "dynamic") ? options.minHeight + "px" : options.height;
|
145
|
+
// This is used by Editor.reroutePasteEvent
|
146
|
+
var teHack = this.textareaHack = createHTMLElement("textarea");
|
147
|
+
div.appendChild(teHack);
|
148
|
+
teHack.style.position = "absolute";
|
149
|
+
teHack.style.left = "-10000px";
|
150
|
+
teHack.style.width = "10px";
|
151
|
+
teHack.tabIndex = 100000;
|
152
|
+
|
153
|
+
// Link back to this object, so that the editor can fetch options
|
154
|
+
// and add a reference to itself.
|
155
|
+
frame.CodeMirror = this;
|
156
|
+
if (options.domain && internetExplorer) {
|
157
|
+
this.html = frameHTML(options);
|
158
|
+
frame.src = "javascript:(function(){document.open();" +
|
159
|
+
(options.domain ? "document.domain=\"" + options.domain + "\";" : "") +
|
160
|
+
"document.write(window.frameElement.CodeMirror.html);document.close();})()";
|
161
|
+
}
|
162
|
+
else {
|
163
|
+
frame.src = "javascript:;";
|
164
|
+
}
|
165
|
+
|
166
|
+
if (place.appendChild) place.appendChild(div);
|
167
|
+
else place(div);
|
168
|
+
div.appendChild(frame);
|
169
|
+
if (options.lineNumbers) this.lineNumbers = addLineNumberDiv(div, options.firstLineNumber);
|
170
|
+
|
171
|
+
this.win = frame.contentWindow;
|
172
|
+
if (!options.domain || !internetExplorer) {
|
173
|
+
this.win.document.open();
|
174
|
+
this.win.document.write(frameHTML(options));
|
175
|
+
this.win.document.close();
|
176
|
+
}
|
177
|
+
}
|
178
|
+
|
179
|
+
CodeMirror.prototype = {
|
180
|
+
init: function() {
|
181
|
+
// Deprecated, but still supported.
|
182
|
+
if (this.options.initCallback) this.options.initCallback(this);
|
183
|
+
if (this.options.onLoad) this.options.onLoad(this);
|
184
|
+
if (this.options.lineNumbers) this.activateLineNumbers();
|
185
|
+
if (this.options.reindentOnLoad) this.reindent();
|
186
|
+
if (this.options.height == "dynamic") this.setDynamicHeight();
|
187
|
+
},
|
188
|
+
|
189
|
+
getCode: function() {return this.editor.getCode();},
|
190
|
+
setCode: function(code) {this.editor.importCode(code);},
|
191
|
+
selection: function() {this.focusIfIE(); return this.editor.selectedText();},
|
192
|
+
reindent: function() {this.editor.reindent();},
|
193
|
+
reindentSelection: function() {this.focusIfIE(); this.editor.reindentSelection(null);},
|
194
|
+
|
195
|
+
focusIfIE: function() {
|
196
|
+
// in IE, a lot of selection-related functionality only works when the frame is focused
|
197
|
+
if (this.win.select.ie_selection && document.activeElement != this.frame)
|
198
|
+
this.focus();
|
199
|
+
},
|
200
|
+
focus: function() {
|
201
|
+
this.win.focus();
|
202
|
+
if (this.editor.selectionSnapshot) // IE hack
|
203
|
+
this.win.select.setBookmark(this.win.document.body, this.editor.selectionSnapshot);
|
204
|
+
},
|
205
|
+
replaceSelection: function(text) {
|
206
|
+
this.focus();
|
207
|
+
this.editor.replaceSelection(text);
|
208
|
+
return true;
|
209
|
+
},
|
210
|
+
replaceChars: function(text, start, end) {
|
211
|
+
this.editor.replaceChars(text, start, end);
|
212
|
+
},
|
213
|
+
getSearchCursor: function(string, fromCursor, caseFold) {
|
214
|
+
return this.editor.getSearchCursor(string, fromCursor, caseFold);
|
215
|
+
},
|
216
|
+
|
217
|
+
undo: function() {this.editor.history.undo();},
|
218
|
+
redo: function() {this.editor.history.redo();},
|
219
|
+
historySize: function() {return this.editor.history.historySize();},
|
220
|
+
clearHistory: function() {this.editor.history.clear();},
|
221
|
+
|
222
|
+
grabKeys: function(callback, filter) {this.editor.grabKeys(callback, filter);},
|
223
|
+
ungrabKeys: function() {this.editor.ungrabKeys();},
|
224
|
+
|
225
|
+
setParser: function(name, parserConfig) {this.editor.setParser(name, parserConfig);},
|
226
|
+
setSpellcheck: function(on) {this.win.document.body.spellcheck = on;},
|
227
|
+
setStylesheet: function(names) {
|
228
|
+
if (typeof names === "string") names = [names];
|
229
|
+
var activeStylesheets = {};
|
230
|
+
var matchedNames = {};
|
231
|
+
var links = this.win.document.getElementsByTagName("link");
|
232
|
+
// Create hashes of active stylesheets and matched names.
|
233
|
+
// This is O(n^2) but n is expected to be very small.
|
234
|
+
for (var x = 0, link; link = links[x]; x++) {
|
235
|
+
if (link.rel.indexOf("stylesheet") !== -1) {
|
236
|
+
for (var y = 0; y < names.length; y++) {
|
237
|
+
var name = names[y];
|
238
|
+
if (link.href.substring(link.href.length - name.length) === name) {
|
239
|
+
activeStylesheets[link.href] = true;
|
240
|
+
matchedNames[name] = true;
|
241
|
+
}
|
242
|
+
}
|
243
|
+
}
|
244
|
+
}
|
245
|
+
// Activate the selected stylesheets and disable the rest.
|
246
|
+
for (var x = 0, link; link = links[x]; x++) {
|
247
|
+
if (link.rel.indexOf("stylesheet") !== -1) {
|
248
|
+
link.disabled = !(link.href in activeStylesheets);
|
249
|
+
}
|
250
|
+
}
|
251
|
+
// Create any new stylesheets.
|
252
|
+
for (var y = 0; y < names.length; y++) {
|
253
|
+
var name = names[y];
|
254
|
+
if (!(name in matchedNames)) {
|
255
|
+
var link = this.win.document.createElement("link");
|
256
|
+
link.rel = "stylesheet";
|
257
|
+
link.type = "text/css";
|
258
|
+
link.href = name;
|
259
|
+
this.win.document.getElementsByTagName('head')[0].appendChild(link);
|
260
|
+
}
|
261
|
+
}
|
262
|
+
},
|
263
|
+
setTextWrapping: function(on) {
|
264
|
+
if (on == this.options.textWrapping) return;
|
265
|
+
this.win.document.body.style.whiteSpace = on ? "" : "nowrap";
|
266
|
+
this.options.textWrapping = on;
|
267
|
+
if (this.lineNumbers) {
|
268
|
+
this.setLineNumbers(false);
|
269
|
+
this.setLineNumbers(true);
|
270
|
+
}
|
271
|
+
},
|
272
|
+
setIndentUnit: function(unit) {this.win.indentUnit = unit;},
|
273
|
+
setUndoDepth: function(depth) {this.editor.history.maxDepth = depth;},
|
274
|
+
setTabMode: function(mode) {this.options.tabMode = mode;},
|
275
|
+
setEnterMode: function(mode) {this.options.enterMode = mode;},
|
276
|
+
setLineNumbers: function(on) {
|
277
|
+
if (on && !this.lineNumbers) {
|
278
|
+
this.lineNumbers = addLineNumberDiv(this.wrapping,this.options.firstLineNumber);
|
279
|
+
this.activateLineNumbers();
|
280
|
+
}
|
281
|
+
else if (!on && this.lineNumbers) {
|
282
|
+
this.wrapping.removeChild(this.lineNumbers);
|
283
|
+
this.wrapping.style.paddingLeft = "";
|
284
|
+
this.lineNumbers = null;
|
285
|
+
}
|
286
|
+
},
|
287
|
+
|
288
|
+
cursorPosition: function(start) {this.focusIfIE(); return this.editor.cursorPosition(start);},
|
289
|
+
firstLine: function() {return this.editor.firstLine();},
|
290
|
+
lastLine: function() {return this.editor.lastLine();},
|
291
|
+
nextLine: function(line) {return this.editor.nextLine(line);},
|
292
|
+
prevLine: function(line) {return this.editor.prevLine(line);},
|
293
|
+
lineContent: function(line) {return this.editor.lineContent(line);},
|
294
|
+
setLineContent: function(line, content) {this.editor.setLineContent(line, content);},
|
295
|
+
removeLine: function(line){this.editor.removeLine(line);},
|
296
|
+
insertIntoLine: function(line, position, content) {this.editor.insertIntoLine(line, position, content);},
|
297
|
+
selectLines: function(startLine, startOffset, endLine, endOffset) {
|
298
|
+
this.win.focus();
|
299
|
+
this.editor.selectLines(startLine, startOffset, endLine, endOffset);
|
300
|
+
},
|
301
|
+
nthLine: function(n) {
|
302
|
+
var line = this.firstLine();
|
303
|
+
for (; n > 1 && line !== false; n--)
|
304
|
+
line = this.nextLine(line);
|
305
|
+
return line;
|
306
|
+
},
|
307
|
+
lineNumber: function(line) {
|
308
|
+
var num = 0;
|
309
|
+
while (line !== false) {
|
310
|
+
num++;
|
311
|
+
line = this.prevLine(line);
|
312
|
+
}
|
313
|
+
return num;
|
314
|
+
},
|
315
|
+
jumpToLine: function(line) {
|
316
|
+
if (typeof line == "number") line = this.nthLine(line);
|
317
|
+
this.selectLines(line, 0);
|
318
|
+
this.win.focus();
|
319
|
+
},
|
320
|
+
currentLine: function() { // Deprecated, but still there for backward compatibility
|
321
|
+
return this.lineNumber(this.cursorLine());
|
322
|
+
},
|
323
|
+
cursorLine: function() {
|
324
|
+
return this.cursorPosition().line;
|
325
|
+
},
|
326
|
+
cursorCoords: function(start) {return this.editor.cursorCoords(start);},
|
327
|
+
|
328
|
+
activateLineNumbers: function() {
|
329
|
+
var frame = this.frame, win = frame.contentWindow, doc = win.document, body = doc.body,
|
330
|
+
nums = this.lineNumbers, scroller = nums.firstChild, self = this;
|
331
|
+
var barWidth = null;
|
332
|
+
|
333
|
+
nums.onclick = function(e) {
|
334
|
+
var handler = self.options.onLineNumberClick;
|
335
|
+
if (handler) {
|
336
|
+
var div = (e || window.event).target || (e || window.event).srcElement;
|
337
|
+
var num = div == nums ? NaN : Number(div.innerHTML);
|
338
|
+
if (!isNaN(num)) handler(num, div);
|
339
|
+
}
|
340
|
+
};
|
341
|
+
|
342
|
+
function sizeBar() {
|
343
|
+
if (frame.offsetWidth == 0) return;
|
344
|
+
for (var root = frame; root.parentNode; root = root.parentNode){}
|
345
|
+
if (!nums.parentNode || root != document || !win.Editor) {
|
346
|
+
// Clear event handlers (their nodes might already be collected, so try/catch)
|
347
|
+
try{clear();}catch(e){}
|
348
|
+
clearInterval(sizeInterval);
|
349
|
+
return;
|
350
|
+
}
|
351
|
+
|
352
|
+
if (nums.offsetWidth != barWidth) {
|
353
|
+
barWidth = nums.offsetWidth;
|
354
|
+
frame.parentNode.style.paddingLeft = barWidth + "px";
|
355
|
+
}
|
356
|
+
}
|
357
|
+
function doScroll() {
|
358
|
+
nums.scrollTop = body.scrollTop || doc.documentElement.scrollTop || 0;
|
359
|
+
}
|
360
|
+
// Cleanup function, registered by nonWrapping and wrapping.
|
361
|
+
var clear = function(){};
|
362
|
+
sizeBar();
|
363
|
+
var sizeInterval = setInterval(sizeBar, 500);
|
364
|
+
|
365
|
+
function ensureEnoughLineNumbers(fill) {
|
366
|
+
var lineHeight = scroller.firstChild.offsetHeight;
|
367
|
+
if (lineHeight == 0) return;
|
368
|
+
var targetHeight = 50 + Math.max(body.offsetHeight, Math.max(frame.offsetHeight, body.scrollHeight || 0)),
|
369
|
+
lastNumber = Math.ceil(targetHeight / lineHeight);
|
370
|
+
for (var i = scroller.childNodes.length; i <= lastNumber; i++) {
|
371
|
+
var div = createHTMLElement("div");
|
372
|
+
div.appendChild(document.createTextNode(fill ? String(i + self.options.firstLineNumber) : "\u00a0"));
|
373
|
+
scroller.appendChild(div);
|
374
|
+
}
|
375
|
+
}
|
376
|
+
|
377
|
+
function nonWrapping() {
|
378
|
+
function update() {
|
379
|
+
ensureEnoughLineNumbers(true);
|
380
|
+
doScroll();
|
381
|
+
}
|
382
|
+
self.updateNumbers = update;
|
383
|
+
var onScroll = win.addEventHandler(win, "scroll", doScroll, true),
|
384
|
+
onResize = win.addEventHandler(win, "resize", update, true);
|
385
|
+
clear = function(){
|
386
|
+
onScroll(); onResize();
|
387
|
+
if (self.updateNumbers == update) self.updateNumbers = null;
|
388
|
+
};
|
389
|
+
update();
|
390
|
+
}
|
391
|
+
|
392
|
+
function wrapping() {
|
393
|
+
var node, lineNum, next, pos, changes = [], styleNums = self.options.styleNumbers;
|
394
|
+
|
395
|
+
function setNum(n, node) {
|
396
|
+
// Does not typically happen (but can, if you mess with the
|
397
|
+
// document during the numbering)
|
398
|
+
if (!lineNum) lineNum = scroller.appendChild(createHTMLElement("div"));
|
399
|
+
if (styleNums) styleNums(lineNum, node, n);
|
400
|
+
// Changes are accumulated, so that the document layout
|
401
|
+
// doesn't have to be recomputed during the pass
|
402
|
+
changes.push(lineNum); changes.push(n);
|
403
|
+
pos = lineNum.offsetHeight + lineNum.offsetTop;
|
404
|
+
lineNum = lineNum.nextSibling;
|
405
|
+
}
|
406
|
+
function commitChanges() {
|
407
|
+
for (var i = 0; i < changes.length; i += 2)
|
408
|
+
changes[i].innerHTML = changes[i + 1];
|
409
|
+
changes = [];
|
410
|
+
}
|
411
|
+
function work() {
|
412
|
+
if (!scroller.parentNode || scroller.parentNode != self.lineNumbers) return;
|
413
|
+
|
414
|
+
var endTime = new Date().getTime() + self.options.lineNumberTime;
|
415
|
+
while (node) {
|
416
|
+
setNum(next++, node.previousSibling);
|
417
|
+
for (; node && !win.isBR(node); node = node.nextSibling) {
|
418
|
+
var bott = node.offsetTop + node.offsetHeight;
|
419
|
+
while (scroller.offsetHeight && bott - 3 > pos) {
|
420
|
+
var oldPos = pos;
|
421
|
+
setNum(" ");
|
422
|
+
if (pos <= oldPos) break;
|
423
|
+
}
|
424
|
+
}
|
425
|
+
if (node) node = node.nextSibling;
|
426
|
+
if (new Date().getTime() > endTime) {
|
427
|
+
commitChanges();
|
428
|
+
pending = setTimeout(work, self.options.lineNumberDelay);
|
429
|
+
return;
|
430
|
+
}
|
431
|
+
}
|
432
|
+
while (lineNum) setNum(next++);
|
433
|
+
commitChanges();
|
434
|
+
doScroll();
|
435
|
+
}
|
436
|
+
function start(firstTime) {
|
437
|
+
doScroll();
|
438
|
+
ensureEnoughLineNumbers(firstTime);
|
439
|
+
node = body.firstChild;
|
440
|
+
lineNum = scroller.firstChild;
|
441
|
+
pos = 0;
|
442
|
+
next = self.options.firstLineNumber;
|
443
|
+
work();
|
444
|
+
}
|
445
|
+
|
446
|
+
start(true);
|
447
|
+
var pending = null;
|
448
|
+
function update() {
|
449
|
+
if (pending) clearTimeout(pending);
|
450
|
+
if (self.editor.allClean()) start();
|
451
|
+
else pending = setTimeout(update, 200);
|
452
|
+
}
|
453
|
+
self.updateNumbers = update;
|
454
|
+
var onScroll = win.addEventHandler(win, "scroll", doScroll, true),
|
455
|
+
onResize = win.addEventHandler(win, "resize", update, true);
|
456
|
+
clear = function(){
|
457
|
+
if (pending) clearTimeout(pending);
|
458
|
+
if (self.updateNumbers == update) self.updateNumbers = null;
|
459
|
+
onScroll();
|
460
|
+
onResize();
|
461
|
+
};
|
462
|
+
}
|
463
|
+
(this.options.textWrapping || this.options.styleNumbers ? wrapping : nonWrapping)();
|
464
|
+
},
|
465
|
+
|
466
|
+
setDynamicHeight: function() {
|
467
|
+
var self = this, activity = self.options.onCursorActivity, win = self.win, body = win.document.body,
|
468
|
+
lineHeight = null, timeout = null, vmargin = 2 * self.frame.offsetTop;
|
469
|
+
body.style.overflowY = "hidden";
|
470
|
+
win.document.documentElement.style.overflowY = "hidden";
|
471
|
+
this.frame.scrolling = "no";
|
472
|
+
|
473
|
+
function updateHeight() {
|
474
|
+
var trailingLines = 0, node = body.lastChild, computedHeight;
|
475
|
+
while (node && win.isBR(node)) {
|
476
|
+
if (!node.hackBR) trailingLines++;
|
477
|
+
node = node.previousSibling;
|
478
|
+
}
|
479
|
+
if (node) {
|
480
|
+
lineHeight = node.offsetHeight;
|
481
|
+
computedHeight = node.offsetTop + (1 + trailingLines) * lineHeight;
|
482
|
+
}
|
483
|
+
else if (lineHeight) {
|
484
|
+
computedHeight = trailingLines * lineHeight;
|
485
|
+
}
|
486
|
+
if (computedHeight)
|
487
|
+
self.wrapping.style.height = Math.max(vmargin + computedHeight, self.options.minHeight) + "px";
|
488
|
+
}
|
489
|
+
setTimeout(updateHeight, 300);
|
490
|
+
self.options.onCursorActivity = function(x) {
|
491
|
+
if (activity) activity(x);
|
492
|
+
clearTimeout(timeout);
|
493
|
+
timeout = setTimeout(updateHeight, 100);
|
494
|
+
};
|
495
|
+
}
|
496
|
+
};
|
497
|
+
|
498
|
+
CodeMirror.InvalidLineHandle = {toString: function(){return "CodeMirror.InvalidLineHandle";}};
|
499
|
+
|
500
|
+
CodeMirror.replace = function(element) {
|
501
|
+
if (typeof element == "string")
|
502
|
+
element = document.getElementById(element);
|
503
|
+
return function(newElement) {
|
504
|
+
element.parentNode.replaceChild(newElement, element);
|
505
|
+
};
|
506
|
+
};
|
507
|
+
|
508
|
+
CodeMirror.fromTextArea = function(area, options) {
|
509
|
+
if (typeof area == "string")
|
510
|
+
area = document.getElementById(area);
|
511
|
+
|
512
|
+
options = options || {};
|
513
|
+
if (area.style.width && options.width == null)
|
514
|
+
options.width = area.style.width;
|
515
|
+
if (area.style.height && options.height == null)
|
516
|
+
options.height = area.style.height;
|
517
|
+
if (options.content == null) options.content = area.value;
|
518
|
+
|
519
|
+
function updateField() {
|
520
|
+
area.value = mirror.getCode();
|
521
|
+
}
|
522
|
+
if (area.form) {
|
523
|
+
if (typeof area.form.addEventListener == "function")
|
524
|
+
area.form.addEventListener("submit", updateField, false);
|
525
|
+
else
|
526
|
+
area.form.attachEvent("onsubmit", updateField);
|
527
|
+
var realSubmit = area.form.submit;
|
528
|
+
function wrapSubmit() {
|
529
|
+
updateField();
|
530
|
+
// Can't use realSubmit.apply because IE6 is too stupid
|
531
|
+
area.form.submit = realSubmit;
|
532
|
+
area.form.submit();
|
533
|
+
area.form.submit = wrapSubmit;
|
534
|
+
}
|
535
|
+
area.form.submit = wrapSubmit;
|
536
|
+
}
|
537
|
+
|
538
|
+
function insert(frame) {
|
539
|
+
if (area.nextSibling)
|
540
|
+
area.parentNode.insertBefore(frame, area.nextSibling);
|
541
|
+
else
|
542
|
+
area.parentNode.appendChild(frame);
|
543
|
+
}
|
544
|
+
|
545
|
+
area.style.display = "none";
|
546
|
+
var mirror = new CodeMirror(insert, options);
|
547
|
+
mirror.save = updateField;
|
548
|
+
mirror.toTextArea = function() {
|
549
|
+
updateField();
|
550
|
+
area.parentNode.removeChild(mirror.wrapping);
|
551
|
+
area.style.display = "";
|
552
|
+
if (area.form) {
|
553
|
+
area.form.submit = realSubmit;
|
554
|
+
if (typeof area.form.removeEventListener == "function")
|
555
|
+
area.form.removeEventListener("submit", updateField, false);
|
556
|
+
else
|
557
|
+
area.form.detachEvent("onsubmit", updateField);
|
558
|
+
}
|
559
|
+
};
|
560
|
+
|
561
|
+
return mirror;
|
562
|
+
};
|
563
|
+
|
564
|
+
CodeMirror.isProbablySupported = function() {
|
565
|
+
// This is rather awful, but can be useful.
|
566
|
+
var match;
|
567
|
+
if (window.opera)
|
568
|
+
return Number(window.opera.version()) >= 9.52;
|
569
|
+
else if (/Apple Computer, Inc/.test(navigator.vendor) && (match = navigator.userAgent.match(/Version\/(\d+(?:\.\d+)?)\./)))
|
570
|
+
return Number(match[1]) >= 3;
|
571
|
+
else if (document.selection && window.ActiveXObject && (match = navigator.userAgent.match(/MSIE (\d+(?:\.\d*)?)\b/)))
|
572
|
+
return Number(match[1]) >= 6;
|
573
|
+
else if (match = navigator.userAgent.match(/gecko\/(\d{8})/i))
|
574
|
+
return Number(match[1]) >= 20050901;
|
575
|
+
else if (match = navigator.userAgent.match(/AppleWebKit\/(\d+)/))
|
576
|
+
return Number(match[1]) >= 525;
|
577
|
+
else
|
578
|
+
return null;
|
579
|
+
};
|
580
|
+
|
581
|
+
return CodeMirror;
|
582
|
+
})();
|