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,51 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="en">
|
3
|
+
<head>
|
4
|
+
<meta charset="utf-8">
|
5
|
+
<title>jQuery UI Draggable - Auto-scroll</title>
|
6
|
+
<link rel="stylesheet" href="../../themes/base/jquery.ui.all.css">
|
7
|
+
<script src="../../jquery-1.7.1.js"></script>
|
8
|
+
<script src="../../ui/jquery.ui.core.js"></script>
|
9
|
+
<script src="../../ui/jquery.ui.widget.js"></script>
|
10
|
+
<script src="../../ui/jquery.ui.mouse.js"></script>
|
11
|
+
<script src="../../ui/jquery.ui.draggable.js"></script>
|
12
|
+
<link rel="stylesheet" href="../demos.css">
|
13
|
+
<style>
|
14
|
+
#draggable, #draggable2, #draggable3 { width: 100px; height: 100px; padding: 0.5em; float: left; margin: 0 10px 10px 0; }
|
15
|
+
</style>
|
16
|
+
<script>
|
17
|
+
$(function() {
|
18
|
+
$( "#draggable" ).draggable({ scroll: true });
|
19
|
+
$( "#draggable2" ).draggable({ scroll: true, scrollSensitivity: 100 });
|
20
|
+
$( "#draggable3" ).draggable({ scroll: true, scrollSpeed: 100 });
|
21
|
+
});
|
22
|
+
</script>
|
23
|
+
</head>
|
24
|
+
<body>
|
25
|
+
|
26
|
+
<div class="demo">
|
27
|
+
|
28
|
+
<div id="draggable" class="ui-widget-content">
|
29
|
+
<p>Scroll set to true, default settings</p>
|
30
|
+
</div>
|
31
|
+
|
32
|
+
<div id="draggable2" class="ui-widget-content">
|
33
|
+
<p>scrollSensitivity set to 100</p>
|
34
|
+
</div>
|
35
|
+
|
36
|
+
<div id="draggable3" class="ui-widget-content">
|
37
|
+
<p>scrollSpeed set to 100</p>
|
38
|
+
</div>
|
39
|
+
|
40
|
+
<div style='height: 5000px; width: 1px;'></div>
|
41
|
+
|
42
|
+
</div><!-- End demo -->
|
43
|
+
|
44
|
+
|
45
|
+
|
46
|
+
<div class="demo-description">
|
47
|
+
<p>Automatically scroll the document when the draggable is moved beyond the viewport. Set the <code>scroll</code> option to true to enable auto-scrolling, and fine-tune when scrolling is triggered and its speed with the <code>scrollSensitivity</code> and <code>scrollSpeed</code> options.</p>
|
48
|
+
</div><!-- End demo-description -->
|
49
|
+
|
50
|
+
</body>
|
51
|
+
</html>
|
@@ -0,0 +1,68 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="en">
|
3
|
+
<head>
|
4
|
+
<meta charset="utf-8">
|
5
|
+
<title>jQuery UI Draggable - Snap to element or grid</title>
|
6
|
+
<link rel="stylesheet" href="../../themes/base/jquery.ui.all.css">
|
7
|
+
<script src="../../jquery-1.7.1.js"></script>
|
8
|
+
<script src="../../ui/jquery.ui.core.js"></script>
|
9
|
+
<script src="../../ui/jquery.ui.widget.js"></script>
|
10
|
+
<script src="../../ui/jquery.ui.mouse.js"></script>
|
11
|
+
<script src="../../ui/jquery.ui.draggable.js"></script>
|
12
|
+
<link rel="stylesheet" href="../demos.css">
|
13
|
+
<style>
|
14
|
+
.draggable { width: 90px; height: 80px; padding: 5px; float: left; margin: 0 10px 10px 0; font-size: .9em; }
|
15
|
+
.ui-widget-header p, .ui-widget-content p { margin: 0; }
|
16
|
+
#snaptarget { height: 140px; }
|
17
|
+
</style>
|
18
|
+
<script>
|
19
|
+
$(function() {
|
20
|
+
$( "#draggable" ).draggable({ snap: true });
|
21
|
+
$( "#draggable2" ).draggable({ snap: ".ui-widget-header" });
|
22
|
+
$( "#draggable3" ).draggable({ snap: ".ui-widget-header", snapMode: "outer" });
|
23
|
+
$( "#draggable4" ).draggable({ grid: [ 20,20 ] });
|
24
|
+
$( "#draggable5" ).draggable({ grid: [ 80, 80 ] });
|
25
|
+
});
|
26
|
+
</script>
|
27
|
+
</head>
|
28
|
+
<body>
|
29
|
+
|
30
|
+
<div class="demo">
|
31
|
+
|
32
|
+
<div id="snaptarget" class="ui-widget-header">
|
33
|
+
<p>I'm a snap target</p>
|
34
|
+
</div>
|
35
|
+
|
36
|
+
<br clear="both" />
|
37
|
+
|
38
|
+
<div id="draggable" class="draggable ui-widget-content">
|
39
|
+
<p>Default (snap: true), snaps to all other draggable elements</p>
|
40
|
+
</div>
|
41
|
+
|
42
|
+
<div id="draggable2" class="draggable ui-widget-content">
|
43
|
+
<p>I only snap to the big box</p>
|
44
|
+
</div>
|
45
|
+
|
46
|
+
<div id="draggable3" class="draggable ui-widget-content">
|
47
|
+
<p>I only snap to the outer edges of the big box</p>
|
48
|
+
</div>
|
49
|
+
|
50
|
+
<div id="draggable4" class="draggable ui-widget-content">
|
51
|
+
<p>I snap to a 20 x 20 grid</p>
|
52
|
+
</div>
|
53
|
+
|
54
|
+
<div id="draggable5" class="draggable ui-widget-content">
|
55
|
+
<p>I snap to a 80 x 80 grid</p>
|
56
|
+
</div>
|
57
|
+
|
58
|
+
</div><!-- End demo -->
|
59
|
+
|
60
|
+
|
61
|
+
|
62
|
+
<div class="demo-description">
|
63
|
+
<p>Snap the draggable to the inner or outer boundaries of a DOM element. Use the <code>snap</code>, <code>snapMode</code> (inner, outer, both), and <code>snapTolerance</code> (distance in pixels the draggable must be from the element when snapping is invoked) options. </p>
|
64
|
+
<p>Or snap the draggable to a grid. Set the dimensions of grid cells (height and width in pixels) with the <code>grid</code> option.</p>
|
65
|
+
</div><!-- End demo-description -->
|
66
|
+
|
67
|
+
</body>
|
68
|
+
</html>
|
@@ -0,0 +1,57 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="en">
|
3
|
+
<head>
|
4
|
+
<meta charset="utf-8">
|
5
|
+
<title>jQuery UI Draggable + Sortable</title>
|
6
|
+
<link rel="stylesheet" href="../../themes/base/jquery.ui.all.css">
|
7
|
+
<script src="../../jquery-1.7.1.js"></script>
|
8
|
+
<script src="../../ui/jquery.ui.core.js"></script>
|
9
|
+
<script src="../../ui/jquery.ui.widget.js"></script>
|
10
|
+
<script src="../../ui/jquery.ui.mouse.js"></script>
|
11
|
+
<script src="../../ui/jquery.ui.draggable.js"></script>
|
12
|
+
<script src="../../ui/jquery.ui.sortable.js"></script>
|
13
|
+
<link rel="stylesheet" href="../demos.css">
|
14
|
+
<style>
|
15
|
+
.demo ul { list-style-type: none; margin: 0; padding: 0; margin-bottom: 10px; }
|
16
|
+
.demo li { margin: 5px; padding: 5px; width: 150px; }
|
17
|
+
</style>
|
18
|
+
<script>
|
19
|
+
$(function() {
|
20
|
+
$( "#sortable" ).sortable({
|
21
|
+
revert: true
|
22
|
+
});
|
23
|
+
$( "#draggable" ).draggable({
|
24
|
+
connectToSortable: "#sortable",
|
25
|
+
helper: "clone",
|
26
|
+
revert: "invalid"
|
27
|
+
});
|
28
|
+
$( "ul, li" ).disableSelection();
|
29
|
+
});
|
30
|
+
</script>
|
31
|
+
</head>
|
32
|
+
<body>
|
33
|
+
|
34
|
+
<div class="demo">
|
35
|
+
|
36
|
+
<ul>
|
37
|
+
<li id="draggable" class="ui-state-highlight">Drag me down</li>
|
38
|
+
</ul>
|
39
|
+
|
40
|
+
<ul id="sortable">
|
41
|
+
<li class="ui-state-default">Item 1</li>
|
42
|
+
<li class="ui-state-default">Item 2</li>
|
43
|
+
<li class="ui-state-default">Item 3</li>
|
44
|
+
<li class="ui-state-default">Item 4</li>
|
45
|
+
<li class="ui-state-default">Item 5</li>
|
46
|
+
</ul>
|
47
|
+
|
48
|
+
</div><!-- End demo -->
|
49
|
+
|
50
|
+
|
51
|
+
|
52
|
+
<div class="demo-description">
|
53
|
+
<p>Draggables are built to interact seamlessly with <a href="#">sortables</a>.</p>
|
54
|
+
</div><!-- End demo-description -->
|
55
|
+
|
56
|
+
</body>
|
57
|
+
</html>
|
@@ -0,0 +1,77 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="en">
|
3
|
+
<head>
|
4
|
+
<meta charset="utf-8">
|
5
|
+
<title>jQuery UI Draggable - Visual feedback</title>
|
6
|
+
<link rel="stylesheet" href="../../themes/base/jquery.ui.all.css">
|
7
|
+
<script src="../../jquery-1.7.1.js"></script>
|
8
|
+
<script src="../../ui/jquery.ui.core.js"></script>
|
9
|
+
<script src="../../ui/jquery.ui.widget.js"></script>
|
10
|
+
<script src="../../ui/jquery.ui.mouse.js"></script>
|
11
|
+
<script src="../../ui/jquery.ui.draggable.js"></script>
|
12
|
+
<link rel="stylesheet" href="../demos.css">
|
13
|
+
<style>
|
14
|
+
#draggable, #draggable2, #draggable3, #set div { width: 90px; height: 90px; padding: 0.5em; float: left; margin: 0 10px 10px 0; }
|
15
|
+
#draggable, #draggable2, #draggable3 { margin-bottom:20px; }
|
16
|
+
#set { clear:both; float:left; width: 368px; height: 120px; }
|
17
|
+
p { clear:both; margin:0; padding:1em 0; }
|
18
|
+
</style>
|
19
|
+
<script>
|
20
|
+
$(function() {
|
21
|
+
$( "#draggable" ).draggable({ helper: "original" });
|
22
|
+
$( "#draggable2" ).draggable({ opacity: 0.7, helper: "clone" });
|
23
|
+
$( "#draggable3" ).draggable({
|
24
|
+
cursor: "move",
|
25
|
+
cursorAt: { top: -12, left: -20 },
|
26
|
+
helper: function( event ) {
|
27
|
+
return $( "<div class='ui-widget-header'>I'm a custom helper</div>" );
|
28
|
+
}
|
29
|
+
});
|
30
|
+
$( "#set div" ).draggable({ stack: "#set div" });
|
31
|
+
});
|
32
|
+
</script>
|
33
|
+
</head>
|
34
|
+
<body>
|
35
|
+
|
36
|
+
<div class="demo">
|
37
|
+
|
38
|
+
<h3 class="docs">With helpers:</h3>
|
39
|
+
|
40
|
+
<div id="draggable" class="ui-widget-content">
|
41
|
+
<p>Original</p>
|
42
|
+
</div>
|
43
|
+
|
44
|
+
<div id="draggable2" class="ui-widget-content">
|
45
|
+
<p>Semi-transparent clone</p>
|
46
|
+
</div>
|
47
|
+
|
48
|
+
<div id="draggable3" class="ui-widget-content">
|
49
|
+
<p>Custom helper (in combination with cursorAt)</p>
|
50
|
+
</div>
|
51
|
+
|
52
|
+
<h3 class="docs">Stacked:</h3>
|
53
|
+
<div id="set">
|
54
|
+
<div class="ui-widget-content">
|
55
|
+
<p>We are draggables..</p>
|
56
|
+
</div>
|
57
|
+
|
58
|
+
<div class="ui-widget-content">
|
59
|
+
<p>..whose z-indexes are controlled automatically..</p>
|
60
|
+
</div>
|
61
|
+
|
62
|
+
<div class="ui-widget-content">
|
63
|
+
<p>..with the stack option.</p>
|
64
|
+
</div>
|
65
|
+
</div>
|
66
|
+
|
67
|
+
</div><!-- End demo -->
|
68
|
+
|
69
|
+
|
70
|
+
|
71
|
+
<div class="demo-description">
|
72
|
+
<p>Provide feedback to users as they drag an object in the form of a helper. The <code>helper</code> option accepts the values 'original' (the draggable object moves with the cursor), 'clone' (a duplicate of the draggable moves with the cursor), or a function that returns a DOM element (that element is shown near the cursor during drag). Control the helper's transparency with the <code>opacity</code> option.</p>
|
73
|
+
<p>To clarify which draggable is in play, bring the draggable in motion to front. Use the <code>zIndex</code> option to set a higher z-index for the helper, if in play, or use the <code>stack</code> option to ensure that the last item dragged will appear on top of others in the same group on drag stop.</p>
|
74
|
+
</div><!-- End demo-description -->
|
75
|
+
|
76
|
+
</body>
|
77
|
+
</html>
|
@@ -0,0 +1,60 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="en">
|
3
|
+
<head>
|
4
|
+
<meta charset="utf-8">
|
5
|
+
<title>jQuery UI Droppable - Accept</title>
|
6
|
+
<link rel="stylesheet" href="../../themes/base/jquery.ui.all.css">
|
7
|
+
<script src="../../jquery-1.7.1.js"></script>
|
8
|
+
<script src="../../ui/jquery.ui.core.js"></script>
|
9
|
+
<script src="../../ui/jquery.ui.widget.js"></script>
|
10
|
+
<script src="../../ui/jquery.ui.mouse.js"></script>
|
11
|
+
<script src="../../ui/jquery.ui.draggable.js"></script>
|
12
|
+
<script src="../../ui/jquery.ui.droppable.js"></script>
|
13
|
+
<link rel="stylesheet" href="../demos.css">
|
14
|
+
<style>
|
15
|
+
#droppable { width: 150px; height: 150px; padding: 0.5em; float: left; margin: 10px; }
|
16
|
+
#draggable, #draggable-nonvalid { width: 100px; height: 100px; padding: 0.5em; float: left; margin: 10px 10px 10px 0; }
|
17
|
+
</style>
|
18
|
+
<script>
|
19
|
+
$(function() {
|
20
|
+
$( "#draggable, #draggable-nonvalid" ).draggable();
|
21
|
+
$( "#droppable" ).droppable({
|
22
|
+
accept: "#draggable",
|
23
|
+
activeClass: "ui-state-hover",
|
24
|
+
hoverClass: "ui-state-active",
|
25
|
+
drop: function( event, ui ) {
|
26
|
+
$( this )
|
27
|
+
.addClass( "ui-state-highlight" )
|
28
|
+
.find( "p" )
|
29
|
+
.html( "Dropped!" );
|
30
|
+
}
|
31
|
+
});
|
32
|
+
});
|
33
|
+
</script>
|
34
|
+
</head>
|
35
|
+
<body>
|
36
|
+
|
37
|
+
<div class="demo">
|
38
|
+
|
39
|
+
<div id="draggable-nonvalid" class="ui-widget-content">
|
40
|
+
<p>I'm draggable but can't be dropped</p>
|
41
|
+
</div>
|
42
|
+
|
43
|
+
<div id="draggable" class="ui-widget-content">
|
44
|
+
<p>Drag me to my target</p>
|
45
|
+
</div>
|
46
|
+
|
47
|
+
<div id="droppable" class="ui-widget-header">
|
48
|
+
<p>accept: '#draggable'</p>
|
49
|
+
</div>
|
50
|
+
|
51
|
+
</div><!-- End demo -->
|
52
|
+
|
53
|
+
|
54
|
+
|
55
|
+
<div class="demo-description">
|
56
|
+
<p>Specify using the <code>accept</code> option which element (or group of elements) is accepted by the target droppable.</p>
|
57
|
+
</div><!-- End demo-description -->
|
58
|
+
|
59
|
+
</body>
|
60
|
+
</html>
|
@@ -0,0 +1,53 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="en">
|
3
|
+
<head>
|
4
|
+
<meta charset="utf-8">
|
5
|
+
<title>jQuery UI Droppable - 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="../../ui/jquery.ui.core.js"></script>
|
9
|
+
<script src="../../ui/jquery.ui.widget.js"></script>
|
10
|
+
<script src="../../ui/jquery.ui.mouse.js"></script>
|
11
|
+
<script src="../../ui/jquery.ui.draggable.js"></script>
|
12
|
+
<script src="../../ui/jquery.ui.droppable.js"></script>
|
13
|
+
<link rel="stylesheet" href="../demos.css">
|
14
|
+
<style>
|
15
|
+
#draggable { width: 100px; height: 100px; padding: 0.5em; float: left; margin: 10px 10px 10px 0; }
|
16
|
+
#droppable { width: 150px; height: 150px; padding: 0.5em; float: left; margin: 10px; }
|
17
|
+
</style>
|
18
|
+
<script>
|
19
|
+
$(function() {
|
20
|
+
$( "#draggable" ).draggable();
|
21
|
+
$( "#droppable" ).droppable({
|
22
|
+
drop: function( event, ui ) {
|
23
|
+
$( this )
|
24
|
+
.addClass( "ui-state-highlight" )
|
25
|
+
.find( "p" )
|
26
|
+
.html( "Dropped!" );
|
27
|
+
}
|
28
|
+
});
|
29
|
+
});
|
30
|
+
</script>
|
31
|
+
</head>
|
32
|
+
<body>
|
33
|
+
|
34
|
+
<div class="demo">
|
35
|
+
|
36
|
+
<div id="draggable" class="ui-widget-content">
|
37
|
+
<p>Drag me to my target</p>
|
38
|
+
</div>
|
39
|
+
|
40
|
+
<div id="droppable" class="ui-widget-header">
|
41
|
+
<p>Drop here</p>
|
42
|
+
</div>
|
43
|
+
|
44
|
+
</div><!-- End demo -->
|
45
|
+
|
46
|
+
|
47
|
+
|
48
|
+
<div class="demo-description">
|
49
|
+
<p>Enable any DOM element to be droppable, a target for draggable elements.</p>
|
50
|
+
</div><!-- End demo-description -->
|
51
|
+
|
52
|
+
</body>
|
53
|
+
</html>
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1,24 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="en">
|
3
|
+
<head>
|
4
|
+
<meta charset="utf-8">
|
5
|
+
<title>jQuery UI Droppable 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="accepted-elements.html">Accepted elements</a></li>
|
15
|
+
<li><a href="propagation.html">Prevent propagation</a></li>
|
16
|
+
<li><a href="visual-feedback.html">Visual feedback</a></li>
|
17
|
+
<li><a href="revert.html">Revert draggable position</a></li>
|
18
|
+
<li><a href="shopping-cart.html">Shopping Cart</a></li>
|
19
|
+
<li><a href="photo-manager.html">Simple photo manager</a></li>
|
20
|
+
</ul>
|
21
|
+
</div>
|
22
|
+
|
23
|
+
</body>
|
24
|
+
</html>
|
@@ -0,0 +1,184 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="en">
|
3
|
+
<head>
|
4
|
+
<meta charset="utf-8">
|
5
|
+
<title>jQuery UI Droppable - Simple photo manager</title>
|
6
|
+
<link rel="stylesheet" href="../../themes/base/jquery.ui.all.css">
|
7
|
+
<script src="../../jquery-1.7.1.js"></script>
|
8
|
+
<script src="../../ui/jquery.ui.position.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.droppable.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
|
+
<style>
|
18
|
+
#gallery { float: left; width: 65%; min-height: 12em; } * html #gallery { height: 12em; } /* IE6 */
|
19
|
+
.gallery.custom-state-active { background: #eee; }
|
20
|
+
.gallery li { float: left; width: 96px; padding: 0.4em; margin: 0 0.4em 0.4em 0; text-align: center; }
|
21
|
+
.gallery li h5 { margin: 0 0 0.4em; cursor: move; }
|
22
|
+
.gallery li a { float: right; }
|
23
|
+
.gallery li a.ui-icon-zoomin { float: left; }
|
24
|
+
.gallery li img { width: 100%; cursor: move; }
|
25
|
+
|
26
|
+
#trash { float: right; width: 32%; min-height: 18em; padding: 1%;} * html #trash { height: 18em; } /* IE6 */
|
27
|
+
#trash h4 { line-height: 16px; margin: 0 0 0.4em; }
|
28
|
+
#trash h4 .ui-icon { float: left; }
|
29
|
+
#trash .gallery h5 { display: none; }
|
30
|
+
</style>
|
31
|
+
<script>
|
32
|
+
$(function() {
|
33
|
+
// there's the gallery and the trash
|
34
|
+
var $gallery = $( "#gallery" ),
|
35
|
+
$trash = $( "#trash" );
|
36
|
+
|
37
|
+
// let the gallery items be draggable
|
38
|
+
$( "li", $gallery ).draggable({
|
39
|
+
cancel: "a.ui-icon", // clicking an icon won't initiate dragging
|
40
|
+
revert: "invalid", // when not dropped, the item will revert back to its initial position
|
41
|
+
containment: $( "#demo-frame" ).length ? "#demo-frame" : "document", // stick to demo-frame if present
|
42
|
+
helper: "clone",
|
43
|
+
cursor: "move"
|
44
|
+
});
|
45
|
+
|
46
|
+
// let the trash be droppable, accepting the gallery items
|
47
|
+
$trash.droppable({
|
48
|
+
accept: "#gallery > li",
|
49
|
+
activeClass: "ui-state-highlight",
|
50
|
+
drop: function( event, ui ) {
|
51
|
+
deleteImage( ui.draggable );
|
52
|
+
}
|
53
|
+
});
|
54
|
+
|
55
|
+
// let the gallery be droppable as well, accepting items from the trash
|
56
|
+
$gallery.droppable({
|
57
|
+
accept: "#trash li",
|
58
|
+
activeClass: "custom-state-active",
|
59
|
+
drop: function( event, ui ) {
|
60
|
+
recycleImage( ui.draggable );
|
61
|
+
}
|
62
|
+
});
|
63
|
+
|
64
|
+
// image deletion function
|
65
|
+
var recycle_icon = "<a href='link/to/recycle/script/when/we/have/js/off' title='Recycle this image' class='ui-icon ui-icon-refresh'>Recycle image</a>";
|
66
|
+
function deleteImage( $item ) {
|
67
|
+
$item.fadeOut(function() {
|
68
|
+
var $list = $( "ul", $trash ).length ?
|
69
|
+
$( "ul", $trash ) :
|
70
|
+
$( "<ul class='gallery ui-helper-reset'/>" ).appendTo( $trash );
|
71
|
+
|
72
|
+
$item.find( "a.ui-icon-trash" ).remove();
|
73
|
+
$item.append( recycle_icon ).appendTo( $list ).fadeIn(function() {
|
74
|
+
$item
|
75
|
+
.animate({ width: "48px" })
|
76
|
+
.find( "img" )
|
77
|
+
.animate({ height: "36px" });
|
78
|
+
});
|
79
|
+
});
|
80
|
+
}
|
81
|
+
|
82
|
+
// image recycle function
|
83
|
+
var trash_icon = "<a href='link/to/trash/script/when/we/have/js/off' title='Delete this image' class='ui-icon ui-icon-trash'>Delete image</a>";
|
84
|
+
function recycleImage( $item ) {
|
85
|
+
$item.fadeOut(function() {
|
86
|
+
$item
|
87
|
+
.find( "a.ui-icon-refresh" )
|
88
|
+
.remove()
|
89
|
+
.end()
|
90
|
+
.css( "width", "96px")
|
91
|
+
.append( trash_icon )
|
92
|
+
.find( "img" )
|
93
|
+
.css( "height", "72px" )
|
94
|
+
.end()
|
95
|
+
.appendTo( $gallery )
|
96
|
+
.fadeIn();
|
97
|
+
});
|
98
|
+
}
|
99
|
+
|
100
|
+
// image preview function, demonstrating the ui.dialog used as a modal window
|
101
|
+
function viewLargerImage( $link ) {
|
102
|
+
var src = $link.attr( "href" ),
|
103
|
+
title = $link.siblings( "img" ).attr( "alt" ),
|
104
|
+
$modal = $( "img[src$='" + src + "']" );
|
105
|
+
|
106
|
+
if ( $modal.length ) {
|
107
|
+
$modal.dialog( "open" );
|
108
|
+
} else {
|
109
|
+
var img = $( "<img alt='" + title + "' width='384' height='288' style='display: none; padding: 8px;' />" )
|
110
|
+
.attr( "src", src ).appendTo( "body" );
|
111
|
+
setTimeout(function() {
|
112
|
+
img.dialog({
|
113
|
+
title: title,
|
114
|
+
width: 400,
|
115
|
+
modal: true
|
116
|
+
});
|
117
|
+
}, 1 );
|
118
|
+
}
|
119
|
+
}
|
120
|
+
|
121
|
+
// resolve the icons behavior with event delegation
|
122
|
+
$( "ul.gallery > li" ).click(function( event ) {
|
123
|
+
var $item = $( this ),
|
124
|
+
$target = $( event.target );
|
125
|
+
|
126
|
+
if ( $target.is( "a.ui-icon-trash" ) ) {
|
127
|
+
deleteImage( $item );
|
128
|
+
} else if ( $target.is( "a.ui-icon-zoomin" ) ) {
|
129
|
+
viewLargerImage( $target );
|
130
|
+
} else if ( $target.is( "a.ui-icon-refresh" ) ) {
|
131
|
+
recycleImage( $item );
|
132
|
+
}
|
133
|
+
|
134
|
+
return false;
|
135
|
+
});
|
136
|
+
});
|
137
|
+
</script>
|
138
|
+
</head>
|
139
|
+
<body>
|
140
|
+
|
141
|
+
<div class="demo ui-widget ui-helper-clearfix">
|
142
|
+
|
143
|
+
<ul id="gallery" class="gallery ui-helper-reset ui-helper-clearfix">
|
144
|
+
<li class="ui-widget-content ui-corner-tr">
|
145
|
+
<h5 class="ui-widget-header">High Tatras</h5>
|
146
|
+
<img src="images/high_tatras_min.jpg" alt="The peaks of High Tatras" width="96" height="72" />
|
147
|
+
<a href="images/high_tatras.jpg" title="View larger image" class="ui-icon ui-icon-zoomin">View larger</a>
|
148
|
+
<a href="link/to/trash/script/when/we/have/js/off" title="Delete this image" class="ui-icon ui-icon-trash">Delete image</a>
|
149
|
+
</li>
|
150
|
+
<li class="ui-widget-content ui-corner-tr">
|
151
|
+
<h5 class="ui-widget-header">High Tatras 2</h5>
|
152
|
+
<img src="images/high_tatras2_min.jpg" alt="The chalet at the Green mountain lake" width="96" height="72" />
|
153
|
+
<a href="images/high_tatras2.jpg" title="View larger image" class="ui-icon ui-icon-zoomin">View larger</a>
|
154
|
+
<a href="link/to/trash/script/when/we/have/js/off" title="Delete this image" class="ui-icon ui-icon-trash">Delete image</a>
|
155
|
+
</li>
|
156
|
+
<li class="ui-widget-content ui-corner-tr">
|
157
|
+
<h5 class="ui-widget-header">High Tatras 3</h5>
|
158
|
+
<img src="images/high_tatras3_min.jpg" alt="Planning the ascent" width="96" height="72" />
|
159
|
+
<a href="images/high_tatras3.jpg" title="View larger image" class="ui-icon ui-icon-zoomin">View larger</a>
|
160
|
+
<a href="link/to/trash/script/when/we/have/js/off" title="Delete this image" class="ui-icon ui-icon-trash">Delete image</a>
|
161
|
+
</li>
|
162
|
+
<li class="ui-widget-content ui-corner-tr">
|
163
|
+
<h5 class="ui-widget-header">High Tatras 4</h5>
|
164
|
+
<img src="images/high_tatras4_min.jpg" alt="On top of Kozi kopka" width="96" height="72" />
|
165
|
+
<a href="images/high_tatras4.jpg" title="View larger image" class="ui-icon ui-icon-zoomin">View larger</a>
|
166
|
+
<a href="link/to/trash/script/when/we/have/js/off" title="Delete this image" class="ui-icon ui-icon-trash">Delete image</a>
|
167
|
+
</li>
|
168
|
+
</ul>
|
169
|
+
|
170
|
+
<div id="trash" class="ui-widget-content ui-state-default">
|
171
|
+
<h4 class="ui-widget-header"><span class="ui-icon ui-icon-trash">Trash</span> Trash</h4>
|
172
|
+
</div>
|
173
|
+
|
174
|
+
</div><!-- End demo -->
|
175
|
+
|
176
|
+
|
177
|
+
<div class="demo-description">
|
178
|
+
<p>You can delete an image either by dragging it to the Trash or by clicking the trash icon.</p>
|
179
|
+
<p>You can "recycle" an image by dragging it back to the gallery or by clicking the recycle icon.</p>
|
180
|
+
<p>You can view larger image by clicking the zoom icon. jQuery UI dialog widget is used for the modal window.</p>
|
181
|
+
</div><!-- End demo-description -->
|
182
|
+
|
183
|
+
</body>
|
184
|
+
</html>
|