six-updater-web 0.10.8 → 0.11.1
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +8 -6
- data/bin/six-updater-web +1 -1
- data/lib/README +243 -0
- data/lib/Rakefile +10 -0
- data/lib/app/controllers/actions_controller.rb +23 -0
- data/lib/app/controllers/application_controller.rb +20 -0
- data/lib/app/controllers/appsettings_controller.rb +40 -0
- data/lib/app/controllers/logs_controller.rb +5 -0
- data/lib/app/controllers/logsessions_controller.rb +5 -0
- data/lib/app/controllers/logviews_controller.rb +52 -0
- data/lib/app/controllers/main_controller.rb +432 -0
- data/lib/app/controllers/mods_controller.rb +48 -0
- data/lib/app/controllers/queryservers_controller.rb +42 -0
- data/lib/app/controllers/repositories_controller.rb +16 -0
- data/lib/app/controllers/servers_controller.rb +34 -0
- data/lib/app/controllers/sixconfigs_controller.rb +33 -0
- data/lib/app/controllers/system_settings_controller.rb +5 -0
- data/lib/app/helpers/actions_helper.rb +2 -0
- data/lib/app/helpers/application_helper.rb +13 -0
- data/lib/app/helpers/appsettings_helper.rb +17 -0
- data/lib/app/helpers/logs_helper.rb +2 -0
- data/lib/app/helpers/logsessions_helper.rb +2 -0
- data/lib/app/helpers/logviews_helper.rb +5 -0
- data/lib/app/helpers/main_helper.rb +2 -0
- data/lib/app/helpers/mods_helper.rb +5 -0
- data/lib/app/helpers/queryservers_helper.rb +8 -0
- data/lib/app/helpers/repositories_helper.rb +2 -0
- data/lib/app/helpers/servers_helper.rb +13 -0
- data/lib/app/helpers/sixconfigs_helper.rb +5 -0
- data/lib/app/helpers/system_settings_helper.rb +2 -0
- data/lib/app/models/action.rb +5 -0
- data/lib/app/models/appsetting.rb +18 -0
- data/lib/app/models/log.rb +3 -0
- data/lib/app/models/log_observer.rb +23 -0
- data/lib/app/models/logsession.rb +3 -0
- data/lib/app/models/mod.rb +96 -0
- data/lib/app/models/queryserver.rb +167 -0
- data/lib/app/models/repository.rb +11 -0
- data/lib/app/models/server.rb +25 -0
- data/lib/app/models/sixconfig.rb +185 -0
- data/lib/app/models/system_setting.rb +77 -0
- data/lib/app/views/Repositories/imp.erb +1 -0
- data/lib/app/views/appsettings/manage.erb +4 -0
- data/lib/app/views/layouts/application.haml +48 -0
- data/lib/app/views/layouts/empty.haml +2 -0
- data/lib/app/views/logviews/_logs.erb +1 -0
- data/lib/app/views/logviews/upd.rjs +1 -0
- data/lib/app/views/main/_check.haml +18 -0
- data/lib/app/views/main/execute.haml +24 -0
- data/lib/app/views/main/fetch.haml +2 -0
- data/lib/app/views/main/index.haml +100 -0
- data/lib/app/views/main/logoutput.erb +6 -0
- data/lib/app/views/main/modlogs.erb +5 -0
- data/lib/app/views/main/reset.erb +40 -0
- data/lib/app/views/main/reset_act.haml +1 -0
- data/lib/app/views/mods/imp.haml +1 -0
- data/lib/app/views/servers/imp.erb +1 -0
- data/lib/config/GeoIP.dat +0 -0
- data/lib/config/boot.rb +110 -0
- data/lib/config/database.yml +34 -0
- data/lib/config/database.yml.sample +34 -0
- data/lib/config/environment.rb +59 -0
- data/lib/config/environments/development.rb +17 -0
- data/lib/config/environments/production.rb +28 -0
- data/lib/config/environments/test.rb +28 -0
- data/lib/config/gslist.cfg +3229 -0
- data/lib/config/initializers/backtrace_silencers.rb +7 -0
- data/lib/config/initializers/inflections.rb +10 -0
- data/lib/config/initializers/mime_types.rb +5 -0
- data/lib/config/initializers/new_rails_defaults.rb +19 -0
- data/lib/config/initializers/session_store.rb +15 -0
- data/lib/config/locales/en.yml +5 -0
- data/lib/config/routes.rb +43 -0
- data/lib/config/six-updater-web.rb +221 -0
- data/lib/db/migrate/20090826185820_create_repositories.rb +18 -0
- data/lib/db/migrate/20090826185836_create_mods.rb +23 -0
- data/lib/db/migrate/20090826185847_create_servers.rb +22 -0
- data/lib/db/migrate/20090826185930_create_appsettings.rb +21 -0
- data/lib/db/migrate/20090826190008_create_sixconfigs.rb +16 -0
- data/lib/db/migrate/20090829165545_create_actions.rb +18 -0
- data/lib/db/migrate/20090829165546_add_logpath_to_appsetting.rb +9 -0
- data/lib/db/migrate/20090829165547_change_columns_appsettings.rb +10 -0
- data/lib/db/migrate/20090916174120_create_logs.rb +14 -0
- data/lib/db/migrate/20090916174333_create_logsessions.rb +13 -0
- data/lib/db/migrate/20090921092253_create_sessions.rb +16 -0
- data/lib/db/migrate/20090921165547_change_columns.rb +46 -0
- data/lib/db/migrate/20090928163554_create_system_settings.rb +14 -0
- data/lib/db/migrate/20090928163555_change_columns_mods.rb +11 -0
- data/lib/db/migrate/20090928163556_change2_columns_mods.rb +11 -0
- data/lib/db/migrate/20090928163558_change_columns_repositories.rb +11 -0
- data/lib/db/migrate/20090928163559_change_columns_system_settings.rb +9 -0
- data/lib/db/migrate/20090928163560_change2_columns_system_settings.rb +9 -0
- data/lib/db/migrate/20090928163561_change2_columns.rb +46 -0
- data/lib/db/migrate/20090928163562_change3_columns_system_settings.rb +17 -0
- data/lib/db/migrate/20090928163563_change2_columns_appsettings.rb +9 -0
- data/lib/db/migrate/20100327164004_create_queryservers.rb +18 -0
- data/lib/db/migrate/20100404150547_add_fields_to_queryservers.rb +35 -0
- data/lib/db/migrate/20100404152436_create_mods_queryservers.rb +11 -0
- data/lib/db/migrate/20100405142958_add_saved_password_to_queryservers.rb +9 -0
- data/lib/db/migrate/20100405142959_change_mods_queryservers_id.rb +9 -0
- data/lib/db/migrate/20100405142960_add_gamespied_at_to_system_settings.rb +9 -0
- data/lib/db/migrate/20100409114653_add_priority_and_path_to_mods.rb +11 -0
- data/lib/db/schema.rb +289 -0
- data/lib/doc/README_FOR_APP +2 -0
- data/lib/init.rb +74 -0
- data/lib/lib/tasks/fixtures.rake +33 -0
- data/lib/lib/tasks/sync.rake +51 -0
- data/lib/log/production.log +1 -0
- data/lib/public/404.html +30 -0
- data/lib/public/422.html +30 -0
- data/lib/public/500.html +30 -0
- data/lib/public/blank.html +33 -0
- data/lib/public/favicon.ico +0 -0
- data/lib/public/goldberg/images/action.png +0 -0
- data/lib/public/goldberg/images/add.png +0 -0
- data/lib/public/goldberg/images/blockquote-bg.gif +0 -0
- data/lib/public/goldberg/images/body-bg.jpg +0 -0
- data/lib/public/goldberg/images/centerColumn-bg.jpg +0 -0
- data/lib/public/goldberg/images/daddy_leftarrow.gif +0 -0
- data/lib/public/goldberg/images/delete.png +0 -0
- data/lib/public/goldberg/images/down.png +0 -0
- data/lib/public/goldberg/images/h2-bg.gif +0 -0
- data/lib/public/goldberg/images/h3-bg.gif +0 -0
- data/lib/public/goldberg/images/header-bg.jpg +0 -0
- data/lib/public/goldberg/images/hr-bg.jpg +0 -0
- data/lib/public/goldberg/images/logo.jpg +0 -0
- data/lib/public/goldberg/images/page.png +0 -0
- data/lib/public/goldberg/images/permission.png +0 -0
- data/lib/public/goldberg/images/role.png +0 -0
- data/lib/public/goldberg/images/up.png +0 -0
- data/lib/public/goldberg/javascripts/suckerfish.js +12 -0
- data/lib/public/goldberg/stylesheets/goldberg.css +142 -0
- data/lib/public/goldberg/stylesheets/layout.css +433 -0
- data/lib/public/goldberg/stylesheets/suckerfish.css +124 -0
- data/lib/public/images/active_scaffold/DO_NOT_EDIT +2 -0
- data/lib/public/images/active_scaffold/default/add.gif +0 -0
- data/lib/public/images/active_scaffold/default/arrow_down.gif +0 -0
- data/lib/public/images/active_scaffold/default/arrow_refresh.png +0 -0
- data/lib/public/images/active_scaffold/default/arrow_up.gif +0 -0
- data/lib/public/images/active_scaffold/default/close.gif +0 -0
- data/lib/public/images/active_scaffold/default/cross.png +0 -0
- data/lib/public/images/active_scaffold/default/customize_tool.png +0 -0
- data/lib/public/images/active_scaffold/default/export_tool.png +0 -0
- data/lib/public/images/active_scaffold/default/indicator-small.gif +0 -0
- data/lib/public/images/active_scaffold/default/indicator.gif +0 -0
- data/lib/public/images/active_scaffold/default/magnifier.png +0 -0
- data/lib/public/images/active_scaffold/default/printer_tool.png +0 -0
- data/lib/public/images/rails.png +0 -0
- data/lib/public/images/record_select/cross.gif +0 -0
- data/lib/public/images/record_select/next.gif +0 -0
- data/lib/public/images/record_select/previous.gif +0 -0
- data/lib/public/images/top.png +0 -0
- data/lib/public/javascripts/active_scaffold/DO_NOT_EDIT +2 -0
- data/lib/public/javascripts/active_scaffold/default/active_scaffold.js +517 -0
- data/lib/public/javascripts/active_scaffold/default/advanced_search.js +54 -0
- data/lib/public/javascripts/active_scaffold/default/dhtml_history.js +867 -0
- data/lib/public/javascripts/active_scaffold/default/form_enhancements.js +117 -0
- data/lib/public/javascripts/active_scaffold/default/number_formats.js +167 -0
- data/lib/public/javascripts/active_scaffold/default/rico_corner.js +370 -0
- data/lib/public/javascripts/application.js +2 -0
- data/lib/public/javascripts/controls.js +963 -0
- data/lib/public/javascripts/dragdrop.js +973 -0
- data/lib/public/javascripts/effects.js +1128 -0
- data/lib/public/javascripts/prototype.js +4320 -0
- data/lib/public/javascripts/record_select/record_select.js +352 -0
- data/lib/public/robots.txt +5 -0
- data/lib/public/stylesheets/active_scaffold/DO_NOT_EDIT +2 -0
- data/lib/public/stylesheets/active_scaffold/default/advanced_search.css +11 -0
- data/lib/public/stylesheets/active_scaffold/default/stylesheet-ie.css +50 -0
- data/lib/public/stylesheets/active_scaffold/default/stylesheet.css +1059 -0
- data/lib/public/stylesheets/active_scaffold/default/tools-left-handed-stylesheet-ie.css +11 -0
- data/lib/public/stylesheets/active_scaffold/default/tools-left-handed-stylesheet.css +68 -0
- data/lib/public/stylesheets/record_select/record_select.css +129 -0
- data/lib/script/about +4 -0
- data/lib/script/console +3 -0
- data/lib/script/dbconsole +3 -0
- data/lib/script/destroy +3 -0
- data/lib/script/generate +3 -0
- data/lib/script/performance/benchmarker +3 -0
- data/lib/script/performance/profiler +3 -0
- data/lib/script/plugin +3 -0
- data/lib/script/runner +3 -0
- data/lib/script/server +3 -0
- data/lib/test/functional/actions_controller_test.rb +8 -0
- data/lib/test/functional/configs_controller_test.rb +8 -0
- data/lib/test/functional/logs_controller_test.rb +8 -0
- data/lib/test/functional/logsessions_controller_test.rb +8 -0
- data/lib/test/functional/logviews_controller_test.rb +8 -0
- data/lib/test/functional/main_controller_test.rb +8 -0
- data/lib/test/functional/mods_controller_test.rb +8 -0
- data/lib/test/functional/queryservers_controller_test.rb +8 -0
- data/lib/test/functional/repositories_controller_test.rb +8 -0
- data/lib/test/functional/servers_controller_test.rb +8 -0
- data/lib/test/functional/settings_controller_test.rb +8 -0
- data/lib/test/functional/system_settings_controller_test.rb +8 -0
- data/lib/test/performance/browsing_test.rb +9 -0
- data/lib/test/test_helper.rb +38 -0
- data/lib/test/unit/action_test.rb +8 -0
- data/lib/test/unit/config_test.rb +8 -0
- data/lib/test/unit/helpers/actions_helper_test.rb +4 -0
- data/lib/test/unit/helpers/configs_helper_test.rb +4 -0
- data/lib/test/unit/helpers/logs_helper_test.rb +4 -0
- data/lib/test/unit/helpers/logsessions_helper_test.rb +4 -0
- data/lib/test/unit/helpers/logviews_helper_test.rb +4 -0
- data/lib/test/unit/helpers/main_helper_test.rb +4 -0
- data/lib/test/unit/helpers/mods_helper_test.rb +4 -0
- data/lib/test/unit/helpers/queryservers_helper_test.rb +4 -0
- data/lib/test/unit/helpers/repositories_helper_test.rb +4 -0
- data/lib/test/unit/helpers/servers_helper_test.rb +4 -0
- data/lib/test/unit/helpers/settings_helper_test.rb +4 -0
- data/lib/test/unit/helpers/system_settings_helper_test.rb +4 -0
- data/lib/test/unit/log_test.rb +8 -0
- data/lib/test/unit/logsession_test.rb +8 -0
- data/lib/test/unit/mod_test.rb +8 -0
- data/lib/test/unit/queryserver_test.rb +8 -0
- data/lib/test/unit/repository_test.rb +8 -0
- data/lib/test/unit/server_test.rb +8 -0
- data/lib/test/unit/setting_test.rb +8 -0
- data/lib/test/unit/system_setting_test.rb +8 -0
- data/lib/vendor/plugins/active_scaffold/CHANGELOG +152 -0
- data/lib/vendor/plugins/active_scaffold/MIT-LICENSE +20 -0
- data/lib/vendor/plugins/active_scaffold/README +128 -0
- data/lib/vendor/plugins/active_scaffold/Rakefile +24 -0
- data/lib/vendor/plugins/active_scaffold/environment.rb +20 -0
- data/lib/vendor/plugins/active_scaffold/frontends/default/images/add.gif +0 -0
- data/lib/vendor/plugins/active_scaffold/frontends/default/images/arrow_down.gif +0 -0
- data/lib/vendor/plugins/active_scaffold/frontends/default/images/arrow_refresh.png +0 -0
- data/lib/vendor/plugins/active_scaffold/frontends/default/images/arrow_up.gif +0 -0
- data/lib/vendor/plugins/active_scaffold/frontends/default/images/close.gif +0 -0
- data/lib/vendor/plugins/active_scaffold/frontends/default/images/cross.png +0 -0
- data/lib/vendor/plugins/active_scaffold/frontends/default/images/customize_tool.png +0 -0
- data/lib/vendor/plugins/active_scaffold/frontends/default/images/export_tool.png +0 -0
- data/lib/vendor/plugins/active_scaffold/frontends/default/images/indicator-small.gif +0 -0
- data/lib/vendor/plugins/active_scaffold/frontends/default/images/indicator.gif +0 -0
- data/lib/vendor/plugins/active_scaffold/frontends/default/images/magnifier.png +0 -0
- data/lib/vendor/plugins/active_scaffold/frontends/default/images/printer_tool.png +0 -0
- data/lib/vendor/plugins/active_scaffold/frontends/default/javascripts/active_scaffold.js +517 -0
- data/lib/vendor/plugins/active_scaffold/frontends/default/javascripts/dhtml_history.js +867 -0
- data/lib/vendor/plugins/active_scaffold/frontends/default/javascripts/form_enhancements.js +117 -0
- data/lib/vendor/plugins/active_scaffold/frontends/default/javascripts/number_formats.js +167 -0
- data/lib/vendor/plugins/active_scaffold/frontends/default/javascripts/rico_corner.js +370 -0
- data/lib/vendor/plugins/active_scaffold/frontends/default/stylesheets/stylesheet-ie.css +50 -0
- data/lib/vendor/plugins/active_scaffold/frontends/default/stylesheets/stylesheet.css +1059 -0
- data/lib/vendor/plugins/active_scaffold/frontends/default/stylesheets/tools-left-handed-stylesheet-ie.css +11 -0
- data/lib/vendor/plugins/active_scaffold/frontends/default/stylesheets/tools-left-handed-stylesheet.css +68 -0
- data/lib/vendor/plugins/active_scaffold/frontends/default/views/_add_existing_form.html.erb +36 -0
- data/lib/vendor/plugins/active_scaffold/frontends/default/views/_create_form.html.erb +57 -0
- data/lib/vendor/plugins/active_scaffold/frontends/default/views/_create_form_on_list.html.erb +45 -0
- data/lib/vendor/plugins/active_scaffold/frontends/default/views/_create_form_submit.html.erb +2 -0
- data/lib/vendor/plugins/active_scaffold/frontends/default/views/_export_csv.html.erb +20 -0
- data/lib/vendor/plugins/active_scaffold/frontends/default/views/_field_search.html.erb +58 -0
- data/lib/vendor/plugins/active_scaffold/frontends/default/views/_form.html.erb +23 -0
- data/lib/vendor/plugins/active_scaffold/frontends/default/views/_form_association.html.erb +12 -0
- data/lib/vendor/plugins/active_scaffold/frontends/default/views/_form_association_footer.html.erb +43 -0
- data/lib/vendor/plugins/active_scaffold/frontends/default/views/_form_attribute.html.erb +24 -0
- data/lib/vendor/plugins/active_scaffold/frontends/default/views/_form_hidden_attribute.html.erb +1 -0
- data/lib/vendor/plugins/active_scaffold/frontends/default/views/_form_messages.html.erb +5 -0
- data/lib/vendor/plugins/active_scaffold/frontends/default/views/_horizontal_subform.html.erb +19 -0
- data/lib/vendor/plugins/active_scaffold/frontends/default/views/_horizontal_subform_header.html.erb +10 -0
- data/lib/vendor/plugins/active_scaffold/frontends/default/views/_horizontal_subform_record.html.erb +29 -0
- data/lib/vendor/plugins/active_scaffold/frontends/default/views/_list.html.erb +43 -0
- data/lib/vendor/plugins/active_scaffold/frontends/default/views/_list_actions.html.erb +29 -0
- data/lib/vendor/plugins/active_scaffold/frontends/default/views/_list_calculations.html.erb +43 -0
- data/lib/vendor/plugins/active_scaffold/frontends/default/views/_list_column_headings.html.erb +64 -0
- data/lib/vendor/plugins/active_scaffold/frontends/default/views/_list_header.html.erb +29 -0
- data/lib/vendor/plugins/active_scaffold/frontends/default/views/_list_inline_adapter.html.erb +11 -0
- data/lib/vendor/plugins/active_scaffold/frontends/default/views/_list_pagination_links.html.erb +30 -0
- data/lib/vendor/plugins/active_scaffold/frontends/default/views/_list_record.html.erb +32 -0
- data/lib/vendor/plugins/active_scaffold/frontends/default/views/_list_record_actions.html.erb +5 -0
- data/lib/vendor/plugins/active_scaffold/frontends/default/views/_list_record_columns.html.erb +20 -0
- data/lib/vendor/plugins/active_scaffold/frontends/default/views/_live_search.html.erb +23 -0
- data/lib/vendor/plugins/active_scaffold/frontends/default/views/_messages.html.erb +10 -0
- data/lib/vendor/plugins/active_scaffold/frontends/default/views/_nested.html.erb +45 -0
- data/lib/vendor/plugins/active_scaffold/frontends/default/views/_print_list.html.erb +22 -0
- data/lib/vendor/plugins/active_scaffold/frontends/default/views/_revision.html.erb +11 -0
- data/lib/vendor/plugins/active_scaffold/frontends/default/views/_revision_columns.html.erb +62 -0
- data/lib/vendor/plugins/active_scaffold/frontends/default/views/_search.html.erb +21 -0
- data/lib/vendor/plugins/active_scaffold/frontends/default/views/_show.html.erb +8 -0
- data/lib/vendor/plugins/active_scaffold/frontends/default/views/_show_columns.html.erb +19 -0
- data/lib/vendor/plugins/active_scaffold/frontends/default/views/_show_customize.html.erb +27 -0
- data/lib/vendor/plugins/active_scaffold/frontends/default/views/_show_export_tool.html.erb +17 -0
- data/lib/vendor/plugins/active_scaffold/frontends/default/views/_update_actions.html.erb +9 -0
- data/lib/vendor/plugins/active_scaffold/frontends/default/views/_update_form.html.erb +61 -0
- data/lib/vendor/plugins/active_scaffold/frontends/default/views/_update_form_submit.html.erb +2 -0
- data/lib/vendor/plugins/active_scaffold/frontends/default/views/_vertical_subform.html.erb +12 -0
- data/lib/vendor/plugins/active_scaffold/frontends/default/views/_vertical_subform_record.html.erb +31 -0
- data/lib/vendor/plugins/active_scaffold/frontends/default/views/add_existing.js.rjs +16 -0
- data/lib/vendor/plugins/active_scaffold/frontends/default/views/add_existing_form.html.erb +5 -0
- data/lib/vendor/plugins/active_scaffold/frontends/default/views/copy.rjs +4 -0
- data/lib/vendor/plugins/active_scaffold/frontends/default/views/create.html.erb +5 -0
- data/lib/vendor/plugins/active_scaffold/frontends/default/views/delete.html.erb +13 -0
- data/lib/vendor/plugins/active_scaffold/frontends/default/views/destroy.js.rjs +10 -0
- data/lib/vendor/plugins/active_scaffold/frontends/default/views/edit_associated.js.rjs +14 -0
- data/lib/vendor/plugins/active_scaffold/frontends/default/views/field_search.html.erb +5 -0
- data/lib/vendor/plugins/active_scaffold/frontends/default/views/form_messages.js.rjs +1 -0
- data/lib/vendor/plugins/active_scaffold/frontends/default/views/form_messages_on_save.js.rjs +10 -0
- data/lib/vendor/plugins/active_scaffold/frontends/default/views/latest.rjs +2 -0
- data/lib/vendor/plugins/active_scaffold/frontends/default/views/list.html.erb +48 -0
- data/lib/vendor/plugins/active_scaffold/frontends/default/views/on_create.js.rjs +25 -0
- data/lib/vendor/plugins/active_scaffold/frontends/default/views/on_update.js.rjs +11 -0
- data/lib/vendor/plugins/active_scaffold/frontends/default/views/print_list.prawn +26 -0
- data/lib/vendor/plugins/active_scaffold/frontends/default/views/refresh_list.js.rjs +6 -0
- data/lib/vendor/plugins/active_scaffold/frontends/default/views/refresh_record.js.rjs +2 -0
- data/lib/vendor/plugins/active_scaffold/frontends/default/views/render_field.js.rjs +9 -0
- data/lib/vendor/plugins/active_scaffold/frontends/default/views/revision.html.erb +5 -0
- data/lib/vendor/plugins/active_scaffold/frontends/default/views/search.html.erb +5 -0
- data/lib/vendor/plugins/active_scaffold/frontends/default/views/show.html.erb +5 -0
- data/lib/vendor/plugins/active_scaffold/frontends/default/views/show_customize.html.erb +5 -0
- data/lib/vendor/plugins/active_scaffold/frontends/default/views/show_export_tool.html.erb +5 -0
- data/lib/vendor/plugins/active_scaffold/frontends/default/views/update.html.erb +8 -0
- data/lib/vendor/plugins/active_scaffold/frontends/default/views/update_column.js.rjs +12 -0
- data/lib/vendor/plugins/active_scaffold/init.rb +18 -0
- data/lib/vendor/plugins/active_scaffold/install.rb +39 -0
- data/lib/vendor/plugins/active_scaffold/install_assets.rb +36 -0
- data/lib/vendor/plugins/active_scaffold/lib/active_record_permissions.rb +136 -0
- data/lib/vendor/plugins/active_scaffold/lib/active_scaffold.rb +215 -0
- data/lib/vendor/plugins/active_scaffold/lib/active_scaffold/actions/core.rb +142 -0
- data/lib/vendor/plugins/active_scaffold/lib/active_scaffold/actions/create.rb +160 -0
- data/lib/vendor/plugins/active_scaffold/lib/active_scaffold/actions/customize.rb +59 -0
- data/lib/vendor/plugins/active_scaffold/lib/active_scaffold/actions/delete.rb +72 -0
- data/lib/vendor/plugins/active_scaffold/lib/active_scaffold/actions/export_tool.rb +49 -0
- data/lib/vendor/plugins/active_scaffold/lib/active_scaffold/actions/field_search.rb +82 -0
- data/lib/vendor/plugins/active_scaffold/lib/active_scaffold/actions/list.rb +119 -0
- data/lib/vendor/plugins/active_scaffold/lib/active_scaffold/actions/live_search.rb +59 -0
- data/lib/vendor/plugins/active_scaffold/lib/active_scaffold/actions/nested.rb +219 -0
- data/lib/vendor/plugins/active_scaffold/lib/active_scaffold/actions/print_base.rb +23 -0
- data/lib/vendor/plugins/active_scaffold/lib/active_scaffold/actions/print_list.rb +44 -0
- data/lib/vendor/plugins/active_scaffold/lib/active_scaffold/actions/refresh.rb +31 -0
- data/lib/vendor/plugins/active_scaffold/lib/active_scaffold/actions/revision.rb +51 -0
- data/lib/vendor/plugins/active_scaffold/lib/active_scaffold/actions/search.rb +50 -0
- data/lib/vendor/plugins/active_scaffold/lib/active_scaffold/actions/show.rb +54 -0
- data/lib/vendor/plugins/active_scaffold/lib/active_scaffold/actions/subform.rb +17 -0
- data/lib/vendor/plugins/active_scaffold/lib/active_scaffold/actions/update.rb +128 -0
- data/lib/vendor/plugins/active_scaffold/lib/active_scaffold/attribute_params.rb +196 -0
- data/lib/vendor/plugins/active_scaffold/lib/active_scaffold/config/base.rb +45 -0
- data/lib/vendor/plugins/active_scaffold/lib/active_scaffold/config/core.rb +263 -0
- data/lib/vendor/plugins/active_scaffold/lib/active_scaffold/config/create.rb +43 -0
- data/lib/vendor/plugins/active_scaffold/lib/active_scaffold/config/customize.rb +34 -0
- data/lib/vendor/plugins/active_scaffold/lib/active_scaffold/config/delete.rb +25 -0
- data/lib/vendor/plugins/active_scaffold/lib/active_scaffold/config/export_tool.rb +52 -0
- data/lib/vendor/plugins/active_scaffold/lib/active_scaffold/config/field_search.rb +53 -0
- data/lib/vendor/plugins/active_scaffold/lib/active_scaffold/config/form.rb +49 -0
- data/lib/vendor/plugins/active_scaffold/lib/active_scaffold/config/list.rb +142 -0
- data/lib/vendor/plugins/active_scaffold/lib/active_scaffold/config/live_search.rb +52 -0
- data/lib/vendor/plugins/active_scaffold/lib/active_scaffold/config/nested.rb +34 -0
- data/lib/vendor/plugins/active_scaffold/lib/active_scaffold/config/print_base.rb +40 -0
- data/lib/vendor/plugins/active_scaffold/lib/active_scaffold/config/print_list.rb +52 -0
- data/lib/vendor/plugins/active_scaffold/lib/active_scaffold/config/refresh.rb +22 -0
- data/lib/vendor/plugins/active_scaffold/lib/active_scaffold/config/revision.rb +39 -0
- data/lib/vendor/plugins/active_scaffold/lib/active_scaffold/config/search.rb +52 -0
- data/lib/vendor/plugins/active_scaffold/lib/active_scaffold/config/show.rb +36 -0
- data/lib/vendor/plugins/active_scaffold/lib/active_scaffold/config/subform.rb +40 -0
- data/lib/vendor/plugins/active_scaffold/lib/active_scaffold/config/update.rb +32 -0
- data/lib/vendor/plugins/active_scaffold/lib/active_scaffold/configurable.rb +29 -0
- data/lib/vendor/plugins/active_scaffold/lib/active_scaffold/constraints.rb +181 -0
- data/lib/vendor/plugins/active_scaffold/lib/active_scaffold/data_structures/action_columns.rb +97 -0
- data/lib/vendor/plugins/active_scaffold/lib/active_scaffold/data_structures/action_link.rb +140 -0
- data/lib/vendor/plugins/active_scaffold/lib/active_scaffold/data_structures/action_links.rb +47 -0
- data/lib/vendor/plugins/active_scaffold/lib/active_scaffold/data_structures/actions.rb +45 -0
- data/lib/vendor/plugins/active_scaffold/lib/active_scaffold/data_structures/column.rb +343 -0
- data/lib/vendor/plugins/active_scaffold/lib/active_scaffold/data_structures/columns.rb +75 -0
- data/lib/vendor/plugins/active_scaffold/lib/active_scaffold/data_structures/error_message.rb +24 -0
- data/lib/vendor/plugins/active_scaffold/lib/active_scaffold/data_structures/set.rb +62 -0
- data/lib/vendor/plugins/active_scaffold/lib/active_scaffold/data_structures/sorting.rb +159 -0
- data/lib/vendor/plugins/active_scaffold/lib/active_scaffold/finder.rb +331 -0
- data/lib/vendor/plugins/active_scaffold/lib/active_scaffold/generators/active_scaffold/active_scaffold_generator.rb +348 -0
- data/lib/vendor/plugins/active_scaffold/lib/active_scaffold/generators/active_scaffold/templates/controller_methods.rb +36 -0
- data/lib/vendor/plugins/active_scaffold/lib/active_scaffold/generators/active_scaffold/templates/controller_scaffolding.rhtml +10 -0
- data/lib/vendor/plugins/active_scaffold/lib/active_scaffold/generators/active_scaffold/templates/fixtures.yml +5 -0
- data/lib/vendor/plugins/active_scaffold/lib/active_scaffold/generators/active_scaffold/templates/form.rhtml +3 -0
- data/lib/vendor/plugins/active_scaffold/lib/active_scaffold/generators/active_scaffold/templates/form_scaffolding.rhtml +1 -0
- data/lib/vendor/plugins/active_scaffold/lib/active_scaffold/generators/active_scaffold/templates/functional_test.rb +45 -0
- data/lib/vendor/plugins/active_scaffold/lib/active_scaffold/generators/active_scaffold/templates/helper.rb +2 -0
- data/lib/vendor/plugins/active_scaffold/lib/active_scaffold/generators/active_scaffold/templates/model.rb +3 -0
- data/lib/vendor/plugins/active_scaffold/lib/active_scaffold/generators/active_scaffold/templates/model_scaffolding.rhtml +90 -0
- data/lib/vendor/plugins/active_scaffold/lib/active_scaffold/generators/active_scaffold/templates/show.rhtml +8 -0
- data/lib/vendor/plugins/active_scaffold/lib/active_scaffold/generators/active_scaffold/templates/show_scaffolding.rhtml +1 -0
- data/lib/vendor/plugins/active_scaffold/lib/active_scaffold/generators/active_scaffold/templates/unit_test.rb +5 -0
- data/lib/vendor/plugins/active_scaffold/lib/active_scaffold/helpers/association_helpers.rb +40 -0
- data/lib/vendor/plugins/active_scaffold/lib/active_scaffold/helpers/controller_helpers.rb +41 -0
- data/lib/vendor/plugins/active_scaffold/lib/active_scaffold/helpers/country_helpers.rb +365 -0
- data/lib/vendor/plugins/active_scaffold/lib/active_scaffold/helpers/form_column_helpers.rb +484 -0
- data/lib/vendor/plugins/active_scaffold/lib/active_scaffold/helpers/id_helpers.rb +152 -0
- data/lib/vendor/plugins/active_scaffold/lib/active_scaffold/helpers/list_column_helpers.rb +397 -0
- data/lib/vendor/plugins/active_scaffold/lib/active_scaffold/helpers/number_helpers.rb +143 -0
- data/lib/vendor/plugins/active_scaffold/lib/active_scaffold/helpers/pagination_helpers.rb +39 -0
- data/lib/vendor/plugins/active_scaffold/lib/active_scaffold/helpers/search_column_helpers.rb +279 -0
- data/lib/vendor/plugins/active_scaffold/lib/active_scaffold/helpers/show_column_helpers.rb +46 -0
- data/lib/vendor/plugins/active_scaffold/lib/active_scaffold/helpers/view_helpers.rb +227 -0
- data/lib/vendor/plugins/active_scaffold/lib/active_scaffold/locale/en-countries.yml +247 -0
- data/lib/vendor/plugins/active_scaffold/lib/active_scaffold/locale/en.rb +68 -0
- data/lib/vendor/plugins/active_scaffold/lib/active_scaffold/search.rb +21 -0
- data/lib/vendor/plugins/active_scaffold/lib/bridges/bridge.rb +52 -0
- data/lib/vendor/plugins/active_scaffold/lib/bridges/calendar_date_select/bridge.rb +11 -0
- data/lib/vendor/plugins/active_scaffold/lib/bridges/calendar_date_select/lib/as_cds_bridge.rb +135 -0
- data/lib/vendor/plugins/active_scaffold/lib/bridges/checkbox.rb +21 -0
- data/lib/vendor/plugins/active_scaffold/lib/bridges/file_column/bridge.rb +12 -0
- data/lib/vendor/plugins/active_scaffold/lib/bridges/file_column/lib/as_file_column_bridge.rb +75 -0
- data/lib/vendor/plugins/active_scaffold/lib/bridges/file_column/lib/file_column_helpers.rb +51 -0
- data/lib/vendor/plugins/active_scaffold/lib/bridges/file_column/lib/form_ui.rb +33 -0
- data/lib/vendor/plugins/active_scaffold/lib/bridges/file_column/lib/list_ui.rb +42 -0
- data/lib/vendor/plugins/active_scaffold/lib/bridges/file_column/test/functional/file_column_keep_test.rb +43 -0
- data/lib/vendor/plugins/active_scaffold/lib/bridges/file_column/test/mock_model.rb +9 -0
- data/lib/vendor/plugins/active_scaffold/lib/bridges/file_column/test/test_helper.rb +15 -0
- data/lib/vendor/plugins/active_scaffold/lib/bridges/tiny_mce/bridge.rb +5 -0
- data/lib/vendor/plugins/active_scaffold/lib/bridges/tiny_mce/lib/tiny_mce_bridge.rb +45 -0
- data/lib/vendor/plugins/active_scaffold/lib/dhtml_confirm.rb +54 -0
- data/lib/vendor/plugins/active_scaffold/lib/extensions/action_controller_rendering.rb +20 -0
- data/lib/vendor/plugins/active_scaffold/lib/extensions/action_view_rendering.rb +88 -0
- data/lib/vendor/plugins/active_scaffold/lib/extensions/array.rb +7 -0
- data/lib/vendor/plugins/active_scaffold/lib/extensions/component_response_with_namespacing.rb +17 -0
- data/lib/vendor/plugins/active_scaffold/lib/extensions/generic_view_paths.rb +33 -0
- data/lib/vendor/plugins/active_scaffold/lib/extensions/java_script_macros_helper.rb +152 -0
- data/lib/vendor/plugins/active_scaffold/lib/extensions/localize.rb +11 -0
- data/lib/vendor/plugins/active_scaffold/lib/extensions/name_option_for_datetime.rb +12 -0
- data/lib/vendor/plugins/active_scaffold/lib/extensions/nil_id_in_url_params.rb +7 -0
- data/lib/vendor/plugins/active_scaffold/lib/extensions/resources.rb +27 -0
- data/lib/vendor/plugins/active_scaffold/lib/extensions/reverse_associations.rb +56 -0
- data/lib/vendor/plugins/active_scaffold/lib/extensions/schema_definitions.rb +15 -0
- data/lib/vendor/plugins/active_scaffold/lib/extensions/to_label.rb +8 -0
- data/lib/vendor/plugins/active_scaffold/lib/extensions/unsaved_associated.rb +61 -0
- data/lib/vendor/plugins/active_scaffold/lib/extensions/unsaved_record.rb +20 -0
- data/lib/vendor/plugins/active_scaffold/lib/extensions/usa_state.rb +46 -0
- data/lib/vendor/plugins/active_scaffold/lib/paginator.rb +136 -0
- data/lib/vendor/plugins/active_scaffold/lib/responds_to_parent.rb +68 -0
- data/lib/vendor/plugins/active_scaffold/public/blank.html +33 -0
- data/lib/vendor/plugins/active_scaffold/test/bridges/bridge_test.rb +47 -0
- data/lib/vendor/plugins/active_scaffold/test/config/create_test.rb +55 -0
- data/lib/vendor/plugins/active_scaffold/test/config/list_test.rb +74 -0
- data/lib/vendor/plugins/active_scaffold/test/config/update_test.rb +17 -0
- data/lib/vendor/plugins/active_scaffold/test/const_mocker.rb +36 -0
- data/lib/vendor/plugins/active_scaffold/test/data_structures/action_columns_test.rb +119 -0
- data/lib/vendor/plugins/active_scaffold/test/data_structures/action_link_test.rb +78 -0
- data/lib/vendor/plugins/active_scaffold/test/data_structures/action_links_test.rb +78 -0
- data/lib/vendor/plugins/active_scaffold/test/data_structures/actions_test.rb +25 -0
- data/lib/vendor/plugins/active_scaffold/test/data_structures/association_column_test.rb +41 -0
- data/lib/vendor/plugins/active_scaffold/test/data_structures/column_test.rb +161 -0
- data/lib/vendor/plugins/active_scaffold/test/data_structures/columns_test.rb +69 -0
- data/lib/vendor/plugins/active_scaffold/test/data_structures/error_message_test.rb +28 -0
- data/lib/vendor/plugins/active_scaffold/test/data_structures/set_test.rb +86 -0
- data/lib/vendor/plugins/active_scaffold/test/data_structures/sorting_test.rb +96 -0
- data/lib/vendor/plugins/active_scaffold/test/data_structures/standard_column_test.rb +34 -0
- data/lib/vendor/plugins/active_scaffold/test/data_structures/virtual_column_test.rb +34 -0
- data/lib/vendor/plugins/active_scaffold/test/extensions/active_record_test.rb +45 -0
- data/lib/vendor/plugins/active_scaffold/test/extensions/array.rb +12 -0
- data/lib/vendor/plugins/active_scaffold/test/misc/active_record_permissions.rb +154 -0
- data/lib/vendor/plugins/active_scaffold/test/misc/configurable_test.rb +96 -0
- data/lib/vendor/plugins/active_scaffold/test/misc/constraints_test.rb +175 -0
- data/lib/vendor/plugins/active_scaffold/test/misc/finder_test.rb +70 -0
- data/lib/vendor/plugins/active_scaffold/test/misc/lang_test.rb +12 -0
- data/lib/vendor/plugins/active_scaffold/test/model_stub.rb +39 -0
- data/lib/vendor/plugins/active_scaffold/test/render_component/abstract_unit.rb +8 -0
- data/lib/vendor/plugins/active_scaffold/test/render_component/components_test.rb +140 -0
- data/lib/vendor/plugins/active_scaffold/test/run_all.rb +8 -0
- data/lib/vendor/plugins/active_scaffold/test/test_helper.rb +13 -0
- data/lib/vendor/plugins/active_scaffold/things.todo +55 -0
- data/lib/vendor/plugins/active_scaffold/uninstall.rb +13 -0
- data/lib/vendor/plugins/activescaffold_advanced_search/README +1 -0
- data/lib/vendor/plugins/activescaffold_advanced_search/README.markdown +39 -0
- data/lib/vendor/plugins/activescaffold_advanced_search/app/views/active_scaffold_overrides/_advanced_search.rhtml +41 -0
- data/lib/vendor/plugins/activescaffold_advanced_search/frontends/default/javascripts/advanced_search.js +54 -0
- data/lib/vendor/plugins/activescaffold_advanced_search/frontends/default/stylesheets/advanced_search.css +11 -0
- data/lib/vendor/plugins/activescaffold_advanced_search/init.rb +22 -0
- data/lib/vendor/plugins/activescaffold_advanced_search/install.rb +50 -0
- data/lib/vendor/plugins/activescaffold_advanced_search/lib/actions/advanced_search.rb +62 -0
- data/lib/vendor/plugins/activescaffold_advanced_search/lib/advanced_finder.rb +101 -0
- data/lib/vendor/plugins/activescaffold_advanced_search/lib/config/advanced_search.rb +48 -0
- data/lib/vendor/plugins/activescaffold_advanced_search/lib/config/core.rb +23 -0
- data/lib/vendor/plugins/activescaffold_advanced_search/lib/helpers/advanced_search_helpers.rb +19 -0
- data/lib/vendor/plugins/activescaffold_advanced_search/lib/helpers/view_helpers.rb +20 -0
- data/lib/vendor/plugins/activescaffold_advanced_search/uninstall.rb.rb +2 -0
- data/lib/vendor/plugins/goldberg/README.rdoc +36 -0
- data/lib/vendor/plugins/goldberg/app/controllers/goldberg/auth_controller.rb +97 -0
- data/lib/vendor/plugins/goldberg/app/controllers/goldberg/content_pages_controller.rb +197 -0
- data/lib/vendor/plugins/goldberg/app/controllers/goldberg/controller_actions_controller.rb +130 -0
- data/lib/vendor/plugins/goldberg/app/controllers/goldberg/menu_items_controller.rb +184 -0
- data/lib/vendor/plugins/goldberg/app/controllers/goldberg/permissions_controller.rb +60 -0
- data/lib/vendor/plugins/goldberg/app/controllers/goldberg/roles_controller.rb +85 -0
- data/lib/vendor/plugins/goldberg/app/controllers/goldberg/roles_permissions_controller.rb +65 -0
- data/lib/vendor/plugins/goldberg/app/controllers/goldberg/site_controllers_controller.rb +157 -0
- data/lib/vendor/plugins/goldberg/app/controllers/goldberg/system_settings_controller.rb +75 -0
- data/lib/vendor/plugins/goldberg/app/controllers/goldberg/users_controller.rb +293 -0
- data/lib/vendor/plugins/goldberg/app/helpers/goldberg/auth_helper.rb +4 -0
- data/lib/vendor/plugins/goldberg/app/helpers/goldberg/content_pages_helper.rb +23 -0
- data/lib/vendor/plugins/goldberg/app/helpers/goldberg/controller_actions_helper.rb +5 -0
- data/lib/vendor/plugins/goldberg/app/helpers/goldberg/menu_items_helper.rb +4 -0
- data/lib/vendor/plugins/goldberg/app/helpers/goldberg/permissions_helper.rb +4 -0
- data/lib/vendor/plugins/goldberg/app/helpers/goldberg/roles_helper.rb +4 -0
- data/lib/vendor/plugins/goldberg/app/helpers/goldberg/roles_permissions_helper.rb +4 -0
- data/lib/vendor/plugins/goldberg/app/helpers/goldberg/site_controllers_helper.rb +4 -0
- data/lib/vendor/plugins/goldberg/app/helpers/goldberg/system_settings_helper.rb +4 -0
- data/lib/vendor/plugins/goldberg/app/helpers/goldberg/users_helper.rb +4 -0
- data/lib/vendor/plugins/goldberg/app/models/goldberg/content_page.rb +134 -0
- data/lib/vendor/plugins/goldberg/app/models/goldberg/controller_action.rb +86 -0
- data/lib/vendor/plugins/goldberg/app/models/goldberg/credentials.rb +128 -0
- data/lib/vendor/plugins/goldberg/app/models/goldberg/menu.rb +198 -0
- data/lib/vendor/plugins/goldberg/app/models/goldberg/menu_item.rb +127 -0
- data/lib/vendor/plugins/goldberg/app/models/goldberg/permission.rb +37 -0
- data/lib/vendor/plugins/goldberg/app/models/goldberg/role.rb +68 -0
- data/lib/vendor/plugins/goldberg/app/models/goldberg/roles_permission.rb +18 -0
- data/lib/vendor/plugins/goldberg/app/models/goldberg/site_controller.rb +60 -0
- data/lib/vendor/plugins/goldberg/app/models/goldberg/system_settings.rb +112 -0
- data/lib/vendor/plugins/goldberg/app/models/goldberg/user.rb +69 -0
- data/lib/vendor/plugins/goldberg/app/models/goldberg/user_mailer.rb +43 -0
- data/lib/vendor/plugins/goldberg/app/views/goldberg/auth/_login.rhtml +15 -0
- data/lib/vendor/plugins/goldberg/app/views/goldberg/auth/login.rhtml +22 -0
- data/lib/vendor/plugins/goldberg/app/views/goldberg/auth/logout.rhtml +2 -0
- data/lib/vendor/plugins/goldberg/app/views/goldberg/content_pages/_fck_create_folder.rxml +6 -0
- data/lib/vendor/plugins/goldberg/app/views/goldberg/content_pages/_fck_files.rxml +19 -0
- data/lib/vendor/plugins/goldberg/app/views/goldberg/content_pages/_form.rhtml +32 -0
- data/lib/vendor/plugins/goldberg/app/views/goldberg/content_pages/edit.rhtml +10 -0
- data/lib/vendor/plugins/goldberg/app/views/goldberg/content_pages/fck_speller_pages.rhtml +58 -0
- data/lib/vendor/plugins/goldberg/app/views/goldberg/content_pages/list.rhtml +22 -0
- data/lib/vendor/plugins/goldberg/app/views/goldberg/content_pages/new.rhtml +8 -0
- data/lib/vendor/plugins/goldberg/app/views/goldberg/content_pages/show.rhtml +57 -0
- data/lib/vendor/plugins/goldberg/app/views/goldberg/content_pages/view.rhtml +1 -0
- data/lib/vendor/plugins/goldberg/app/views/goldberg/content_pages/view_default.rhtml +1 -0
- data/lib/vendor/plugins/goldberg/app/views/goldberg/controller_actions/_form.rhtml +53 -0
- data/lib/vendor/plugins/goldberg/app/views/goldberg/controller_actions/edit.rhtml +9 -0
- data/lib/vendor/plugins/goldberg/app/views/goldberg/controller_actions/list.rhtml +27 -0
- data/lib/vendor/plugins/goldberg/app/views/goldberg/controller_actions/new.rhtml +10 -0
- data/lib/vendor/plugins/goldberg/app/views/goldberg/controller_actions/show.rhtml +13 -0
- data/lib/vendor/plugins/goldberg/app/views/goldberg/layouts/_tabpanel_js.rhtml +52 -0
- data/lib/vendor/plugins/goldberg/app/views/goldberg/layouts/_tabpanel_list.rhtml +7 -0
- data/lib/vendor/plugins/goldberg/app/views/goldberg/menu_items/_breadcrumbs.rhtml +5 -0
- data/lib/vendor/plugins/goldberg/app/views/goldberg/menu_items/_form.rhtml +42 -0
- data/lib/vendor/plugins/goldberg/app/views/goldberg/menu_items/_item_list.rhtml +52 -0
- data/lib/vendor/plugins/goldberg/app/views/goldberg/menu_items/_item_parent_list.rhtml +15 -0
- data/lib/vendor/plugins/goldberg/app/views/goldberg/menu_items/_menubar.rhtml +21 -0
- data/lib/vendor/plugins/goldberg/app/views/goldberg/menu_items/_suckerfish.rhtml +14 -0
- data/lib/vendor/plugins/goldberg/app/views/goldberg/menu_items/edit.rhtml +10 -0
- data/lib/vendor/plugins/goldberg/app/views/goldberg/menu_items/list-original.rhtml +27 -0
- data/lib/vendor/plugins/goldberg/app/views/goldberg/menu_items/list.rhtml +16 -0
- data/lib/vendor/plugins/goldberg/app/views/goldberg/menu_items/new.rhtml +9 -0
- data/lib/vendor/plugins/goldberg/app/views/goldberg/menu_items/show.rhtml +8 -0
- data/lib/vendor/plugins/goldberg/app/views/goldberg/permissions/_form.rhtml +7 -0
- data/lib/vendor/plugins/goldberg/app/views/goldberg/permissions/edit.rhtml +9 -0
- data/lib/vendor/plugins/goldberg/app/views/goldberg/permissions/list.rhtml +14 -0
- data/lib/vendor/plugins/goldberg/app/views/goldberg/permissions/new.rhtml +8 -0
- data/lib/vendor/plugins/goldberg/app/views/goldberg/permissions/show.rhtml +38 -0
- data/lib/vendor/plugins/goldberg/app/views/goldberg/roles/_form.rhtml +18 -0
- data/lib/vendor/plugins/goldberg/app/views/goldberg/roles/edit.rhtml +9 -0
- data/lib/vendor/plugins/goldberg/app/views/goldberg/roles/list.rhtml +21 -0
- data/lib/vendor/plugins/goldberg/app/views/goldberg/roles/new.rhtml +8 -0
- data/lib/vendor/plugins/goldberg/app/views/goldberg/roles/show.rhtml +79 -0
- data/lib/vendor/plugins/goldberg/app/views/goldberg/roles_permissions/_form.rhtml +13 -0
- data/lib/vendor/plugins/goldberg/app/views/goldberg/roles_permissions/edit.rhtml +9 -0
- data/lib/vendor/plugins/goldberg/app/views/goldberg/roles_permissions/list.rhtml +24 -0
- data/lib/vendor/plugins/goldberg/app/views/goldberg/roles_permissions/new.rhtml +8 -0
- data/lib/vendor/plugins/goldberg/app/views/goldberg/roles_permissions/new_permission_for_role.rhtml +8 -0
- data/lib/vendor/plugins/goldberg/app/views/goldberg/roles_permissions/show.rhtml +8 -0
- data/lib/vendor/plugins/goldberg/app/views/goldberg/site_controllers/_form.rhtml +15 -0
- data/lib/vendor/plugins/goldberg/app/views/goldberg/site_controllers/_list.rhtml +26 -0
- data/lib/vendor/plugins/goldberg/app/views/goldberg/site_controllers/edit.rhtml +9 -0
- data/lib/vendor/plugins/goldberg/app/views/goldberg/site_controllers/list.rhtml +107 -0
- data/lib/vendor/plugins/goldberg/app/views/goldberg/site_controllers/new.rhtml +8 -0
- data/lib/vendor/plugins/goldberg/app/views/goldberg/site_controllers/show.rhtml +38 -0
- data/lib/vendor/plugins/goldberg/app/views/goldberg/system_settings/_form.rhtml +71 -0
- data/lib/vendor/plugins/goldberg/app/views/goldberg/system_settings/edit.rhtml +9 -0
- data/lib/vendor/plugins/goldberg/app/views/goldberg/system_settings/list.rhtml +27 -0
- data/lib/vendor/plugins/goldberg/app/views/goldberg/system_settings/new.rhtml +8 -0
- data/lib/vendor/plugins/goldberg/app/views/goldberg/system_settings/show.rhtml +189 -0
- data/lib/vendor/plugins/goldberg/app/views/goldberg/user_mailer/confirmation_request.rhtml +19 -0
- data/lib/vendor/plugins/goldberg/app/views/goldberg/user_mailer/reset_password.rhtml +17 -0
- data/lib/vendor/plugins/goldberg/app/views/goldberg/user_mailer/reset_password_request.rhtml +23 -0
- data/lib/vendor/plugins/goldberg/app/views/goldberg/users/_form.rhtml +53 -0
- data/lib/vendor/plugins/goldberg/app/views/goldberg/users/confirm_registration.rhtml +26 -0
- data/lib/vendor/plugins/goldberg/app/views/goldberg/users/confirm_registration_submit.rhtml +4 -0
- data/lib/vendor/plugins/goldberg/app/views/goldberg/users/create.rhtml +19 -0
- data/lib/vendor/plugins/goldberg/app/views/goldberg/users/edit.rhtml +11 -0
- data/lib/vendor/plugins/goldberg/app/views/goldberg/users/forgot_password.rhtml +27 -0
- data/lib/vendor/plugins/goldberg/app/views/goldberg/users/forgot_password_submit.rhtml +4 -0
- data/lib/vendor/plugins/goldberg/app/views/goldberg/users/list.rhtml +18 -0
- data/lib/vendor/plugins/goldberg/app/views/goldberg/users/new.rhtml +19 -0
- data/lib/vendor/plugins/goldberg/app/views/goldberg/users/reset_password.rhtml +11 -0
- data/lib/vendor/plugins/goldberg/app/views/goldberg/users/reset_password_submit.rhtml +3 -0
- data/lib/vendor/plugins/goldberg/app/views/goldberg/users/show.rhtml +33 -0
- data/lib/vendor/plugins/goldberg/db/ContentPage.yml +466 -0
- data/lib/vendor/plugins/goldberg/db/ControllerAction.yml +162 -0
- data/lib/vendor/plugins/goldberg/db/MenuItem.yml +109 -0
- data/lib/vendor/plugins/goldberg/db/Permission.yml +21 -0
- data/lib/vendor/plugins/goldberg/db/Role.yml +493 -0
- data/lib/vendor/plugins/goldberg/db/RolesPermission.yml +26 -0
- data/lib/vendor/plugins/goldberg/db/SiteController.yml +61 -0
- data/lib/vendor/plugins/goldberg/db/SystemSettings.yml +21 -0
- data/lib/vendor/plugins/goldberg/db/User.yml +15 -0
- data/lib/vendor/plugins/goldberg/db/migrate/001_initial_setup.rb +128 -0
- data/lib/vendor/plugins/goldberg/db/migrate/002_menu_rest_items_users_cached_content_pages.rb +26 -0
- data/lib/vendor/plugins/goldberg/db/migrate/003_self_registration.rb +54 -0
- data/lib/vendor/plugins/goldberg/db/migrate/004_column_fixes.rb +119 -0
- data/lib/vendor/plugins/goldberg/goldberg.txt +1 -0
- data/lib/vendor/plugins/goldberg/init.rb +15 -0
- data/lib/vendor/plugins/goldberg/lib/goldberg.rb +37 -0
- data/lib/vendor/plugins/goldberg/lib/goldberg/controller.rb +10 -0
- data/lib/vendor/plugins/goldberg/lib/goldberg/filters.rb +197 -0
- data/lib/vendor/plugins/goldberg/lib/goldberg/helper.rb +66 -0
- data/lib/vendor/plugins/goldberg/lib/goldberg/migration.rb +113 -0
- data/lib/vendor/plugins/goldberg/lib/goldberg/migrator.rb +133 -0
- data/lib/vendor/plugins/goldberg/lib/goldberg/model.rb +127 -0
- data/lib/vendor/plugins/goldberg/lib/goldberg/routes.rb +49 -0
- data/lib/vendor/plugins/goldberg/lib/goldberg/test_helper.rb +82 -0
- data/lib/vendor/plugins/goldberg/tasks/goldberg_tasks.rake +81 -0
- data/lib/vendor/plugins/goldberg/test/functional/content_pages_controller_test.rb +31 -0
- data/lib/vendor/plugins/goldberg/test/integration/security_test.rb +95 -0
- data/lib/vendor/plugins/goldberg/test/test_helper.rb +40 -0
- data/lib/vendor/plugins/goldberg/test/unit/content_page_test.rb +87 -0
- data/lib/vendor/plugins/goldberg/test/unit/controller_action_test.rb +85 -0
- data/lib/vendor/plugins/goldberg/test/unit/menu_item_test.rb +46 -0
- data/lib/vendor/plugins/goldberg/test/unit/permission_test.rb +35 -0
- data/lib/vendor/plugins/goldberg/test/unit/site_controller_test.rb +53 -0
- data/lib/vendor/plugins/goldberg/test/unit/system_settings_test.rb +71 -0
- data/lib/vendor/plugins/goldberg/test/unit/user_test.rb +104 -0
- data/lib/vendor/plugins/goldberg/themes/common/public/images/action.png +0 -0
- data/lib/vendor/plugins/goldberg/themes/common/public/images/add.png +0 -0
- data/lib/vendor/plugins/goldberg/themes/common/public/images/delete.png +0 -0
- data/lib/vendor/plugins/goldberg/themes/common/public/images/down.png +0 -0
- data/lib/vendor/plugins/goldberg/themes/common/public/images/page.png +0 -0
- data/lib/vendor/plugins/goldberg/themes/common/public/images/permission.png +0 -0
- data/lib/vendor/plugins/goldberg/themes/common/public/images/role.png +0 -0
- data/lib/vendor/plugins/goldberg/themes/common/public/images/up.png +0 -0
- data/lib/vendor/plugins/goldberg/themes/common/public/javascripts/suckerfish.js +12 -0
- data/lib/vendor/plugins/goldberg/themes/common/public/stylesheets/goldberg.css +142 -0
- data/lib/vendor/plugins/goldberg/themes/common/public/stylesheets/suckerfish.css +124 -0
- data/lib/vendor/plugins/goldberg/themes/ewnf/app/views/layouts/application.html.erb +74 -0
- data/lib/vendor/plugins/goldberg/themes/ewnf/public/images/bg.gif +0 -0
- data/lib/vendor/plugins/goldberg/themes/ewnf/public/images/daddy_rightarrow.gif +0 -0
- data/lib/vendor/plugins/goldberg/themes/ewnf/public/images/sample.jpg +0 -0
- data/lib/vendor/plugins/goldberg/themes/ewnf/public/images/title_img.jpg +0 -0
- data/lib/vendor/plugins/goldberg/themes/ewnf/public/stylesheets/layout.css +223 -0
- data/lib/vendor/plugins/goldberg/themes/goldberg/app/views/layouts/application.html.erb +80 -0
- data/lib/vendor/plugins/goldberg/themes/goldberg/public/images/bodybg.jpg +0 -0
- data/lib/vendor/plugins/goldberg/themes/goldberg/public/images/footerbg.jpg +0 -0
- data/lib/vendor/plugins/goldberg/themes/goldberg/public/images/logo_right.jpg +0 -0
- data/lib/vendor/plugins/goldberg/themes/goldberg/public/images/menuhover.jpg +0 -0
- data/lib/vendor/plugins/goldberg/themes/goldberg/public/stylesheets/layout.css +321 -0
- data/lib/vendor/plugins/goldberg/themes/snooker/app/views/layouts/application.html.erb +74 -0
- data/lib/vendor/plugins/goldberg/themes/snooker/public/images/column_200.png +0 -0
- data/lib/vendor/plugins/goldberg/themes/snooker/public/images/daddy_rightarrow.gif +0 -0
- data/lib/vendor/plugins/goldberg/themes/snooker/public/images/footer_bg.png +0 -0
- data/lib/vendor/plugins/goldberg/themes/snooker/public/images/logo.jpg +0 -0
- data/lib/vendor/plugins/goldberg/themes/snooker/public/stylesheets/layout.css +183 -0
- data/lib/vendor/plugins/goldberg/themes/spoiled_brat/app/views/layouts/application.html.erb +71 -0
- data/lib/vendor/plugins/goldberg/themes/spoiled_brat/public/images/blockquote-bg.gif +0 -0
- data/lib/vendor/plugins/goldberg/themes/spoiled_brat/public/images/body-bg.jpg +0 -0
- data/lib/vendor/plugins/goldberg/themes/spoiled_brat/public/images/centerColumn-bg.jpg +0 -0
- data/lib/vendor/plugins/goldberg/themes/spoiled_brat/public/images/daddy_leftarrow.gif +0 -0
- data/lib/vendor/plugins/goldberg/themes/spoiled_brat/public/images/h2-bg.gif +0 -0
- data/lib/vendor/plugins/goldberg/themes/spoiled_brat/public/images/h3-bg.gif +0 -0
- data/lib/vendor/plugins/goldberg/themes/spoiled_brat/public/images/header-bg.jpg +0 -0
- data/lib/vendor/plugins/goldberg/themes/spoiled_brat/public/images/hr-bg.jpg +0 -0
- data/lib/vendor/plugins/goldberg/themes/spoiled_brat/public/images/logo.jpg +0 -0
- data/lib/vendor/plugins/goldberg/themes/spoiled_brat/public/stylesheets/layout.css +379 -0
- data/lib/vendor/plugins/in_place_editing/README +14 -0
- data/lib/vendor/plugins/in_place_editing/Rakefile +22 -0
- data/lib/vendor/plugins/in_place_editing/init.rb +2 -0
- data/lib/vendor/plugins/in_place_editing/lib/in_place_editing.rb +29 -0
- data/lib/vendor/plugins/in_place_editing/lib/in_place_macros_helper.rb +81 -0
- data/lib/vendor/plugins/in_place_editing/test/in_place_editing_test.rb +89 -0
- data/lib/vendor/plugins/in_place_editing/test/test_helper.rb +8 -0
- data/lib/vendor/plugins/recordselect/CHANGELOG +25 -0
- data/lib/vendor/plugins/recordselect/MIT-LICENSE +20 -0
- data/lib/vendor/plugins/recordselect/README +11 -0
- data/lib/vendor/plugins/recordselect/Rakefile +23 -0
- data/lib/vendor/plugins/recordselect/app/helpers/record_select_helper.rb +187 -0
- data/lib/vendor/plugins/recordselect/app/views/record_select/_browse.html.erb +8 -0
- data/lib/vendor/plugins/recordselect/app/views/record_select/_list.html.erb +31 -0
- data/lib/vendor/plugins/recordselect/app/views/record_select/_search.html.erb +14 -0
- data/lib/vendor/plugins/recordselect/app/views/record_select/browse.js.rjs +4 -0
- data/lib/vendor/plugins/recordselect/assets/images/cross.gif +0 -0
- data/lib/vendor/plugins/recordselect/assets/images/next.gif +0 -0
- data/lib/vendor/plugins/recordselect/assets/images/previous.gif +0 -0
- data/lib/vendor/plugins/recordselect/assets/javascripts/record_select.js +352 -0
- data/lib/vendor/plugins/recordselect/assets/stylesheets/record_select.css +129 -0
- data/lib/vendor/plugins/recordselect/init.rb +16 -0
- data/lib/vendor/plugins/recordselect/install.rb +1 -0
- data/lib/vendor/plugins/recordselect/lib/extensions/active_record.rb +9 -0
- data/lib/vendor/plugins/recordselect/lib/localization.rb +8 -0
- data/lib/vendor/plugins/recordselect/lib/record_select.rb +36 -0
- data/lib/vendor/plugins/recordselect/lib/record_select/actions.rb +67 -0
- data/lib/vendor/plugins/recordselect/lib/record_select/conditions.rb +86 -0
- data/lib/vendor/plugins/recordselect/lib/record_select/config.rb +91 -0
- data/lib/vendor/plugins/recordselect/lib/record_select/form_builder.rb +25 -0
- data/lib/vendor/plugins/recordselect/test/recordselect_test.rb +8 -0
- data/lib/vendor/plugins/recordselect/uninstall.rb +4 -0
- data/lib/vendor/plugins/render_component/README +37 -0
- data/lib/vendor/plugins/render_component/Rakefile +22 -0
- data/lib/vendor/plugins/render_component/init.rb +2 -0
- data/lib/vendor/plugins/render_component/lib/components.rb +142 -0
- data/lib/vendor/plugins/render_component/test/abstract_unit.rb +8 -0
- data/lib/vendor/plugins/render_component/test/components_test.rb +140 -0
- data/lib/vendor/plugins/six-app_manager/Rakefile +26 -0
- data/lib/vendor/plugins/six-app_manager/environment.rb +30 -0
- data/lib/vendor/plugins/six-app_manager/init.rb +18 -0
- data/lib/vendor/plugins/six-app_manager/lib/six/appmanager.rb +247 -0
- data/lib/vendor/plugins/six-db_manager/Rakefile +26 -0
- data/lib/vendor/plugins/six-db_manager/db/actions.yml +1 -0
- data/lib/vendor/plugins/six-db_manager/db/actions_sixconfigs.yml +1 -0
- data/lib/vendor/plugins/six-db_manager/db/appsettings.yml +1 -0
- data/lib/vendor/plugins/six-db_manager/db/appsettings_sixconfigs.yml +1 -0
- data/lib/vendor/plugins/six-db_manager/db/goldberg_content_pages.yml +360 -0
- data/lib/vendor/plugins/six-db_manager/db/goldberg_controller_actions.yml +211 -0
- data/lib/vendor/plugins/six-db_manager/db/goldberg_menu_items.yml +169 -0
- data/lib/vendor/plugins/six-db_manager/db/goldberg_permissions.yml +16 -0
- data/lib/vendor/plugins/six-db_manager/db/goldberg_roles.yml +683 -0
- data/lib/vendor/plugins/six-db_manager/db/goldberg_roles_permissions.yml +21 -0
- data/lib/vendor/plugins/six-db_manager/db/goldberg_site_controllers.yml +106 -0
- data/lib/vendor/plugins/six-db_manager/db/goldberg_system_settings.yml +20 -0
- data/lib/vendor/plugins/six-db_manager/db/goldberg_users.yml +27 -0
- data/lib/vendor/plugins/six-db_manager/db/mods.yml +1 -0
- data/lib/vendor/plugins/six-db_manager/db/mods_servers.yml +2 -0
- data/lib/vendor/plugins/six-db_manager/db/mods_sixconfigs.yml +1 -0
- data/lib/vendor/plugins/six-db_manager/db/queryservers.yml +1 -0
- data/lib/vendor/plugins/six-db_manager/db/repositories.yml +1 -0
- data/lib/vendor/plugins/six-db_manager/db/servers.yml +2 -0
- data/lib/vendor/plugins/six-db_manager/db/servers_sixconfigs.yml +2 -0
- data/lib/vendor/plugins/six-db_manager/db/sixconfigs.yml +1 -0
- data/lib/vendor/plugins/six-db_manager/db/system_settings.yml +1 -0
- data/lib/vendor/plugins/six-db_manager/environment.rb +24 -0
- data/lib/vendor/plugins/six-db_manager/init.rb +18 -0
- data/lib/vendor/plugins/six-db_manager/lib/six/dbmanager.rb +204 -0
- data/lib/vendor/plugins/six-guid/Rakefile +26 -0
- data/lib/vendor/plugins/six-guid/environment.rb +24 -0
- data/lib/vendor/plugins/six-guid/init.rb +18 -0
- data/lib/vendor/plugins/six-guid/lib/six/guid.rb +32 -0
- data/lib/vendor/plugins/six-import/Rakefile +26 -0
- data/lib/vendor/plugins/six-import/environment.rb +24 -0
- data/lib/vendor/plugins/six-import/init.rb +18 -0
- data/lib/vendor/plugins/six-import/lib/six/import.rb +133 -0
- data/lib/vendor/plugins/six-network/Rakefile +26 -0
- data/lib/vendor/plugins/six-network/environment.rb +2 -0
- data/lib/vendor/plugins/six-network/init.rb +18 -0
- data/lib/vendor/plugins/six-network/lib/six/network.rb +72 -0
- data/lib/vendor/plugins/six-query/Rakefile +26 -0
- data/lib/vendor/plugins/six-query/app/controllers/sixsense/auth_controller.rb +165 -0
- data/lib/vendor/plugins/six-query/environment.rb +33 -0
- data/lib/vendor/plugins/six-query/init.rb +18 -0
- data/lib/vendor/plugins/six-query/lib/six/query.rb +4 -0
- data/lib/vendor/plugins/six-query/lib/six/query/base.rb +37 -0
- data/lib/vendor/plugins/six-query/lib/six/query/gamespy.rb +107 -0
- data/lib/vendor/plugins/six-query/lib/six/query/gamespy_master.rb +61 -0
- metadata +743 -7
- data/lib/six/updater-web-app.rb +0 -80722
@@ -0,0 +1,352 @@
|
|
1
|
+
Event.observe(window, 'load', function() {RecordSelect.document_loaded = true});
|
2
|
+
|
3
|
+
Form.Element.AfterActivity = function(element, callback, delay) {
|
4
|
+
element = $(element);
|
5
|
+
if (!delay) delay = 0.25;
|
6
|
+
new Form.Element.Observer(element, delay, function(element, value) {
|
7
|
+
// TODO: display loading indicator
|
8
|
+
if (element.activity_timer) clearTimeout(element.activity_timer);
|
9
|
+
element.activity_timer = setTimeout(function() {
|
10
|
+
callback(element.value);
|
11
|
+
}, delay * 1000 + 50);
|
12
|
+
});
|
13
|
+
}
|
14
|
+
|
15
|
+
var RecordSelect = new Object();
|
16
|
+
RecordSelect.document_loaded = false;
|
17
|
+
|
18
|
+
RecordSelect.notify = function(item) {
|
19
|
+
var e = Element.up(item, '.record-select-handler');
|
20
|
+
var onselect = e.onselect || e.getAttribute('onselect');
|
21
|
+
if (typeof onselect != 'function') onselect = eval(onselect);
|
22
|
+
if (onselect)
|
23
|
+
{
|
24
|
+
try {
|
25
|
+
onselect(item.parentNode.id.substr(2), (item.down('label') || item).innerHTML.unescapeHTML(), e);
|
26
|
+
} catch(e) {
|
27
|
+
alert(e);
|
28
|
+
}
|
29
|
+
return false;
|
30
|
+
}
|
31
|
+
else return true;
|
32
|
+
}
|
33
|
+
|
34
|
+
RecordSelect.Abstract = Class.create();
|
35
|
+
Object.extend(RecordSelect.Abstract.prototype, {
|
36
|
+
/**
|
37
|
+
* obj - the id or element that will anchor the recordselect to the page
|
38
|
+
* url - the url to run the recordselect
|
39
|
+
* options - ??? (check concrete classes)
|
40
|
+
*/
|
41
|
+
initialize: function(obj, url, options) {
|
42
|
+
this.obj = $(obj);
|
43
|
+
this.url = url;
|
44
|
+
this.options = options;
|
45
|
+
this.container;
|
46
|
+
|
47
|
+
if (RecordSelect.document_loaded) this.onload();
|
48
|
+
else Event.observe(window, 'load', this.onload.bind(this));
|
49
|
+
},
|
50
|
+
|
51
|
+
/**
|
52
|
+
* Finish the setup - IE doesn't like doing certain things before the page loads
|
53
|
+
* --override--
|
54
|
+
*/
|
55
|
+
onload: function() {},
|
56
|
+
|
57
|
+
/**
|
58
|
+
* the onselect event handler - when someone clicks on a record
|
59
|
+
* --override--
|
60
|
+
*/
|
61
|
+
onselect: function(id, value) {
|
62
|
+
alert(id + ': ' + value);
|
63
|
+
},
|
64
|
+
|
65
|
+
/**
|
66
|
+
* opens the recordselect
|
67
|
+
*/
|
68
|
+
open: function() {
|
69
|
+
if (this.is_open()) return;
|
70
|
+
|
71
|
+
new Ajax.Updater(this.container, this.url, {
|
72
|
+
method: 'get',
|
73
|
+
evalScripts: true,
|
74
|
+
asynchronous: true,
|
75
|
+
onComplete: function() {
|
76
|
+
this.show();
|
77
|
+
// needs to be mousedown so the event doesn't get canceled by other code (see issue #26)
|
78
|
+
Element.observe(document.body, 'mousedown', this.onbodyclick.bindAsEventListener(this));
|
79
|
+
}.bind(this)
|
80
|
+
});
|
81
|
+
},
|
82
|
+
|
83
|
+
/**
|
84
|
+
* positions and reveals the recordselect
|
85
|
+
*/
|
86
|
+
show: function() {
|
87
|
+
var offset = Position.cumulativeOffset(this.obj);
|
88
|
+
this.container.style.left = offset[0] + 'px';
|
89
|
+
this.container.style.top = (Element.getHeight(this.obj) + offset[1]) + 'px';
|
90
|
+
|
91
|
+
if (this._use_iframe_mask()) {
|
92
|
+
this.container.insertAdjacentHTML('afterEnd', '<iframe src="javascript:false;" class="record-select-mask" />');
|
93
|
+
var mask = this.container.next('iframe');
|
94
|
+
mask.style.left = this.container.style.left;
|
95
|
+
mask.style.top = this.container.style.top;
|
96
|
+
}
|
97
|
+
|
98
|
+
this.container.show();
|
99
|
+
|
100
|
+
if (this._use_iframe_mask()) {
|
101
|
+
var dimensions = this.container.immediateDescendants().first().getDimensions();
|
102
|
+
mask.style.width = dimensions.width + 'px';
|
103
|
+
mask.style.height = dimensions.height + 'px';
|
104
|
+
}
|
105
|
+
},
|
106
|
+
|
107
|
+
/**
|
108
|
+
* closes the recordselect by emptying the container
|
109
|
+
*/
|
110
|
+
close: function() {
|
111
|
+
if (this._use_iframe_mask()) {
|
112
|
+
this.container.next('iframe').remove();
|
113
|
+
}
|
114
|
+
|
115
|
+
this.container.hide();
|
116
|
+
// hopefully by using remove() instead of innerHTML we won't leak memory
|
117
|
+
this.container.immediateDescendants().invoke('remove');
|
118
|
+
},
|
119
|
+
|
120
|
+
/**
|
121
|
+
* returns true/false for whether the recordselect is open
|
122
|
+
*/
|
123
|
+
is_open: function() {
|
124
|
+
return (!this.container.innerHTML.blank())
|
125
|
+
},
|
126
|
+
|
127
|
+
/**
|
128
|
+
* when the user clicks outside the dropdown
|
129
|
+
*/
|
130
|
+
onbodyclick: function(ev) {
|
131
|
+
if (!this.is_open()) return;
|
132
|
+
var elem = $(Event.element(ev));
|
133
|
+
var ancestors = elem.ancestors();
|
134
|
+
ancestors.push(elem);
|
135
|
+
if (ancestors.include(this.container) || ancestors.include(this.obj)) return;
|
136
|
+
this.close();
|
137
|
+
},
|
138
|
+
|
139
|
+
/**
|
140
|
+
* creates and initializes (and returns) the recordselect container
|
141
|
+
*/
|
142
|
+
create_container: function() {
|
143
|
+
new Insertion.Bottom(document.body, '<div class="record-select-container record-select-handler"></div>');
|
144
|
+
e = document.body.childNodes[document.body.childNodes.length - 1];
|
145
|
+
e.onselect = this.onselect.bind(this);
|
146
|
+
e.style.display = 'none';
|
147
|
+
|
148
|
+
return $(e);
|
149
|
+
},
|
150
|
+
|
151
|
+
/**
|
152
|
+
* all the behavior to respond to a text field as a search box
|
153
|
+
*/
|
154
|
+
_respond_to_text_field: function(text_field) {
|
155
|
+
// attach the events to start this party
|
156
|
+
text_field.observe('focus', this.open.bind(this));
|
157
|
+
|
158
|
+
// the autosearch event - needs to happen slightly late (keyup is later than keypress)
|
159
|
+
text_field.observe('keyup', function() {
|
160
|
+
if (!this.is_open()) return;
|
161
|
+
this.container.down('.text-input').value = text_field.value;
|
162
|
+
}.bind(this));
|
163
|
+
|
164
|
+
// keyboard navigation, if available
|
165
|
+
if (this.onkeypress) {
|
166
|
+
text_field.observe('keypress', this.onkeypress.bind(this));
|
167
|
+
}
|
168
|
+
},
|
169
|
+
|
170
|
+
_use_iframe_mask: function() {
|
171
|
+
return this.container.insertAdjacentHTML ? true : false;
|
172
|
+
}
|
173
|
+
});
|
174
|
+
|
175
|
+
/**
|
176
|
+
* Adds keyboard navigation to RecordSelect objects
|
177
|
+
*/
|
178
|
+
Object.extend(RecordSelect.Abstract.prototype, {
|
179
|
+
current: null,
|
180
|
+
|
181
|
+
/**
|
182
|
+
* keyboard navigation - where to intercept the keys is up to the concrete class
|
183
|
+
*/
|
184
|
+
onkeypress: function(ev) {
|
185
|
+
var elem;
|
186
|
+
switch (ev.keyCode) {
|
187
|
+
case Event.KEY_UP:
|
188
|
+
if (this.current && this.current.up('.record-select')) elem = this.current.previous();
|
189
|
+
if (!elem) elem = this.container.getElementsBySelector('ol li.record').last();
|
190
|
+
this.highlight(elem);
|
191
|
+
break;
|
192
|
+
case Event.KEY_DOWN:
|
193
|
+
if (this.current && this.current.up('.record-select')) elem = this.current.next();
|
194
|
+
if (!elem) elem = this.container.getElementsBySelector('ol li.record').first();
|
195
|
+
this.highlight(elem);
|
196
|
+
break;
|
197
|
+
case Event.KEY_SPACE:
|
198
|
+
case Event.KEY_RETURN:
|
199
|
+
if (this.current) this.current.down('a').onclick();
|
200
|
+
break;
|
201
|
+
case Event.KEY_RIGHT:
|
202
|
+
elem = this.container.down('li.pagination.next');
|
203
|
+
if (elem) elem.down('a').onclick();
|
204
|
+
break;
|
205
|
+
case Event.KEY_LEFT:
|
206
|
+
elem = this.container.down('li.pagination.previous');
|
207
|
+
if (elem) elem.down('a').onclick();
|
208
|
+
break;
|
209
|
+
case Event.KEY_ESC:
|
210
|
+
this.close();
|
211
|
+
break;
|
212
|
+
default:
|
213
|
+
return;
|
214
|
+
}
|
215
|
+
Event.stop(ev); // so "enter" doesn't submit the form, among other things(?)
|
216
|
+
},
|
217
|
+
|
218
|
+
/**
|
219
|
+
* moves the highlight to a new object
|
220
|
+
*/
|
221
|
+
highlight: function(obj) {
|
222
|
+
if (this.current) this.current.removeClassName('current');
|
223
|
+
this.current = $(obj);
|
224
|
+
obj.addClassName('current');
|
225
|
+
}
|
226
|
+
});
|
227
|
+
|
228
|
+
/**
|
229
|
+
* Used by link_to_record_select
|
230
|
+
* The options hash should contain a onselect: key, with a javascript function as value
|
231
|
+
*/
|
232
|
+
RecordSelect.Dialog = Class.create();
|
233
|
+
RecordSelect.Dialog.prototype = Object.extend(new RecordSelect.Abstract(), {
|
234
|
+
onload: function() {
|
235
|
+
this.container = this.create_container();
|
236
|
+
this.obj.observe('click', this.toggle.bind(this));
|
237
|
+
|
238
|
+
if (this.onkeypress) this.obj.observe('keypress', this.onkeypress.bind(this));
|
239
|
+
},
|
240
|
+
|
241
|
+
onselect: function(id, value) {
|
242
|
+
if (this.options.onselect(id, value) != false) this.close();
|
243
|
+
},
|
244
|
+
|
245
|
+
toggle: function() {
|
246
|
+
if (this.is_open()) this.close();
|
247
|
+
else this.open();
|
248
|
+
}
|
249
|
+
});
|
250
|
+
|
251
|
+
/**
|
252
|
+
* Used by record_select_field helper
|
253
|
+
* The options hash may contain id: and label: keys, designating the current value
|
254
|
+
* The options hash may also include an onchange: key, where the value is a javascript function (or eval-able string) for an callback routine.
|
255
|
+
*/
|
256
|
+
RecordSelect.Single = Class.create();
|
257
|
+
RecordSelect.Single.prototype = Object.extend(new RecordSelect.Abstract(), {
|
258
|
+
onload: function() {
|
259
|
+
// initialize the container
|
260
|
+
this.container = this.create_container();
|
261
|
+
this.container.addClassName('record-select-autocomplete');
|
262
|
+
|
263
|
+
// create the hidden input
|
264
|
+
new Insertion.After(this.obj, '<input type="hidden" name="" value="" />')
|
265
|
+
this.hidden_input = this.obj.next();
|
266
|
+
|
267
|
+
// transfer the input name from the text input to the hidden input
|
268
|
+
this.hidden_input.name = this.obj.name;
|
269
|
+
this.obj.name = '';
|
270
|
+
|
271
|
+
// initialize the values
|
272
|
+
this.set(this.options.id, this.options.label);
|
273
|
+
|
274
|
+
this._respond_to_text_field(this.obj);
|
275
|
+
if (this.obj.focused) this.open(); // if it was focused before we could attach observers
|
276
|
+
},
|
277
|
+
|
278
|
+
close: function() {
|
279
|
+
// if they close the dialog with the text field empty, then delete the id value
|
280
|
+
if (this.obj.value == '') this.set('', '');
|
281
|
+
|
282
|
+
RecordSelect.Abstract.prototype.close.call(this);
|
283
|
+
},
|
284
|
+
|
285
|
+
onselect: function(id, value) {
|
286
|
+
if (this.options.onchange) this.options.onchange(id, value);
|
287
|
+
this.set(id, value);
|
288
|
+
this.close();
|
289
|
+
},
|
290
|
+
|
291
|
+
/**
|
292
|
+
* sets the id/label
|
293
|
+
*/
|
294
|
+
set: function(id, label) {
|
295
|
+
this.obj.value = label.unescapeHTML();
|
296
|
+
this.hidden_input.value = id;
|
297
|
+
}
|
298
|
+
});
|
299
|
+
|
300
|
+
/**
|
301
|
+
* Used by record_multi_select_field helper.
|
302
|
+
* Options:
|
303
|
+
* list - the id (or object) of the <ul> to contain the <li>s of selected entries
|
304
|
+
* current - an array of id:/label: keys designating the currently selected entries
|
305
|
+
*/
|
306
|
+
RecordSelect.Multiple = Class.create();
|
307
|
+
RecordSelect.Multiple.prototype = Object.extend(new RecordSelect.Abstract(), {
|
308
|
+
onload: function() {
|
309
|
+
// initialize the container
|
310
|
+
this.container = this.create_container();
|
311
|
+
this.container.addClassName('record-select-autocomplete');
|
312
|
+
|
313
|
+
// decide where the <li> entries should be placed
|
314
|
+
if (this.options.list) this.list_container = $(this.options.list);
|
315
|
+
else this.list_container = this.obj.next('ul');
|
316
|
+
|
317
|
+
// take the input name from the text input, and store it for this.add()
|
318
|
+
this.input_name = this.obj.name;
|
319
|
+
this.obj.name = '';
|
320
|
+
|
321
|
+
// initialize the list
|
322
|
+
$A(this.options.current).each(function(c) {
|
323
|
+
this.add(c.id, c.label);
|
324
|
+
}.bind(this));
|
325
|
+
|
326
|
+
this._respond_to_text_field(this.obj);
|
327
|
+
if (this.obj.focused) this.open(); // if it was focused before we could attach observers
|
328
|
+
},
|
329
|
+
|
330
|
+
onselect: function(id, value) {
|
331
|
+
this.add(id, value);
|
332
|
+
this.close();
|
333
|
+
},
|
334
|
+
|
335
|
+
/**
|
336
|
+
* Adds a record to the selected list
|
337
|
+
*/
|
338
|
+
add: function(id, label) {
|
339
|
+
// return silently if this value has already been selected
|
340
|
+
var already_selected = this.list_container.getElementsBySelector('input').any(function(i) {
|
341
|
+
return i.value == id
|
342
|
+
});
|
343
|
+
if (already_selected) return;
|
344
|
+
|
345
|
+
var entry = '<li>'
|
346
|
+
+ '<a href="#" onclick="$(this.parentNode).remove(); return false;" class="remove">remove</a>'
|
347
|
+
+ '<input type="hidden" name="' + this.input_name + '" value="' + id + '" />'
|
348
|
+
+ '<label>' + label + '</label>'
|
349
|
+
+ '</li>';
|
350
|
+
new Insertion.Top(this.list_container, entry);
|
351
|
+
}
|
352
|
+
});
|
@@ -0,0 +1,50 @@
|
|
1
|
+
/* IE hacks
|
2
|
+
==================================== */
|
3
|
+
|
4
|
+
* html .active-scaffold-header,
|
5
|
+
.active-scaffold li.form-element,
|
6
|
+
.active-scaffold li.sub-section {
|
7
|
+
zoom: 1;
|
8
|
+
}
|
9
|
+
|
10
|
+
* html .active-scaffold td .messages-container {
|
11
|
+
border-top: solid 1px #DAFFCD;
|
12
|
+
}
|
13
|
+
|
14
|
+
* html .active-scaffold-header div.actions a.show_search {
|
15
|
+
background-image: none;
|
16
|
+
filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../../../images/active_scaffold/default/magnifier.png', sizingMethod='crop');
|
17
|
+
}
|
18
|
+
|
19
|
+
* html .active-scaffold .sub-form .association-record a.destroy {
|
20
|
+
background-image: none;
|
21
|
+
filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../../../images/active_scaffold/default/cross.png', sizingMethod='crop');
|
22
|
+
}
|
23
|
+
|
24
|
+
.active-scaffold-header div.actions a.disabled {
|
25
|
+
filter: alpha(opacity=50);
|
26
|
+
}
|
27
|
+
|
28
|
+
.active-scaffold .show-view dd,
|
29
|
+
.active-scaffold li.form-element dd {
|
30
|
+
float: none;
|
31
|
+
}
|
32
|
+
|
33
|
+
.active-scaffold li.form-element dt {
|
34
|
+
padding: 4px 0;
|
35
|
+
}
|
36
|
+
/* AST Begin */
|
37
|
+
.active-scaffold-header div.actions a.show_customize,
|
38
|
+
.active-scaffold-header div.actions a.show_print_list {
|
39
|
+
background-image: none;
|
40
|
+
filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../images/active_scaffold/default/printer_tool.png', sizingMethod='crop');
|
41
|
+
}
|
42
|
+
.active-scaffold-header div.actions a.show_customize {
|
43
|
+
background-image: none;
|
44
|
+
filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../images/active_scaffold/default/customize_tool.png', sizingMethod='crop');
|
45
|
+
}
|
46
|
+
.active-scaffold-header div.actions a.show_export_tool {
|
47
|
+
background-image: none;
|
48
|
+
filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../images/active_scaffold/default/export_tool.png', sizingMethod='crop');
|
49
|
+
}
|
50
|
+
/* AST End */
|
@@ -0,0 +1,1059 @@
|
|
1
|
+
/*
|
2
|
+
ActiveScaffold
|
3
|
+
(c) 2007 Richard White <rrwhite@gmail.com>
|
4
|
+
|
5
|
+
ActiveScaffold is freely distributable under the terms of an MIT-style license.
|
6
|
+
|
7
|
+
For details, see the ActiveScaffold web site: http://www.activescaffold.com/
|
8
|
+
*/
|
9
|
+
|
10
|
+
.active-scaffold form,
|
11
|
+
.active-scaffold table,
|
12
|
+
.active-scaffold p,
|
13
|
+
.active-scaffold div,
|
14
|
+
.active-scaffold fieldset {
|
15
|
+
margin: 0;
|
16
|
+
padding: 0;
|
17
|
+
}
|
18
|
+
|
19
|
+
.active-scaffold {
|
20
|
+
margin: 5px 0;
|
21
|
+
}
|
22
|
+
|
23
|
+
.active-scaffold table {
|
24
|
+
width: 100%;
|
25
|
+
border-collapse: separate;
|
26
|
+
}
|
27
|
+
|
28
|
+
.active-scaffold a,
|
29
|
+
.active-scaffold a:visited {
|
30
|
+
color: #06c;
|
31
|
+
text-decoration: none;
|
32
|
+
}
|
33
|
+
|
34
|
+
.active-scaffold a.disabled {
|
35
|
+
color: #999;
|
36
|
+
}
|
37
|
+
|
38
|
+
.active-scaffold a:hover {
|
39
|
+
background-color: #ff8;
|
40
|
+
}
|
41
|
+
|
42
|
+
.active-scaffold .clear-fix {
|
43
|
+
clear: both;
|
44
|
+
}
|
45
|
+
|
46
|
+
noscript.active-scaffold {
|
47
|
+
border-left: solid 5px #f66;
|
48
|
+
background-color: #fbb;
|
49
|
+
font-size: 11px;
|
50
|
+
font-weight: bold;
|
51
|
+
padding: 5px 20px 5px 5px;
|
52
|
+
color: #333;
|
53
|
+
}
|
54
|
+
|
55
|
+
/* Header
|
56
|
+
======================== */
|
57
|
+
|
58
|
+
.active-scaffold-header {
|
59
|
+
position: relative;
|
60
|
+
}
|
61
|
+
|
62
|
+
.blue-theme .active-scaffold-header {
|
63
|
+
background-color: #005CB8;
|
64
|
+
}
|
65
|
+
|
66
|
+
.active-scaffold-header h2 {
|
67
|
+
padding: 2px 0px;
|
68
|
+
margin: 0;
|
69
|
+
color: #555;
|
70
|
+
font: bold 160% arial, sans-serif;
|
71
|
+
}
|
72
|
+
|
73
|
+
.blue-theme .active-scaffold-header h2 {
|
74
|
+
color: #fff;
|
75
|
+
padding: 2px 5px 4px 5px;
|
76
|
+
}
|
77
|
+
|
78
|
+
.active-scaffold-header div.actions a {
|
79
|
+
float: right;
|
80
|
+
font: bold 14px arial;
|
81
|
+
letter-spacing: -1px;
|
82
|
+
text-decoration: none;
|
83
|
+
padding: 1px 2px;
|
84
|
+
white-space: nowrap;
|
85
|
+
margin-left: 5px;
|
86
|
+
background-position: 1px 50%;
|
87
|
+
background-repeat: no-repeat;
|
88
|
+
}
|
89
|
+
|
90
|
+
.view .active-scaffold-header div.actions a {
|
91
|
+
float: left;
|
92
|
+
}
|
93
|
+
|
94
|
+
.blue-theme .active-scaffold-header div.actions a {
|
95
|
+
color: #fff;
|
96
|
+
}
|
97
|
+
|
98
|
+
.active-scaffold-header div.actions a.disabled {
|
99
|
+
color: #666;
|
100
|
+
opacity: 0.5;
|
101
|
+
}
|
102
|
+
|
103
|
+
.blue-theme .active-scaffold-header div.actions a.disabled {
|
104
|
+
color: #fff;
|
105
|
+
opacity: 0.5;
|
106
|
+
}
|
107
|
+
|
108
|
+
.active-scaffold-header div.actions a.new,
|
109
|
+
.active-scaffold-header div.actions a.new_existing,
|
110
|
+
.active-scaffold-header div.actions a.show_search,
|
111
|
+
.active-scaffold-header div.actions a.refresh {
|
112
|
+
padding-left: 19px;
|
113
|
+
background-position: 1px 50%;
|
114
|
+
background-repeat: no-repeat;
|
115
|
+
}
|
116
|
+
|
117
|
+
.active-scaffold-header div.actions a.new,
|
118
|
+
.active-scaffold-header div.actions a.new_existing {
|
119
|
+
background-image: url(../../../images/active_scaffold/default/add.gif);
|
120
|
+
}
|
121
|
+
|
122
|
+
.active-scaffold-header div.actions a.show_search {
|
123
|
+
background-image: url(../../../images/active_scaffold/default/magnifier.png);
|
124
|
+
}
|
125
|
+
/* AST Begin */
|
126
|
+
.active-scaffold-header div.actions a.refresh {
|
127
|
+
background-image: url(../../../images/active_scaffold/default/arrow_refresh.png);
|
128
|
+
}
|
129
|
+
/* AST End */
|
130
|
+
.blue-theme .active-scaffold-header div.actions a:hover {
|
131
|
+
background-color: #378CDF;
|
132
|
+
}
|
133
|
+
|
134
|
+
.active-scaffold-header div.actions a.disabled:hover {
|
135
|
+
background-color: transparent;
|
136
|
+
cursor: default;
|
137
|
+
}
|
138
|
+
|
139
|
+
.active-scaffold-header div.actions {
|
140
|
+
position: absolute;
|
141
|
+
right: 5px;
|
142
|
+
top: 5px;
|
143
|
+
text-align: right;
|
144
|
+
}
|
145
|
+
|
146
|
+
/* Table :: Column Headers
|
147
|
+
============================= */
|
148
|
+
|
149
|
+
.active-scaffold th {
|
150
|
+
background-color: #555;
|
151
|
+
text-align: left;
|
152
|
+
}
|
153
|
+
|
154
|
+
.active-scaffold th a,
|
155
|
+
.active-scaffold th p {
|
156
|
+
font: bold 11px arial, sans-serif;
|
157
|
+
display: block;
|
158
|
+
background-color: #555;
|
159
|
+
}
|
160
|
+
|
161
|
+
.active-scaffold th a, .active-scaffold th a:visited {
|
162
|
+
color: #fff;
|
163
|
+
padding: 2px 15px 2px 5px;
|
164
|
+
}
|
165
|
+
|
166
|
+
.active-scaffold th p {
|
167
|
+
color: #eee;
|
168
|
+
padding: 2px 5px;
|
169
|
+
}
|
170
|
+
|
171
|
+
.active-scaffold th a:hover {
|
172
|
+
background-color: #000;
|
173
|
+
color: #ff8;
|
174
|
+
}
|
175
|
+
|
176
|
+
.active-scaffold th.sorted {
|
177
|
+
background-color: #333;
|
178
|
+
}
|
179
|
+
|
180
|
+
.active-scaffold th.asc a,
|
181
|
+
.active-scaffold th.asc a:hover {
|
182
|
+
background: #333 url(../../../images/active_scaffold/default/arrow_up.gif) right 50% no-repeat;
|
183
|
+
}
|
184
|
+
|
185
|
+
.active-scaffold th.desc a,
|
186
|
+
.active-scaffold th.desc a:hover {
|
187
|
+
background: #333 url(../../../images/active_scaffold/default/arrow_down.gif) right 50% no-repeat;
|
188
|
+
}
|
189
|
+
|
190
|
+
.active-scaffold th.loading a,
|
191
|
+
.active-scaffold th.loading a:hover {
|
192
|
+
background: #333 url(../../../images/active_scaffold/default/indicator-small.gif) right 50% no-repeat;
|
193
|
+
}
|
194
|
+
|
195
|
+
/* Table :: Record Rows
|
196
|
+
============================= */
|
197
|
+
|
198
|
+
.active-scaffold tr.record td {
|
199
|
+
padding: 5px 4px;
|
200
|
+
color: #333;
|
201
|
+
font-family: Verdana, sans-serif;
|
202
|
+
font-size: 11px;
|
203
|
+
background-color: #E6F2FF;
|
204
|
+
border-bottom: solid 1px #C5DBF7;
|
205
|
+
border-left: solid 1px #C5DBF7;
|
206
|
+
}
|
207
|
+
|
208
|
+
.active-scaffold tr.even-record td {
|
209
|
+
background-color: #fff;
|
210
|
+
border-left: solid 1px #ddd;
|
211
|
+
}
|
212
|
+
|
213
|
+
.active-scaffold tr.record td.sorted {
|
214
|
+
background-color: #B9DCFF;
|
215
|
+
border-bottom: solid 1px #AFD0F5;
|
216
|
+
}
|
217
|
+
|
218
|
+
.active-scaffold tr.even-record td.sorted {
|
219
|
+
background-color: #E6F2FF;
|
220
|
+
border-bottom: solid 1px #AFD0F5;
|
221
|
+
}
|
222
|
+
|
223
|
+
.active-scaffold tbody.records td.empty {
|
224
|
+
color: #999;
|
225
|
+
text-align: center;
|
226
|
+
}
|
227
|
+
|
228
|
+
.active-scaffold td.numeric,
|
229
|
+
.active-scaffold-calculations td {
|
230
|
+
text-align: right;
|
231
|
+
}
|
232
|
+
|
233
|
+
/* Table :: Actions (Edit, Delete)
|
234
|
+
============================= */
|
235
|
+
|
236
|
+
.active-scaffold tr.record td.actions {
|
237
|
+
border-right: solid 1px #ccc;
|
238
|
+
padding: 0;
|
239
|
+
min-width: 1%;
|
240
|
+
}
|
241
|
+
|
242
|
+
.active-scaffold tr.record td.actions table {
|
243
|
+
float: right;
|
244
|
+
width: auto;
|
245
|
+
margin-right: 5px;
|
246
|
+
}
|
247
|
+
|
248
|
+
.active-scaffold tr.record td.actions table td {
|
249
|
+
border: none;
|
250
|
+
text-align: right;
|
251
|
+
padding: 0 2px;
|
252
|
+
}
|
253
|
+
|
254
|
+
.active-scaffold tr.record td.actions a {
|
255
|
+
font: bold 11px verdana, sans-serif;
|
256
|
+
letter-spacing: -1px;
|
257
|
+
padding: 2px;
|
258
|
+
margin: 0 2px;
|
259
|
+
line-height: 16px;
|
260
|
+
white-space: nowrap;
|
261
|
+
}
|
262
|
+
|
263
|
+
/* Table :: Inline Adapter
|
264
|
+
============================= */
|
265
|
+
|
266
|
+
.active-scaffold .view {
|
267
|
+
background-color: #DAFFCD;
|
268
|
+
padding: 4px;
|
269
|
+
border: solid 1px #7FcF00;
|
270
|
+
}
|
271
|
+
|
272
|
+
.active-scaffold tbody.records td.inline-adapter-cell .view {
|
273
|
+
border-top: none;
|
274
|
+
}
|
275
|
+
|
276
|
+
.active-scaffold .before-header td.inline-adapter-cell .view {
|
277
|
+
border-bottom: none;
|
278
|
+
}
|
279
|
+
|
280
|
+
.active-scaffold a.inline-adapter-close {
|
281
|
+
float: right;
|
282
|
+
text-indent: -4000px;
|
283
|
+
width: 16px;
|
284
|
+
height: 17px;
|
285
|
+
background: url(../../../images/active_scaffold/default/close.gif) 0 0 no-repeat;
|
286
|
+
}
|
287
|
+
|
288
|
+
/* Nested
|
289
|
+
======================== */
|
290
|
+
|
291
|
+
.blue-theme .active-scaffold .active-scaffold-header,
|
292
|
+
.blue-theme .active-scaffold .active-scaffold-footer {
|
293
|
+
background-color: #1F7F00;
|
294
|
+
|
295
|
+
background: transparent;
|
296
|
+
}
|
297
|
+
|
298
|
+
.active-scaffold .active-scaffold .active-scaffold-header {
|
299
|
+
margin-right: 15px;
|
300
|
+
}
|
301
|
+
|
302
|
+
.active-scaffold .active-scaffold .active-scaffold-header h2 {
|
303
|
+
font-size: 12px;
|
304
|
+
font-weight: bold;
|
305
|
+
}
|
306
|
+
|
307
|
+
.blue-theme .active-scaffold .active-scaffold-header h2,
|
308
|
+
.active-scaffold .active-scaffold .active-scaffold-footer {
|
309
|
+
color: #444;
|
310
|
+
}
|
311
|
+
|
312
|
+
.active-scaffold .active-scaffold .active-scaffold-header div.actions {
|
313
|
+
top: 0px;
|
314
|
+
right: 0px;
|
315
|
+
}
|
316
|
+
|
317
|
+
.active-scaffold .active-scaffold .active-scaffold-header div.actions a {
|
318
|
+
font: bold 11px verdana, sans-serif;
|
319
|
+
padding: 0 2px 1px 17px;
|
320
|
+
}
|
321
|
+
|
322
|
+
.blue-theme .active-scaffold .active-scaffold-header div.actions a,
|
323
|
+
.blue-theme .active-scaffold .active-scaffold-header div.actions a:visited {
|
324
|
+
color: #06c;
|
325
|
+
}
|
326
|
+
|
327
|
+
.blue-theme .active-scaffold .active-scaffold-header div.actions a:hover {
|
328
|
+
background-color: #ff8;
|
329
|
+
}
|
330
|
+
/* AST Begin - 3 levels of nesting */
|
331
|
+
.active-scaffold .active-scaffold .view {
|
332
|
+
background-color: transparent;
|
333
|
+
padding: 0px;
|
334
|
+
border: none;
|
335
|
+
}
|
336
|
+
/* AST End */
|
337
|
+
.active-scaffold .active-scaffold td {
|
338
|
+
background-color: #ECFFE7;
|
339
|
+
border-bottom: solid 1px #CDF7C5;
|
340
|
+
border-left: solid 1px #CDF7C5;
|
341
|
+
}
|
342
|
+
|
343
|
+
.active-scaffold .active-scaffold td.inline-adapter-cell {
|
344
|
+
background-color: #FFFFBB;
|
345
|
+
padding: 4px;
|
346
|
+
border: solid 1px #DDDF37;
|
347
|
+
border-top: none;
|
348
|
+
}
|
349
|
+
/* AST Begin - 3 levels of nesting */
|
350
|
+
.active-scaffold .active-scaffold .active-scaffold td.inline-adapter-cell {
|
351
|
+
background-color: #DAFFCD;
|
352
|
+
padding: 4px;
|
353
|
+
border: solid 1px #7FcF00;
|
354
|
+
border-top: none;
|
355
|
+
}
|
356
|
+
/* AST End */
|
357
|
+
.active-scaffold .active-scaffold .active-scaffold-footer {
|
358
|
+
font-size: 11px;
|
359
|
+
}
|
360
|
+
|
361
|
+
/* Footer
|
362
|
+
========================== */
|
363
|
+
|
364
|
+
.active-scaffold-calculations td {
|
365
|
+
background-color: #eee;
|
366
|
+
border-top: 2px solid #005CB8;
|
367
|
+
font: bold 12px arial, sans-serif;
|
368
|
+
}
|
369
|
+
|
370
|
+
.active-scaffold .active-scaffold-footer {
|
371
|
+
padding: 3px 0px 2px 0px;
|
372
|
+
border-bottom: none;
|
373
|
+
font: bold 12px arial, sans-serif;
|
374
|
+
}
|
375
|
+
|
376
|
+
.blue-theme .active-scaffold-footer {
|
377
|
+
background-color: #005CB8;
|
378
|
+
color: #ccc;
|
379
|
+
}
|
380
|
+
|
381
|
+
.active-scaffold-footer .active-scaffold-pagination {
|
382
|
+
float: right;
|
383
|
+
white-space: nowrap;
|
384
|
+
margin-right: 5px;
|
385
|
+
}
|
386
|
+
|
387
|
+
.blue-theme .active-scaffold-footer .active-scaffold-records {
|
388
|
+
margin-left: 5px;
|
389
|
+
}
|
390
|
+
|
391
|
+
.active-scaffold-footer a {
|
392
|
+
text-decoration: none;
|
393
|
+
letter-spacing: 0;
|
394
|
+
padding: 0 2px;
|
395
|
+
margin: 0 -2px;
|
396
|
+
font: bold 12px arial, sans-serif;
|
397
|
+
}
|
398
|
+
|
399
|
+
.blue-theme .active-scaffold-footer a,
|
400
|
+
.blue-theme .active-scaffold-footer a:visited {
|
401
|
+
color: #fff;
|
402
|
+
}
|
403
|
+
|
404
|
+
.blue-theme .active-scaffold-footer a:hover {
|
405
|
+
background-color: #378CDF;
|
406
|
+
}
|
407
|
+
|
408
|
+
.active-scaffold-footer .next {
|
409
|
+
margin-left: 0;
|
410
|
+
padding-left: 5px;
|
411
|
+
border-left: solid 1px #ccc;
|
412
|
+
}
|
413
|
+
|
414
|
+
.active-scaffold-footer .previous {
|
415
|
+
margin-right: 0;
|
416
|
+
padding-right: 5px;
|
417
|
+
border-right: solid 1px #ccc;
|
418
|
+
}
|
419
|
+
|
420
|
+
/* Messages
|
421
|
+
========================= */
|
422
|
+
|
423
|
+
.active-scaffold .messages-container,
|
424
|
+
.active-scaffold .active-scaffold .messages-container{
|
425
|
+
padding: 0;
|
426
|
+
margin: 0 7px;
|
427
|
+
border: none;
|
428
|
+
}
|
429
|
+
|
430
|
+
.active-scaffold .empty-message, .active-scaffold .filtered-message {
|
431
|
+
background-color: #e8e8e8;
|
432
|
+
padding: 4px;
|
433
|
+
text-align: center;
|
434
|
+
color: #666;
|
435
|
+
}
|
436
|
+
|
437
|
+
.active-scaffold .message {
|
438
|
+
font-size: 11px;
|
439
|
+
font-weight: bold;
|
440
|
+
padding: 5px 20px 5px 5px;
|
441
|
+
color: #333;
|
442
|
+
position: relative;
|
443
|
+
margin: 2px 7px;
|
444
|
+
line-height: 12px;
|
445
|
+
}
|
446
|
+
|
447
|
+
.active-scaffold .message a {
|
448
|
+
position: absolute;
|
449
|
+
right: 10px;
|
450
|
+
top: 4px;
|
451
|
+
padding: 0;
|
452
|
+
font: bold 11px verdana, sans-serif;
|
453
|
+
letter-spacing: -1px;
|
454
|
+
}
|
455
|
+
|
456
|
+
.active-scaffold .messages-container .message {
|
457
|
+
margin: 0;
|
458
|
+
}
|
459
|
+
|
460
|
+
.active-scaffold .error-message {
|
461
|
+
border-left: solid 5px #f66;
|
462
|
+
background-color: #fbb;
|
463
|
+
}
|
464
|
+
|
465
|
+
.active-scaffold .warning-message {
|
466
|
+
border-left: solid 5px #ff6;
|
467
|
+
background-color: #ffb;
|
468
|
+
}
|
469
|
+
|
470
|
+
.active-scaffold .info-message {
|
471
|
+
border-left: solid 5px #66f;
|
472
|
+
background-color: #bbf;
|
473
|
+
}
|
474
|
+
|
475
|
+
/* Error Styling
|
476
|
+
========================== */
|
477
|
+
|
478
|
+
.active-scaffold .errorExplanation {
|
479
|
+
background-color: #fcc;
|
480
|
+
margin: 2px 0;
|
481
|
+
border: solid 1px #f66;
|
482
|
+
}
|
483
|
+
|
484
|
+
.active-scaffold fieldset {
|
485
|
+
clear: both;
|
486
|
+
}
|
487
|
+
|
488
|
+
.active-scaffold .errorExplanation h2 {
|
489
|
+
padding: 2px 5px;
|
490
|
+
color: #333;
|
491
|
+
font-size: 11px;
|
492
|
+
margin: 0;
|
493
|
+
letter-spacing: 0;
|
494
|
+
font-family: Verdana;
|
495
|
+
background-color: #f66;
|
496
|
+
}
|
497
|
+
|
498
|
+
.active-scaffold .errorExplanation ul {
|
499
|
+
margin: 0;
|
500
|
+
padding: 0 2px 4px 25px;
|
501
|
+
list-style: disc;
|
502
|
+
}
|
503
|
+
|
504
|
+
.active-scaffold .errorExplanation p {
|
505
|
+
font-size: 11px;
|
506
|
+
padding: 2px 5px;
|
507
|
+
font-family: Verdana;
|
508
|
+
margin: 0;
|
509
|
+
}
|
510
|
+
|
511
|
+
.active-scaffold .errorExplanation ul li {
|
512
|
+
font: bold 11px verdana;
|
513
|
+
letter-spacing: -1px;
|
514
|
+
margin: 0;
|
515
|
+
padding: 0;
|
516
|
+
background-color: transparent;
|
517
|
+
}
|
518
|
+
|
519
|
+
/* Loading Indicators
|
520
|
+
============================== */
|
521
|
+
|
522
|
+
.active-scaffold .loading-indicator {
|
523
|
+
vertical-align: text-bottom;
|
524
|
+
width: 16px;
|
525
|
+
margin: 0;
|
526
|
+
}
|
527
|
+
|
528
|
+
.active-scaffold .active-scaffold-header .loading-indicator {
|
529
|
+
margin-bottom: 3px;
|
530
|
+
}
|
531
|
+
|
532
|
+
/* Show
|
533
|
+
============================= */
|
534
|
+
|
535
|
+
.active-scaffold .show-view dl {
|
536
|
+
margin-left: 5px;
|
537
|
+
}
|
538
|
+
|
539
|
+
.active-scaffold .show-view dt {
|
540
|
+
width: 12em;
|
541
|
+
float: left;
|
542
|
+
clear: left;
|
543
|
+
font: normal 11px verdana, sans-serif;
|
544
|
+
color: #555;
|
545
|
+
line-height: 16px;
|
546
|
+
}
|
547
|
+
|
548
|
+
.active-scaffold .show-view dd {
|
549
|
+
float: left;
|
550
|
+
font: bold 14px arial;
|
551
|
+
padding-left: 5px;
|
552
|
+
margin-bottom: 5px;
|
553
|
+
}
|
554
|
+
|
555
|
+
/* Form
|
556
|
+
============================== */
|
557
|
+
|
558
|
+
.active-scaffold .submit {
|
559
|
+
font-weight: bold;
|
560
|
+
font-size: 14px;
|
561
|
+
font-family: Arial, sans-serif;
|
562
|
+
letter-spacing: 0;
|
563
|
+
margin: 0;
|
564
|
+
margin-top: 5px;
|
565
|
+
}
|
566
|
+
|
567
|
+
.active-scaffold form p {
|
568
|
+
clear: both;
|
569
|
+
}
|
570
|
+
|
571
|
+
.active-scaffold fieldset {
|
572
|
+
border: none;
|
573
|
+
}
|
574
|
+
|
575
|
+
.active-scaffold h4,
|
576
|
+
.active-scaffold h5 {
|
577
|
+
padding: 2px;
|
578
|
+
margin: 0;
|
579
|
+
text-transform: none;
|
580
|
+
color: #1F7F00;
|
581
|
+
letter-spacing: -1px;
|
582
|
+
font: bold 16px arial;
|
583
|
+
}
|
584
|
+
|
585
|
+
.active-scaffold h5 {
|
586
|
+
padding: 0;
|
587
|
+
margin: 5px 0 2px 0;
|
588
|
+
font-size: 14px;
|
589
|
+
letter-spacing: 0;
|
590
|
+
}
|
591
|
+
|
592
|
+
.active-scaffold ol {
|
593
|
+
clear: both;
|
594
|
+
float: none;
|
595
|
+
padding: 2px;
|
596
|
+
margin-left: 5px;
|
597
|
+
list-style: none;
|
598
|
+
}
|
599
|
+
|
600
|
+
.active-scaffold p.form-footer {
|
601
|
+
clear: both;
|
602
|
+
}
|
603
|
+
|
604
|
+
.active-scaffold a.cancel,
|
605
|
+
.active-scaffold p.form-footer a {
|
606
|
+
font: bold 14px arial, sans-serif;
|
607
|
+
letter-spacing: 0;
|
608
|
+
}
|
609
|
+
|
610
|
+
/* Form :: Fields
|
611
|
+
============================== */
|
612
|
+
|
613
|
+
.active-scaffold li.form-element {
|
614
|
+
clear: both;
|
615
|
+
padding-top: 2px;
|
616
|
+
}
|
617
|
+
|
618
|
+
.active-scaffold label {
|
619
|
+
font: normal 11px verdana, sans-serif;
|
620
|
+
color: #555;
|
621
|
+
}
|
622
|
+
|
623
|
+
.active-scaffold li.form-element dt {
|
624
|
+
float: left;
|
625
|
+
width: 12em;
|
626
|
+
padding: 6px 0;
|
627
|
+
}
|
628
|
+
|
629
|
+
.active-scaffold li.form-element dd {
|
630
|
+
float: left;
|
631
|
+
}
|
632
|
+
|
633
|
+
.active-scaffold .form dd {
|
634
|
+
margin: 0;
|
635
|
+
}
|
636
|
+
|
637
|
+
|
638
|
+
.active-scaffold .description {
|
639
|
+
color: #999;
|
640
|
+
font-size: 10px;
|
641
|
+
margin-left: 5px;
|
642
|
+
}
|
643
|
+
|
644
|
+
.active-scaffold .required label {
|
645
|
+
font-weight: bold;
|
646
|
+
}
|
647
|
+
|
648
|
+
.active-scaffold label.example {
|
649
|
+
font-size: 11px;
|
650
|
+
font-family: arial;
|
651
|
+
color: #888;
|
652
|
+
}
|
653
|
+
|
654
|
+
.active-scaffold input.text-input,
|
655
|
+
.active-scaffold select {
|
656
|
+
font: bold 16px arial;
|
657
|
+
letter-spacing: -1px;
|
658
|
+
border: solid 1px #1F7F00;
|
659
|
+
}
|
660
|
+
|
661
|
+
.active-scaffold input.text-input {
|
662
|
+
padding: 2px;
|
663
|
+
}
|
664
|
+
|
665
|
+
.active-scaffold .fieldWithErrors input,
|
666
|
+
.active-scaffold .fieldWithErrors textarea,
|
667
|
+
.active-scaffold .fieldWithErrors select {
|
668
|
+
border: solid 1px #f00;
|
669
|
+
}
|
670
|
+
|
671
|
+
.active-scaffold select {
|
672
|
+
padding: 1px;
|
673
|
+
}
|
674
|
+
|
675
|
+
.active-scaffold input.example {
|
676
|
+
color: #aaa;
|
677
|
+
}
|
678
|
+
|
679
|
+
.active-scaffold select:focus,
|
680
|
+
.active-scaffold input.text-input:focus {
|
681
|
+
background-color: #ffc;
|
682
|
+
}
|
683
|
+
|
684
|
+
.active-scaffold textarea {
|
685
|
+
/* AST Begin */
|
686
|
+
height: 65px;
|
687
|
+
/* AST End */
|
688
|
+
font-family: Arial, sans-serif;
|
689
|
+
font-size: 12px;
|
690
|
+
padding: 1px;
|
691
|
+
border: solid 1px #1F7F00;
|
692
|
+
}
|
693
|
+
|
694
|
+
.active-scaffold .checkbox-list {
|
695
|
+
padding-left: 0px;
|
696
|
+
}
|
697
|
+
|
698
|
+
.active-scaffold .checkbox-list li {
|
699
|
+
padding-right: 5px;
|
700
|
+
display: inline;
|
701
|
+
}
|
702
|
+
|
703
|
+
.active-scaffold .checkbox-list li label {
|
704
|
+
padding: 0 0 0 2px;
|
705
|
+
}
|
706
|
+
|
707
|
+
.active-scaffold .draggable-list {
|
708
|
+
float: left;
|
709
|
+
width: 300px;
|
710
|
+
margin-right: 15px;
|
711
|
+
min-height: 30px;
|
712
|
+
max-height: 100px;
|
713
|
+
overflow: auto;
|
714
|
+
background-color: #FFFF88;
|
715
|
+
}
|
716
|
+
|
717
|
+
.active-scaffold .draggable-list.hover {
|
718
|
+
opacity: 0.5;
|
719
|
+
}
|
720
|
+
|
721
|
+
.active-scaffold .draggable-list.selected {
|
722
|
+
background-color: #7FCF00;
|
723
|
+
}
|
724
|
+
|
725
|
+
.active-scaffold .draggable-list li {
|
726
|
+
display: block;
|
727
|
+
}
|
728
|
+
|
729
|
+
.active-scaffold .draggable-list input {
|
730
|
+
display: none;
|
731
|
+
}
|
732
|
+
|
733
|
+
/* Form :: Sub-Sections
|
734
|
+
============================== */
|
735
|
+
|
736
|
+
.active-scaffold li.sub-section {
|
737
|
+
clear: left;
|
738
|
+
padding: 5px 0;
|
739
|
+
}
|
740
|
+
|
741
|
+
/* Form :: Association Sub-Forms
|
742
|
+
============================== */
|
743
|
+
|
744
|
+
.active-scaffold .sub-form {
|
745
|
+
float: left;
|
746
|
+
clear: left;
|
747
|
+
padding: 5px 0;
|
748
|
+
padding-left: 5px;
|
749
|
+
}
|
750
|
+
|
751
|
+
.active-scaffold .sub-form h5 {
|
752
|
+
margin-left: -5px;
|
753
|
+
}
|
754
|
+
|
755
|
+
.active-scaffold .sub-form table,
|
756
|
+
.active-scaffold .sub-form table td {
|
757
|
+
width: auto;
|
758
|
+
background: none;
|
759
|
+
}
|
760
|
+
|
761
|
+
.active-scaffold .sub-form table th {
|
762
|
+
font: normal 10px verdana, sans-serif;
|
763
|
+
color: #555;
|
764
|
+
padding: 0 5px 0 1px;
|
765
|
+
background: none;
|
766
|
+
}
|
767
|
+
|
768
|
+
.active-scaffold .horizontal-sub-form td label {
|
769
|
+
display: none;
|
770
|
+
}
|
771
|
+
|
772
|
+
.active-scaffold .sub-form .checkbox-list {
|
773
|
+
padding: 0 2px 2px 2px;
|
774
|
+
background-color: #fff;
|
775
|
+
border: solid 1px #1F7F00;
|
776
|
+
}
|
777
|
+
|
778
|
+
.active-scaffold .sub-form .checkbox-list label {
|
779
|
+
display: block;
|
780
|
+
}
|
781
|
+
|
782
|
+
.active-scaffold .sub-form table td {
|
783
|
+
border: none;
|
784
|
+
background-color: transparent;
|
785
|
+
padding: 1px;
|
786
|
+
vertical-align: top;
|
787
|
+
color: #999;
|
788
|
+
}
|
789
|
+
|
790
|
+
.active-scaffold .sub-form .actions {
|
791
|
+
vertical-align: middle;
|
792
|
+
background-color: transparent;
|
793
|
+
clear: left;
|
794
|
+
}
|
795
|
+
|
796
|
+
.active-scaffold .sub-form .association-record a.destroy {
|
797
|
+
font-weight: bold;
|
798
|
+
display: block;
|
799
|
+
height: 16px;
|
800
|
+
padding: 0;
|
801
|
+
width: 16px;
|
802
|
+
text-indent: -4000px;
|
803
|
+
background: url(../../../images/active_scaffold/default/cross.png) 0 0 no-repeat;
|
804
|
+
}
|
805
|
+
|
806
|
+
.active-scaffold .sub-form .locked a.destroy {
|
807
|
+
display: none;
|
808
|
+
}
|
809
|
+
|
810
|
+
.active-scaffold .sub-form .association-record a {
|
811
|
+
font: bold 12px arial;
|
812
|
+
}
|
813
|
+
|
814
|
+
.active-scaffold .sub-form input.text-input,
|
815
|
+
.active-scaffold .sub-form select {
|
816
|
+
letter-spacing: 0;
|
817
|
+
font: bold 12px arial;
|
818
|
+
}
|
819
|
+
|
820
|
+
.active-scaffold .sub-form .footer-wrapper {
|
821
|
+
margin-top: 3px;
|
822
|
+
margin-right: 10px;
|
823
|
+
}
|
824
|
+
|
825
|
+
.active-scaffold .sub-form .footer {
|
826
|
+
color: #999;
|
827
|
+
padding: 3px 5px;
|
828
|
+
}
|
829
|
+
|
830
|
+
.active-scaffold .sub-form .footer select,
|
831
|
+
.active-scaffold .sub-form .footer input {
|
832
|
+
font-weight: bold;
|
833
|
+
font-size: 12px;
|
834
|
+
padding: 0;
|
835
|
+
}
|
836
|
+
|
837
|
+
.active-scaffold a.visibility-toggle {
|
838
|
+
font-size: 100%;
|
839
|
+
}
|
840
|
+
|
841
|
+
.active-scaffold-found {
|
842
|
+
float:left;
|
843
|
+
}
|
844
|
+
/* AST Begin */
|
845
|
+
.active-scaffold-header div.actions a.show_customize,
|
846
|
+
.active-scaffold-header div.actions a.print_list,
|
847
|
+
.active-scaffold-header div.actions a.show_export_tool {
|
848
|
+
padding-left: 19px;
|
849
|
+
background-position: 1px 50%;
|
850
|
+
background-repeat: no-repeat;
|
851
|
+
}
|
852
|
+
.active-scaffold-header div.actions a.show_customize {
|
853
|
+
background-image: url(../../../images/active_scaffold/default/customize_tool.png);
|
854
|
+
}
|
855
|
+
.active-scaffold-header div.actions a.show_export_tool {
|
856
|
+
background-image: url(../../../images/active_scaffold/default/export_tool.png);
|
857
|
+
}
|
858
|
+
.active-scaffold-header div.actions a.print_list {
|
859
|
+
background-image: url(../../../images/active_scaffold/default/printer_tool.png);
|
860
|
+
}
|
861
|
+
|
862
|
+
.active-scaffold div.show_export_tool-view h3 {
|
863
|
+
font-weight: bold;
|
864
|
+
}
|
865
|
+
.active-scaffold div.show_export_tool-view div.separator {
|
866
|
+
clear: both;
|
867
|
+
padding: .5em;
|
868
|
+
}
|
869
|
+
.active-scaffold div.show_export_tool-view div.options div.separator {
|
870
|
+
padding: 0;
|
871
|
+
}
|
872
|
+
.active-scaffold div.show_export_tool-view div.options div.checkbox-wrapper {
|
873
|
+
margin-bottom: .5em;
|
874
|
+
}
|
875
|
+
.active-scaffold div.show_export_tool-view div div.checkbox-wrapper {
|
876
|
+
min-width: 20%;
|
877
|
+
margin-bottom: .25em;
|
878
|
+
float: left;
|
879
|
+
}
|
880
|
+
.active-scaffold div.show_export_tool-view label #delimiter {
|
881
|
+
font-family: monospace;
|
882
|
+
}
|
883
|
+
|
884
|
+
.active-scaffold div.show_customize-view h3 {
|
885
|
+
font-weight: bold;
|
886
|
+
}
|
887
|
+
.active-scaffold div.show_customize-view div.separator {
|
888
|
+
clear: both;
|
889
|
+
padding: .5em;
|
890
|
+
}
|
891
|
+
.active-scaffold div.show_customize-view div.options div.separator {
|
892
|
+
padding: 0;
|
893
|
+
}
|
894
|
+
.active-scaffold div.show_customize-view div.options div.checkbox-wrapper {
|
895
|
+
margin-bottom: .5em;
|
896
|
+
}
|
897
|
+
.active-scaffold div.show_customize-view div div.checkbox-wrapper {
|
898
|
+
min-width: 20%;
|
899
|
+
margin-bottom: .25em;
|
900
|
+
float: left;
|
901
|
+
}
|
902
|
+
.active-scaffold div.show_customize-view label #delimiter {
|
903
|
+
font-family: monospace;
|
904
|
+
}
|
905
|
+
.active-scaffold input.fieldWithErrors {
|
906
|
+
font: bold 16px arial;
|
907
|
+
letter-spacing: -1px;
|
908
|
+
border: solid 2px red;
|
909
|
+
}
|
910
|
+
|
911
|
+
.active-scaffold input.range-input {
|
912
|
+
width: 122px;
|
913
|
+
font: bold 16px arial;
|
914
|
+
letter-spacing: -1px;
|
915
|
+
border: solid 1px #1F7F00;
|
916
|
+
}
|
917
|
+
.active-scaffold-header div.actions a.show_customize,
|
918
|
+
.active-scaffold-header div.actions a.print_list,
|
919
|
+
.active-scaffold-header div.actions a.show_export_tool {
|
920
|
+
padding-left: 19px;
|
921
|
+
background-position: 1px 50%;
|
922
|
+
background-repeat: no-repeat;
|
923
|
+
}
|
924
|
+
.active-scaffold-header div.actions a.show_customize {
|
925
|
+
background-image: url(../../../images/active_scaffold/default/customize_tool.png);
|
926
|
+
}
|
927
|
+
.active-scaffold-header div.actions a.show_export_tool {
|
928
|
+
background-image: url(../../../images/active_scaffold/default/export_tool.png);
|
929
|
+
}
|
930
|
+
.active-scaffold-header div.actions a.print_list {
|
931
|
+
background-image: url(../../../images/active_scaffold/default/printer_tool.png);
|
932
|
+
}
|
933
|
+
|
934
|
+
.active-scaffold div.show_export_tool-view h3 {
|
935
|
+
font-weight: bold;
|
936
|
+
}
|
937
|
+
.active-scaffold div.show_export_tool-view div.separator {
|
938
|
+
clear: both;
|
939
|
+
padding: .5em;
|
940
|
+
}
|
941
|
+
.active-scaffold div.show_export_tool-view div.options div.separator {
|
942
|
+
padding: 0;
|
943
|
+
}
|
944
|
+
.active-scaffold div.show_export_tool-view div.options div.checkbox-wrapper {
|
945
|
+
margin-bottom: .5em;
|
946
|
+
}
|
947
|
+
.active-scaffold div.show_export_tool-view div div.checkbox-wrapper {
|
948
|
+
min-width: 20%;
|
949
|
+
margin-bottom: .25em;
|
950
|
+
float: left;
|
951
|
+
}
|
952
|
+
.active-scaffold div.show_export_tool-view label #delimiter {
|
953
|
+
font-family: monospace;
|
954
|
+
}
|
955
|
+
|
956
|
+
.active-scaffold div.show_customize-view h3 {
|
957
|
+
font-weight: bold;
|
958
|
+
}
|
959
|
+
.active-scaffold div.show_customize-view div.separator {
|
960
|
+
clear: both;
|
961
|
+
padding: .5em;
|
962
|
+
}
|
963
|
+
.active-scaffold div.show_customize-view div.options div.separator {
|
964
|
+
padding: 0;
|
965
|
+
}
|
966
|
+
.active-scaffold div.show_customize-view div.options div.checkbox-wrapper {
|
967
|
+
margin-bottom: .5em;
|
968
|
+
}
|
969
|
+
.active-scaffold div.show_customize-view div div.checkbox-wrapper {
|
970
|
+
min-width: 20%;
|
971
|
+
margin-bottom: .25em;
|
972
|
+
float: left;
|
973
|
+
}
|
974
|
+
.active-scaffold div.show_customize-view label #delimiter {
|
975
|
+
font-family: monospace;
|
976
|
+
}
|
977
|
+
|
978
|
+
.active-scaffold input.fieldWithErrors {
|
979
|
+
font: bold 16px arial;
|
980
|
+
letter-spacing: -1px;
|
981
|
+
border: solid 2px red;
|
982
|
+
}
|
983
|
+
|
984
|
+
.active-scaffold input.range-input {
|
985
|
+
width: 122px;
|
986
|
+
font: bold 16px arial;
|
987
|
+
letter-spacing: -1px;
|
988
|
+
border: solid 1px #1F7F00;
|
989
|
+
}
|
990
|
+
/* AS messages within a form */
|
991
|
+
.active-scaffold .view .warning-message {
|
992
|
+
border-left: solid 1px #ff6;
|
993
|
+
background-color: #ffb;
|
994
|
+
margin: 0;
|
995
|
+
}
|
996
|
+
.active-scaffold .view .info-message {
|
997
|
+
border: solid 1px #66f;
|
998
|
+
background-color: #bbf;
|
999
|
+
margin: 0;
|
1000
|
+
}
|
1001
|
+
/* Revisions */
|
1002
|
+
.active-scaffold td.header_compare_cell {
|
1003
|
+
font: bold 12px verdana, sans-serif;
|
1004
|
+
text-transform: uppercase;
|
1005
|
+
border: 10px;
|
1006
|
+
color: #460000;
|
1007
|
+
padding: 0;
|
1008
|
+
text-align: center;
|
1009
|
+
width: auto;
|
1010
|
+
}
|
1011
|
+
|
1012
|
+
.active-scaffold td.left_compare_cell {
|
1013
|
+
font: normal 11px verdana, sans-serif;
|
1014
|
+
border: 10px;
|
1015
|
+
color: #460000;
|
1016
|
+
padding: 0;
|
1017
|
+
text-align: right;
|
1018
|
+
width: auto;
|
1019
|
+
}
|
1020
|
+
|
1021
|
+
.active-scaffold td.current_compare_cell {
|
1022
|
+
font: bold 11px verdana, sans-serif;
|
1023
|
+
border: solid 1px #6C6A52;
|
1024
|
+
border-bottom: 1;
|
1025
|
+
border-top: 0;
|
1026
|
+
border-left: 0;
|
1027
|
+
border-right: 0;
|
1028
|
+
color: #460000;
|
1029
|
+
padding: 0;
|
1030
|
+
text-align: left;
|
1031
|
+
width: auto;
|
1032
|
+
}
|
1033
|
+
|
1034
|
+
.active-scaffold td.right_compare_cell {
|
1035
|
+
font: normal 11px verdana, sans-serif;
|
1036
|
+
border: solid 1px #6C6A52;
|
1037
|
+
border-bottom: 1;
|
1038
|
+
border-top: 0;
|
1039
|
+
border-left: 0;
|
1040
|
+
border-right: 0;
|
1041
|
+
color: #460000;
|
1042
|
+
padding: 0;
|
1043
|
+
text-align: left;
|
1044
|
+
width: auto;
|
1045
|
+
}
|
1046
|
+
|
1047
|
+
.active-scaffold td.right_compare_cell_changed {
|
1048
|
+
font: normal 11px verdana, sans-serif;
|
1049
|
+
border: solid 1px #6C6A52;
|
1050
|
+
border-bottom: 1;
|
1051
|
+
border-top: 0;
|
1052
|
+
border-left: 0;
|
1053
|
+
border-right: 0;
|
1054
|
+
color: #f00;
|
1055
|
+
padding: 0;
|
1056
|
+
text-align: left;
|
1057
|
+
width: auto;
|
1058
|
+
}
|
1059
|
+
/* AST End */
|