hurry 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +55 -0
- data/Rakefile +69 -0
- data/app/assets/audios/twilight-hole.mp3 +0 -0
- data/app/assets/files/arvind resume (1).doc +0 -0
- data/app/assets/files/toma v 0 1.ppt +0 -0
- data/app/assets/images/0d0a413.png +0 -0
- data/app/assets/images/120.jpg +0 -0
- data/app/assets/images/51.jpg +0 -0
- data/app/assets/images/Untitled Document +97 -0
- data/app/assets/images/Untitled Document~ +97 -0
- data/app/assets/images/access.png +0 -0
- data/app/assets/images/adv.png +0 -0
- data/app/assets/images/article.png +0 -0
- data/app/assets/images/audio_icon.jpg +0 -0
- data/app/assets/images/background.gif +0 -0
- data/app/assets/images/banners/111.jpg +0 -0
- data/app/assets/images/banners/90.jpg +0 -0
- data/app/assets/images/banners/userimg.png +0 -0
- data/app/assets/images/blog.png +0 -0
- data/app/assets/images/body.png +0 -0
- data/app/assets/images/cancel.png +0 -0
- data/app/assets/images/cat.png +0 -0
- data/app/assets/images/contributions_userimg2.png +0 -0
- data/app/assets/images/delete.png +0 -0
- data/app/assets/images/edit.png +0 -0
- data/app/assets/images/excel.jpg +0 -0
- data/app/assets/images/file.gif +0 -0
- data/app/assets/images/file.jpeg +0 -0
- data/app/assets/images/folder-closed.gif +0 -0
- data/app/assets/images/folder.gif +0 -0
- data/app/assets/images/group.png +0 -0
- data/app/assets/images/header.png +0 -0
- data/app/assets/images/icons.gif +0 -0
- data/app/assets/images/loading.gif +0 -0
- data/app/assets/images/logo.png +0 -0
- data/app/assets/images/logout.png +0 -0
- data/app/assets/images/media.png +0 -0
- data/app/assets/images/minus.gif +0 -0
- data/app/assets/images/new.png +0 -0
- data/app/assets/images/page_manager.png +0 -0
- data/app/assets/images/pdf.png +0 -0
- data/app/assets/images/personal/ice glass.jpg +0 -0
- data/app/assets/images/plus.gif +0 -0
- data/app/assets/images/ppt.jpg +0 -0
- data/app/assets/images/profileimg.png +0 -0
- data/app/assets/images/rails.png +0 -0
- data/app/assets/images/setting.png +0 -0
- data/app/assets/images/status.png +0 -0
- data/app/assets/images/treeview-black-line.gif +0 -0
- data/app/assets/images/treeview-black.gif +0 -0
- data/app/assets/images/treeview-default-line.gif +0 -0
- data/app/assets/images/treeview-default.gif +0 -0
- data/app/assets/images/treeview-famfamfam-line.gif +0 -0
- data/app/assets/images/treeview-famfamfam.gif +0 -0
- data/app/assets/images/treeview-gray-line.gif +0 -0
- data/app/assets/images/treeview-gray.gif +0 -0
- data/app/assets/images/treeview-red-line.gif +0 -0
- data/app/assets/images/treeview-red.gif +0 -0
- data/app/assets/images/ui.dynatree.css +440 -0
- data/app/assets/images/user.png +0 -0
- data/app/assets/images/user1.png +0 -0
- data/app/assets/images/user_manager.png +0 -0
- data/app/assets/images/video_icon.jpg +0 -0
- data/app/assets/images/vline.gif +0 -0
- data/app/assets/images/word.png +0 -0
- data/app/assets/javascripts/application.js +9 -0
- data/app/assets/javascripts/bolt/articles.js.coffee +3 -0
- data/app/assets/javascripts/bolt/groups.js.coffee +3 -0
- data/app/assets/javascripts/bolt/user_groups.js.coffee +3 -0
- data/app/assets/javascripts/bolt/users_groups.js.coffee +3 -0
- data/app/assets/javascripts/imagebubble.js~ +68 -0
- data/app/assets/javascripts/javascript_functions.js +65 -0
- data/app/assets/javascripts/jquery.dynatree.js +3312 -0
- data/app/assets/javascripts/jquery.js +154 -0
- data/app/assets/javascripts/jquery.treeview.js +251 -0
- data/app/assets/javascripts/jquery_new.js +19 -0
- data/app/assets/javascripts/login.js +24 -0
- data/app/assets/javascripts/media.js +64 -0
- data/app/assets/javascripts/media.js.coffee +3 -0
- data/app/assets/javascripts/rails.js +132 -0
- data/app/assets/miscellaneous/1leader.flv +0 -0
- data/app/assets/miscellaneous/users_controller.1.rb +237 -0
- data/app/assets/stylesheets/application.css +8 -0
- data/app/assets/stylesheets/application.css~ +8 -0
- data/app/assets/stylesheets/bolt/articles.css.scss +3 -0
- data/app/assets/stylesheets/bolt/groups.css.scss +3 -0
- data/app/assets/stylesheets/bolt/user_groups.css.scss +3 -0
- data/app/assets/stylesheets/bolt/users_groups.css.scss +3 -0
- data/app/assets/stylesheets/bubble.css +28 -0
- data/app/assets/stylesheets/depot.css +26 -0
- data/app/assets/stylesheets/depot.css~ +34 -0
- data/app/assets/stylesheets/dropdown.css +49 -0
- data/app/assets/stylesheets/imagebubbles.css~ +32 -0
- data/app/assets/stylesheets/jquery.treeview.css +68 -0
- data/app/assets/stylesheets/media.css.scss +3 -0
- data/app/assets/stylesheets/mediamanager.css +10 -0
- data/app/assets/stylesheets/scaffolds.css +56 -0
- data/app/assets/stylesheets/scaffolds.css.scss +56 -0
- data/app/assets/stylesheets/ui.dynatree.css +440 -0
- data/app/assets/stylesheets/users_style.css +80 -0
- data/app/assets/videos/1leader.flv +0 -0
- data/app/controllers/application_controller.rb +7 -0
- data/app/controllers/application_controller.rb~ +3 -0
- data/app/controllers/articles_controller.rb~ +91 -0
- data/app/controllers/bolt/accesses_controller.rb +71 -0
- data/app/controllers/bolt/articles_categories_controller.rb +71 -0
- data/app/controllers/bolt/articles_controller.rb +97 -0
- data/app/controllers/bolt/articles_controller.rb~ +60 -0
- data/app/controllers/bolt/banners_controller.rb +58 -0
- data/app/controllers/bolt/blogs_controller.rb +82 -0
- data/app/controllers/bolt/bolt_controller.rb +234 -0
- data/app/controllers/bolt/bolt_controller.rb~ +201 -0
- data/app/controllers/bolt/categories_controller.rb +72 -0
- data/app/controllers/bolt/dashboard_controller.rb +14 -0
- data/app/controllers/bolt/dashboard_controller.rb~ +14 -0
- data/app/controllers/bolt/groups_controller.rb +100 -0
- data/app/controllers/bolt/groups_controller.rb~ +85 -0
- data/app/controllers/bolt/info_controller.rb +26 -0
- data/app/controllers/bolt/media_controller.rb +120 -0
- data/app/controllers/bolt/page_sections_controller.rb +58 -0
- data/app/controllers/bolt/pages_controller.rb +90 -0
- data/app/controllers/bolt/password_resets_controller.rb +66 -0
- data/app/controllers/bolt/settings_controller.rb +59 -0
- data/app/controllers/bolt/statuses_controller.rb +72 -0
- data/app/controllers/bolt/user_sessions_controller.rb +40 -0
- data/app/controllers/bolt/user_statuses_controller.rb +58 -0
- data/app/controllers/bolt/users_controller.rb +104 -0
- data/app/controllers/bolt/users_controller.rb~ +79 -0
- data/app/controllers/bolt/users_groups_controller.rb +99 -0
- data/app/controllers/bolt/users_groups_controller.rb~ +83 -0
- data/app/controllers/groups_controller.rb~ +83 -0
- data/app/controllers/users_groups_controller.rb~ +83 -0
- data/app/helpers/application_helper.rb +2 -0
- data/app/helpers/bolt/articles_helper.rb +2 -0
- data/app/helpers/bolt/bolt_helper.rb +208 -0
- data/app/helpers/bolt/bolt_helper.rb~ +208 -0
- data/app/helpers/bolt/config_helper.rb +46 -0
- data/app/helpers/bolt/config_helper.rb~ +46 -0
- data/app/helpers/bolt/groups_helper.rb +2 -0
- data/app/helpers/bolt/user_groups_helper.rb +2 -0
- data/app/helpers/bolt/users_groups_helper.rb +2 -0
- data/app/helpers/media_helper.rb +2 -0
- data/app/mailers/bolt/backbone_notification.rb~ +39 -0
- data/app/mailers/bolt/bolt_notification.rb +39 -0
- data/app/models/access.rb +5 -0
- data/app/models/article.rb +23 -0
- data/app/models/article.rb~ +3 -0
- data/app/models/articles_category.rb +12 -0
- data/app/models/blog.rb +5 -0
- data/app/models/bolt.rb +3 -0
- data/app/models/bolt.rb~ +5 -0
- data/app/models/bolt/group.rb~ +2 -0
- data/app/models/bolt/user.rb +56 -0
- data/app/models/bolt/user.rb~ +62 -0
- data/app/models/bolt/user_group.rb~ +3 -0
- data/app/models/bolt/user_session.rb +8 -0
- data/app/models/bolt/users_group.rb~ +2 -0
- data/app/models/category.rb +7 -0
- data/app/models/group.rb +8 -0
- data/app/models/group.rb~ +7 -0
- data/app/models/media_image.rb +19 -0
- data/app/models/media_images.rb +21 -0
- data/app/models/media_images.rb~ +21 -0
- data/app/models/medium.rb +8 -0
- data/app/models/page.rb +10 -0
- data/app/models/page_section.rb +3 -0
- data/app/models/setting.rb +3 -0
- data/app/models/status.rb +3 -0
- data/app/models/user_status.rb +3 -0
- data/app/models/users_group.rb +14 -0
- data/app/models/users_group.rb~ +6 -0
- data/app/views/bolt/accesses/_form.html.erb +13 -0
- data/app/views/bolt/accesses/_table.html.erb +17 -0
- data/app/views/bolt/accesses/_title.html.erb +9 -0
- data/app/views/bolt/accesses/index.html.erb +44 -0
- data/app/views/bolt/accesses/new.html.erb +18 -0
- data/app/views/bolt/accesses/show.html.erb +17 -0
- data/app/views/bolt/articles/_form.html.erb +113 -0
- data/app/views/bolt/articles/_form.html.erb~ +33 -0
- data/app/views/bolt/articles/_table.html.erb +29 -0
- data/app/views/bolt/articles/_table.html.erb~ +28 -0
- data/app/views/bolt/articles/_title.html.erb +9 -0
- data/app/views/bolt/articles/index.html.erb +37 -0
- data/app/views/bolt/articles/index.html.erb~ +10 -0
- data/app/views/bolt/articles/new.html.erb +16 -0
- data/app/views/bolt/articles/new.html.erb~ +18 -0
- data/app/views/bolt/articles/show.html.erb +17 -0
- data/app/views/bolt/articles/show.html.erb~ +17 -0
- data/app/views/bolt/articles_categories/_form.html.erb +13 -0
- data/app/views/bolt/articles_categories/_table.html.erb +18 -0
- data/app/views/bolt/articles_categories/index.html.erb +10 -0
- data/app/views/bolt/articles_categories/new.html.erb +18 -0
- data/app/views/bolt/articles_categories/show.html.erb +17 -0
- data/app/views/bolt/banners/_form.html.erb +13 -0
- data/app/views/bolt/banners/_table.html.erb +18 -0
- data/app/views/bolt/banners/index.html.erb +10 -0
- data/app/views/bolt/banners/new.html.erb +18 -0
- data/app/views/bolt/banners/show.html.erb +17 -0
- data/app/views/bolt/blogs/_form.html.erb +24 -0
- data/app/views/bolt/blogs/_table.html.erb +22 -0
- data/app/views/bolt/blogs/index.html.erb +33 -0
- data/app/views/bolt/blogs/new.html.erb +18 -0
- data/app/views/bolt/blogs/show.html.erb +17 -0
- data/app/views/bolt/bolt/index.html.erb +0 -0
- data/app/views/bolt/bolt/index.html.erb~ +3 -0
- data/app/views/bolt/bolt_notification/generate_new_password.erb +12 -0
- data/app/views/bolt/bolt_notification/new_user_information.erb +12 -0
- data/app/views/bolt/bolt_notification/password_reset_instructions.erb +11 -0
- data/app/views/bolt/categories/_form.html.erb +9 -0
- data/app/views/bolt/categories/_table.html.erb +17 -0
- data/app/views/bolt/categories/_title.html.erb +8 -0
- data/app/views/bolt/categories/index.html.erb +36 -0
- data/app/views/bolt/categories/new.html.erb +19 -0
- data/app/views/bolt/categories/show.html.erb +17 -0
- data/app/views/bolt/dashboard/index.html.erb +69 -0
- data/app/views/bolt/dashboard/index.html.erb~ +1 -0
- data/app/views/bolt/groups/_form.html.erb +18 -0
- data/app/views/bolt/groups/_form.html.erb~ +21 -0
- data/app/views/bolt/groups/_title.html.erb +5 -0
- data/app/views/bolt/groups/edit.html.erb +6 -0
- data/app/views/bolt/groups/index.html.erb +43 -0
- data/app/views/bolt/groups/index.html.erb~ +23 -0
- data/app/views/bolt/groups/new.html.erb +14 -0
- data/app/views/bolt/groups/new.html.erb~ +5 -0
- data/app/views/bolt/groups/show.html.erb +16 -0
- data/app/views/bolt/info/show.html.erb +43 -0
- data/app/views/bolt/info/show.html.erb~ +5 -0
- data/app/views/bolt/layouts/_left_navigation.html.erb +9 -0
- data/app/views/bolt/layouts/_left_navigation.html.erb~ +16 -0
- data/app/views/bolt/layouts/_right_navigation.html.erb +1 -0
- data/app/views/bolt/layouts/_right_navigation.html.erb~ +1 -0
- data/app/views/bolt/layouts/bolt_auth.html.erb +23 -0
- data/app/views/bolt/layouts/bolt_auth.html.erb~ +23 -0
- data/app/views/bolt/layouts/bolt_main.html.erb +86 -0
- data/app/views/bolt/layouts/bolt_main.html.erb~ +64 -0
- data/app/views/bolt/media/getfolderdatas.html.erb +31 -0
- data/app/views/bolt/media/index.html.erb +195 -0
- data/app/views/bolt/page_sections/_form.html.erb +21 -0
- data/app/views/bolt/page_sections/_table.html.erb +22 -0
- data/app/views/bolt/page_sections/index.html.erb +10 -0
- data/app/views/bolt/page_sections/new.html.erb +18 -0
- data/app/views/bolt/page_sections/show.html.erb +17 -0
- data/app/views/bolt/pages/_form.html.erb +166 -0
- data/app/views/bolt/pages/_form.html.erb~ +41 -0
- data/app/views/bolt/pages/_page_sections_form.html.erb +39 -0
- data/app/views/bolt/pages/_page_sections_form.html.erb~ +3 -0
- data/app/views/bolt/pages/_table.html.erb +29 -0
- data/app/views/bolt/pages/index.html.erb +34 -0
- data/app/views/bolt/pages/new.html.erb +18 -0
- data/app/views/bolt/pages/show.html.erb +18 -0
- data/app/views/bolt/password_resets/edit.html.erb +48 -0
- data/app/views/bolt/settings/_form.html.erb +25 -0
- data/app/views/bolt/settings/_table.html.erb +23 -0
- data/app/views/bolt/settings/index.html.erb +10 -0
- data/app/views/bolt/settings/new.html.erb +18 -0
- data/app/views/bolt/settings/show.html.erb +80 -0
- data/app/views/bolt/statuses/_form.html.erb +14 -0
- data/app/views/bolt/statuses/_table.html.erb +17 -0
- data/app/views/bolt/statuses/_title.html.erb +9 -0
- data/app/views/bolt/statuses/index.html.erb +37 -0
- data/app/views/bolt/statuses/new.html.erb +18 -0
- data/app/views/bolt/statuses/show.html.erb +17 -0
- data/app/views/bolt/user_sessions/new.html.erb +66 -0
- data/app/views/bolt/user_sessions_bk/new.html.erb +69 -0
- data/app/views/bolt/user_statuses/_form.html.erb +9 -0
- data/app/views/bolt/user_statuses/_table.html.erb +16 -0
- data/app/views/bolt/user_statuses/index.html.erb +10 -0
- data/app/views/bolt/user_statuses/new.html.erb +18 -0
- data/app/views/bolt/user_statuses/show.html.erb +17 -0
- data/app/views/bolt/users/_title.html.erb +8 -0
- data/app/views/bolt/users/index.html.erb +60 -0
- data/app/views/bolt/users/index.html.erb~ +35 -0
- data/app/views/bolt/users/new.html.erb +64 -0
- data/app/views/bolt/users/new.html.erb~ +46 -0
- data/app/views/bolt/users/response.json.builder~ +26 -0
- data/app/views/bolt/users/show.html.erb +130 -0
- data/app/views/bolt/users/show.html.erb~ +94 -0
- data/app/views/bolt/users_bk/_form.html.erb +77 -0
- data/app/views/bolt/users_bk/edit.html.erb +6 -0
- data/app/views/bolt/users_bk/index.html.erb +58 -0
- data/app/views/bolt/users_bk/index.html.erb~ +60 -0
- data/app/views/bolt/users_bk/new.html.erb +6 -0
- data/app/views/bolt/users_bk/show.html.erb +100 -0
- data/app/views/bolt/users_groups/_form.html.erb +25 -0
- data/app/views/bolt/users_groups/edit.html.erb +6 -0
- data/app/views/bolt/users_groups/index.html.erb +25 -0
- data/app/views/bolt/users_groups/new.html.erb +5 -0
- data/app/views/bolt/users_groups/show.html.erb +15 -0
- data/app/views/layouts/application.html.erb +18 -0
- data/app/views/layouts/application.html.erb~ +51 -0
- data/app/views/layouts/bolt_auth.html.erb +24 -0
- data/app/views/layouts/bolt_auth.html.erb~ +25 -0
- data/app/views/layouts/bolt_main.html.erb +142 -0
- data/app/views/layouts/bolt_main.html.erb~ +56 -0
- data/app/views/layouts/default_site.html.erb +81 -0
- data/app/views/user_groups/_form.html.erb +21 -0
- data/app/views/user_groups/edit.html.erb +6 -0
- data/app/views/user_groups/index.html.erb +32 -0
- data/app/views/user_groups/new.html.erb +5 -0
- data/app/views/user_groups/show.html.erb +10 -0
- data/config/application.rb +49 -0
- data/config/application.rb~ +48 -0
- data/config/boot.rb +6 -0
- data/config/database.yml +31 -0
- data/config/database.yml~ +25 -0
- data/config/environment.rb +5 -0
- data/config/environments/development.rb +30 -0
- data/config/environments/production.rb +60 -0
- data/config/environments/test.rb +39 -0
- data/config/initializers/backtrace_silencers.rb +7 -0
- data/config/initializers/inflections.rb +10 -0
- data/config/initializers/mime_types.rb +5 -0
- data/config/initializers/secret_token.rb +7 -0
- data/config/initializers/session_store.rb +8 -0
- data/config/initializers/wrap_parameters.rb +14 -0
- data/config/locales/en.yml +5 -0
- data/config/routes.rb +101 -0
- data/config/routes.rb~ +81 -0
- data/db/migrate/20111028162853_create_bolt_users.rb +49 -0
- data/db/migrate/20111028162853_create_bolt_users.rb~ +49 -0
- data/db/migrate/20120302083233_create_articles.rb~ +15 -0
- data/db/migrate/20120307133203_create_groups.rb +10 -0
- data/db/migrate/20120307133203_create_groups.rb~ +9 -0
- data/db/migrate/20120308113354_create_users_groups.rb +10 -0
- data/db/migrate/20120308113354_create_users_groups.rb~ +10 -0
- data/db/migrate/20120309070442_create_articles.rb +18 -0
- data/db/migrate/20120312063336_create_blogs.rb +15 -0
- data/db/migrate/20120312071401_create_categories.rb +13 -0
- data/db/migrate/20120313051136_create_accesses.rb +13 -0
- data/db/migrate/20120313051206_create_statuses.rb +13 -0
- data/db/migrate/20120313061322_create_media.rb +18 -0
- data/db/migrate/20120313061459_create_media_images.rb +10 -0
- data/db/migrate/20120313085220_create_user_statuses.rb +13 -0
- data/db/migrate/20120314060252_create_articles_categories.rb +14 -0
- data/db/migrate/20120314110540_create_pages.rb +24 -0
- data/db/migrate/20120314110540_create_pages.rb~ +24 -0
- data/db/migrate/20120314110602_create_page_sections.rb +20 -0
- data/db/migrate/20120314110602_create_page_sections.rb~ +20 -0
- data/db/migrate/20120314110922_add_ancestry_to_page.rb +9 -0
- data/db/migrate/20120315071805_change_mediaimages_column.rb +8 -0
- data/db/migrate/20120319132523_create_settings.rb +18 -0
- data/db/schema.rb +169 -0
- data/db/seeds.rb +7 -0
- data/doc/README_FOR_APP +2 -0
- data/lib/tasks/tasks.rake +31 -0
- data/public/404.html +26 -0
- data/public/422.html +26 -0
- data/public/500.html +26 -0
- data/public/bolt/images/backbone.png +0 -0
- data/public/bolt/images/header.png +0 -0
- data/public/bolt/images/icons/add.png +0 -0
- data/public/bolt/images/icons/ajax-spinner.gif +0 -0
- data/public/bolt/images/icons/delete.png +0 -0
- data/public/bolt/images/icons/icons.gif +0 -0
- data/public/bolt/images/icons/loading.gif +0 -0
- data/public/bolt/images/icons/spinner-sm.gif +0 -0
- data/public/bolt/images/icons/spinner.png +0 -0
- data/public/bolt/images/icons/table.png +0 -0
- data/public/bolt/images/icons/vline.gif +0 -0
- data/public/bolt/images/login/bottom.png +0 -0
- data/public/bolt/images/login/top.png +0 -0
- data/public/bolt/images/nav.png +0 -0
- data/public/bolt/images/rightNav.png +0 -0
- data/public/bolt/images/rightNavButton.png +0 -0
- data/public/bolt/images/visitSiteNav.png +0 -0
- data/public/bolt/imagesx/backbone.png +0 -0
- data/public/bolt/imagesx/header.png +0 -0
- data/public/bolt/imagesx/icons/add.png +0 -0
- data/public/bolt/imagesx/icons/ajax-spinner.gif +0 -0
- data/public/bolt/imagesx/icons/delete.png +0 -0
- data/public/bolt/imagesx/icons/icons.gif +0 -0
- data/public/bolt/imagesx/icons/loading.gif +0 -0
- data/public/bolt/imagesx/icons/spinner-sm.gif +0 -0
- data/public/bolt/imagesx/icons/spinner.png +0 -0
- data/public/bolt/imagesx/icons/table.png +0 -0
- data/public/bolt/imagesx/icons/vline.gif +0 -0
- data/public/bolt/imagesx/login/bottom.png +0 -0
- data/public/bolt/imagesx/login/top.png +0 -0
- data/public/bolt/imagesx/nav.png +0 -0
- data/public/bolt/imagesx/rightNav.png +0 -0
- data/public/bolt/imagesx/rightNavButton.png +0 -0
- data/public/bolt/imagesx/visitSiteNav.png +0 -0
- data/public/bolt/javascripts/backbone.js +25 -0
- data/public/bolt/javascripts/custom.js +2 -0
- data/public/bolt/javascripts/jquery.js +154 -0
- data/public/bolt/javascripts/login.js +24 -0
- data/public/bolt/javascripts/rails.js +132 -0
- data/public/bolt/stylesheets/custom.css +82 -0
- data/public/bolt/stylesheets/custom.css~ +82 -0
- data/public/bolt/stylesheets/elements.css +316 -0
- data/public/bolt/stylesheets/elements.css~ +307 -0
- data/public/bolt/stylesheets/login.css +137 -0
- data/public/bolt/stylesheets/login.css~ +137 -0
- data/public/bolt/stylesheets/screen.css +224 -0
- data/public/bolt/stylesheets/screen.css~ +224 -0
- data/public/favicon.ico +0 -0
- data/public/images/article.png +0 -0
- data/public/images/backbone.png +0 -0
- data/public/images/cancel.png +0 -0
- data/public/images/cat.png +0 -0
- data/public/images/delete.png +0 -0
- data/public/images/edit.png +0 -0
- data/public/images/file.gif +0 -0
- data/public/images/folder-closed.gif +0 -0
- data/public/images/folder.gif +0 -0
- data/public/images/header.png +0 -0
- data/public/images/icons.gif +0 -0
- data/public/images/icons/add.png +0 -0
- data/public/images/icons/ajax-spinner.gif +0 -0
- data/public/images/icons/delete.png +0 -0
- data/public/images/icons/icons.gif +0 -0
- data/public/images/icons/loading.gif +0 -0
- data/public/images/icons/spinner-sm.gif +0 -0
- data/public/images/icons/spinner.png +0 -0
- data/public/images/icons/table.png +0 -0
- data/public/images/icons/vline.gif +0 -0
- data/public/images/ii.jpg +0 -0
- data/public/images/loading.gif +0 -0
- data/public/images/login/bottom.png +0 -0
- data/public/images/login/top.png +0 -0
- data/public/images/logo.png +0 -0
- data/public/images/logout.png +0 -0
- data/public/images/media.png +0 -0
- data/public/images/minus.gif +0 -0
- data/public/images/nav.png +0 -0
- data/public/images/new.png +0 -0
- data/public/images/plus.gif +0 -0
- data/public/images/profileimg.png +0 -0
- data/public/images/rails.png +0 -0
- data/public/images/rightNav.png +0 -0
- data/public/images/rightNavButton.png +0 -0
- data/public/images/treeview-black-line.gif +0 -0
- data/public/images/treeview-black.gif +0 -0
- data/public/images/treeview-default-line.gif +0 -0
- data/public/images/treeview-default.gif +0 -0
- data/public/images/treeview-famfamfam-line.gif +0 -0
- data/public/images/treeview-famfamfam.gif +0 -0
- data/public/images/treeview-gray-line.gif +0 -0
- data/public/images/treeview-gray.gif +0 -0
- data/public/images/treeview-red-line.gif +0 -0
- data/public/images/treeview-red.gif +0 -0
- data/public/images/ui.dynatree.css +440 -0
- data/public/images/user.png +0 -0
- data/public/images/user1.png +0 -0
- data/public/images/visitSiteNav.png +0 -0
- data/public/images/vline.gif +0 -0
- data/public/javascripts/backbone.js +25 -0
- data/public/javascripts/custom.js +2 -0
- data/public/javascripts/jquery.js +154 -0
- data/public/javascripts/login.js +24 -0
- data/public/javascripts/rails.js +132 -0
- data/public/jqueryui/css/ui-lightness/images/ui-bg_diagonals-thick_18_b81900_40x40.png +0 -0
- data/public/jqueryui/css/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png +0 -0
- data/public/jqueryui/css/ui-lightness/images/ui-bg_flat_10_000000_40x100.png +0 -0
- data/public/jqueryui/css/ui-lightness/images/ui-bg_glass_100_f6f6f6_1x400.png +0 -0
- data/public/jqueryui/css/ui-lightness/images/ui-bg_glass_100_fdf5ce_1x400.png +0 -0
- data/public/jqueryui/css/ui-lightness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/public/jqueryui/css/ui-lightness/images/ui-bg_gloss-wave_35_f6a828_500x100.png +0 -0
- data/public/jqueryui/css/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png +0 -0
- data/public/jqueryui/css/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png +0 -0
- data/public/jqueryui/css/ui-lightness/images/ui-icons_222222_256x240.png +0 -0
- data/public/jqueryui/css/ui-lightness/images/ui-icons_228ef1_256x240.png +0 -0
- data/public/jqueryui/css/ui-lightness/images/ui-icons_ef8c08_256x240.png +0 -0
- data/public/jqueryui/css/ui-lightness/images/ui-icons_ffd27a_256x240.png +0 -0
- data/public/jqueryui/css/ui-lightness/images/ui-icons_ffffff_256x240.png +0 -0
- data/public/jqueryui/css/ui-lightness/jquery-ui-1.8.18.custom.css +336 -0
- data/public/jqueryui/development-bundle/AUTHORS.txt +30 -0
- data/public/jqueryui/development-bundle/GPL-LICENSE.txt +278 -0
- data/public/jqueryui/development-bundle/MIT-LICENSE.txt +25 -0
- data/public/jqueryui/development-bundle/demos/demos.css +334 -0
- data/public/jqueryui/development-bundle/demos/dialog/animated.html +56 -0
- data/public/jqueryui/development-bundle/demos/dialog/default.html +54 -0
- data/public/jqueryui/development-bundle/demos/dialog/index.html +23 -0
- data/public/jqueryui/development-bundle/demos/dialog/modal-confirmation.html +69 -0
- data/public/jqueryui/development-bundle/demos/dialog/modal-form.html +167 -0
- data/public/jqueryui/development-bundle/demos/dialog/modal-message.html +71 -0
- data/public/jqueryui/development-bundle/demos/dialog/modal.html +60 -0
- data/public/jqueryui/development-bundle/demos/draggable/constrain-movement.html +69 -0
- data/public/jqueryui/development-bundle/demos/draggable/cursor-style.html +49 -0
- data/public/jqueryui/development-bundle/demos/draggable/default.html +39 -0
- data/public/jqueryui/development-bundle/demos/draggable/delay-start.html +45 -0
- data/public/jqueryui/development-bundle/demos/draggable/events.html +77 -0
- data/public/jqueryui/development-bundle/demos/draggable/handle.html +50 -0
- data/public/jqueryui/development-bundle/demos/draggable/index.html +28 -0
- data/public/jqueryui/development-bundle/demos/draggable/revert.html +44 -0
- data/public/jqueryui/development-bundle/demos/draggable/scroll.html +51 -0
- data/public/jqueryui/development-bundle/demos/draggable/snap-to.html +68 -0
- data/public/jqueryui/development-bundle/demos/draggable/sortable.html +57 -0
- data/public/jqueryui/development-bundle/demos/draggable/visual-feedback.html +77 -0
- data/public/jqueryui/development-bundle/demos/droppable/accepted-elements.html +60 -0
- data/public/jqueryui/development-bundle/demos/droppable/default.html +53 -0
- data/public/jqueryui/development-bundle/demos/droppable/images/high_tatras.jpg +0 -0
- data/public/jqueryui/development-bundle/demos/droppable/images/high_tatras2.jpg +0 -0
- data/public/jqueryui/development-bundle/demos/droppable/images/high_tatras2_min.jpg +0 -0
- data/public/jqueryui/development-bundle/demos/droppable/images/high_tatras3.jpg +0 -0
- data/public/jqueryui/development-bundle/demos/droppable/images/high_tatras3_min.jpg +0 -0
- data/public/jqueryui/development-bundle/demos/droppable/images/high_tatras4.jpg +0 -0
- data/public/jqueryui/development-bundle/demos/droppable/images/high_tatras4_min.jpg +0 -0
- data/public/jqueryui/development-bundle/demos/droppable/images/high_tatras_min.jpg +0 -0
- data/public/jqueryui/development-bundle/demos/droppable/index.html +24 -0
- data/public/jqueryui/development-bundle/demos/droppable/photo-manager.html +184 -0
- data/public/jqueryui/development-bundle/demos/droppable/propagation.html +80 -0
- data/public/jqueryui/development-bundle/demos/droppable/revert.html +61 -0
- data/public/jqueryui/development-bundle/demos/droppable/shopping-cart.html +101 -0
- data/public/jqueryui/development-bundle/demos/droppable/visual-feedback.html +78 -0
- data/public/jqueryui/development-bundle/demos/images/calendar.gif +0 -0
- data/public/jqueryui/development-bundle/demos/images/demo-config-on-tile.gif +0 -0
- data/public/jqueryui/development-bundle/demos/images/demo-config-on.gif +0 -0
- data/public/jqueryui/development-bundle/demos/images/demo-spindown-closed.gif +0 -0
- data/public/jqueryui/development-bundle/demos/images/demo-spindown-open.gif +0 -0
- data/public/jqueryui/development-bundle/demos/images/icon-docs-info.gif +0 -0
- data/public/jqueryui/development-bundle/demos/images/pbar-ani.gif +0 -0
- data/public/jqueryui/development-bundle/demos/index.html +328 -0
- data/public/jqueryui/development-bundle/demos/position/cycler.html +122 -0
- data/public/jqueryui/development-bundle/demos/position/default.html +153 -0
- data/public/jqueryui/development-bundle/demos/position/images/earth.jpg +0 -0
- data/public/jqueryui/development-bundle/demos/position/images/flight.jpg +0 -0
- data/public/jqueryui/development-bundle/demos/position/images/rocket.jpg +0 -0
- data/public/jqueryui/development-bundle/demos/position/index.html +19 -0
- data/public/jqueryui/development-bundle/demos/resizable/animate.html +43 -0
- data/public/jqueryui/development-bundle/demos/resizable/aspect-ratio.html +42 -0
- data/public/jqueryui/development-bundle/demos/resizable/constrain-area.html +47 -0
- data/public/jqueryui/development-bundle/demos/resizable/default.html +40 -0
- data/public/jqueryui/development-bundle/demos/resizable/delay-start.html +52 -0
- data/public/jqueryui/development-bundle/demos/resizable/helper.html +43 -0
- data/public/jqueryui/development-bundle/demos/resizable/index.html +28 -0
- data/public/jqueryui/development-bundle/demos/resizable/max-min.html +45 -0
- data/public/jqueryui/development-bundle/demos/resizable/snap-to-grid.html +42 -0
- data/public/jqueryui/development-bundle/demos/resizable/synchronous-resize.html +49 -0
- data/public/jqueryui/development-bundle/demos/resizable/textarea.html +41 -0
- data/public/jqueryui/development-bundle/demos/resizable/visual-feedback.html +43 -0
- data/public/jqueryui/development-bundle/demos/selectable/default.html +50 -0
- data/public/jqueryui/development-bundle/demos/selectable/display-grid.html +55 -0
- data/public/jqueryui/development-bundle/demos/selectable/index.html +20 -0
- data/public/jqueryui/development-bundle/demos/selectable/serialize.html +61 -0
- data/public/jqueryui/development-bundle/demos/sortable/connect-lists-through-tabs.html +78 -0
- data/public/jqueryui/development-bundle/demos/sortable/connect-lists.html +58 -0
- data/public/jqueryui/development-bundle/demos/sortable/default.html +51 -0
- data/public/jqueryui/development-bundle/demos/sortable/delay-start.html +67 -0
- data/public/jqueryui/development-bundle/demos/sortable/display-grid.html +54 -0
- data/public/jqueryui/development-bundle/demos/sortable/empty-lists.html +69 -0
- data/public/jqueryui/development-bundle/demos/sortable/index.html +26 -0
- data/public/jqueryui/development-bundle/demos/sortable/items.html +70 -0
- data/public/jqueryui/development-bundle/demos/sortable/placeholder.html +56 -0
- data/public/jqueryui/development-bundle/demos/sortable/portlets.html +96 -0
- data/public/jqueryui/development-bundle/docs/dialog.html +1698 -0
- data/public/jqueryui/development-bundle/docs/draggable.html +1577 -0
- data/public/jqueryui/development-bundle/docs/droppable.html +829 -0
- data/public/jqueryui/development-bundle/docs/position.html +245 -0
- data/public/jqueryui/development-bundle/docs/resizable.html +1201 -0
- data/public/jqueryui/development-bundle/docs/selectable.html +848 -0
- data/public/jqueryui/development-bundle/docs/sortable.html +1953 -0
- data/public/jqueryui/development-bundle/external/jquery.bgiframe-2.1.2.js +39 -0
- data/public/jqueryui/development-bundle/external/jquery.cookie.js +89 -0
- data/public/jqueryui/development-bundle/external/jquery.metadata.js +122 -0
- data/public/jqueryui/development-bundle/external/qunit.css +225 -0
- data/public/jqueryui/development-bundle/external/qunit.js +1448 -0
- data/public/jqueryui/development-bundle/jquery-1.7.1.js +9266 -0
- data/public/jqueryui/development-bundle/themes/base/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/public/jqueryui/development-bundle/themes/base/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
- data/public/jqueryui/development-bundle/themes/base/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
- data/public/jqueryui/development-bundle/themes/base/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/public/jqueryui/development-bundle/themes/base/images/ui-bg_glass_75_dadada_1x400.png +0 -0
- data/public/jqueryui/development-bundle/themes/base/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
- data/public/jqueryui/development-bundle/themes/base/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/public/jqueryui/development-bundle/themes/base/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
- data/public/jqueryui/development-bundle/themes/base/images/ui-icons_222222_256x240.png +0 -0
- data/public/jqueryui/development-bundle/themes/base/images/ui-icons_2e83ff_256x240.png +0 -0
- data/public/jqueryui/development-bundle/themes/base/images/ui-icons_454545_256x240.png +0 -0
- data/public/jqueryui/development-bundle/themes/base/images/ui-icons_888888_256x240.png +0 -0
- data/public/jqueryui/development-bundle/themes/base/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/public/jqueryui/development-bundle/themes/base/jquery.ui.all.css +11 -0
- data/public/jqueryui/development-bundle/themes/base/jquery.ui.base.css +4 -0
- data/public/jqueryui/development-bundle/themes/base/jquery.ui.core.css +38 -0
- data/public/jqueryui/development-bundle/themes/base/jquery.ui.dialog.css +21 -0
- data/public/jqueryui/development-bundle/themes/base/jquery.ui.resizable.css +20 -0
- data/public/jqueryui/development-bundle/themes/base/jquery.ui.selectable.css +10 -0
- data/public/jqueryui/development-bundle/themes/base/jquery.ui.theme.css +247 -0
- data/public/jqueryui/development-bundle/themes/ui-lightness/images/ui-bg_diagonals-thick_18_b81900_40x40.png +0 -0
- data/public/jqueryui/development-bundle/themes/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png +0 -0
- data/public/jqueryui/development-bundle/themes/ui-lightness/images/ui-bg_flat_10_000000_40x100.png +0 -0
- data/public/jqueryui/development-bundle/themes/ui-lightness/images/ui-bg_glass_100_f6f6f6_1x400.png +0 -0
- data/public/jqueryui/development-bundle/themes/ui-lightness/images/ui-bg_glass_100_fdf5ce_1x400.png +0 -0
- data/public/jqueryui/development-bundle/themes/ui-lightness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/public/jqueryui/development-bundle/themes/ui-lightness/images/ui-bg_gloss-wave_35_f6a828_500x100.png +0 -0
- data/public/jqueryui/development-bundle/themes/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png +0 -0
- data/public/jqueryui/development-bundle/themes/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png +0 -0
- data/public/jqueryui/development-bundle/themes/ui-lightness/images/ui-icons_222222_256x240.png +0 -0
- data/public/jqueryui/development-bundle/themes/ui-lightness/images/ui-icons_228ef1_256x240.png +0 -0
- data/public/jqueryui/development-bundle/themes/ui-lightness/images/ui-icons_ef8c08_256x240.png +0 -0
- data/public/jqueryui/development-bundle/themes/ui-lightness/images/ui-icons_ffd27a_256x240.png +0 -0
- data/public/jqueryui/development-bundle/themes/ui-lightness/images/ui-icons_ffffff_256x240.png +0 -0
- data/public/jqueryui/development-bundle/themes/ui-lightness/jquery-ui-1.8.18.custom.css +336 -0
- data/public/jqueryui/development-bundle/themes/ui-lightness/jquery.ui.all.css +11 -0
- data/public/jqueryui/development-bundle/themes/ui-lightness/jquery.ui.base.css +4 -0
- data/public/jqueryui/development-bundle/themes/ui-lightness/jquery.ui.core.css +38 -0
- data/public/jqueryui/development-bundle/themes/ui-lightness/jquery.ui.dialog.css +21 -0
- data/public/jqueryui/development-bundle/themes/ui-lightness/jquery.ui.resizable.css +20 -0
- data/public/jqueryui/development-bundle/themes/ui-lightness/jquery.ui.selectable.css +10 -0
- data/public/jqueryui/development-bundle/themes/ui-lightness/jquery.ui.theme.css +249 -0
- data/public/jqueryui/development-bundle/ui/jquery-ui-1.8.18.custom.js +5206 -0
- data/public/jqueryui/development-bundle/ui/jquery.ui.core.js +319 -0
- data/public/jqueryui/development-bundle/ui/jquery.ui.dialog.js +878 -0
- data/public/jqueryui/development-bundle/ui/jquery.ui.draggable.js +825 -0
- data/public/jqueryui/development-bundle/ui/jquery.ui.droppable.js +296 -0
- data/public/jqueryui/development-bundle/ui/jquery.ui.mouse.js +162 -0
- data/public/jqueryui/development-bundle/ui/jquery.ui.position.js +298 -0
- data/public/jqueryui/development-bundle/ui/jquery.ui.resizable.js +808 -0
- data/public/jqueryui/development-bundle/ui/jquery.ui.selectable.js +267 -0
- data/public/jqueryui/development-bundle/ui/jquery.ui.sortable.js +1081 -0
- data/public/jqueryui/development-bundle/ui/jquery.ui.widget.js +272 -0
- data/public/jqueryui/development-bundle/ui/minified/jquery.ui.core.min.js +9 -0
- data/public/jqueryui/development-bundle/ui/minified/jquery.ui.dialog.min.js +18 -0
- data/public/jqueryui/development-bundle/ui/minified/jquery.ui.draggable.min.js +14 -0
- data/public/jqueryui/development-bundle/ui/minified/jquery.ui.droppable.min.js +15 -0
- data/public/jqueryui/development-bundle/ui/minified/jquery.ui.mouse.min.js +12 -0
- data/public/jqueryui/development-bundle/ui/minified/jquery.ui.position.min.js +9 -0
- data/public/jqueryui/development-bundle/ui/minified/jquery.ui.resizable.min.js +14 -0
- data/public/jqueryui/development-bundle/ui/minified/jquery.ui.selectable.min.js +14 -0
- data/public/jqueryui/development-bundle/ui/minified/jquery.ui.sortable.min.js +14 -0
- data/public/jqueryui/development-bundle/ui/minified/jquery.ui.widget.min.js +9 -0
- data/public/jqueryui/development-bundle/version.txt +1 -0
- data/public/jqueryui/js/jquery-1.7.1.min.js +4 -0
- data/public/jqueryui/js/jquery-ui-1.8.18.custom.min.js +119 -0
- data/public/robots.txt +5 -0
- data/public/stylesheets/custom.css +91 -0
- data/public/stylesheets/custom.css~ +82 -0
- data/public/stylesheets/elements.css +315 -0
- data/public/stylesheets/elements.css~ +307 -0
- data/public/stylesheets/login.css +137 -0
- data/public/stylesheets/login.css~ +137 -0
- data/public/stylesheets/screen.css +224 -0
- data/public/stylesheets/screen.css~ +224 -0
- data/script/rails +6 -0
- data/test/fixtures/bolt/groups.yml +7 -0
- data/test/fixtures/bolt/users_groups.yml +9 -0
- data/test/fixtures/media.yml +13 -0
- data/test/fixtures/media_images.yml +9 -0
- data/test/functional/bolt/groups_controller_test.rb +49 -0
- data/test/functional/bolt/users_groups_controller_test.rb +49 -0
- data/test/functional/media_controller_test.rb +49 -0
- data/test/performance/browsing_test.rb +12 -0
- data/test/test_helper.rb +13 -0
- data/test/unit/bolt/group_test.rb +7 -0
- data/test/unit/bolt/users_group_test.rb +7 -0
- data/test/unit/helpers/bolt/groups_helper_test.rb +4 -0
- data/test/unit/helpers/bolt/users_groups_helper_test.rb +4 -0
- data/test/unit/helpers/media_helper_test.rb +4 -0
- data/test/unit/media_images_test.rb +7 -0
- data/test/unit/medium_test.rb +7 -0
- metadata +716 -0
@@ -0,0 +1,56 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="en">
|
3
|
+
<head>
|
4
|
+
<meta charset="utf-8">
|
5
|
+
<title>jQuery UI Dialog - Animation</title>
|
6
|
+
<link rel="stylesheet" href="../../themes/base/jquery.ui.all.css">
|
7
|
+
<script src="../../jquery-1.7.1.js"></script>
|
8
|
+
<script src="../../external/jquery.bgiframe-2.1.2.js"></script>
|
9
|
+
<script src="../../ui/jquery.ui.core.js"></script>
|
10
|
+
<script src="../../ui/jquery.ui.widget.js"></script>
|
11
|
+
<script src="../../ui/jquery.ui.mouse.js"></script>
|
12
|
+
<script src="../../ui/jquery.ui.draggable.js"></script>
|
13
|
+
<script src="../../ui/jquery.ui.position.js"></script>
|
14
|
+
<script src="../../ui/jquery.ui.resizable.js"></script>
|
15
|
+
<script src="../../ui/jquery.ui.dialog.js"></script>
|
16
|
+
<script src="../../ui/jquery.effects.core.js"></script>
|
17
|
+
<script src="../../ui/jquery.effects.blind.js"></script>
|
18
|
+
<script src="../../ui/jquery.effects.explode.js"></script>
|
19
|
+
<link rel="stylesheet" href="../demos.css">
|
20
|
+
<script>
|
21
|
+
// increase the default animation speed to exaggerate the effect
|
22
|
+
$.fx.speeds._default = 1000;
|
23
|
+
$(function() {
|
24
|
+
$( "#dialog" ).dialog({
|
25
|
+
autoOpen: false,
|
26
|
+
show: "blind",
|
27
|
+
hide: "explode"
|
28
|
+
});
|
29
|
+
|
30
|
+
$( "#opener" ).click(function() {
|
31
|
+
$( "#dialog" ).dialog( "open" );
|
32
|
+
return false;
|
33
|
+
});
|
34
|
+
});
|
35
|
+
</script>
|
36
|
+
</head>
|
37
|
+
<body>
|
38
|
+
|
39
|
+
<div class="demo">
|
40
|
+
|
41
|
+
<div id="dialog" title="Basic dialog">
|
42
|
+
<p>This is an animated dialog which is useful for displaying information. The dialog window can be moved, resized and closed with the 'x' icon.</p>
|
43
|
+
</div>
|
44
|
+
|
45
|
+
<button id="opener">Open Dialog</button>
|
46
|
+
|
47
|
+
</div><!-- End demo -->
|
48
|
+
|
49
|
+
|
50
|
+
|
51
|
+
<div class="demo-description">
|
52
|
+
<p>Dialogs may be animated by specifying an effect for the show and/or hide properties. You must include the individual effects file for any effects you would like to use.</p>
|
53
|
+
</div><!-- End demo-description -->
|
54
|
+
|
55
|
+
</body>
|
56
|
+
</html>
|
@@ -0,0 +1,54 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="en">
|
3
|
+
<head>
|
4
|
+
<meta charset="utf-8">
|
5
|
+
<title>jQuery UI Dialog - Default functionality</title>
|
6
|
+
<link rel="stylesheet" href="../../themes/base/jquery.ui.all.css">
|
7
|
+
<script src="../../jquery-1.7.1.js"></script>
|
8
|
+
<script src="../../external/jquery.bgiframe-2.1.2.js"></script>
|
9
|
+
<script src="../../ui/jquery.ui.core.js"></script>
|
10
|
+
<script src="../../ui/jquery.ui.widget.js"></script>
|
11
|
+
<script src="../../ui/jquery.ui.mouse.js"></script>
|
12
|
+
<script src="../../ui/jquery.ui.draggable.js"></script>
|
13
|
+
<script src="../../ui/jquery.ui.position.js"></script>
|
14
|
+
<script src="../../ui/jquery.ui.resizable.js"></script>
|
15
|
+
<script src="../../ui/jquery.ui.dialog.js"></script>
|
16
|
+
<link rel="stylesheet" href="../demos.css">
|
17
|
+
<script>
|
18
|
+
$(function() {
|
19
|
+
$( "#dialog" ).dialog();
|
20
|
+
});
|
21
|
+
</script>
|
22
|
+
</head>
|
23
|
+
<body>
|
24
|
+
|
25
|
+
<div class="demo">
|
26
|
+
|
27
|
+
<div id="dialog" title="Basic dialog">
|
28
|
+
<p>This is the default dialog which is useful for displaying information. The dialog window can be moved, resized and closed with the 'x' icon.</p>
|
29
|
+
</div>
|
30
|
+
|
31
|
+
<!-- Sample page content to illustrate the layering of the dialog -->
|
32
|
+
<div class="hiddenInViewSource" style="padding:20px;">
|
33
|
+
<p>Sed vel diam id libero <a href="http://example.com">rutrum convallis</a>. Donec aliquet leo vel magna. Phasellus rhoncus faucibus ante. Etiam bibendum, enim faucibus aliquet rhoncus, arcu felis ultricies neque, sit amet auctor elit eros a lectus.</p>
|
34
|
+
<form>
|
35
|
+
<input value="text input" /><br />
|
36
|
+
<input type="checkbox" />checkbox<br />
|
37
|
+
<input type="radio" />radio<br />
|
38
|
+
<select>
|
39
|
+
<option>select</option>
|
40
|
+
</select><br /><br />
|
41
|
+
<textarea>textarea</textarea><br />
|
42
|
+
</form>
|
43
|
+
</div><!-- End sample page content -->
|
44
|
+
|
45
|
+
</div><!-- End demo -->
|
46
|
+
|
47
|
+
|
48
|
+
|
49
|
+
<div class="demo-description">
|
50
|
+
<p>The basic dialog window is an overlay positioned within the viewport and is protected from page content (like select elements) shining through with an iframe. It has a title bar and a content area, and can be moved, resized and closed with the 'x' icon by default.</p>
|
51
|
+
</div><!-- End demo-description -->
|
52
|
+
|
53
|
+
</body>
|
54
|
+
</html>
|
@@ -0,0 +1,23 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="en">
|
3
|
+
<head>
|
4
|
+
<meta charset="utf-8">
|
5
|
+
<title>jQuery UI Dialog Demos</title>
|
6
|
+
<link rel="stylesheet" href="../demos.css">
|
7
|
+
</head>
|
8
|
+
<body>
|
9
|
+
|
10
|
+
<div class="demos-nav">
|
11
|
+
<h4>Examples</h4>
|
12
|
+
<ul>
|
13
|
+
<li class="demo-config-on"><a href="default.html">Default functionality</a></li>
|
14
|
+
<li><a href="animated.html">Animated dialog</a></li>
|
15
|
+
<li><a href="modal.html">Modal dialog</a></li>
|
16
|
+
<li><a href="modal-message.html">Modal message</a></li>
|
17
|
+
<li><a href="modal-confirmation.html">Modal confirmation</a></li>
|
18
|
+
<li><a href="modal-form.html">Modal form</a></li>
|
19
|
+
</ul>
|
20
|
+
</div>
|
21
|
+
|
22
|
+
</body>
|
23
|
+
</html>
|
@@ -0,0 +1,69 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="en">
|
3
|
+
<head>
|
4
|
+
<meta charset="utf-8">
|
5
|
+
<title>jQuery UI Dialog - Modal confirmation</title>
|
6
|
+
<link rel="stylesheet" href="../../themes/base/jquery.ui.all.css">
|
7
|
+
<script src="../../jquery-1.7.1.js"></script>
|
8
|
+
<script src="../../external/jquery.bgiframe-2.1.2.js"></script>
|
9
|
+
<script src="../../ui/jquery.ui.core.js"></script>
|
10
|
+
<script src="../../ui/jquery.ui.widget.js"></script>
|
11
|
+
<script src="../../ui/jquery.ui.mouse.js"></script>
|
12
|
+
<script src="../../ui/jquery.ui.button.js"></script>
|
13
|
+
<script src="../../ui/jquery.ui.draggable.js"></script>
|
14
|
+
<script src="../../ui/jquery.ui.position.js"></script>
|
15
|
+
<script src="../../ui/jquery.ui.dialog.js"></script>
|
16
|
+
<link rel="stylesheet" href="../demos.css">
|
17
|
+
<script>
|
18
|
+
$(function() {
|
19
|
+
// a workaround for a flaw in the demo system (http://dev.jqueryui.com/ticket/4375), ignore!
|
20
|
+
$( "#dialog:ui-dialog" ).dialog( "destroy" );
|
21
|
+
|
22
|
+
$( "#dialog-confirm" ).dialog({
|
23
|
+
resizable: false,
|
24
|
+
height:140,
|
25
|
+
modal: true,
|
26
|
+
buttons: {
|
27
|
+
"Delete all items": function() {
|
28
|
+
$( this ).dialog( "close" );
|
29
|
+
},
|
30
|
+
Cancel: function() {
|
31
|
+
$( this ).dialog( "close" );
|
32
|
+
}
|
33
|
+
}
|
34
|
+
});
|
35
|
+
});
|
36
|
+
</script>
|
37
|
+
</head>
|
38
|
+
<body>
|
39
|
+
|
40
|
+
<div class="demo">
|
41
|
+
|
42
|
+
<div id="dialog-confirm" title="Empty the recycle bin?">
|
43
|
+
<p><span class="ui-icon ui-icon-alert" style="float:left; margin:0 7px 20px 0;"></span>These items will be permanently deleted and cannot be recovered. Are you sure?</p>
|
44
|
+
</div>
|
45
|
+
|
46
|
+
<!-- Sample page content to illustrate the layering of the dialog -->
|
47
|
+
<div class="hiddenInViewSource" style="padding:20px;">
|
48
|
+
<p>Sed vel diam id libero <a href="http://example.com">rutrum convallis</a>. Donec aliquet leo vel magna. Phasellus rhoncus faucibus ante. Etiam bibendum, enim faucibus aliquet rhoncus, arcu felis ultricies neque, sit amet auctor elit eros a lectus.</p>
|
49
|
+
<form>
|
50
|
+
<input value="text input" /><br />
|
51
|
+
<input type="checkbox" />checkbox<br />
|
52
|
+
<input type="radio" />radio<br />
|
53
|
+
<select>
|
54
|
+
<option>select</option>
|
55
|
+
</select><br /><br />
|
56
|
+
<textarea>textarea</textarea><br />
|
57
|
+
</form>
|
58
|
+
</div><!-- End sample page content -->
|
59
|
+
|
60
|
+
</div><!-- End demo -->
|
61
|
+
|
62
|
+
|
63
|
+
|
64
|
+
<div class="demo-description">
|
65
|
+
<p>Confirm an action that may be destructive or important. Set the <code>modal</code> option to true, and specify primary and secondary user actions with the <code>buttons</code> option.</p>
|
66
|
+
</div><!-- End demo-description -->
|
67
|
+
|
68
|
+
</body>
|
69
|
+
</html>
|
@@ -0,0 +1,167 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="en">
|
3
|
+
<head>
|
4
|
+
<meta charset="utf-8">
|
5
|
+
<title>jQuery UI Dialog - Modal form</title>
|
6
|
+
<link rel="stylesheet" href="../../themes/base/jquery.ui.all.css">
|
7
|
+
<script src="../../jquery-1.7.1.js"></script>
|
8
|
+
<script src="../../external/jquery.bgiframe-2.1.2.js"></script>
|
9
|
+
<script src="../../ui/jquery.ui.core.js"></script>
|
10
|
+
<script src="../../ui/jquery.ui.widget.js"></script>
|
11
|
+
<script src="../../ui/jquery.ui.mouse.js"></script>
|
12
|
+
<script src="../../ui/jquery.ui.button.js"></script>
|
13
|
+
<script src="../../ui/jquery.ui.draggable.js"></script>
|
14
|
+
<script src="../../ui/jquery.ui.position.js"></script>
|
15
|
+
<script src="../../ui/jquery.ui.resizable.js"></script>
|
16
|
+
<script src="../../ui/jquery.ui.dialog.js"></script>
|
17
|
+
<script src="../../ui/jquery.effects.core.js"></script>
|
18
|
+
<link rel="stylesheet" href="../demos.css">
|
19
|
+
<style>
|
20
|
+
body { font-size: 62.5%; }
|
21
|
+
label, input { display:block; }
|
22
|
+
input.text { margin-bottom:12px; width:95%; padding: .4em; }
|
23
|
+
fieldset { padding:0; border:0; margin-top:25px; }
|
24
|
+
h1 { font-size: 1.2em; margin: .6em 0; }
|
25
|
+
div#users-contain { width: 350px; margin: 20px 0; }
|
26
|
+
div#users-contain table { margin: 1em 0; border-collapse: collapse; width: 100%; }
|
27
|
+
div#users-contain table td, div#users-contain table th { border: 1px solid #eee; padding: .6em 10px; text-align: left; }
|
28
|
+
.ui-dialog .ui-state-error { padding: .3em; }
|
29
|
+
.validateTips { border: 1px solid transparent; padding: 0.3em; }
|
30
|
+
</style>
|
31
|
+
<script>
|
32
|
+
$(function() {
|
33
|
+
// a workaround for a flaw in the demo system (http://dev.jqueryui.com/ticket/4375), ignore!
|
34
|
+
$( "#dialog:ui-dialog" ).dialog( "destroy" );
|
35
|
+
|
36
|
+
var name = $( "#name" ),
|
37
|
+
email = $( "#email" ),
|
38
|
+
password = $( "#password" ),
|
39
|
+
allFields = $( [] ).add( name ).add( email ).add( password ),
|
40
|
+
tips = $( ".validateTips" );
|
41
|
+
|
42
|
+
function updateTips( t ) {
|
43
|
+
tips
|
44
|
+
.text( t )
|
45
|
+
.addClass( "ui-state-highlight" );
|
46
|
+
setTimeout(function() {
|
47
|
+
tips.removeClass( "ui-state-highlight", 1500 );
|
48
|
+
}, 500 );
|
49
|
+
}
|
50
|
+
|
51
|
+
function checkLength( o, n, min, max ) {
|
52
|
+
if ( o.val().length > max || o.val().length < min ) {
|
53
|
+
o.addClass( "ui-state-error" );
|
54
|
+
updateTips( "Length of " + n + " must be between " +
|
55
|
+
min + " and " + max + "." );
|
56
|
+
return false;
|
57
|
+
} else {
|
58
|
+
return true;
|
59
|
+
}
|
60
|
+
}
|
61
|
+
|
62
|
+
function checkRegexp( o, regexp, n ) {
|
63
|
+
if ( !( regexp.test( o.val() ) ) ) {
|
64
|
+
o.addClass( "ui-state-error" );
|
65
|
+
updateTips( n );
|
66
|
+
return false;
|
67
|
+
} else {
|
68
|
+
return true;
|
69
|
+
}
|
70
|
+
}
|
71
|
+
|
72
|
+
$( "#dialog-form" ).dialog({
|
73
|
+
autoOpen: false,
|
74
|
+
height: 300,
|
75
|
+
width: 350,
|
76
|
+
modal: true,
|
77
|
+
buttons: {
|
78
|
+
"Create an account": function() {
|
79
|
+
var bValid = true;
|
80
|
+
allFields.removeClass( "ui-state-error" );
|
81
|
+
|
82
|
+
bValid = bValid && checkLength( name, "username", 3, 16 );
|
83
|
+
bValid = bValid && checkLength( email, "email", 6, 80 );
|
84
|
+
bValid = bValid && checkLength( password, "password", 5, 16 );
|
85
|
+
|
86
|
+
bValid = bValid && checkRegexp( name, /^[a-z]([0-9a-z_])+$/i, "Username may consist of a-z, 0-9, underscores, begin with a letter." );
|
87
|
+
// From jquery.validate.js (by joern), contributed by Scott Gonzalez: http://projects.scottsplayground.com/email_address_validation/
|
88
|
+
bValid = bValid && checkRegexp( email, /^((([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)((((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b\x0c\x0e-\x1f\x7f]|\x21|[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(\\([\x01-\x09\x0b\x0c\x0d-\x7f]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))))*(((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(\x22)))@((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?$/i, "eg. ui@jquery.com" );
|
89
|
+
bValid = bValid && checkRegexp( password, /^([0-9a-zA-Z])+$/, "Password field only allow : a-z 0-9" );
|
90
|
+
|
91
|
+
if ( bValid ) {
|
92
|
+
$( "#users tbody" ).append( "<tr>" +
|
93
|
+
"<td>" + name.val() + "</td>" +
|
94
|
+
"<td>" + email.val() + "</td>" +
|
95
|
+
"<td>" + password.val() + "</td>" +
|
96
|
+
"</tr>" );
|
97
|
+
$( this ).dialog( "close" );
|
98
|
+
}
|
99
|
+
},
|
100
|
+
Cancel: function() {
|
101
|
+
$( this ).dialog( "close" );
|
102
|
+
}
|
103
|
+
},
|
104
|
+
close: function() {
|
105
|
+
allFields.val( "" ).removeClass( "ui-state-error" );
|
106
|
+
}
|
107
|
+
});
|
108
|
+
|
109
|
+
$( "#create-user" )
|
110
|
+
.button()
|
111
|
+
.click(function() {
|
112
|
+
$( "#dialog-form" ).dialog( "open" );
|
113
|
+
});
|
114
|
+
});
|
115
|
+
</script>
|
116
|
+
</head>
|
117
|
+
<body>
|
118
|
+
|
119
|
+
<div class="demo">
|
120
|
+
|
121
|
+
<div id="dialog-form" title="Create new user">
|
122
|
+
<p class="validateTips">All form fields are required.</p>
|
123
|
+
|
124
|
+
<form>
|
125
|
+
<fieldset>
|
126
|
+
<label for="name">Name</label>
|
127
|
+
<input type="text" name="name" id="name" class="text ui-widget-content ui-corner-all" />
|
128
|
+
<label for="email">Email</label>
|
129
|
+
<input type="text" name="email" id="email" value="" class="text ui-widget-content ui-corner-all" />
|
130
|
+
<label for="password">Password</label>
|
131
|
+
<input type="password" name="password" id="password" value="" class="text ui-widget-content ui-corner-all" />
|
132
|
+
</fieldset>
|
133
|
+
</form>
|
134
|
+
</div>
|
135
|
+
|
136
|
+
|
137
|
+
<div id="users-contain" class="ui-widget">
|
138
|
+
<h1>Existing Users:</h1>
|
139
|
+
<table id="users" class="ui-widget ui-widget-content">
|
140
|
+
<thead>
|
141
|
+
<tr class="ui-widget-header ">
|
142
|
+
<th>Name</th>
|
143
|
+
<th>Email</th>
|
144
|
+
<th>Password</th>
|
145
|
+
</tr>
|
146
|
+
</thead>
|
147
|
+
<tbody>
|
148
|
+
<tr>
|
149
|
+
<td>John Doe</td>
|
150
|
+
<td>john.doe@example.com</td>
|
151
|
+
<td>johndoe1</td>
|
152
|
+
</tr>
|
153
|
+
</tbody>
|
154
|
+
</table>
|
155
|
+
</div>
|
156
|
+
<button id="create-user">Create new user</button>
|
157
|
+
|
158
|
+
</div><!-- End demo -->
|
159
|
+
|
160
|
+
|
161
|
+
|
162
|
+
<div class="demo-description">
|
163
|
+
<p>Use a modal dialog to require that the user enter data during a multi-step process. Embed form markup in the content area, set the <code>modal</code> option to true, and specify primary and secondary user actions with the <code>buttons</code> option.</p>
|
164
|
+
</div><!-- End demo-description -->
|
165
|
+
|
166
|
+
</body>
|
167
|
+
</html>
|
@@ -0,0 +1,71 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="en">
|
3
|
+
<head>
|
4
|
+
<meta charset="utf-8">
|
5
|
+
<title>jQuery UI Dialog - Modal message</title>
|
6
|
+
<link rel="stylesheet" href="../../themes/base/jquery.ui.all.css">
|
7
|
+
<script src="../../jquery-1.7.1.js"></script>
|
8
|
+
<script src="../../external/jquery.bgiframe-2.1.2.js"></script>
|
9
|
+
<script src="../../ui/jquery.ui.core.js"></script>
|
10
|
+
<script src="../../ui/jquery.ui.widget.js"></script>
|
11
|
+
<script src="../../ui/jquery.ui.mouse.js"></script>
|
12
|
+
<script src="../../ui/jquery.ui.button.js"></script>
|
13
|
+
<script src="../../ui/jquery.ui.draggable.js"></script>
|
14
|
+
<script src="../../ui/jquery.ui.position.js"></script>
|
15
|
+
<script src="../../ui/jquery.ui.resizable.js"></script>
|
16
|
+
<script src="../../ui/jquery.ui.dialog.js"></script>
|
17
|
+
<link rel="stylesheet" href="../demos.css">
|
18
|
+
<script>
|
19
|
+
$(function() {
|
20
|
+
// a workaround for a flaw in the demo system (http://dev.jqueryui.com/ticket/4375), ignore!
|
21
|
+
$( "#dialog:ui-dialog" ).dialog( "destroy" );
|
22
|
+
|
23
|
+
$( "#dialog-message" ).dialog({
|
24
|
+
modal: true,
|
25
|
+
buttons: {
|
26
|
+
Ok: function() {
|
27
|
+
$( this ).dialog( "close" );
|
28
|
+
}
|
29
|
+
}
|
30
|
+
});
|
31
|
+
});
|
32
|
+
</script>
|
33
|
+
</head>
|
34
|
+
<body>
|
35
|
+
|
36
|
+
<div class="demo">
|
37
|
+
|
38
|
+
<div id="dialog-message" title="Download complete">
|
39
|
+
<p>
|
40
|
+
<span class="ui-icon ui-icon-circle-check" style="float:left; margin:0 7px 50px 0;"></span>
|
41
|
+
Your files have downloaded successfully into the My Downloads folder.
|
42
|
+
</p>
|
43
|
+
<p>
|
44
|
+
Currently using <b>36% of your storage space</b>.
|
45
|
+
</p>
|
46
|
+
</div>
|
47
|
+
|
48
|
+
<!-- Sample page content to illustrate the layering of the dialog -->
|
49
|
+
<div class="hiddenInViewSource" style="padding:20px;">
|
50
|
+
<p>Sed vel diam id libero <a href="http://example.com">rutrum convallis</a>. Donec aliquet leo vel magna. Phasellus rhoncus faucibus ante. Etiam bibendum, enim faucibus aliquet rhoncus, arcu felis ultricies neque, sit amet auctor elit eros a lectus.</p>
|
51
|
+
<form>
|
52
|
+
<input value="text input" /><br />
|
53
|
+
<input type="checkbox" />checkbox<br />
|
54
|
+
<input type="radio" />radio<br />
|
55
|
+
<select>
|
56
|
+
<option>select</option>
|
57
|
+
</select><br /><br />
|
58
|
+
<textarea>textarea</textarea><br />
|
59
|
+
</form>
|
60
|
+
</div><!-- End sample page content -->
|
61
|
+
|
62
|
+
</div><!-- End demo -->
|
63
|
+
|
64
|
+
|
65
|
+
|
66
|
+
<div class="demo-description">
|
67
|
+
<p>Use a modal dialog to explicitly acknowledge information or an action before continuing their work. Set the <code>modal</code> option to true, and specify a primary action (Ok) with the <code>buttons</code> option.</p>
|
68
|
+
</div><!-- End demo-description -->
|
69
|
+
|
70
|
+
</body>
|
71
|
+
</html>
|