From b8cd70cbe9a0e0eac65351ed6961c36f2b65397b Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Tue, 7 Feb 2017 18:06:12 +0000 Subject: Initial commit --- .gitignore | 15 + __init__.py | 0 fixtures/default_pages.json | 26 + fixtures/initial_data.json | 853 ++++++++ fixtures/saclay_categories.json | 82 + fixtures/saclay_propertymodels.json | 131 ++ forms.py | 61 + import_filters/guyancourt.xslt | 18 + import_filters/magny-les-hameaux.xslt | 21 + import_filters/orsay.json | 1 + import_filters/villiers-le-bacle-detail.xslt | 19 + import_filters/villiers-le-bacle.xslt | 17 + local_settings.py.sample | 33 + locale/fr/LC_MESSAGES/django.po | 393 ++++ manage.py | 15 + mobile_settings.py | 11 + settings.py | 360 ++++ site_static/Carte-ouverte_Saclay-presentation.pdf | Bin 0 -> 634998 bytes site_static/css/home.css | 71 + site_static/img/dorian_off.png | Bin 0 -> 3393 bytes site_static/img/dorian_on.png | Bin 0 -> 3620 bytes site_static/img/footer.png | Bin 0 -> 553 bytes site_static/img/header.png | Bin 0 -> 48911 bytes site_static/img/lea_off.png | Bin 0 -> 3376 bytes site_static/img/lea_on.png | Bin 0 -> 3556 bytes site_static/img/logo.png | Bin 0 -> 18442 bytes site_static/img/ok.png | Bin 0 -> 257 bytes site_static/img/popup.png | Bin 0 -> 1698 bytes site_static/img/sabine_off.png | Bin 0 -> 2094 bytes site_static/img/sabine_on.png | Bin 0 -> 2280 bytes site_static/img/savoir_off.png | Bin 0 -> 3060 bytes site_static/img/savoir_on.png | Bin 0 -> 3063 bytes site_static/img/telecharger_off.png | Bin 0 -> 3162 bytes site_static/img/telecharger_on.png | Bin 0 -> 3229 bytes site_static/index.php | 77 + site_static/lib/.htaccess | 1 + site_static/lib/db.php.sample | 19 + site_static/lib/functions.php | 45 + static/jquery-ui/base/images/animated-overlay.gif | Bin 0 -> 1738 bytes .../base/images/ui-bg_flat_0_aaaaaa_40x100.png | Bin 0 -> 180 bytes .../base/images/ui-bg_flat_75_ffffff_40x100.png | Bin 0 -> 178 bytes .../base/images/ui-bg_glass_55_fbf9ee_1x400.png | Bin 0 -> 120 bytes .../base/images/ui-bg_glass_65_ffffff_1x400.png | Bin 0 -> 105 bytes .../base/images/ui-bg_glass_75_dadada_1x400.png | Bin 0 -> 111 bytes .../base/images/ui-bg_glass_75_e6e6e6_1x400.png | Bin 0 -> 110 bytes .../base/images/ui-bg_glass_95_fef1ec_1x400.png | Bin 0 -> 119 bytes .../ui-bg_highlight-soft_75_cccccc_1x100.png | Bin 0 -> 101 bytes .../base/images/ui-icons_222222_256x240.png | Bin 0 -> 4369 bytes .../base/images/ui-icons_2e83ff_256x240.png | Bin 0 -> 4369 bytes .../base/images/ui-icons_454545_256x240.png | Bin 0 -> 4369 bytes .../base/images/ui-icons_888888_256x240.png | Bin 0 -> 4369 bytes .../base/images/ui-icons_cd0a0a_256x240.png | Bin 0 -> 4369 bytes static/jquery-ui/base/jquery-ui.css | 1174 +++++++++++ static/jquery-ui/base/jquery.ui.accordion.css | 38 + static/jquery-ui/base/jquery.ui.all.css | 12 + static/jquery-ui/base/jquery.ui.autocomplete.css | 16 + static/jquery-ui/base/jquery.ui.base.css | 25 + static/jquery-ui/base/jquery.ui.button.css | 114 ++ static/jquery-ui/base/jquery.ui.core.css | 93 + static/jquery-ui/base/jquery.ui.datepicker.css | 178 ++ static/jquery-ui/base/jquery.ui.dialog.css | 69 + static/jquery-ui/base/jquery.ui.menu.css | 77 + static/jquery-ui/base/jquery.ui.progressbar.css | 28 + static/jquery-ui/base/jquery.ui.resizable.css | 78 + static/jquery-ui/base/jquery.ui.selectable.css | 15 + static/jquery-ui/base/jquery.ui.slider.css | 73 + static/jquery-ui/base/jquery.ui.spinner.css | 65 + static/jquery-ui/base/jquery.ui.tabs.css | 52 + static/jquery-ui/base/jquery.ui.theme.css | 406 ++++ static/jquery-ui/base/jquery.ui.tooltip.css | 19 + static/jquery-ui/copyright | 230 +++ static/jquery-ui/jquery-ui.min.js | 16 + .../smoothness/images/animated-overlay.gif | Bin 0 -> 1738 bytes .../images/ui-bg_flat_0_aaaaaa_40x100.png | Bin 0 -> 264 bytes .../images/ui-bg_flat_75_ffffff_40x100.png | Bin 0 -> 260 bytes .../images/ui-bg_glass_55_fbf9ee_1x400.png | Bin 0 -> 387 bytes .../images/ui-bg_glass_65_ffffff_1x400.png | Bin 0 -> 259 bytes .../images/ui-bg_glass_75_dadada_1x400.png | Bin 0 -> 314 bytes .../images/ui-bg_glass_75_e6e6e6_1x400.png | Bin 0 -> 314 bytes .../images/ui-bg_glass_95_fef1ec_1x400.png | Bin 0 -> 384 bytes .../ui-bg_highlight-soft_75_cccccc_1x100.png | Bin 0 -> 332 bytes .../smoothness/images/ui-icons_222222_256x240.png | Bin 0 -> 6781 bytes .../smoothness/images/ui-icons_2e83ff_256x240.png | Bin 0 -> 4353 bytes .../smoothness/images/ui-icons_454545_256x240.png | Bin 0 -> 6854 bytes .../smoothness/images/ui-icons_888888_256x240.png | Bin 0 -> 6897 bytes .../smoothness/images/ui-icons_cd0a0a_256x240.png | Bin 0 -> 4353 bytes .../smoothness/jquery-ui-1.10.1.custom.css | 1175 +++++++++++ .../smoothness/jquery-ui-1.10.1.custom.min.css | 5 + static/jquery-ui/smoothness/jquery-ui.css | 1 + static/jquery-ui/smoothness/jquery-ui.min.css | 1 + static/jquery/copyright | 84 + static/jquery/jquery.min.js | 4 + static/saclay/css/mobile.css | 37 + static/saclay/css/print.css | 20 + static/saclay/css/saclay.css | 635 ++++++ static/saclay/css/styles.css | 2159 ++++++++++++++++++++ static/saclay/images/background-small.png | Bin 0 -> 334 bytes static/saclay/images/background-top.png | Bin 0 -> 188 bytes static/saclay/images/background.png | Bin 0 -> 789 bytes static/saclay/images/bottom-arrow.png | Bin 0 -> 251 bytes static/saclay/images/button-cat-off.png | Bin 0 -> 1381 bytes static/saclay/images/button-cat-on.png | Bin 0 -> 1271 bytes static/saclay/images/button-cat-three-off.png | Bin 0 -> 4039 bytes static/saclay/images/button-cat-three-on.png | Bin 0 -> 3957 bytes static/saclay/images/button-event-off.png | Bin 0 -> 1000 bytes static/saclay/images/button-event-on.png | Bin 0 -> 907 bytes static/saclay/images/button-location-off.png | Bin 0 -> 581 bytes static/saclay/images/button-location-on.png | Bin 0 -> 478 bytes static/saclay/images/button-map-off.png | Bin 0 -> 434 bytes static/saclay/images/button-map-on.png | Bin 0 -> 435 bytes static/saclay/images/button-news-off.png | Bin 0 -> 525 bytes static/saclay/images/button-news-on.png | Bin 0 -> 548 bytes static/saclay/images/button-participate-off.png | Bin 0 -> 561 bytes static/saclay/images/button-participate-on.png | Bin 0 -> 561 bytes static/saclay/images/button-project-off.png | Bin 0 -> 418 bytes static/saclay/images/button-project-on.png | Bin 0 -> 417 bytes static/saclay/images/button-route-off.png | Bin 0 -> 924 bytes static/saclay/images/button-route-on.png | Bin 0 -> 834 bytes static/saclay/images/button-route-three-off.png | Bin 0 -> 3604 bytes static/saclay/images/button-route-three-on.png | Bin 0 -> 3499 bytes static/saclay/images/button-search-off.png | Bin 0 -> 3736 bytes static/saclay/images/button-search-on.png | Bin 0 -> 3556 bytes static/saclay/images/button-wander-off.png | Bin 0 -> 922 bytes static/saclay/images/button-wander-on.png | Bin 0 -> 744 bytes static/saclay/images/buttons/add.png | Bin 0 -> 1280 bytes static/saclay/images/buttons/add_event.png | Bin 0 -> 703 bytes static/saclay/images/buttons/add_location.png | Bin 0 -> 551 bytes static/saclay/images/buttons/add_wander.png | Bin 0 -> 647 bytes static/saclay/images/buttons/bicycle.png | Bin 0 -> 1194 bytes static/saclay/images/buttons/bicycle_on.png | Bin 0 -> 1288 bytes static/saclay/images/buttons/button-help-off.png | Bin 0 -> 1081 bytes static/saclay/images/buttons/button-help-on.png | Bin 0 -> 1081 bytes static/saclay/images/buttons/button-print-off.png | Bin 0 -> 1161 bytes static/saclay/images/buttons/button-print-on.png | Bin 0 -> 1161 bytes static/saclay/images/buttons/button-send-off.png | Bin 0 -> 1404 bytes static/saclay/images/buttons/button-send-on.png | Bin 0 -> 1404 bytes static/saclay/images/buttons/button-share-off.png | Bin 0 -> 1377 bytes static/saclay/images/buttons/button-share-on.png | Bin 0 -> 1377 bytes static/saclay/images/buttons/calendar.png | Bin 0 -> 148 bytes static/saclay/images/buttons/download.png | Bin 0 -> 1724 bytes .../saclay/images/buttons/extra_criteria-open.png | Bin 0 -> 574 bytes static/saclay/images/buttons/extra_criteria.png | Bin 0 -> 582 bytes static/saclay/images/buttons/finish.png | Bin 0 -> 424 bytes static/saclay/images/buttons/form_finish.png | Bin 0 -> 449 bytes static/saclay/images/buttons/form_start.png | Bin 0 -> 431 bytes static/saclay/images/buttons/form_step.png | Bin 0 -> 379 bytes static/saclay/images/buttons/modify.png | Bin 0 -> 1426 bytes static/saclay/images/buttons/new_search.png | Bin 0 -> 2396 bytes static/saclay/images/buttons/search.png | Bin 0 -> 1313 bytes static/saclay/images/buttons/start.png | Bin 0 -> 415 bytes static/saclay/images/buttons/validate.png | Bin 0 -> 1047 bytes static/saclay/images/buttons/walk.png | Bin 0 -> 1240 bytes static/saclay/images/buttons/walk_on.png | Bin 0 -> 1293 bytes static/saclay/images/categories/cat_agri.png | Bin 0 -> 622 bytes static/saclay/images/categories/cat_agri_on.png | Bin 0 -> 568 bytes static/saclay/images/categories/cat_balade.png | Bin 0 -> 479 bytes static/saclay/images/categories/cat_balade_on.png | Bin 0 -> 439 bytes static/saclay/images/categories/cat_culture.png | Bin 0 -> 490 bytes static/saclay/images/categories/cat_culture_on.png | Bin 0 -> 439 bytes static/saclay/images/categories/cat_event.png | Bin 0 -> 575 bytes static/saclay/images/categories/cat_event_on.png | Bin 0 -> 506 bytes static/saclay/images/categories/cat_mobilites.png | Bin 0 -> 520 bytes .../saclay/images/categories/cat_mobilites_on.png | Bin 0 -> 451 bytes static/saclay/images/categories/cat_patrimoine.png | Bin 0 -> 574 bytes .../saclay/images/categories/cat_patrimoine_on.png | Bin 0 -> 478 bytes static/saclay/images/categories/cat_pratique.png | Bin 0 -> 820 bytes .../saclay/images/categories/cat_pratique_on.png | Bin 0 -> 750 bytes static/saclay/images/categories/cat_sport.png | Bin 0 -> 680 bytes static/saclay/images/categories/cat_sport_on.png | Bin 0 -> 617 bytes static/saclay/images/check-active.png | Bin 0 -> 219 bytes static/saclay/images/check-small.png | Bin 0 -> 297 bytes static/saclay/images/check.png | Bin 0 -> 248 bytes static/saclay/images/close.png | Bin 0 -> 282 bytes static/saclay/images/cloud-popup-saclay.png | Bin 0 -> 5560 bytes static/saclay/images/cloud-popup-saclay.xcf | Bin 0 -> 36183 bytes static/saclay/images/cluster_icon.png | Bin 0 -> 1289 bytes static/saclay/images/cluster_icon_hover.png | Bin 0 -> 2087 bytes static/saclay/images/default_icon.png | Bin 0 -> 1432 bytes static/saclay/images/display_option.png | Bin 0 -> 388 bytes static/saclay/images/display_option_open.png | Bin 0 -> 360 bytes static/saclay/images/email.png | Bin 0 -> 283 bytes static/saclay/images/favicon.png | Bin 0 -> 733 bytes static/saclay/images/handler-hide.png | Bin 0 -> 1110 bytes static/saclay/images/handler-show.png | Bin 0 -> 1111 bytes static/saclay/images/logo.jpg | Bin 0 -> 11791 bytes static/saclay/images/logo.png | Bin 0 -> 30354 bytes static/saclay/images/logo_mobile.png | Bin 0 -> 9066 bytes static/saclay/images/logos/CapEEDD_Graine_CMJN.jpg | Bin 0 -> 29297 bytes .../logos/Logo_Conseil_general_de_l'Essonne.svg | 132 ++ static/saclay/images/logos/logo.xcf | Bin 0 -> 65978 bytes .../saclay/images/logos/region-ile-de-france.svg | 89 + static/saclay/images/logos/terre-et-cite.svg | 95 + static/saclay/images/map_sprite.png | Bin 0 -> 3542 bytes static/saclay/images/menu/icon_add.png | Bin 0 -> 578 bytes static/saclay/images/menu/icon_center.png | Bin 0 -> 167 bytes static/saclay/images/menu/icon_from.png | Bin 0 -> 177 bytes static/saclay/images/menu/icon_minus.png | Bin 0 -> 158 bytes static/saclay/images/menu/icon_plus.png | Bin 0 -> 163 bytes static/saclay/images/menu/icon_to.png | Bin 0 -> 177 bytes static/saclay/images/minus.png | Bin 0 -> 149 bytes static/saclay/images/minus_alt.png | Bin 0 -> 149 bytes static/saclay/images/minus_on.png | Bin 0 -> 218 bytes static/saclay/images/plus.png | Bin 0 -> 156 bytes static/saclay/images/plus_alt.png | Bin 0 -> 159 bytes static/saclay/images/plus_on.png | Bin 0 -> 297 bytes static/saclay/images/popup/close.png | Bin 0 -> 519 bytes static/saclay/images/popup/home_title.png | Bin 0 -> 12063 bytes static/saclay/images/popup/multimedia_title.png | Bin 0 -> 1393 bytes static/saclay/images/popup/thanks_title.png | Bin 0 -> 2136 bytes static/saclay/images/popup/title_frame.png | Bin 0 -> 223 bytes static/saclay/images/popup/welcome_close.png | Bin 0 -> 673 bytes static/saclay/images/popup/welcome_header.png | Bin 0 -> 723 bytes .../saclay/images/popup/welcome_logo-chronos.png | Bin 0 -> 3690 bytes .../images/popup/welcome_logo-paris-malaquais.png | Bin 0 -> 3015 bytes .../images/popup/welcome_logo-terre-et-cite.png | Bin 0 -> 4305 bytes static/saclay/images/popup/welcome_logos.png | Bin 0 -> 9620 bytes static/saclay/images/printer.png | Bin 0 -> 258 bytes static/saclay/images/routing_end.png | Bin 0 -> 1115 bytes static/saclay/images/routing_start.png | Bin 0 -> 1238 bytes static/saclay/images/routing_step.png | Bin 0 -> 1372 bytes static/saclay/images/routing_warn.png | Bin 0 -> 1165 bytes static/saclay/images/search.png | Bin 0 -> 686 bytes static/saclay/images/shadow.png | Bin 0 -> 1330 bytes static/saclay/images/subcategories/agri_1_off.png | Bin 0 -> 371 bytes static/saclay/images/subcategories/agri_1_on.png | Bin 0 -> 371 bytes static/saclay/images/subcategories/agri_2_off.png | Bin 0 -> 334 bytes static/saclay/images/subcategories/agri_2_on.png | Bin 0 -> 334 bytes static/saclay/images/subcategories/agri_3_off.png | Bin 0 -> 373 bytes static/saclay/images/subcategories/agri_3_on.png | Bin 0 -> 373 bytes static/saclay/images/subcategories/agri_4_off.png | Bin 0 -> 325 bytes static/saclay/images/subcategories/agri_4_on.png | Bin 0 -> 325 bytes static/saclay/images/subcategories/agri_5_off.png | Bin 0 -> 337 bytes static/saclay/images/subcategories/agri_5_on.png | Bin 0 -> 337 bytes static/saclay/images/subcategories/agri_6_off.png | Bin 0 -> 380 bytes static/saclay/images/subcategories/agri_6_on.png | Bin 0 -> 371 bytes .../subcategories/agri_ventealaferme_off.png | Bin 0 -> 3495 bytes .../images/subcategories/agri_ventealaferme_on.png | Bin 0 -> 3531 bytes static/saclay/images/subcategories/bala_1_off.png | Bin 0 -> 377 bytes static/saclay/images/subcategories/bala_1_on.png | Bin 0 -> 377 bytes static/saclay/images/subcategories/bala_2_off.png | Bin 0 -> 387 bytes static/saclay/images/subcategories/bala_2_on.png | Bin 0 -> 387 bytes static/saclay/images/subcategories/bala_3_off.png | Bin 0 -> 388 bytes static/saclay/images/subcategories/bala_3_on.png | Bin 0 -> 391 bytes static/saclay/images/subcategories/bala_4_off.png | Bin 0 -> 388 bytes static/saclay/images/subcategories/bala_4_on.png | Bin 0 -> 389 bytes static/saclay/images/subcategories/bala_5_off.png | Bin 0 -> 350 bytes static/saclay/images/subcategories/bala_5_on.png | Bin 0 -> 350 bytes static/saclay/images/subcategories/bala_6_off.png | Bin 0 -> 336 bytes static/saclay/images/subcategories/bala_6_on.png | Bin 0 -> 336 bytes .../images/subcategories/bala_restau_off.png | Bin 0 -> 3470 bytes .../saclay/images/subcategories/bala_restau_on.png | Bin 0 -> 3517 bytes static/saclay/images/subcategories/cult_1_off.png | Bin 0 -> 372 bytes static/saclay/images/subcategories/cult_1_on.png | Bin 0 -> 372 bytes static/saclay/images/subcategories/cult_2_off.png | Bin 0 -> 341 bytes static/saclay/images/subcategories/cult_2_on.png | Bin 0 -> 340 bytes static/saclay/images/subcategories/cult_3_off.png | Bin 0 -> 339 bytes static/saclay/images/subcategories/cult_3_on.png | Bin 0 -> 339 bytes static/saclay/images/subcategories/cult_4_off.png | Bin 0 -> 373 bytes static/saclay/images/subcategories/cult_4_on.png | Bin 0 -> 373 bytes static/saclay/images/subcategories/cult_5_off.png | Bin 0 -> 310 bytes static/saclay/images/subcategories/cult_5_on.png | Bin 0 -> 310 bytes static/saclay/images/subcategories/cult_6_off.png | Bin 0 -> 311 bytes static/saclay/images/subcategories/cult_6_on.png | Bin 0 -> 311 bytes static/saclay/images/subcategories/cult_7_off.png | Bin 0 -> 305 bytes static/saclay/images/subcategories/cult_7_on.png | Bin 0 -> 305 bytes static/saclay/images/subcategories/even_10_off.png | Bin 0 -> 323 bytes static/saclay/images/subcategories/even_10_on.png | Bin 0 -> 323 bytes static/saclay/images/subcategories/even_1_off.png | Bin 0 -> 338 bytes static/saclay/images/subcategories/even_1_on.png | Bin 0 -> 338 bytes static/saclay/images/subcategories/even_2_off.png | Bin 0 -> 391 bytes static/saclay/images/subcategories/even_2_on.png | Bin 0 -> 388 bytes static/saclay/images/subcategories/even_3_off.png | Bin 0 -> 364 bytes static/saclay/images/subcategories/even_3_on.png | Bin 0 -> 363 bytes static/saclay/images/subcategories/even_4_off.png | Bin 0 -> 346 bytes static/saclay/images/subcategories/even_4_on.png | Bin 0 -> 346 bytes static/saclay/images/subcategories/even_5_off.png | Bin 0 -> 350 bytes static/saclay/images/subcategories/even_5_on.png | Bin 0 -> 350 bytes static/saclay/images/subcategories/even_6_off.png | Bin 0 -> 394 bytes static/saclay/images/subcategories/even_6_on.png | Bin 0 -> 395 bytes static/saclay/images/subcategories/even_7_off.png | Bin 0 -> 344 bytes static/saclay/images/subcategories/even_7_on.png | Bin 0 -> 344 bytes static/saclay/images/subcategories/even_8_off.png | Bin 0 -> 311 bytes static/saclay/images/subcategories/even_8_on.png | Bin 0 -> 311 bytes static/saclay/images/subcategories/even_9_off.png | Bin 0 -> 288 bytes static/saclay/images/subcategories/even_9_on.png | Bin 0 -> 288 bytes .../images/subcategories/even_format_off.png | Bin 0 -> 3480 bytes .../saclay/images/subcategories/even_format_on.png | Bin 0 -> 3489 bytes static/saclay/images/subcategories/mob_1_off.png | Bin 0 -> 375 bytes static/saclay/images/subcategories/mob_1_on.png | Bin 0 -> 375 bytes static/saclay/images/subcategories/mob_2_off.png | Bin 0 -> 372 bytes static/saclay/images/subcategories/mob_2_on.png | Bin 0 -> 372 bytes .../saclay/images/subcategories/mob_3_disabled.png | Bin 0 -> 854 bytes static/saclay/images/subcategories/mob_3_off.png | Bin 0 -> 344 bytes static/saclay/images/subcategories/mob_3_on.png | Bin 0 -> 344 bytes static/saclay/images/subcategories/mob_4_off.png | Bin 0 -> 339 bytes static/saclay/images/subcategories/mob_4_on.png | Bin 0 -> 339 bytes static/saclay/images/subcategories/mob_5_off.png | Bin 0 -> 375 bytes static/saclay/images/subcategories/mob_5_on.png | Bin 0 -> 375 bytes static/saclay/images/subcategories/mob_6_off.png | Bin 0 -> 372 bytes static/saclay/images/subcategories/mob_6_on.png | Bin 0 -> 371 bytes static/saclay/images/subcategories/mob_7_off.png | Bin 0 -> 330 bytes static/saclay/images/subcategories/mob_7_on.png | Bin 0 -> 323 bytes static/saclay/images/subcategories/patri_1_off.png | Bin 0 -> 348 bytes static/saclay/images/subcategories/patri_1_on.png | Bin 0 -> 347 bytes static/saclay/images/subcategories/patri_2_off.png | Bin 0 -> 355 bytes static/saclay/images/subcategories/patri_2_on.png | Bin 0 -> 355 bytes static/saclay/images/subcategories/patri_3_off.png | Bin 0 -> 368 bytes static/saclay/images/subcategories/patri_3_on.png | Bin 0 -> 368 bytes static/saclay/images/subcategories/patri_4_off.png | Bin 0 -> 351 bytes static/saclay/images/subcategories/patri_4_on.png | Bin 0 -> 354 bytes static/saclay/images/subcategories/patri_5_off.png | Bin 0 -> 324 bytes static/saclay/images/subcategories/patri_5_on.png | Bin 0 -> 324 bytes static/saclay/images/subcategories/patri_6_off.png | Bin 0 -> 368 bytes static/saclay/images/subcategories/patri_6_on.png | Bin 0 -> 368 bytes .../images/subcategories/patri_forets_off.png | Bin 0 -> 3907 bytes .../images/subcategories/patri_forets_on.png | Bin 0 -> 3353 bytes .../saclay/images/subcategories/patri_voir_off.png | Bin 0 -> 3388 bytes .../saclay/images/subcategories/patri_voir_on.png | Bin 0 -> 3370 bytes static/saclay/images/subcategories/ress_1_off.png | Bin 0 -> 294 bytes static/saclay/images/subcategories/ress_1_on.png | Bin 0 -> 294 bytes static/saclay/images/subcategories/ress_2_off.png | Bin 0 -> 336 bytes static/saclay/images/subcategories/ress_2_on.png | Bin 0 -> 336 bytes static/saclay/images/subcategories/ress_3_off.png | Bin 0 -> 368 bytes static/saclay/images/subcategories/ress_3_on.png | Bin 0 -> 368 bytes static/saclay/images/subcategories/ress_4_off.png | Bin 0 -> 367 bytes static/saclay/images/subcategories/ress_4_on.png | Bin 0 -> 367 bytes static/saclay/images/subcategories/ress_5_off.png | Bin 0 -> 342 bytes static/saclay/images/subcategories/ress_5_on.png | Bin 0 -> 342 bytes static/saclay/images/subcategories/ress_6_off.png | Bin 0 -> 703 bytes static/saclay/images/subcategories/ress_6_on.png | Bin 0 -> 367 bytes .../images/subcategories/ress_heberg_off.png | Bin 0 -> 3419 bytes .../saclay/images/subcategories/ress_heberg_on.png | Bin 0 -> 3439 bytes .../images/subcategories/ress_mairies_off.png | Bin 0 -> 3414 bytes .../images/subcategories/ress_mairies_on.png | Bin 0 -> 3441 bytes .../images/subcategories/ress_offices_off.png | Bin 0 -> 3481 bytes .../images/subcategories/ress_offices_on.png | Bin 0 -> 3541 bytes .../images/subcategories/ress_sallespb_off.png | Bin 0 -> 3443 bytes .../images/subcategories/ress_sallespb_on.png | Bin 0 -> 3506 bytes .../images/subcategories/ress_vieloc_off.png | Bin 0 -> 3423 bytes .../saclay/images/subcategories/ress_vieloc_on.png | Bin 0 -> 3474 bytes static/saclay/images/subcategories/spor_1_off.png | Bin 0 -> 369 bytes static/saclay/images/subcategories/spor_1_on.png | Bin 0 -> 369 bytes static/saclay/images/subcategories/spor_2_off.png | Bin 0 -> 328 bytes static/saclay/images/subcategories/spor_2_on.png | Bin 0 -> 328 bytes static/saclay/images/subcategories/spor_3_off.png | Bin 0 -> 379 bytes static/saclay/images/subcategories/spor_3_on.png | Bin 0 -> 379 bytes static/saclay/images/subcategories/spor_4_off.png | Bin 0 -> 352 bytes static/saclay/images/subcategories/spor_4_on.png | Bin 0 -> 351 bytes static/saclay/images/subcategories/spor_5_off.png | Bin 0 -> 375 bytes static/saclay/images/subcategories/spor_5_on.png | Bin 0 -> 375 bytes static/saclay/images/subcategories/spor_6_off.png | Bin 0 -> 392 bytes static/saclay/images/subcategories/spor_6_on.png | Bin 0 -> 392 bytes static/saclay/images/subcategories/spor_7_off.png | Bin 0 -> 342 bytes static/saclay/images/subcategories/spor_7_on.png | Bin 0 -> 340 bytes static/saclay/images/welcome_logo_chronos.png | Bin 0 -> 5446 bytes static/saclay/images/welcome_logo_malaquais.png | Bin 0 -> 5306 bytes .../saclay/images/welcome_logo_terre_et_cite.png | Bin 0 -> 6152 bytes static/saclay/js/SaclayCloud.js | 54 + static/saclay/js/SaclayPanZoom.js | 374 ++++ static/saclay/js/interface.js | 253 +++ static/saclay/js/jquery.form.js | 1089 ++++++++++ static/saclay/js/mobile.chimere.js | 1 + static/saclay/js/search.js | 48 + static/saclay/json/limites.json | 11 + templates/chimere/base.html | 59 + templates/chimere/blocks/actions.html | 1 + templates/chimere/blocks/alternate_multimedia.html | 152 ++ templates/chimere/blocks/categories.html | 39 + templates/chimere/blocks/map.html | 236 +++ templates/chimere/blocks/map_menu.html | 14 + templates/chimere/blocks/news.html | 44 + templates/chimere/blocks/overload_templates_here | 0 templates/chimere/blocks/page_title.html | 7 + templates/chimere/blocks/routing.html | 87 + templates/chimere/blocks/share_bar.html | 21 + templates/chimere/blocks/submited.html | 22 + templates/chimere/blocks/welcome.html | 51 + templates/chimere/default_extra_page.html | 4 + templates/chimere/detail.html | 117 ++ templates/chimere/edit.html | 215 ++ templates/chimere/main_map.html | 133 ++ templates/chimere/main_map_simple.html | 116 ++ templates/chimere/overload_templates_here | 0 templates/overload_templates_here | 0 urls.py | 54 + views.py | 116 ++ wsgi.py | 28 + 387 files changed, 12830 insertions(+) create mode 100644 .gitignore create mode 100644 __init__.py create mode 100644 fixtures/default_pages.json create mode 100644 fixtures/initial_data.json create mode 100644 fixtures/saclay_categories.json create mode 100644 fixtures/saclay_propertymodels.json create mode 100644 forms.py create mode 100644 import_filters/guyancourt.xslt create mode 100644 import_filters/magny-les-hameaux.xslt create mode 100644 import_filters/orsay.json create mode 100644 import_filters/villiers-le-bacle-detail.xslt create mode 100644 import_filters/villiers-le-bacle.xslt create mode 100644 local_settings.py.sample create mode 100644 locale/fr/LC_MESSAGES/django.po create mode 100755 manage.py create mode 100644 mobile_settings.py create mode 100644 settings.py create mode 100644 site_static/Carte-ouverte_Saclay-presentation.pdf create mode 100644 site_static/css/home.css create mode 100644 site_static/img/dorian_off.png create mode 100644 site_static/img/dorian_on.png create mode 100644 site_static/img/footer.png create mode 100644 site_static/img/header.png create mode 100644 site_static/img/lea_off.png create mode 100644 site_static/img/lea_on.png create mode 100644 site_static/img/logo.png create mode 100644 site_static/img/ok.png create mode 100644 site_static/img/popup.png create mode 100644 site_static/img/sabine_off.png create mode 100644 site_static/img/sabine_on.png create mode 100644 site_static/img/savoir_off.png create mode 100644 site_static/img/savoir_on.png create mode 100644 site_static/img/telecharger_off.png create mode 100644 site_static/img/telecharger_on.png create mode 100644 site_static/index.php create mode 100644 site_static/lib/.htaccess create mode 100644 site_static/lib/db.php.sample create mode 100644 site_static/lib/functions.php create mode 100644 static/jquery-ui/base/images/animated-overlay.gif create mode 100644 static/jquery-ui/base/images/ui-bg_flat_0_aaaaaa_40x100.png create mode 100644 static/jquery-ui/base/images/ui-bg_flat_75_ffffff_40x100.png create mode 100644 static/jquery-ui/base/images/ui-bg_glass_55_fbf9ee_1x400.png create mode 100644 static/jquery-ui/base/images/ui-bg_glass_65_ffffff_1x400.png create mode 100644 static/jquery-ui/base/images/ui-bg_glass_75_dadada_1x400.png create mode 100644 static/jquery-ui/base/images/ui-bg_glass_75_e6e6e6_1x400.png create mode 100644 static/jquery-ui/base/images/ui-bg_glass_95_fef1ec_1x400.png create mode 100644 static/jquery-ui/base/images/ui-bg_highlight-soft_75_cccccc_1x100.png create mode 100644 static/jquery-ui/base/images/ui-icons_222222_256x240.png create mode 100644 static/jquery-ui/base/images/ui-icons_2e83ff_256x240.png create mode 100644 static/jquery-ui/base/images/ui-icons_454545_256x240.png create mode 100644 static/jquery-ui/base/images/ui-icons_888888_256x240.png create mode 100644 static/jquery-ui/base/images/ui-icons_cd0a0a_256x240.png create mode 100644 static/jquery-ui/base/jquery-ui.css create mode 100644 static/jquery-ui/base/jquery.ui.accordion.css create mode 100644 static/jquery-ui/base/jquery.ui.all.css create mode 100644 static/jquery-ui/base/jquery.ui.autocomplete.css create mode 100644 static/jquery-ui/base/jquery.ui.base.css create mode 100644 static/jquery-ui/base/jquery.ui.button.css create mode 100644 static/jquery-ui/base/jquery.ui.core.css create mode 100644 static/jquery-ui/base/jquery.ui.datepicker.css create mode 100644 static/jquery-ui/base/jquery.ui.dialog.css create mode 100644 static/jquery-ui/base/jquery.ui.menu.css create mode 100644 static/jquery-ui/base/jquery.ui.progressbar.css create mode 100644 static/jquery-ui/base/jquery.ui.resizable.css create mode 100644 static/jquery-ui/base/jquery.ui.selectable.css create mode 100644 static/jquery-ui/base/jquery.ui.slider.css create mode 100644 static/jquery-ui/base/jquery.ui.spinner.css create mode 100644 static/jquery-ui/base/jquery.ui.tabs.css create mode 100644 static/jquery-ui/base/jquery.ui.theme.css create mode 100644 static/jquery-ui/base/jquery.ui.tooltip.css create mode 100644 static/jquery-ui/copyright create mode 100644 static/jquery-ui/jquery-ui.min.js create mode 100644 static/jquery-ui/smoothness/images/animated-overlay.gif create mode 100644 static/jquery-ui/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png create mode 100644 static/jquery-ui/smoothness/images/ui-bg_flat_75_ffffff_40x100.png create mode 100644 static/jquery-ui/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png create mode 100644 static/jquery-ui/smoothness/images/ui-bg_glass_65_ffffff_1x400.png create mode 100644 static/jquery-ui/smoothness/images/ui-bg_glass_75_dadada_1x400.png create mode 100644 static/jquery-ui/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png create mode 100644 static/jquery-ui/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png create mode 100644 static/jquery-ui/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png create mode 100644 static/jquery-ui/smoothness/images/ui-icons_222222_256x240.png create mode 100644 static/jquery-ui/smoothness/images/ui-icons_2e83ff_256x240.png create mode 100644 static/jquery-ui/smoothness/images/ui-icons_454545_256x240.png create mode 100644 static/jquery-ui/smoothness/images/ui-icons_888888_256x240.png create mode 100644 static/jquery-ui/smoothness/images/ui-icons_cd0a0a_256x240.png create mode 100644 static/jquery-ui/smoothness/jquery-ui-1.10.1.custom.css create mode 100644 static/jquery-ui/smoothness/jquery-ui-1.10.1.custom.min.css create mode 120000 static/jquery-ui/smoothness/jquery-ui.css create mode 120000 static/jquery-ui/smoothness/jquery-ui.min.css create mode 100644 static/jquery/copyright create mode 100644 static/jquery/jquery.min.js create mode 100644 static/saclay/css/mobile.css create mode 100644 static/saclay/css/print.css create mode 100644 static/saclay/css/saclay.css create mode 100644 static/saclay/css/styles.css create mode 100644 static/saclay/images/background-small.png create mode 100644 static/saclay/images/background-top.png create mode 100644 static/saclay/images/background.png create mode 100644 static/saclay/images/bottom-arrow.png create mode 100644 static/saclay/images/button-cat-off.png create mode 100644 static/saclay/images/button-cat-on.png create mode 100644 static/saclay/images/button-cat-three-off.png create mode 100644 static/saclay/images/button-cat-three-on.png create mode 100644 static/saclay/images/button-event-off.png create mode 100644 static/saclay/images/button-event-on.png create mode 100644 static/saclay/images/button-location-off.png create mode 100644 static/saclay/images/button-location-on.png create mode 100644 static/saclay/images/button-map-off.png create mode 100644 static/saclay/images/button-map-on.png create mode 100644 static/saclay/images/button-news-off.png create mode 100644 static/saclay/images/button-news-on.png create mode 100644 static/saclay/images/button-participate-off.png create mode 100644 static/saclay/images/button-participate-on.png create mode 100644 static/saclay/images/button-project-off.png create mode 100644 static/saclay/images/button-project-on.png create mode 100644 static/saclay/images/button-route-off.png create mode 100644 static/saclay/images/button-route-on.png create mode 100644 static/saclay/images/button-route-three-off.png create mode 100644 static/saclay/images/button-route-three-on.png create mode 100644 static/saclay/images/button-search-off.png create mode 100644 static/saclay/images/button-search-on.png create mode 100644 static/saclay/images/button-wander-off.png create mode 100644 static/saclay/images/button-wander-on.png create mode 100644 static/saclay/images/buttons/add.png create mode 100644 static/saclay/images/buttons/add_event.png create mode 100644 static/saclay/images/buttons/add_location.png create mode 100644 static/saclay/images/buttons/add_wander.png create mode 100644 static/saclay/images/buttons/bicycle.png create mode 100644 static/saclay/images/buttons/bicycle_on.png create mode 100644 static/saclay/images/buttons/button-help-off.png create mode 100644 static/saclay/images/buttons/button-help-on.png create mode 100644 static/saclay/images/buttons/button-print-off.png create mode 100644 static/saclay/images/buttons/button-print-on.png create mode 100644 static/saclay/images/buttons/button-send-off.png create mode 100644 static/saclay/images/buttons/button-send-on.png create mode 100644 static/saclay/images/buttons/button-share-off.png create mode 100644 static/saclay/images/buttons/button-share-on.png create mode 100644 static/saclay/images/buttons/calendar.png create mode 100644 static/saclay/images/buttons/download.png create mode 100644 static/saclay/images/buttons/extra_criteria-open.png create mode 100644 static/saclay/images/buttons/extra_criteria.png create mode 100644 static/saclay/images/buttons/finish.png create mode 100644 static/saclay/images/buttons/form_finish.png create mode 100644 static/saclay/images/buttons/form_start.png create mode 100644 static/saclay/images/buttons/form_step.png create mode 100644 static/saclay/images/buttons/modify.png create mode 100644 static/saclay/images/buttons/new_search.png create mode 100644 static/saclay/images/buttons/search.png create mode 100644 static/saclay/images/buttons/start.png create mode 100644 static/saclay/images/buttons/validate.png create mode 100644 static/saclay/images/buttons/walk.png create mode 100644 static/saclay/images/buttons/walk_on.png create mode 100644 static/saclay/images/categories/cat_agri.png create mode 100644 static/saclay/images/categories/cat_agri_on.png create mode 100644 static/saclay/images/categories/cat_balade.png create mode 100644 static/saclay/images/categories/cat_balade_on.png create mode 100644 static/saclay/images/categories/cat_culture.png create mode 100644 static/saclay/images/categories/cat_culture_on.png create mode 100644 static/saclay/images/categories/cat_event.png create mode 100644 static/saclay/images/categories/cat_event_on.png create mode 100644 static/saclay/images/categories/cat_mobilites.png create mode 100644 static/saclay/images/categories/cat_mobilites_on.png create mode 100644 static/saclay/images/categories/cat_patrimoine.png create mode 100644 static/saclay/images/categories/cat_patrimoine_on.png create mode 100644 static/saclay/images/categories/cat_pratique.png create mode 100644 static/saclay/images/categories/cat_pratique_on.png create mode 100644 static/saclay/images/categories/cat_sport.png create mode 100644 static/saclay/images/categories/cat_sport_on.png create mode 100644 static/saclay/images/check-active.png create mode 100644 static/saclay/images/check-small.png create mode 100644 static/saclay/images/check.png create mode 100644 static/saclay/images/close.png create mode 100755 static/saclay/images/cloud-popup-saclay.png create mode 100644 static/saclay/images/cloud-popup-saclay.xcf create mode 100644 static/saclay/images/cluster_icon.png create mode 100644 static/saclay/images/cluster_icon_hover.png create mode 100644 static/saclay/images/default_icon.png create mode 100644 static/saclay/images/display_option.png create mode 100644 static/saclay/images/display_option_open.png create mode 100644 static/saclay/images/email.png create mode 100644 static/saclay/images/favicon.png create mode 100644 static/saclay/images/handler-hide.png create mode 100644 static/saclay/images/handler-show.png create mode 100644 static/saclay/images/logo.jpg create mode 100644 static/saclay/images/logo.png create mode 100644 static/saclay/images/logo_mobile.png create mode 100644 static/saclay/images/logos/CapEEDD_Graine_CMJN.jpg create mode 100644 static/saclay/images/logos/Logo_Conseil_general_de_l'Essonne.svg create mode 100644 static/saclay/images/logos/logo.xcf create mode 100644 static/saclay/images/logos/region-ile-de-france.svg create mode 100644 static/saclay/images/logos/terre-et-cite.svg create mode 100644 static/saclay/images/map_sprite.png create mode 100644 static/saclay/images/menu/icon_add.png create mode 100644 static/saclay/images/menu/icon_center.png create mode 100644 static/saclay/images/menu/icon_from.png create mode 100644 static/saclay/images/menu/icon_minus.png create mode 100644 static/saclay/images/menu/icon_plus.png create mode 100644 static/saclay/images/menu/icon_to.png create mode 100644 static/saclay/images/minus.png create mode 100644 static/saclay/images/minus_alt.png create mode 100644 static/saclay/images/minus_on.png create mode 100644 static/saclay/images/plus.png create mode 100644 static/saclay/images/plus_alt.png create mode 100644 static/saclay/images/plus_on.png create mode 100644 static/saclay/images/popup/close.png create mode 100644 static/saclay/images/popup/home_title.png create mode 100644 static/saclay/images/popup/multimedia_title.png create mode 100644 static/saclay/images/popup/thanks_title.png create mode 100644 static/saclay/images/popup/title_frame.png create mode 100644 static/saclay/images/popup/welcome_close.png create mode 100644 static/saclay/images/popup/welcome_header.png create mode 100644 static/saclay/images/popup/welcome_logo-chronos.png create mode 100644 static/saclay/images/popup/welcome_logo-paris-malaquais.png create mode 100644 static/saclay/images/popup/welcome_logo-terre-et-cite.png create mode 100644 static/saclay/images/popup/welcome_logos.png create mode 100644 static/saclay/images/printer.png create mode 100644 static/saclay/images/routing_end.png create mode 100644 static/saclay/images/routing_start.png create mode 100644 static/saclay/images/routing_step.png create mode 100644 static/saclay/images/routing_warn.png create mode 100644 static/saclay/images/search.png create mode 100644 static/saclay/images/shadow.png create mode 100644 static/saclay/images/subcategories/agri_1_off.png create mode 100644 static/saclay/images/subcategories/agri_1_on.png create mode 100644 static/saclay/images/subcategories/agri_2_off.png create mode 100644 static/saclay/images/subcategories/agri_2_on.png create mode 100644 static/saclay/images/subcategories/agri_3_off.png create mode 100644 static/saclay/images/subcategories/agri_3_on.png create mode 100644 static/saclay/images/subcategories/agri_4_off.png create mode 100644 static/saclay/images/subcategories/agri_4_on.png create mode 100644 static/saclay/images/subcategories/agri_5_off.png create mode 100644 static/saclay/images/subcategories/agri_5_on.png create mode 100644 static/saclay/images/subcategories/agri_6_off.png create mode 100644 static/saclay/images/subcategories/agri_6_on.png create mode 100644 static/saclay/images/subcategories/agri_ventealaferme_off.png create mode 100644 static/saclay/images/subcategories/agri_ventealaferme_on.png create mode 100644 static/saclay/images/subcategories/bala_1_off.png create mode 100644 static/saclay/images/subcategories/bala_1_on.png create mode 100644 static/saclay/images/subcategories/bala_2_off.png create mode 100644 static/saclay/images/subcategories/bala_2_on.png create mode 100644 static/saclay/images/subcategories/bala_3_off.png create mode 100644 static/saclay/images/subcategories/bala_3_on.png create mode 100644 static/saclay/images/subcategories/bala_4_off.png create mode 100644 static/saclay/images/subcategories/bala_4_on.png create mode 100644 static/saclay/images/subcategories/bala_5_off.png create mode 100644 static/saclay/images/subcategories/bala_5_on.png create mode 100644 static/saclay/images/subcategories/bala_6_off.png create mode 100644 static/saclay/images/subcategories/bala_6_on.png create mode 100644 static/saclay/images/subcategories/bala_restau_off.png create mode 100644 static/saclay/images/subcategories/bala_restau_on.png create mode 100644 static/saclay/images/subcategories/cult_1_off.png create mode 100644 static/saclay/images/subcategories/cult_1_on.png create mode 100644 static/saclay/images/subcategories/cult_2_off.png create mode 100644 static/saclay/images/subcategories/cult_2_on.png create mode 100644 static/saclay/images/subcategories/cult_3_off.png create mode 100644 static/saclay/images/subcategories/cult_3_on.png create mode 100644 static/saclay/images/subcategories/cult_4_off.png create mode 100644 static/saclay/images/subcategories/cult_4_on.png create mode 100644 static/saclay/images/subcategories/cult_5_off.png create mode 100644 static/saclay/images/subcategories/cult_5_on.png create mode 100644 static/saclay/images/subcategories/cult_6_off.png create mode 100644 static/saclay/images/subcategories/cult_6_on.png create mode 100644 static/saclay/images/subcategories/cult_7_off.png create mode 100644 static/saclay/images/subcategories/cult_7_on.png create mode 100644 static/saclay/images/subcategories/even_10_off.png create mode 100644 static/saclay/images/subcategories/even_10_on.png create mode 100644 static/saclay/images/subcategories/even_1_off.png create mode 100644 static/saclay/images/subcategories/even_1_on.png create mode 100644 static/saclay/images/subcategories/even_2_off.png create mode 100644 static/saclay/images/subcategories/even_2_on.png create mode 100644 static/saclay/images/subcategories/even_3_off.png create mode 100644 static/saclay/images/subcategories/even_3_on.png create mode 100644 static/saclay/images/subcategories/even_4_off.png create mode 100644 static/saclay/images/subcategories/even_4_on.png create mode 100644 static/saclay/images/subcategories/even_5_off.png create mode 100644 static/saclay/images/subcategories/even_5_on.png create mode 100644 static/saclay/images/subcategories/even_6_off.png create mode 100644 static/saclay/images/subcategories/even_6_on.png create mode 100644 static/saclay/images/subcategories/even_7_off.png create mode 100644 static/saclay/images/subcategories/even_7_on.png create mode 100644 static/saclay/images/subcategories/even_8_off.png create mode 100644 static/saclay/images/subcategories/even_8_on.png create mode 100644 static/saclay/images/subcategories/even_9_off.png create mode 100644 static/saclay/images/subcategories/even_9_on.png create mode 100644 static/saclay/images/subcategories/even_format_off.png create mode 100644 static/saclay/images/subcategories/even_format_on.png create mode 100644 static/saclay/images/subcategories/mob_1_off.png create mode 100644 static/saclay/images/subcategories/mob_1_on.png create mode 100644 static/saclay/images/subcategories/mob_2_off.png create mode 100644 static/saclay/images/subcategories/mob_2_on.png create mode 100644 static/saclay/images/subcategories/mob_3_disabled.png create mode 100644 static/saclay/images/subcategories/mob_3_off.png create mode 100644 static/saclay/images/subcategories/mob_3_on.png create mode 100644 static/saclay/images/subcategories/mob_4_off.png create mode 100644 static/saclay/images/subcategories/mob_4_on.png create mode 100644 static/saclay/images/subcategories/mob_5_off.png create mode 100644 static/saclay/images/subcategories/mob_5_on.png create mode 100644 static/saclay/images/subcategories/mob_6_off.png create mode 100644 static/saclay/images/subcategories/mob_6_on.png create mode 100644 static/saclay/images/subcategories/mob_7_off.png create mode 100644 static/saclay/images/subcategories/mob_7_on.png create mode 100644 static/saclay/images/subcategories/patri_1_off.png create mode 100644 static/saclay/images/subcategories/patri_1_on.png create mode 100644 static/saclay/images/subcategories/patri_2_off.png create mode 100644 static/saclay/images/subcategories/patri_2_on.png create mode 100644 static/saclay/images/subcategories/patri_3_off.png create mode 100644 static/saclay/images/subcategories/patri_3_on.png create mode 100644 static/saclay/images/subcategories/patri_4_off.png create mode 100644 static/saclay/images/subcategories/patri_4_on.png create mode 100644 static/saclay/images/subcategories/patri_5_off.png create mode 100644 static/saclay/images/subcategories/patri_5_on.png create mode 100644 static/saclay/images/subcategories/patri_6_off.png create mode 100644 static/saclay/images/subcategories/patri_6_on.png create mode 100644 static/saclay/images/subcategories/patri_forets_off.png create mode 100644 static/saclay/images/subcategories/patri_forets_on.png create mode 100644 static/saclay/images/subcategories/patri_voir_off.png create mode 100644 static/saclay/images/subcategories/patri_voir_on.png create mode 100644 static/saclay/images/subcategories/ress_1_off.png create mode 100644 static/saclay/images/subcategories/ress_1_on.png create mode 100644 static/saclay/images/subcategories/ress_2_off.png create mode 100644 static/saclay/images/subcategories/ress_2_on.png create mode 100644 static/saclay/images/subcategories/ress_3_off.png create mode 100644 static/saclay/images/subcategories/ress_3_on.png create mode 100644 static/saclay/images/subcategories/ress_4_off.png create mode 100644 static/saclay/images/subcategories/ress_4_on.png create mode 100644 static/saclay/images/subcategories/ress_5_off.png create mode 100644 static/saclay/images/subcategories/ress_5_on.png create mode 100644 static/saclay/images/subcategories/ress_6_off.png create mode 100644 static/saclay/images/subcategories/ress_6_on.png create mode 100644 static/saclay/images/subcategories/ress_heberg_off.png create mode 100644 static/saclay/images/subcategories/ress_heberg_on.png create mode 100644 static/saclay/images/subcategories/ress_mairies_off.png create mode 100644 static/saclay/images/subcategories/ress_mairies_on.png create mode 100644 static/saclay/images/subcategories/ress_offices_off.png create mode 100644 static/saclay/images/subcategories/ress_offices_on.png create mode 100644 static/saclay/images/subcategories/ress_sallespb_off.png create mode 100644 static/saclay/images/subcategories/ress_sallespb_on.png create mode 100644 static/saclay/images/subcategories/ress_vieloc_off.png create mode 100644 static/saclay/images/subcategories/ress_vieloc_on.png create mode 100644 static/saclay/images/subcategories/spor_1_off.png create mode 100644 static/saclay/images/subcategories/spor_1_on.png create mode 100644 static/saclay/images/subcategories/spor_2_off.png create mode 100644 static/saclay/images/subcategories/spor_2_on.png create mode 100644 static/saclay/images/subcategories/spor_3_off.png create mode 100644 static/saclay/images/subcategories/spor_3_on.png create mode 100644 static/saclay/images/subcategories/spor_4_off.png create mode 100644 static/saclay/images/subcategories/spor_4_on.png create mode 100644 static/saclay/images/subcategories/spor_5_off.png create mode 100644 static/saclay/images/subcategories/spor_5_on.png create mode 100644 static/saclay/images/subcategories/spor_6_off.png create mode 100644 static/saclay/images/subcategories/spor_6_on.png create mode 100644 static/saclay/images/subcategories/spor_7_off.png create mode 100644 static/saclay/images/subcategories/spor_7_on.png create mode 100644 static/saclay/images/welcome_logo_chronos.png create mode 100644 static/saclay/images/welcome_logo_malaquais.png create mode 100644 static/saclay/images/welcome_logo_terre_et_cite.png create mode 100644 static/saclay/js/SaclayCloud.js create mode 100644 static/saclay/js/SaclayPanZoom.js create mode 100644 static/saclay/js/interface.js create mode 100644 static/saclay/js/jquery.form.js create mode 100644 static/saclay/js/mobile.chimere.js create mode 100755 static/saclay/js/search.js create mode 100644 static/saclay/json/limites.json create mode 100644 templates/chimere/base.html create mode 100644 templates/chimere/blocks/actions.html create mode 100644 templates/chimere/blocks/alternate_multimedia.html create mode 100644 templates/chimere/blocks/categories.html create mode 100644 templates/chimere/blocks/map.html create mode 100644 templates/chimere/blocks/map_menu.html create mode 100644 templates/chimere/blocks/news.html create mode 100644 templates/chimere/blocks/overload_templates_here create mode 100644 templates/chimere/blocks/page_title.html create mode 100644 templates/chimere/blocks/routing.html create mode 100644 templates/chimere/blocks/share_bar.html create mode 100644 templates/chimere/blocks/submited.html create mode 100644 templates/chimere/blocks/welcome.html create mode 100644 templates/chimere/default_extra_page.html create mode 100644 templates/chimere/detail.html create mode 100644 templates/chimere/edit.html create mode 100644 templates/chimere/main_map.html create mode 100644 templates/chimere/main_map_simple.html create mode 100644 templates/chimere/overload_templates_here create mode 100644 templates/overload_templates_here create mode 100644 urls.py create mode 100644 views.py create mode 100644 wsgi.py diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..4ca63a7 --- /dev/null +++ b/.gitignore @@ -0,0 +1,15 @@ +*.pyc +*.swp +*.bak +*.mo +*.ignore +media/* +local_settings.py +static/admin/ +static/chimere/ +static/chosen/ +static/icons/ +static/jme/ +static/upload/ +static/prettyPhoto/ +site_static/lib/db.php diff --git a/__init__.py b/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/fixtures/default_pages.json b/fixtures/default_pages.json new file mode 100644 index 0000000..f79727f --- /dev/null +++ b/fixtures/default_pages.json @@ -0,0 +1,26 @@ +[ + { + "pk": 1, + "model": "chimere.page", + "fields": { + "mnemonic": "project", + "available": true, + "template_path": "", + "title": "Le projet", + "content": "

Description of the project...

", + "order": 10 + } + }, + { + "pk": 2, + "model": "chimere.page", + "fields": { + "mnemonic": "legal", + "available": true, + "template_path": "", + "title": "Mentions l\u00e9gales, cr\u00e9dits", + "content": "

Credits

", + "order": 10 + } + } +] diff --git a/fixtures/initial_data.json b/fixtures/initial_data.json new file mode 100644 index 0000000..814e8e0 --- /dev/null +++ b/fixtures/initial_data.json @@ -0,0 +1,853 @@ +[ + { + "pk": 20, + "model": "contenttypes.contenttype", + "fields": { + "model": "area", + "name": "Area", + "app_label": "chimere" + } + }, + { + "pk": 14, + "model": "contenttypes.contenttype", + "fields": { + "model": "category", + "name": "Category", + "app_label": "chimere" + } + }, + { + "pk": 13, + "model": "contenttypes.contenttype", + "fields": { + "model": "color", + "name": "Color", + "app_label": "chimere" + } + }, + { + "pk": 12, + "model": "contenttypes.contenttype", + "fields": { + "model": "colortheme", + "name": "Color theme", + "app_label": "chimere" + } + }, + { + "pk": 6, + "model": "contenttypes.contenttype", + "fields": { + "model": "contenttype", + "name": "content type", + "app_label": "contenttypes" + } + }, + { + "pk": 2, + "model": "contenttypes.contenttype", + "fields": { + "model": "group", + "name": "group", + "app_label": "auth" + } + }, + { + "pk": 15, + "model": "contenttypes.contenttype", + "fields": { + "model": "icon", + "name": "Icon", + "app_label": "chimere" + } + }, + { + "pk": 5, + "model": "contenttypes.contenttype", + "fields": { + "model": "logentry", + "name": "log entry", + "app_label": "admin" + } + }, + { + "pk": 4, + "model": "contenttypes.contenttype", + "fields": { + "model": "message", + "name": "message", + "app_label": "auth" + } + }, + { + "pk": 9, + "model": "contenttypes.contenttype", + "fields": { + "model": "migrationhistory", + "name": "migration history", + "app_label": "south" + } + }, + { + "pk": 10, + "model": "contenttypes.contenttype", + "fields": { + "model": "news", + "name": "News", + "app_label": "chimere" + } + }, + { + "pk": 1, + "model": "contenttypes.contenttype", + "fields": { + "model": "permission", + "name": "permission", + "app_label": "auth" + } + }, + { + "pk": 17, + "model": "contenttypes.contenttype", + "fields": { + "model": "marker", + "name": "Point of interest", + "app_label": "chimere" + } + }, + { + "pk": 22, + "model": "contenttypes.contenttype", + "fields": { + "model": "property", + "name": "Property", + "app_label": "chimere" + } + }, + { + "pk": 21, + "model": "contenttypes.contenttype", + "fields": { + "model": "propertymodel", + "name": "Property model", + "app_label": "chimere" + } + }, + { + "pk": 19, + "model": "contenttypes.contenttype", + "fields": { + "model": "route", + "name": "Route", + "app_label": "chimere" + } + }, + { + "pk": 18, + "model": "contenttypes.contenttype", + "fields": { + "model": "routefile", + "name": "Route file", + "app_label": "chimere" + } + }, + { + "pk": 7, + "model": "contenttypes.contenttype", + "fields": { + "model": "session", + "name": "session", + "app_label": "sessions" + } + }, + { + "pk": 8, + "model": "contenttypes.contenttype", + "fields": { + "model": "site", + "name": "site", + "app_label": "sites" + } + }, + { + "pk": 16, + "model": "contenttypes.contenttype", + "fields": { + "model": "subcategory", + "name": "Subcategory", + "app_label": "chimere" + } + }, + { + "pk": 11, + "model": "contenttypes.contenttype", + "fields": { + "model": "tinyurl", + "name": "TinyUrl", + "app_label": "chimere" + } + }, + { + "pk": 3, + "model": "contenttypes.contenttype", + "fields": { + "model": "user", + "name": "user", + "app_label": "auth" + } + }, + { + "pk": 1, + "model": "sites.site", + "fields": { + "domain": "example.com", + "name": "example.com" + } + }, + { + "pk": 13, + "model": "auth.permission", + "fields": { + "codename": "add_logentry", + "name": "Can add log entry", + "content_type": 5 + } + }, + { + "pk": 14, + "model": "auth.permission", + "fields": { + "codename": "change_logentry", + "name": "Can change log entry", + "content_type": 5 + } + }, + { + "pk": 15, + "model": "auth.permission", + "fields": { + "codename": "delete_logentry", + "name": "Can delete log entry", + "content_type": 5 + } + }, + { + "pk": 4, + "model": "auth.permission", + "fields": { + "codename": "add_group", + "name": "Can add group", + "content_type": 2 + } + }, + { + "pk": 5, + "model": "auth.permission", + "fields": { + "codename": "change_group", + "name": "Can change group", + "content_type": 2 + } + }, + { + "pk": 6, + "model": "auth.permission", + "fields": { + "codename": "delete_group", + "name": "Can delete group", + "content_type": 2 + } + }, + { + "pk": 10, + "model": "auth.permission", + "fields": { + "codename": "add_message", + "name": "Can add message", + "content_type": 4 + } + }, + { + "pk": 11, + "model": "auth.permission", + "fields": { + "codename": "change_message", + "name": "Can change message", + "content_type": 4 + } + }, + { + "pk": 12, + "model": "auth.permission", + "fields": { + "codename": "delete_message", + "name": "Can delete message", + "content_type": 4 + } + }, + { + "pk": 1, + "model": "auth.permission", + "fields": { + "codename": "add_permission", + "name": "Can add permission", + "content_type": 1 + } + }, + { + "pk": 2, + "model": "auth.permission", + "fields": { + "codename": "change_permission", + "name": "Can change permission", + "content_type": 1 + } + }, + { + "pk": 3, + "model": "auth.permission", + "fields": { + "codename": "delete_permission", + "name": "Can delete permission", + "content_type": 1 + } + }, + { + "pk": 7, + "model": "auth.permission", + "fields": { + "codename": "add_user", + "name": "Can add user", + "content_type": 3 + } + }, + { + "pk": 8, + "model": "auth.permission", + "fields": { + "codename": "change_user", + "name": "Can change user", + "content_type": 3 + } + }, + { + "pk": 9, + "model": "auth.permission", + "fields": { + "codename": "delete_user", + "name": "Can delete user", + "content_type": 3 + } + }, + { + "pk": 58, + "model": "auth.permission", + "fields": { + "codename": "add_area", + "name": "Can add Area", + "content_type": 20 + } + }, + { + "pk": 59, + "model": "auth.permission", + "fields": { + "codename": "change_area", + "name": "Can change Area", + "content_type": 20 + } + }, + { + "pk": 60, + "model": "auth.permission", + "fields": { + "codename": "delete_area", + "name": "Can delete Area", + "content_type": 20 + } + }, + { + "pk": 40, + "model": "auth.permission", + "fields": { + "codename": "add_route", + "name": "Can add Route", + "content_type": 14 + } + }, + { + "pk": 41, + "model": "auth.permission", + "fields": { + "codename": "change_route", + "name": "Can change Route", + "content_type": 14 + } + }, + { + "pk": 42, + "model": "auth.permission", + "fields": { + "codename": "delete_route", + "name": "Can delete Route", + "content_type": 14 + } + }, + { + "pk": 37, + "model": "auth.permission", + "fields": { + "codename": "add_marker", + "name": "Can add Point of interest", + "content_type": 13 + } + }, + { + "pk": 38, + "model": "auth.permission", + "fields": { + "codename": "change_marker", + "name": "Can change Point of interest", + "content_type": 13 + } + }, + { + "pk": 39, + "model": "auth.permission", + "fields": { + "codename": "delete_marker", + "name": "Can delete Point of interest", + "content_type": 13 + } + }, + { + "pk": 34, + "model": "auth.permission", + "fields": { + "codename": "add_subcategory", + "name": "Can add Subcategory", + "content_type": 12 + } + }, + { + "pk": 35, + "model": "auth.permission", + "fields": { + "codename": "change_subcategory", + "name": "Can change Subcategory", + "content_type": 12 + } + }, + { + "pk": 36, + "model": "auth.permission", + "fields": { + "codename": "delete_subcategory", + "name": "Can delete Subcategory", + "content_type": 12 + } + }, + { + "pk": 43, + "model": "auth.permission", + "fields": { + "codename": "add_area", + "name": "Can add Area", + "content_type": 15 + } + }, + { + "pk": 44, + "model": "auth.permission", + "fields": { + "codename": "change_area", + "name": "Can change Area", + "content_type": 15 + } + }, + { + "pk": 45, + "model": "auth.permission", + "fields": { + "codename": "delete_area", + "name": "Can delete Area", + "content_type": 15 + } + }, + { + "pk": 49, + "model": "auth.permission", + "fields": { + "codename": "add_property", + "name": "Can add Property", + "content_type": 17 + } + }, + { + "pk": 50, + "model": "auth.permission", + "fields": { + "codename": "change_property", + "name": "Can change Property", + "content_type": 17 + } + }, + { + "pk": 51, + "model": "auth.permission", + "fields": { + "codename": "delete_property", + "name": "Can delete Property", + "content_type": 17 + } + }, + { + "pk": 28, + "model": "auth.permission", + "fields": { + "codename": "add_category", + "name": "Can add Category", + "content_type": 10 + } + }, + { + "pk": 29, + "model": "auth.permission", + "fields": { + "codename": "change_category", + "name": "Can change Category", + "content_type": 10 + } + }, + { + "pk": 30, + "model": "auth.permission", + "fields": { + "codename": "delete_category", + "name": "Can delete Category", + "content_type": 10 + } + }, + { + "pk": 64, + "model": "auth.permission", + "fields": { + "codename": "add_property", + "name": "Can add Property", + "content_type": 22 + } + }, + { + "pk": 65, + "model": "auth.permission", + "fields": { + "codename": "change_property", + "name": "Can change Property", + "content_type": 22 + } + }, + { + "pk": 66, + "model": "auth.permission", + "fields": { + "codename": "delete_property", + "name": "Can delete Property", + "content_type": 22 + } + }, + { + "pk": 61, + "model": "auth.permission", + "fields": { + "codename": "add_propertymodel", + "name": "Can add Property model", + "content_type": 21 + } + }, + { + "pk": 62, + "model": "auth.permission", + "fields": { + "codename": "change_propertymodel", + "name": "Can change Property model", + "content_type": 21 + } + }, + { + "pk": 63, + "model": "auth.permission", + "fields": { + "codename": "delete_propertymodel", + "name": "Can delete Property model", + "content_type": 21 + } + }, + { + "pk": 55, + "model": "auth.permission", + "fields": { + "codename": "add_route", + "name": "Can add Route", + "content_type": 19 + } + }, + { + "pk": 56, + "model": "auth.permission", + "fields": { + "codename": "change_route", + "name": "Can change Route", + "content_type": 19 + } + }, + { + "pk": 57, + "model": "auth.permission", + "fields": { + "codename": "delete_route", + "name": "Can delete Route", + "content_type": 19 + } + }, + { + "pk": 52, + "model": "auth.permission", + "fields": { + "codename": "add_routefile", + "name": "Can add Route file", + "content_type": 18 + } + }, + { + "pk": 53, + "model": "auth.permission", + "fields": { + "codename": "change_routefile", + "name": "Can change Route file", + "content_type": 18 + } + }, + { + "pk": 54, + "model": "auth.permission", + "fields": { + "codename": "delete_routefile", + "name": "Can delete Route file", + "content_type": 18 + } + }, + { + "pk": 46, + "model": "auth.permission", + "fields": { + "codename": "add_propertymodel", + "name": "Can add Property model", + "content_type": 16 + } + }, + { + "pk": 47, + "model": "auth.permission", + "fields": { + "codename": "change_propertymodel", + "name": "Can change Property model", + "content_type": 16 + } + }, + { + "pk": 48, + "model": "auth.permission", + "fields": { + "codename": "delete_propertymodel", + "name": "Can delete Property model", + "content_type": 16 + } + }, + { + "pk": 31, + "model": "auth.permission", + "fields": { + "codename": "add_icon", + "name": "Can add Icon", + "content_type": 11 + } + }, + { + "pk": 32, + "model": "auth.permission", + "fields": { + "codename": "change_icon", + "name": "Can change Icon", + "content_type": 11 + } + }, + { + "pk": 33, + "model": "auth.permission", + "fields": { + "codename": "delete_icon", + "name": "Can delete Icon", + "content_type": 11 + } + }, + { + "pk": 16, + "model": "auth.permission", + "fields": { + "codename": "add_contenttype", + "name": "Can add content type", + "content_type": 6 + } + }, + { + "pk": 17, + "model": "auth.permission", + "fields": { + "codename": "change_contenttype", + "name": "Can change content type", + "content_type": 6 + } + }, + { + "pk": 18, + "model": "auth.permission", + "fields": { + "codename": "delete_contenttype", + "name": "Can delete content type", + "content_type": 6 + } + }, + { + "pk": 19, + "model": "auth.permission", + "fields": { + "codename": "add_session", + "name": "Can add session", + "content_type": 7 + } + }, + { + "pk": 20, + "model": "auth.permission", + "fields": { + "codename": "change_session", + "name": "Can change session", + "content_type": 7 + } + }, + { + "pk": 21, + "model": "auth.permission", + "fields": { + "codename": "delete_session", + "name": "Can delete session", + "content_type": 7 + } + }, + { + "pk": 22, + "model": "auth.permission", + "fields": { + "codename": "add_site", + "name": "Can add site", + "content_type": 8 + } + }, + { + "pk": 23, + "model": "auth.permission", + "fields": { + "codename": "change_site", + "name": "Can change site", + "content_type": 8 + } + }, + { + "pk": 24, + "model": "auth.permission", + "fields": { + "codename": "delete_site", + "name": "Can delete site", + "content_type": 8 + } + }, + { + "pk": 25, + "model": "auth.permission", + "fields": { + "codename": "add_news", + "name": "Can add News", + "content_type": 9 + } + }, + { + "pk": 26, + "model": "auth.permission", + "fields": { + "codename": "change_news", + "name": "Can change News", + "content_type": 9 + } + }, + { + "pk": 27, + "model": "auth.permission", + "fields": { + "codename": "delete_news", + "name": "Can delete News", + "content_type": 9 + } + }, + { + "pk": 1, + "model": "auth.group", + "fields": { + "name": "Moderator", + "permissions": [ + 40, + 41, + 42, + 37, + 38, + 39, + 49, + 50, + 51 + ] + } + }, + { + "pk": 2, + "model": "auth.group", + "fields": { + "name": "Application administrator", + "permissions": [ + 40, + 41, + 42, + 37, + 38, + 39, + 34, + 35, + 36, + 43, + 44, + 45, + 49, + 50, + 51, + 28, + 29, + 30, + 31, + 32, + 33, + 25, + 26, + 27 + ] + } + } +] diff --git a/fixtures/saclay_categories.json b/fixtures/saclay_categories.json new file mode 100644 index 0000000..cfbd283 --- /dev/null +++ b/fixtures/saclay_categories.json @@ -0,0 +1,82 @@ +[ + { + "pk": 2, + "model": "chimere.category", + "fields": { + "available": true, + "description": "

Test

\r\n

 

", + "name": "\u00c9v\u00e9nements", + "order": 10 + } + }, + { + "pk": 1, + "model": "chimere.category", + "fields": { + "available": true, + "description": "

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc blandit porta eros, quis varius orci luctus nec. Suspendisse tempor sagittis tortor. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Vivamus imperdiet consequat dolor. Etiam risus orci, auctor nec hendrerit ut, congue at ante. Aliquam et accumsan neque. Aliquam ac massa felis, ac porttitor nunc. Curabitur blandit odio id enim sodales blandit. Curabitur eleifend commodo lorem a feugiat. Nam at quam semper justo ultricies tempor.

", + "name": "Culture", + "order": 20 + } + }, + { + "pk": 3, + "model": "chimere.category", + "fields": { + "available": true, + "description": "", + "name": "Patrimoines", + "order": 30 + } + }, + { + "pk": 4, + "model": "chimere.category", + "fields": { + "available": true, + "description": "", + "name": "Sport et loisirs", + "order": 40 + } + }, + { + "pk": 5, + "model": "chimere.category", + "fields": { + "available": true, + "description": "", + "name": "Ressources pratiques", + "order": 50 + } + }, + { + "pk": 6, + "model": "chimere.category", + "fields": { + "available": true, + "description": "", + "name": "Mobilit\u00e9s", + "order": 60 + } + }, + { + "pk": 7, + "model": "chimere.category", + "fields": { + "available": true, + "description": "", + "name": "Agri-cultures", + "order": 70 + } + }, + { + "pk": 8, + "model": "chimere.category", + "fields": { + "available": true, + "description": "", + "name": "Balades", + "order": 80 + } + } +] \ No newline at end of file diff --git a/fixtures/saclay_propertymodels.json b/fixtures/saclay_propertymodels.json new file mode 100644 index 0000000..18e6268 --- /dev/null +++ b/fixtures/saclay_propertymodels.json @@ -0,0 +1,131 @@ +[ + { + "pk": 8, + "model": "chimere.propertymodel", + "fields": { + "available": false, + "subcategories": [], + "mandatory": false, + "name": "Nom du contact associ\u00e9", + "type": "T", + "order": 10 + } + }, + { + "pk": 2, + "model": "chimere.propertymodel", + "fields": { + "available": false, + "subcategories": [], + "mandatory": false, + "name": "Code postal", + "type": "T", + "order": 20 + } + }, + { + "pk": 1, + "model": "chimere.propertymodel", + "fields": { + "available": true, + "subcategories": [], + "mandatory": false, + "name": "Adresse", + "type": "T", + "order": 20 + } + }, + { + "pk": 3, + "model": "chimere.propertymodel", + "fields": { + "available": false, + "subcategories": [], + "mandatory": false, + "name": "Commune", + "type": "C", + "order": 30 + } + }, + { + "pk": 5, + "model": "chimere.propertymodel", + "fields": { + "available": true, + "subcategories": [], + "mandatory": false, + "name": "Courriel", + "type": "T", + "order": 40 + } + }, + { + "pk": 6, + "model": "chimere.propertymodel", + "fields": { + "available": true, + "subcategories": [], + "mandatory": false, + "name": "T\u00e9l\u00e9phone", + "type": "T", + "order": 50 + } + }, + { + "pk": 7, + "model": "chimere.propertymodel", + "fields": { + "available": true, + "subcategories": [], + "mandatory": false, + "name": "Site web", + "type": "T", + "order": 60 + } + }, + { + "pk": 1, + "model": "chimere.propertymodelchoice", + "fields": { + "available": true, + "value": "Gif-sur-Yvette", + "propertymodel": 3 + } + }, + { + "pk": 2, + "model": "chimere.propertymodelchoice", + "fields": { + "available": true, + "value": "Orsay", + "propertymodel": 3 + } + }, + { + "pk": 3, + "model": "chimere.propertymodelchoice", + "fields": { + "available": true, + "value": "Palaiseau", + "propertymodel": 3 + } + }, + { + "pk": 4, + "model": "chimere.propertymodelchoice", + "fields": { + "available": true, + "value": "Saint-Aubin", + "propertymodel": 3 + } + }, + { + "pk": 5, + "model": "chimere.propertymodelchoice", + "fields": { + "available": true, + "value": "Villiers-le-B\u00e0cle", + "propertymodel": 3 + } + } +] \ No newline at end of file diff --git a/forms.py b/forms.py new file mode 100644 index 0000000..3e42d66 --- /dev/null +++ b/forms.py @@ -0,0 +1,61 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- +# Copyright (C) 2012 Étienne Loks + +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. + +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + +# See the file COPYING for details. + +""" +Forms +""" +from django import forms +from django.utils.translation import ugettext as _ + +from chimere.models import SubCategory +from chimere.forms import MarkerForm as BaseMarkerForm, \ + RouteForm as BaseRouteForm +from chimere.widgets import TextareaWidget + +class MarkerForm(BaseMarkerForm): + categories = forms.ChoiceField(choices=[], widget=forms.Select) + description = forms.CharField(widget=TextareaWidget, required=False) + + def __init__(self, *args, **kwargs): + super(MarkerForm, self).__init__(*args, **kwargs) + self.fields['categories'].widget.choices = [('', _(u"Select"))] + \ + SubCategory.getAvailableTuples(item_types=['M', 'B']) + + def clean_categories(self): + cats = self.cleaned_data.get('categories') + if cats: + if type(cats) not in (list, tuple): + self.cleaned_data['categories'] = [cats] + return self.cleaned_data['categories'] + +class RouteForm(BaseRouteForm): + categories = forms.ChoiceField(choices=[], widget=forms.Select) + description = forms.CharField(widget=TextareaWidget, required=False) + + def __init__(self, *args, **kwargs): + super(RouteForm, self).__init__(*args, **kwargs) + self.fields['categories'].widget.choices = [('', _(u"Select"))] + \ + SubCategory.getAvailableTuples(item_types=['R', 'B']) + + def clean_categories(self): + cats = self.cleaned_data.get('categories') + if cats: + if type(cats) not in (list, tuple): + self.cleaned_data['categories'] = [cats] + return self.cleaned_data['categories'] diff --git a/import_filters/guyancourt.xslt b/import_filters/guyancourt.xslt new file mode 100644 index 0000000..04ea5b1 --- /dev/null +++ b/import_filters/guyancourt.xslt @@ -0,0 +1,18 @@ + + + + + + + + Ville de Guyancourt : + +
+ + guyancourt- +
+
+
+
+
+ diff --git a/import_filters/magny-les-hameaux.xslt b/import_filters/magny-les-hameaux.xslt new file mode 100644 index 0000000..afed5f1 --- /dev/null +++ b/import_filters/magny-les-hameaux.xslt @@ -0,0 +1,21 @@ + + + + + + + + + Ville de Magny-les-Hameaux : + + + + magny-les-hameaux-- + + + + + + + + diff --git a/import_filters/orsay.json b/import_filters/orsay.json new file mode 100644 index 0000000..40d2373 --- /dev/null +++ b/import_filters/orsay.json @@ -0,0 +1 @@ +{"title":"name", "id_agenda":"id", "content":"description", "date_start_evt":"start_date", "date_end_evt":"end_date", "adresse_localisation":"description", "prefix_name":"Vile d'Orsay :"} diff --git a/import_filters/villiers-le-bacle-detail.xslt b/import_filters/villiers-le-bacle-detail.xslt new file mode 100644 index 0000000..9dc757d --- /dev/null +++ b/import_filters/villiers-le-bacle-detail.xslt @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + diff --git a/import_filters/villiers-le-bacle.xslt b/import_filters/villiers-le-bacle.xslt new file mode 100644 index 0000000..1c33955 --- /dev/null +++ b/import_filters/villiers-le-bacle.xslt @@ -0,0 +1,17 @@ + + + + + + + + + Villiers-le-bâcle : + + villiers-le-bacle- + + + + + + diff --git a/local_settings.py.sample b/local_settings.py.sample new file mode 100644 index 0000000..c4f6cc8 --- /dev/null +++ b/local_settings.py.sample @@ -0,0 +1,33 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- + +# rename this file to local_settings.py and overload settings in this file + +import os + +CHIMERE_OSM_API_URL = 'api06.dev.openstreetmap.org' # test URL +CHIMERE_OSM_USER = 'osm_user' +CHIMERE_OSM_PASSWORD = 'osm_pass' + +ADMINS = ( + # ('Your Name', 'your_email@domain.com'), +) + +MANAGERS = ADMINS + +DATABASES = { + 'default': { + 'NAME': 'chimere', + 'ENGINE': 'django.contrib.gis.db.backends.postgis', + 'HOST': 'localhost', + 'PORT': '5432', + 'USER': 'postgres', + 'PASSWORD': '', + }, +} + +CHIMERE_ENABLE_ROUTING = True + +ROOT_URLCONF = 'chimere_saclay.urls' + +CONTACT_EMAIL = '' diff --git a/locale/fr/LC_MESSAGES/django.po b/locale/fr/LC_MESSAGES/django.po new file mode 100644 index 0000000..d09991d --- /dev/null +++ b/locale/fr/LC_MESSAGES/django.po @@ -0,0 +1,393 @@ +# Chimère +# Copyright (C) 2012 +# This file is distributed under the same license as the Chimère package. +# Étienne Loks , 2012. +# +msgid "" +msgstr "" +"Project-Id-Version: 2.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2012-11-11 17:49+0100\n" +"Last-Translator: Étienne Loks \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n > 1)\n" + +#: forms.py:37 forms.py:52 +msgid "Select" +msgstr "Sélectionner" + +#: local_settings.py:51 settings.py:80 +msgid "Foot" +msgstr "Marche" + +#: local_settings.py:52 settings.py:81 +msgid "Bicycle" +msgstr "À vélo" + +#: settings.py:82 +msgid "Motorcar" +msgstr "En voiture" + +#: settings.py:85 +msgid "You are walking slowly" +msgstr "Vous marchez lentement" + +#: settings.py:86 +msgid "You are walking pretty quickly" +msgstr "Vous marchez plutôt vite" + +#: settings.py:87 +msgid "You are riding pretty slowly" +msgstr "Vous roulez plutôt lentement" + +#: settings.py:88 +msgid "You are riding pretty quickly" +msgstr "Vous roulez plutôt rapidement" + +#: settings.py:107 +msgid "Hello, I would like to propose you a modification about this item: " +msgstr "" +"Bonjour, je voudrais vous proposer une modification à propos de cet " +"élément : " + +#: settings.py:109 +msgid "This itinerary has dangerous passages. You should change it." +msgstr "" +"Cet itinéraire comporte des passages dangereux. Nous vous conseillons de " +"modifier votre recherche." + +#: templates/chimere/base.html:14 +msgid "You must enable JavaScript in your browser to display Chimère." +msgstr "" +"Vous devez activer le JavaScript dans votre navigateur pour afficher Chimère." + +#: templates/chimere/detail.html:2 +msgid "Close" +msgstr "Fermer" + +#: templates/chimere/detail.html:17 +msgid "Date:" +msgstr "Date :" + +#: templates/chimere/detail.html:30 +msgid "Show multimedia gallery" +msgstr "Montrer la gallerie multimedia" + +#: templates/chimere/detail.html:36 +msgid "Read more" +msgstr "En lire plus" + +#: templates/chimere/detail.html:37 +msgid "Read less" +msgstr "En lire moins" + +#: templates/chimere/detail.html:40 +msgctxt "routing" +msgid "From" +msgstr "En partir" + +#: templates/chimere/detail.html:41 +msgctxt "routing" +msgid "To" +msgstr "Y aller" + +#: templates/chimere/detail.html:42 +msgid "Zoom in" +msgstr "Zoom en avant" + +#: templates/chimere/detail.html:43 +msgid "Zoom out" +msgstr "Zoom en arrière" + +#: templates/chimere/detail.html:46 +msgid "Propose a modification" +msgstr "Proposer une modification" + +#: templates/chimere/edit.html:4 +msgid "Add an event" +msgstr "Ajouter un événement" + +#: templates/chimere/edit.html:6 +msgid "Add a route" +msgstr "Ajouter un trajet" + +#: templates/chimere/edit.html:7 +msgid "Add a location" +msgstr "Ajouter un lieu" + +#: templates/chimere/edit.html:20 +msgid "indicates a mandatory field" +msgstr "indique un champ obligatoire" + +#: templates/chimere/edit.html:25 +msgid "Select a location for this new site" +msgstr "Choisisez un lieu pour ce nouveau site" + +#: templates/chimere/edit.html:29 +msgid "Name of the route" +msgstr "Nom du trajet" + +#: templates/chimere/edit.html:29 +msgid "Name of the event" +msgstr "Nom de l'événement" + +#: templates/chimere/edit.html:29 +msgid "Name of the location" +msgstr "Nom du lieu" + +#: templates/chimere/edit.html:34 +msgid "Category" +msgstr "Catégorie" + +#: templates/chimere/edit.html:41 +msgid "Start date" +msgstr "Date de début" + +#: templates/chimere/edit.html:46 +msgid "End date" +msgstr "Date de fin" + +#: templates/chimere/edit.html:64 +msgid "Description" +msgstr "Description" + +#: templates/chimere/edit.html:97 +msgctxt "form" +msgid "Route" +msgstr "Trajet" + +#: templates/chimere/edit.html:100 +msgid "Select a route for this new site (have you submit the search?)" +msgstr "" +"Sélectionnez un trajet pour ce nouvel élément (avez-vous validé votre " +"recherche ?)" + +#: templates/chimere/edit.html:107 +msgid "Personal information" +msgstr "Informations personnelles" + +#: templates/chimere/edit.html:110 templates/chimere/blocks/share_bar.html:7 +msgid "Email" +msgstr "Courriel" + +#: templates/chimere/edit.html:115 +#: templates/chimere/blocks/alternate_multimedia.html:38 +msgid "Name" +msgstr "Nom" + +#: templates/chimere/edit.html:120 +msgid "Comment" +msgstr "Commentaire" + +#: templates/chimere/edit.html:126 +msgid "Upload in progress. Please wait..." +msgstr "Traitement en cours. Veuillez patienter..." + +#: templates/chimere/edit.html:129 +msgid "Propose" +msgstr "Proposez" + +#: templates/chimere/edit.html:182 +msgid "There are missing/erroneous fields." +msgstr "Il y a des champs manquants/erronés." + +#: templates/chimere/main_map.html:14 +msgid "" +"Error while loading the page... Refresh the page. If the problem persist " +"contact the webmaster." +msgstr "" +"Erreur lors du chargement de la page... Rafraichissez la page. Si le " +"problème perdure prennez contact avec le webmaster." + +#: templates/chimere/main_map.html:28 +msgid "Categories" +msgstr "Categories" + +#: templates/chimere/main_map.html:31 +msgid "Routing" +msgstr "Itinéraire" + +#: templates/chimere/main_map.html:36 +msgid "Location" +msgstr "Lieu" + +#: templates/chimere/main_map.html:39 +msgid "Wander" +msgstr "Balade" + +#: templates/chimere/main_map.html:42 +msgid "Event" +msgstr "Événement" + +#: templates/chimere/main_map.html:64 +msgid "contact us" +msgstr "nous contacter" + +#: templates/chimere/main_map.html:65 +msgid "terms of service, credits" +msgstr "mentions légales, crédits" + +#: templates/chimere/blocks/actions.html:5 +msgid "Map" +msgstr "Carte" + +#: templates/chimere/blocks/actions.html:8 +msgid "Participate" +msgstr "Participer" + +#: templates/chimere/blocks/actions.html:13 +#: templates/chimere/blocks/news.html:13 +msgid "News" +msgstr "Actualités" + +#: templates/chimere/blocks/actions.html:16 +msgid "The project" +msgstr "Le projet" + +#: templates/chimere/blocks/actions.html:20 +msgid "Print" +msgstr "Imprimer" + +#: templates/chimere/blocks/actions.html:24 +msgid "Help" +msgstr "Aide" + +#: templates/chimere/blocks/alternate_multimedia.html:34 +msgid "Add multimedia from your computer or a website" +msgstr "Ajout d'un fichier multimedia depuis votre ordinateur ou un site web" + +#: templates/chimere/blocks/alternate_multimedia.html:35 +msgid "" +"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc eu luctus " +"ipsum. Donec vel urna a turpis consectetur consectetur. Vestibulum ut enim " +"vel odio porta vulputate." +msgstr "" + +#: templates/chimere/blocks/alternate_multimedia.html:42 +msgid "Image" +msgstr "Image" + +#: templates/chimere/blocks/alternate_multimedia.html:43 +msgid "Audio, video, other..." +msgstr "Audio, vidéo, autre..." + +#: templates/chimere/blocks/alternate_multimedia.html:46 +msgid "Download" +msgstr "Télécharger" + +#: templates/chimere/blocks/alternate_multimedia.html:47 +msgid "Or" +msgstr "Ou" + +#: templates/chimere/blocks/alternate_multimedia.html:48 +msgid "Web address" +msgstr "Adresse web" + +#: templates/chimere/blocks/alternate_multimedia.html:50 +msgid "Add" +msgstr "Ajout" + +#: templates/chimere/blocks/alternate_multimedia.html:80 +msgid "You must provide a name." +msgstr "Vous devez fournir un nom." + +#: templates/chimere/blocks/alternate_multimedia.html:85 +msgid "You must choose a media type." +msgstr "Vous devez renseigner le type de média." + +#: templates/chimere/blocks/alternate_multimedia.html:91 +msgid "You must provide a file or a web address." +msgstr "Vous devez fournir un fichier ou renseigner une adresse web." + +#: templates/chimere/blocks/alternate_multimedia.html:96 +msgid "You must provide a web address." +msgstr "Vous devez renseigner une adresse web." + +#: templates/chimere/blocks/map.html:9 +msgid "Loading of the map in progress" +msgstr "Chargement de la carte en cours" + +#: templates/chimere/blocks/map.html:13 +msgid "Display options" +msgstr "Options d'affichage" + +#: templates/chimere/blocks/map.html:15 +msgid "Map type" +msgstr "Type de carte" + +#: templates/chimere/blocks/map.html:100 +msgid "Permalink" +msgstr "Lien permanent" + +#: templates/chimere/blocks/news.html:28 +#: templates/chimere/blocks/welcome.html:38 +msgid "See it on the map" +msgstr "Regarder sur la carte" + +#: templates/chimere/blocks/news.html:30 +#: templates/chimere/blocks/welcome.html:42 +msgid "Go to the event website" +msgstr "Aller sur le site de l'événement" + +#: templates/chimere/blocks/routing.html:28 +msgid "+ Add a step" +msgstr "+ Ajouter une étape" + +#: templates/chimere/blocks/routing.html:29 +msgid "Search" +msgstr "Recherche" + +#: templates/chimere/blocks/routing.html:32 +msgid "Extra criterias" +msgstr "Critères supplémentaires" + +#: templates/chimere/blocks/routing.html:47 +msgid "Roadmap" +msgstr "Feuille de route" + +#: templates/chimere/blocks/routing.html:59 +msgid "Start" +msgstr "Départ" + +#: templates/chimere/blocks/routing.html:66 +msgid "Finish" +msgstr "Arrivée" + +#: templates/chimere/blocks/routing.html:72 +msgid "Modify" +msgstr "Modifier" + +#: templates/chimere/blocks/routing.html:75 +msgid "New search" +msgstr "Nouvelle recherche" + +#: templates/chimere/blocks/routing.html:82 +msgid "Step" +msgstr "Étape" + +#: templates/chimere/blocks/share_bar.html:3 +msgid "Share on" +msgstr "Partager sur" + +#: templates/chimere/blocks/share_bar.html:8 +msgid "Share" +msgstr "Partager" + +#: templates/chimere/blocks/welcome.html:40 +msgid "More informations" +msgstr "Plus d'informations" + +#: templates/chimere/blocks/welcome.html:49 +msgid "See all news" +msgstr "Voir toutes les actualités" + +#~ msgid "credits" +#~ msgstr "crédits" + +#~ msgid "Thank you for your contribution to the project!" +#~ msgstr "Merci pour votre contribution au projet !" + +#~ msgid "Editorial" +#~ msgstr "Édito" diff --git a/manage.py b/manage.py new file mode 100755 index 0000000..abb366f --- /dev/null +++ b/manage.py @@ -0,0 +1,15 @@ +#!/usr/bin/env python +import os, sys +from django.core.management import execute_manager +sys.path.insert(0, '/home/nim/Work/chimere-project/chimere/') +sys.path.insert(0, os.path.abspath('./..')) + +try: + import settings # Assumed to be in the same directory. +except ImportError: + import sys + sys.stderr.write("Error: Can't find the file 'settings.py' in the directory containing %r. It appears you've customized things.\nYou'll have to run django-admin.py, passing it your settings module.\n(If the file settings.py does indeed exist, it's causing an ImportError somehow.)\n" % __file__) + sys.exit(1) + +if __name__ == "__main__": + execute_manager(settings) diff --git a/mobile_settings.py b/mobile_settings.py new file mode 100644 index 0000000..4da5a1b --- /dev/null +++ b/mobile_settings.py @@ -0,0 +1,11 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- + +try: + from settings import * +except ImportError, e: + print 'Unable to load settings.py:', e + +SITE_ID = 2 +DEBUG = True +TEMPLATE_DEBUG = True diff --git a/settings.py b/settings.py new file mode 100644 index 0000000..0a9ba06 --- /dev/null +++ b/settings.py @@ -0,0 +1,360 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- + +# Don't edit this file: +# overload all theses settings in your local_settings.py file + +import os +import sys +_ = lambda s: s + +DEBUG = False +TEMPLATE_DEBUG = DEBUG +MOBILE_TEST = False +DJANGO_EXTENSIONS = False + +# Django settings for chimere project. +PROJECT_NAME = u'Chimère' +ROOT_PATH = os.path.realpath(os.path.dirname(__file__)) + "/" + +EMAIL_HOST = 'localhost' +CONTACT_EMAIL = '' +STATIC_URL = '/static/' +STATIC_ROOT = ROOT_PATH + 'static/' + +TINYMCE_URL = '/tinymce/' +EXTRA_CSS = [] +JQUERY_JS_URLS = [] +JQUERY_CSS_URLS = [] + +OSM_CSS_URLS = ["http://www.openlayers.org/api/theme/default/style.css"] + +GPSBABEL = '/usr/bin/gpsbabel' +# simplify with an error of 5 meters +GPSBABEL_OPTIONS = 'simplify,crosstrack,error=0.005k' +# GPSBABEL_OPTIONS = 'simplify,count=100' + +# # chimere specific ## +CHIMERE_DEFAULT_ZOOM = 10 +# center of the map +CHIMERE_DEFAULT_CENTER = (-1.679444, 48.114722) +# projection used by the main map +# most public map providers use spherical mercator : 900913 +CHIMERE_EPSG_PROJECTION = 900913 +# projection displayed to the end user by openlayers +# chimere use the same projection to save its data in the database +CHIMERE_EPSG_DISPLAY_PROJECTION = 4326 +# display of shortcuts for areas +CHIMERE_DISPLAY_AREAS = True +# number of day before an event to display +# if equal to 0: disable event management +# if you change this value from 0 to a value in a production environnement +# don't forget to run the upgrade.py script to create appropriate fields in +# the database +CHIMERE_DAYS_BEFORE_EVENT = 30 +# Dated events must usualy be checked as 'front page' to be displayed +# on front page - set CHIMERE_ALL_DATED_ARE_FRONT to True if you want to +# display all events on front page +CHIMERE_ALL_DATED_ARE_FRONT = True +# allow feeds +CHIMERE_FEEDS = True +# display a directory of items +CHIMERE_DIRECTORY = False + +CHIMERE_ICON_WIDTH = 36 +CHIMERE_ICON_HEIGHT = 42 +CHIMERE_ICON_OFFSET_X = -18 +CHIMERE_ICON_OFFSET_Y = -42 + +# display picture inside the description by default or inside a galery? +CHIMERE_MINIATURE_BY_DEFAULT = False + +# JS definition of the default map (for admin and when no map are defined in +# the application) +# cf. OpenLayers documentation for more details + +# OSM mapnik map +CHIMERE_DEFAULT_MAP_LAYER = "new OpenLayers.Layer.OSM.Mapnik('Mapnik')" + +CHIMERE_XAPI_URL = 'http://open.mapquestapi.com/xapi/api/0.6/' +CHIMERE_OSM_API_URL = 'api06.dev.openstreetmap.org' # test URL +CHIMERE_OSM_USER = 'test' +CHIMERE_OSM_PASSWORD = 'test' + +# encoding for shapefile import +CHIMERE_SHAPEFILE_ENCODING = 'ISO-8859-1' + +# as the web server need to be reloaded when property models are changed +# it could be a good idea to hide it to an admin who could'nt do that +CHIMERE_HIDE_PROPERTYMODEL = False + +CHIMERE_ENABLE_CLUSTERING = False + +# enable routing in Chimère +CHIMERE_ENABLE_ROUTING = False + +CHIMERE_ROUTING_TRANSPORT = ( + ('foot', _(u"Foot")), + ('bicycle', _(u"Bicycle")), + ('motorcar', _(u"Motorcar")), +) + +CHIMERE_ROUTING_SPEEDS = { + 'foot': ((3, _(u"You are walking slowly")), + (6, _(u"You are walking pretty quickly")),), + 'bicycle': ((16, _(u"You are riding pretty slowly")), + (22, _(u"You are riding pretty quickly")),) +} + +# available routing engine: 'routino' +CHIMERE_ROUTING_ENGINE = { + 'ENGINE': 'routino', + 'PATH': '/usr/local/src/web/bin/router', + 'DB_PATH': '/var/local/routino/', +} + +CHIMERE_ROUTING_FAIL_MESSAGE = u"""

Attention

+

Le moteur de routage a échoué dans sa recherche de trajet. Les points de +départ ou d'arrivée sont peut-être trop loin d'une voie existante ou le trajet +est trop dangereux.

""" + +NOMINATIM_URL = 'http://nominatim.openstreetmap.org/search' + +# thumbnail +CHIMERE_THUMBS_SCALE_HEIGHT = 250 +CHIMERE_THUMBS_SCALE_WIDTH = None + +# search engine +CHIMERE_SEARCH_ENGINE = False +HAYSTACK_CONNECTIONS = { + 'default': { + 'ENGINE': 'haystack.backends.solr_backend.SolrEngine', + 'URL': 'http://127.0.0.1:8080/solr', + 'INCLUDE_SPELLING': True, + }, +} +HAYSTACK_SEARCH_RESULTS_PER_PAGE = 12 +HAYSTACK_AUTOCOMPLETE = False + +# length of short description +CHIMERE_SHORT_DESC_LENGTH = 400 + +CHIMERE_MODIF_EMAIL = _(u"Hello, I would like to propose you a modification " + u"about this item: ") + +CHIMERE_ROUTING_WARN_MESSAGE = u"

Attention

"\ + u"

Cet itinéraire comporte des passages dangereux, nous vous conseillons"\ + u" de modifier votre recherche, en ajoutant par exemple un ou des points "\ + u"d'étape à votre parcours pour éviter les zones de danger.

" + +CHIMERE_CSV_ENCODING = 'ISO-8859-1' + +# generic contact email +CONTACT_EMAIL = '' + +ADMINS = ( + # ('Your Name', 'your_email@domain.com'), +) + +MANAGERS = ADMINS + +DATABASES = { + 'default': { + 'NAME': 'ratatouille', + 'ENGINE': 'django.contrib.gis.db.backends.postgis', + 'HOST': 'localhost', + 'PORT': '5432', + 'USER': 'ratatouille', + 'PASSWORD': 'wiki', + }, +} + +if 'test' in sys.argv: + SOUTH_TESTS_MIGRATE = False + +# Local time zone for this installation. Choices can be found here: +# http://www.postgresql.org/docs/8.1/static/datetime-keywords.html#DATETIME-TIMEZONE-SET-TABLE +# although not all variations may be possible on all operating systems. +# If running in a Windows environment this must be set to the same as your +# system time zone. +TIME_ZONE = 'Europe/Paris' + +# Language code for this installation. All choices can be found here: +# http://www.w3.org/TR/REC-html40/struct/dirlang.html#langcodes +# http://blogs.law.harvard.edu/tech/stories/storyReader$15 +LANGUAGE_CODE = 'fr-FR' + +SITE_ID = 1 + +# If you set this to False, Django will make some optimizations so as not +# to load the internationalization machinery. +USE_I18N = True +USE_L10N = True + +# Absolute path to the directory that holds media. +# Example: "/home/media/media.lawrence.com/" +MEDIA_ROOT = ROOT_PATH + 'media/' + +# URL that handles the media served from MEDIA_ROOT. +# Example: "http://media.lawrence.com" +MEDIA_URL = '/media/' + +# List of callables that know how to import templates from various sources. +TEMPLATE_LOADERS = ( + 'django.template.loaders.filesystem.Loader', + 'django.template.loaders.app_directories.Loader', +) + +MIDDLEWARE_CLASSES = ( + 'django.middleware.common.CommonMiddleware', + 'django.contrib.sessions.middleware.SessionMiddleware', + 'django.contrib.auth.middleware.AuthenticationMiddleware', + 'django.middleware.doc.XViewMiddleware', + 'django.contrib.messages.middleware.MessageMiddleware' +) + +ROOT_URLCONF = 'chimere_saclay.urls' + +TEMPLATE_DIRS = [ + ROOT_PATH + 'templates', +] + +TEMPLATE_CONTEXT_PROCESSORS = ( + "django.contrib.auth.context_processors.auth", + "django.core.context_processors.debug", + "django.core.context_processors.i18n", + "django.core.context_processors.media", + "django.core.context_processors.static", + "django.contrib.messages.context_processors.messages", + "django.core.context_processors.request", +) + +INSTALLED_APPS = [ + 'django.contrib.auth', + 'django.contrib.admin', + 'django.contrib.contenttypes', + 'django.contrib.sessions', + 'django.contrib.sites', + 'django.contrib.gis', + 'django.contrib.staticfiles', +] + +# celery +try: + import djcelery + import kombu + kombu + djcelery.setup_loader() + BROKER_URL = 'django://' + INSTALLED_APPS += ['kombu.transport.django', + 'djcelery'] +except ImportError: + # some import and export will not be available + pass + +INSTALLED_APPS += [ + 'south', + 'chimere', +] + +MOBILE_DOMAINS = [] # if you have specific domains for mobile access + +LOGFILENAME = '/var/log/django/chimere.log' + +LOGGING = { + 'version': 1, + 'disable_existing_loggers': False, + 'handlers': { + # Include the default Django email handler for errors + # This is what you'd get without configuring logging at all. + 'mail_admins': { + 'class': 'django.utils.log.AdminEmailHandler', + 'level': 'ERROR', + # But the emails are plain text by default - HTML is nicer + 'include_html': True, + }, + # Log to a text file that can be rotated by logrotate + 'logfile': { + 'class': 'logging.handlers.WatchedFileHandler', + 'filename': '/var/log/django/chimere.log' + }, + }, + 'loggers': { + # Again, default Django configuration to email unhandled exceptions + 'django.request': { + 'handlers': ['mail_admins'], + 'level': 'ERROR', + 'propagate': True, + }, + # Might as well log any errors anywhere else in Django + 'django': { + 'handlers': ['logfile'], + 'level': 'ERROR', + 'propagate': False, + }, + # Your own app - this assumes all your logger names start with "myapp." + 'chimere': { + 'handlers': ['logfile'], + 'level': 'WARNING', # Or maybe INFO or DEBUG + 'propogate': False + }, + }, +} + +CHIMERE_SEARCH_ENGINE = False +# default haystack parameters when search engine is activated +HAYSTACK_CONNECTIONS = { + 'default': { + 'ENGINE': 'haystack.backends.solr_backend.SolrEngine', + 'URL': 'http://127.0.0.1:8080/solr' + }, +} +HAYSTACK_SEARCH_RESULTS_PER_PAGE = 12 +HAYSTACK_AUTOCOMPLETE = False + +try: + from local_settings import * +except ImportError, e: + print 'Unable to load local_settings.py:', e + +if CHIMERE_SEARCH_ENGINE: + INSTALLED_APPS.insert(INSTALLED_APPS.index('south'), 'haystack') + +if DJANGO_EXTENSIONS: + INSTALLED_APPS.append('django_extensions') + +if not JQUERY_JS_URLS: + JQUERY_JS_URLS = (STATIC_URL + 'jquery/jquery.min.js', + STATIC_URL + 'jquery-ui/jquery-ui.min.js') + +if not JQUERY_CSS_URLS: + JQUERY_CSS_URLS = (STATIC_URL + 'jquery-ui/smoothness/jquery-ui.css', + STATIC_URL + 'jquery-ui/base/jquery.ui.all.css') + +LOGGING['handlers']['logfile']['filename'] = LOGFILENAME + +if 'CHIMERE_SHARE_NETWORKS' not in globals(): + # after the locals to get the right STATIC_URL + + # share with + global CHIMERE_SHARE_NETWORKS + CHIMERE_SHARE_NETWORKS = ( + ("Email", 'mailto:?subject=%(text)s&body=%(url)s', + STATIC_URL + 'chimere/img/email.png'), + ("Facebook", 'http://www.facebook.com/sharer.php?t=%(text)s&u=%(url)s', + STATIC_URL + 'chimere/img/facebook.png'), + ("Twitter", 'http://twitter.com/home?status=%(text)s %(url)s', + STATIC_URL + 'chimere/img/twitter.png'), + ) + +if 'OSM_JS_URLS' not in globals(): + global OSM_JS_URLS + OSM_JS_URLS = [STATIC_URL + "openlayers/OpenLayers.js", + STATIC_URL + "openlayers/SimplePanZoom.js", + "http://www.openstreetmap.org/openlayers/OpenStreetMap.js"] +if 'OSM_MOBILE_JS_URLS' not in globals(): + global OSM_MOBILE_JS_URLS + OSM_MOBILE_JS_URLS = [ + STATIC_URL + "openlayers/OpenLayers.mobile.js", + "http://www.openstreetmap.org/openlayers/OpenStreetMap.js" + ] diff --git a/site_static/Carte-ouverte_Saclay-presentation.pdf b/site_static/Carte-ouverte_Saclay-presentation.pdf new file mode 100644 index 0000000..6da86b8 Binary files /dev/null and b/site_static/Carte-ouverte_Saclay-presentation.pdf differ diff --git a/site_static/css/home.css b/site_static/css/home.css new file mode 100644 index 0000000..016c359 --- /dev/null +++ b/site_static/css/home.css @@ -0,0 +1,71 @@ +/* CSS Document */ + +/* CSS Document */ + +@charset "iso-8859-1"; +body { +font-family: arial; +font-size: 10px; +color: #000000; +margin: 0px; +padding: 0px; +background-color: #fff; + +} + +select#id_categories{ + max-width:240px; +} + +#frm-response{ + display:none; +} + +#new_body { +left: 50%; +margin-right: auto; +margin-left: -300px; +width: 599px; +height: auto; +background:#ffffff; +padding: 0px; +position: absolute !important; /* pour FF */ +position: relative; /* pour IE */ +border-right:1px solid #adb3b8; +} + +a img {border:0; margin:0px; +padding:0px;background:none;display: block; } +img {border:0; margin:0px; +padding:0px;background:none;display: block;} + +#header {width:599px;height:500px;padding:0px;margin:0px;background-image: url(../img/header.png);} + +#link {width:599px;height:30px;padding:0px;margin:0px;} +#link2 {width:599px;height:20px;padding:0px;margin:0px;} + +#img {width:599px;height:auto;padding:0px;margin:0px;} + +.box { +height:18px; +width:218px; +border: 0px #99B19A solid; +font-family:Arial, Helvetica, sans-serif; +color:#ffffff; +background:#677B92; +font-weight:bold; +font-size: 11px; +padding: 2px; +margin-top:456px; +margin-left:189px;} + +.ok { + width:22px; + height:22px; + float:right; + margin-right:160px; + margin-top:456px; +} +.ok:hover{ + cursor:pointer; +} diff --git a/site_static/img/dorian_off.png b/site_static/img/dorian_off.png new file mode 100644 index 0000000..0b05d59 Binary files /dev/null and b/site_static/img/dorian_off.png differ diff --git a/site_static/img/dorian_on.png b/site_static/img/dorian_on.png new file mode 100644 index 0000000..9ca4b93 Binary files /dev/null and b/site_static/img/dorian_on.png differ diff --git a/site_static/img/footer.png b/site_static/img/footer.png new file mode 100644 index 0000000..483182b Binary files /dev/null and b/site_static/img/footer.png differ diff --git a/site_static/img/header.png b/site_static/img/header.png new file mode 100644 index 0000000..72b380d Binary files /dev/null and b/site_static/img/header.png differ diff --git a/site_static/img/lea_off.png b/site_static/img/lea_off.png new file mode 100644 index 0000000..189711b Binary files /dev/null and b/site_static/img/lea_off.png differ diff --git a/site_static/img/lea_on.png b/site_static/img/lea_on.png new file mode 100644 index 0000000..e685ee3 Binary files /dev/null and b/site_static/img/lea_on.png differ diff --git a/site_static/img/logo.png b/site_static/img/logo.png new file mode 100644 index 0000000..c43bf46 Binary files /dev/null and b/site_static/img/logo.png differ diff --git a/site_static/img/ok.png b/site_static/img/ok.png new file mode 100644 index 0000000..3562528 Binary files /dev/null and b/site_static/img/ok.png differ diff --git a/site_static/img/popup.png b/site_static/img/popup.png new file mode 100644 index 0000000..0ee2a5d Binary files /dev/null and b/site_static/img/popup.png differ diff --git a/site_static/img/sabine_off.png b/site_static/img/sabine_off.png new file mode 100644 index 0000000..7a5801f Binary files /dev/null and b/site_static/img/sabine_off.png differ diff --git a/site_static/img/sabine_on.png b/site_static/img/sabine_on.png new file mode 100644 index 0000000..e2eea66 Binary files /dev/null and b/site_static/img/sabine_on.png differ diff --git a/site_static/img/savoir_off.png b/site_static/img/savoir_off.png new file mode 100644 index 0000000..01cb5e0 Binary files /dev/null and b/site_static/img/savoir_off.png differ diff --git a/site_static/img/savoir_on.png b/site_static/img/savoir_on.png new file mode 100644 index 0000000..43b55bc Binary files /dev/null and b/site_static/img/savoir_on.png differ diff --git a/site_static/img/telecharger_off.png b/site_static/img/telecharger_off.png new file mode 100644 index 0000000..3f25c7f Binary files /dev/null and b/site_static/img/telecharger_off.png differ diff --git a/site_static/img/telecharger_on.png b/site_static/img/telecharger_on.png new file mode 100644 index 0000000..f6210b7 Binary files /dev/null and b/site_static/img/telecharger_on.png differ diff --git a/site_static/index.php b/site_static/index.php new file mode 100644 index 0000000..b761d64 --- /dev/null +++ b/site_static/index.php @@ -0,0 +1,77 @@ +'); ?> + + + +Carte OuVerte du plateau de Saclay + + + + + + + +
+ + + +
+
+
+
+
+
+ + diff --git a/site_static/lib/.htaccess b/site_static/lib/.htaccess new file mode 100644 index 0000000..3a42882 --- /dev/null +++ b/site_static/lib/.htaccess @@ -0,0 +1 @@ +Deny from all diff --git a/site_static/lib/db.php.sample b/site_static/lib/db.php.sample new file mode 100644 index 0000000..4cfa9be --- /dev/null +++ b/site_static/lib/db.php.sample @@ -0,0 +1,19 @@ + 'plouf', + 'db_host' => 'localhost', + 'db_user' => 'plouf', + 'db_pass' => 'plouf', +); + +function opendb(){ + global $config; + $db_link = mysql_connect($config['db_host'], $config['db_user'], $config['db_pass']) or die ('Error connecting to mysql'); + mysql_select_db($config['db_name']); + return $db_link; +} +function closedb($db_link){ + return mysql_close($db_link); +} +?> + diff --git a/site_static/lib/functions.php b/site_static/lib/functions.php new file mode 100644 index 0000000..061ec12 --- /dev/null +++ b/site_static/lib/functions.php @@ -0,0 +1,45 @@ += 100){ + closedb($db); + return 0; +} +closedb($db); +return 1; +} +?> diff --git a/static/jquery-ui/base/images/animated-overlay.gif b/static/jquery-ui/base/images/animated-overlay.gif new file mode 100644 index 0000000..d441f75 Binary files /dev/null and b/static/jquery-ui/base/images/animated-overlay.gif differ diff --git a/static/jquery-ui/base/images/ui-bg_flat_0_aaaaaa_40x100.png b/static/jquery-ui/base/images/ui-bg_flat_0_aaaaaa_40x100.png new file mode 100644 index 0000000..5b5dab2 Binary files /dev/null and b/static/jquery-ui/base/images/ui-bg_flat_0_aaaaaa_40x100.png differ diff --git a/static/jquery-ui/base/images/ui-bg_flat_75_ffffff_40x100.png b/static/jquery-ui/base/images/ui-bg_flat_75_ffffff_40x100.png new file mode 100644 index 0000000..ac8b229 Binary files /dev/null and b/static/jquery-ui/base/images/ui-bg_flat_75_ffffff_40x100.png differ diff --git a/static/jquery-ui/base/images/ui-bg_glass_55_fbf9ee_1x400.png b/static/jquery-ui/base/images/ui-bg_glass_55_fbf9ee_1x400.png new file mode 100644 index 0000000..ad3d634 Binary files /dev/null and b/static/jquery-ui/base/images/ui-bg_glass_55_fbf9ee_1x400.png differ diff --git a/static/jquery-ui/base/images/ui-bg_glass_65_ffffff_1x400.png b/static/jquery-ui/base/images/ui-bg_glass_65_ffffff_1x400.png new file mode 100644 index 0000000..42ccba2 Binary files /dev/null and b/static/jquery-ui/base/images/ui-bg_glass_65_ffffff_1x400.png differ diff --git a/static/jquery-ui/base/images/ui-bg_glass_75_dadada_1x400.png b/static/jquery-ui/base/images/ui-bg_glass_75_dadada_1x400.png new file mode 100644 index 0000000..5a46b47 Binary files /dev/null and b/static/jquery-ui/base/images/ui-bg_glass_75_dadada_1x400.png differ diff --git a/static/jquery-ui/base/images/ui-bg_glass_75_e6e6e6_1x400.png b/static/jquery-ui/base/images/ui-bg_glass_75_e6e6e6_1x400.png new file mode 100644 index 0000000..86c2baa Binary files /dev/null and b/static/jquery-ui/base/images/ui-bg_glass_75_e6e6e6_1x400.png differ diff --git a/static/jquery-ui/base/images/ui-bg_glass_95_fef1ec_1x400.png b/static/jquery-ui/base/images/ui-bg_glass_95_fef1ec_1x400.png new file mode 100644 index 0000000..4443fdc Binary files /dev/null and b/static/jquery-ui/base/images/ui-bg_glass_95_fef1ec_1x400.png differ diff --git a/static/jquery-ui/base/images/ui-bg_highlight-soft_75_cccccc_1x100.png b/static/jquery-ui/base/images/ui-bg_highlight-soft_75_cccccc_1x100.png new file mode 100644 index 0000000..7c9fa6c Binary files /dev/null and b/static/jquery-ui/base/images/ui-bg_highlight-soft_75_cccccc_1x100.png differ diff --git a/static/jquery-ui/base/images/ui-icons_222222_256x240.png b/static/jquery-ui/base/images/ui-icons_222222_256x240.png new file mode 100644 index 0000000..ee039dc Binary files /dev/null and b/static/jquery-ui/base/images/ui-icons_222222_256x240.png differ diff --git a/static/jquery-ui/base/images/ui-icons_2e83ff_256x240.png b/static/jquery-ui/base/images/ui-icons_2e83ff_256x240.png new file mode 100644 index 0000000..45e8928 Binary files /dev/null and b/static/jquery-ui/base/images/ui-icons_2e83ff_256x240.png differ diff --git a/static/jquery-ui/base/images/ui-icons_454545_256x240.png b/static/jquery-ui/base/images/ui-icons_454545_256x240.png new file mode 100644 index 0000000..7ec70d1 Binary files /dev/null and b/static/jquery-ui/base/images/ui-icons_454545_256x240.png differ diff --git a/static/jquery-ui/base/images/ui-icons_888888_256x240.png b/static/jquery-ui/base/images/ui-icons_888888_256x240.png new file mode 100644 index 0000000..5ba708c Binary files /dev/null and b/static/jquery-ui/base/images/ui-icons_888888_256x240.png differ diff --git a/static/jquery-ui/base/images/ui-icons_cd0a0a_256x240.png b/static/jquery-ui/base/images/ui-icons_cd0a0a_256x240.png new file mode 100644 index 0000000..7930a55 Binary files /dev/null and b/static/jquery-ui/base/images/ui-icons_cd0a0a_256x240.png differ diff --git a/static/jquery-ui/base/jquery-ui.css b/static/jquery-ui/base/jquery-ui.css new file mode 100644 index 0000000..c0afe83 --- /dev/null +++ b/static/jquery-ui/base/jquery-ui.css @@ -0,0 +1,1174 @@ +/*! jQuery UI - v1.10.1 - 2013-02-15 +* http://jqueryui.com +* Includes: jquery.ui.core.css, jquery.ui.accordion.css, jquery.ui.autocomplete.css, jquery.ui.button.css, jquery.ui.datepicker.css, jquery.ui.dialog.css, jquery.ui.menu.css, jquery.ui.progressbar.css, jquery.ui.resizable.css, jquery.ui.selectable.css, jquery.ui.slider.css, jquery.ui.spinner.css, jquery.ui.tabs.css, jquery.ui.tooltip.css +* Copyright (c) 2013 jQuery Foundation and other contributors Licensed MIT */ + +/* Layout helpers +----------------------------------*/ +.ui-helper-hidden { + display: none; +} +.ui-helper-hidden-accessible { + border: 0; + clip: rect(0 0 0 0); + height: 1px; + margin: -1px; + overflow: hidden; + padding: 0; + position: absolute; + width: 1px; +} +.ui-helper-reset { + margin: 0; + padding: 0; + border: 0; + outline: 0; + line-height: 1.3; + text-decoration: none; + font-size: 100%; + list-style: none; +} +.ui-helper-clearfix:before, +.ui-helper-clearfix:after { + content: ""; + display: table; + border-collapse: collapse; +} +.ui-helper-clearfix:after { + clear: both; +} +.ui-helper-clearfix { + min-height: 0; /* support: IE7 */ +} +.ui-helper-zfix { + width: 100%; + height: 100%; + top: 0; + left: 0; + position: absolute; + opacity: 0; + filter:Alpha(Opacity=0); +} + +.ui-front { + z-index: 100; +} + + +/* Interaction Cues +----------------------------------*/ +.ui-state-disabled { + cursor: default !important; +} + + +/* Icons +----------------------------------*/ + +/* states and images */ +.ui-icon { + display: block; + text-indent: -99999px; + overflow: hidden; + background-repeat: no-repeat; +} + + +/* Misc visuals +----------------------------------*/ + +/* Overlays */ +.ui-widget-overlay { + position: fixed; + top: 0; + left: 0; + width: 100%; + height: 100%; +} +.ui-accordion .ui-accordion-header { + display: block; + cursor: pointer; + position: relative; + margin-top: 2px; + padding: .5em .5em .5em .7em; + min-height: 0; /* support: IE7 */ +} +.ui-accordion .ui-accordion-icons { + padding-left: 2.2em; +} +.ui-accordion .ui-accordion-noicons { + padding-left: .7em; +} +.ui-accordion .ui-accordion-icons .ui-accordion-icons { + padding-left: 2.2em; +} +.ui-accordion .ui-accordion-header .ui-accordion-header-icon { + position: absolute; + left: .5em; + top: 50%; + margin-top: -8px; +} +.ui-accordion .ui-accordion-content { + padding: 1em 2.2em; + border-top: 0; + overflow: auto; +} +.ui-autocomplete { + position: absolute; + top: 0; + left: 0; + cursor: default; +} +.ui-button { + display: inline-block; + position: relative; + padding: 0; + line-height: normal; + margin-right: .1em; + cursor: pointer; + vertical-align: middle; + text-align: center; + overflow: visible; /* removes extra width in IE */ +} +.ui-button, +.ui-button:link, +.ui-button:visited, +.ui-button:hover, +.ui-button:active { + text-decoration: none; +} +/* to make room for the icon, a width needs to be set here */ +.ui-button-icon-only { + width: 2.2em; +} +/* button elements seem to need a little more width */ +button.ui-button-icon-only { + width: 2.4em; +} +.ui-button-icons-only { + width: 3.4em; +} +button.ui-button-icons-only { + width: 3.7em; +} + +/* button text element */ +.ui-button .ui-button-text { + display: block; + line-height: normal; +} +.ui-button-text-only .ui-button-text { + padding: .4em 1em; +} +.ui-button-icon-only .ui-button-text, +.ui-button-icons-only .ui-button-text { + padding: .4em; + text-indent: -9999999px; +} +.ui-button-text-icon-primary .ui-button-text, +.ui-button-text-icons .ui-button-text { + padding: .4em 1em .4em 2.1em; +} +.ui-button-text-icon-secondary .ui-button-text, +.ui-button-text-icons .ui-button-text { + padding: .4em 2.1em .4em 1em; +} +.ui-button-text-icons .ui-button-text { + padding-left: 2.1em; + padding-right: 2.1em; +} +/* no icon support for input elements, provide padding by default */ +input.ui-button { + padding: .4em 1em; +} + +/* button icon element(s) */ +.ui-button-icon-only .ui-icon, +.ui-button-text-icon-primary .ui-icon, +.ui-button-text-icon-secondary .ui-icon, +.ui-button-text-icons .ui-icon, +.ui-button-icons-only .ui-icon { + position: absolute; + top: 50%; + margin-top: -8px; +} +.ui-button-icon-only .ui-icon { + left: 50%; + margin-left: -8px; +} +.ui-button-text-icon-primary .ui-button-icon-primary, +.ui-button-text-icons .ui-button-icon-primary, +.ui-button-icons-only .ui-button-icon-primary { + left: .5em; +} +.ui-button-text-icon-secondary .ui-button-icon-secondary, +.ui-button-text-icons .ui-button-icon-secondary, +.ui-button-icons-only .ui-button-icon-secondary { + right: .5em; +} + +/* button sets */ +.ui-buttonset { + margin-right: 7px; +} +.ui-buttonset .ui-button { + margin-left: 0; + margin-right: -.3em; +} + +/* workarounds */ +/* reset extra padding in Firefox, see h5bp.com/l */ +input.ui-button::-moz-focus-inner, +button.ui-button::-moz-focus-inner { + border: 0; + padding: 0; +} +.ui-datepicker { + width: 17em; + padding: .2em .2em 0; + display: none; +} +.ui-datepicker .ui-datepicker-header { + position: relative; + padding: .2em 0; +} +.ui-datepicker .ui-datepicker-prev, +.ui-datepicker .ui-datepicker-next { + position: absolute; + top: 2px; + width: 1.8em; + height: 1.8em; +} +.ui-datepicker .ui-datepicker-prev-hover, +.ui-datepicker .ui-datepicker-next-hover { + top: 1px; +} +.ui-datepicker .ui-datepicker-prev { + left: 2px; +} +.ui-datepicker .ui-datepicker-next { + right: 2px; +} +.ui-datepicker .ui-datepicker-prev-hover { + left: 1px; +} +.ui-datepicker .ui-datepicker-next-hover { + right: 1px; +} +.ui-datepicker .ui-datepicker-prev span, +.ui-datepicker .ui-datepicker-next span { + display: block; + position: absolute; + left: 50%; + margin-left: -8px; + top: 50%; + margin-top: -8px; +} +.ui-datepicker .ui-datepicker-title { + margin: 0 2.3em; + line-height: 1.8em; + text-align: center; +} +.ui-datepicker .ui-datepicker-title select { + font-size: 1em; + margin: 1px 0; +} +.ui-datepicker select.ui-datepicker-month-year { + width: 100%; +} +.ui-datepicker select.ui-datepicker-month, +.ui-datepicker select.ui-datepicker-year { + width: 49%; +} +.ui-datepicker table { + width: 100%; + font-size: .9em; + border-collapse: collapse; + margin: 0 0 .4em; +} +.ui-datepicker th { + padding: .7em .3em; + text-align: center; + font-weight: bold; + border: 0; +} +.ui-datepicker td { + border: 0; + padding: 1px; +} +.ui-datepicker td span, +.ui-datepicker td a { + display: block; + padding: .2em; + text-align: right; + text-decoration: none; +} +.ui-datepicker .ui-datepicker-buttonpane { + background-image: none; + margin: .7em 0 0 0; + padding: 0 .2em; + border-left: 0; + border-right: 0; + border-bottom: 0; +} +.ui-datepicker .ui-datepicker-buttonpane button { + float: right; + margin: .5em .2em .4em; + cursor: pointer; + padding: .2em .6em .3em .6em; + width: auto; + overflow: visible; +} +.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current { + float: left; +} + +/* with multiple calendars */ +.ui-datepicker.ui-datepicker-multi { + width: auto; +} +.ui-datepicker-multi .ui-datepicker-group { + float: left; +} +.ui-datepicker-multi .ui-datepicker-group table { + width: 95%; + margin: 0 auto .4em; +} +.ui-datepicker-multi-2 .ui-datepicker-group { + width: 50%; +} +.ui-datepicker-multi-3 .ui-datepicker-group { + width: 33.3%; +} +.ui-datepicker-multi-4 .ui-datepicker-group { + width: 25%; +} +.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header, +.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header { + border-left-width: 0; +} +.ui-datepicker-multi .ui-datepicker-buttonpane { + clear: left; +} +.ui-datepicker-row-break { + clear: both; + width: 100%; + font-size: 0; +} + +/* RTL support */ +.ui-datepicker-rtl { + direction: rtl; +} +.ui-datepicker-rtl .ui-datepicker-prev { + right: 2px; + left: auto; +} +.ui-datepicker-rtl .ui-datepicker-next { + left: 2px; + right: auto; +} +.ui-datepicker-rtl .ui-datepicker-prev:hover { + right: 1px; + left: auto; +} +.ui-datepicker-rtl .ui-datepicker-next:hover { + left: 1px; + right: auto; +} +.ui-datepicker-rtl .ui-datepicker-buttonpane { + clear: right; +} +.ui-datepicker-rtl .ui-datepicker-buttonpane button { + float: left; +} +.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current, +.ui-datepicker-rtl .ui-datepicker-group { + float: right; +} +.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header, +.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header { + border-right-width: 0; + border-left-width: 1px; +} +.ui-dialog { + position: absolute; + top: 0; + left: 0; + padding: .2em; + outline: 0; +} +.ui-dialog .ui-dialog-titlebar { + padding: .4em 1em; + position: relative; +} +.ui-dialog .ui-dialog-title { + float: left; + margin: .1em 0; + white-space: nowrap; + width: 90%; + overflow: hidden; + text-overflow: ellipsis; +} +.ui-dialog .ui-dialog-titlebar-close { + position: absolute; + right: .3em; + top: 50%; + width: 21px; + margin: -10px 0 0 0; + padding: 1px; + height: 20px; +} +.ui-dialog .ui-dialog-content { + position: relative; + border: 0; + padding: .5em 1em; + background: none; + overflow: auto; +} +.ui-dialog .ui-dialog-buttonpane { + text-align: left; + border-width: 1px 0 0 0; + background-image: none; + margin-top: .5em; + padding: .3em 1em .5em .4em; +} +.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset { + float: right; +} +.ui-dialog .ui-dialog-buttonpane button { + margin: .5em .4em .5em 0; + cursor: pointer; +} +.ui-dialog .ui-resizable-se { + width: 12px; + height: 12px; + right: -5px; + bottom: -5px; + background-position: 16px 16px; +} +.ui-draggable .ui-dialog-titlebar { + cursor: move; +} +.ui-menu { + list-style: none; + padding: 2px; + margin: 0; + display: block; + outline: none; +} +.ui-menu .ui-menu { + margin-top: -3px; + position: absolute; +} +.ui-menu .ui-menu-item { + margin: 0; + padding: 0; + width: 100%; +} +.ui-menu .ui-menu-divider { + margin: 5px -2px 5px -2px; + height: 0; + font-size: 0; + line-height: 0; + border-width: 1px 0 0 0; +} +.ui-menu .ui-menu-item a { + text-decoration: none; + display: block; + padding: 2px .4em; + line-height: 1.5; + min-height: 0; /* support: IE7 */ + font-weight: normal; +} +.ui-menu .ui-menu-item a.ui-state-focus, +.ui-menu .ui-menu-item a.ui-state-active { + font-weight: normal; + margin: -1px; +} + +.ui-menu .ui-state-disabled { + font-weight: normal; + margin: .4em 0 .2em; + line-height: 1.5; +} +.ui-menu .ui-state-disabled a { + cursor: default; +} + +/* icon support */ +.ui-menu-icons { + position: relative; +} +.ui-menu-icons .ui-menu-item a { + position: relative; + padding-left: 2em; +} + +/* left-aligned */ +.ui-menu .ui-icon { + position: absolute; + top: .2em; + left: .2em; +} + +/* right-aligned */ +.ui-menu .ui-menu-icon { + position: static; + float: right; +} +.ui-progressbar { + height: 2em; + text-align: left; + overflow: hidden; +} +.ui-progressbar .ui-progressbar-value { + margin: -1px; + height: 100%; +} +.ui-progressbar .ui-progressbar-overlay { + background: url("images/animated-overlay.gif"); + height: 100%; + filter: alpha(opacity=25); + opacity: 0.25; +} +.ui-progressbar-indeterminate .ui-progressbar-value { + background-image: none; +} +.ui-resizable { + position: relative; +} +.ui-resizable-handle { + position: absolute; + font-size: 0.1px; + display: block; +} +.ui-resizable-disabled .ui-resizable-handle, +.ui-resizable-autohide .ui-resizable-handle { + display: none; +} +.ui-resizable-n { + cursor: n-resize; + height: 7px; + width: 100%; + top: -5px; + left: 0; +} +.ui-resizable-s { + cursor: s-resize; + height: 7px; + width: 100%; + bottom: -5px; + left: 0; +} +.ui-resizable-e { + cursor: e-resize; + width: 7px; + right: -5px; + top: 0; + height: 100%; +} +.ui-resizable-w { + cursor: w-resize; + width: 7px; + left: -5px; + top: 0; + height: 100%; +} +.ui-resizable-se { + cursor: se-resize; + width: 12px; + height: 12px; + right: 1px; + bottom: 1px; +} +.ui-resizable-sw { + cursor: sw-resize; + width: 9px; + height: 9px; + left: -5px; + bottom: -5px; +} +.ui-resizable-nw { + cursor: nw-resize; + width: 9px; + height: 9px; + left: -5px; + top: -5px; +} +.ui-resizable-ne { + cursor: ne-resize; + width: 9px; + height: 9px; + right: -5px; + top: -5px; +} +.ui-selectable-helper { + position: absolute; + z-index: 100; + border: 1px dotted black; +} +.ui-slider { + position: relative; + text-align: left; +} +.ui-slider .ui-slider-handle { + position: absolute; + z-index: 2; + width: 1.2em; + height: 1.2em; + cursor: default; +} +.ui-slider .ui-slider-range { + position: absolute; + z-index: 1; + font-size: .7em; + display: block; + border: 0; + background-position: 0 0; +} + +/* For IE8 - See #6727 */ +.ui-slider.ui-state-disabled .ui-slider-handle, +.ui-slider.ui-state-disabled .ui-slider-range { + filter: inherit; +} + +.ui-slider-horizontal { + height: .8em; +} +.ui-slider-horizontal .ui-slider-handle { + top: -.3em; + margin-left: -.6em; +} +.ui-slider-horizontal .ui-slider-range { + top: 0; + height: 100%; +} +.ui-slider-horizontal .ui-slider-range-min { + left: 0; +} +.ui-slider-horizontal .ui-slider-range-max { + right: 0; +} + +.ui-slider-vertical { + width: .8em; + height: 100px; +} +.ui-slider-vertical .ui-slider-handle { + left: -.3em; + margin-left: 0; + margin-bottom: -.6em; +} +.ui-slider-vertical .ui-slider-range { + left: 0; + width: 100%; +} +.ui-slider-vertical .ui-slider-range-min { + bottom: 0; +} +.ui-slider-vertical .ui-slider-range-max { + top: 0; +} +.ui-spinner { + position: relative; + display: inline-block; + overflow: hidden; + padding: 0; + vertical-align: middle; +} +.ui-spinner-input { + border: none; + background: none; + color: inherit; + padding: 0; + margin: .2em 0; + vertical-align: middle; + margin-left: .4em; + margin-right: 22px; +} +.ui-spinner-button { + width: 16px; + height: 50%; + font-size: .5em; + padding: 0; + margin: 0; + text-align: center; + position: absolute; + cursor: default; + display: block; + overflow: hidden; + right: 0; +} +/* more specificity required here to overide default borders */ +.ui-spinner a.ui-spinner-button { + border-top: none; + border-bottom: none; + border-right: none; +} +/* vertical centre icon */ +.ui-spinner .ui-icon { + position: absolute; + margin-top: -8px; + top: 50%; + left: 0; +} +.ui-spinner-up { + top: 0; +} +.ui-spinner-down { + bottom: 0; +} + +/* TR overrides */ +.ui-spinner .ui-icon-triangle-1-s { + /* need to fix icons sprite */ + background-position: -65px -16px; +} +.ui-tabs { + position: relative;/* position: relative prevents IE scroll bug (element with position: relative inside container with overflow: auto appear as "fixed") */ + padding: .2em; +} +.ui-tabs .ui-tabs-nav { + margin: 0; + padding: .2em .2em 0; +} +.ui-tabs .ui-tabs-nav li { + list-style: none; + float: left; + position: relative; + top: 0; + margin: 1px .2em 0 0; + border-bottom: 0; + padding: 0; + white-space: nowrap; +} +.ui-tabs .ui-tabs-nav li a { + float: left; + padding: .5em 1em; + text-decoration: none; +} +.ui-tabs .ui-tabs-nav li.ui-tabs-active { + margin-bottom: -1px; + padding-bottom: 1px; +} +.ui-tabs .ui-tabs-nav li.ui-tabs-active a, +.ui-tabs .ui-tabs-nav li.ui-state-disabled a, +.ui-tabs .ui-tabs-nav li.ui-tabs-loading a { + cursor: text; +} +.ui-tabs .ui-tabs-nav li a, /* first selector in group seems obsolete, but required to overcome bug in Opera applying cursor: text overall if defined elsewhere... */ +.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-active a { + cursor: pointer; +} +.ui-tabs .ui-tabs-panel { + display: block; + border-width: 0; + padding: 1em 1.4em; + background: none; +} +.ui-tooltip { + padding: 8px; + position: absolute; + z-index: 9999; + max-width: 300px; + -webkit-box-shadow: 0 0 5px #aaa; + box-shadow: 0 0 5px #aaa; +} +body .ui-tooltip { + border-width: 2px; +} + +/* Component containers +----------------------------------*/ +.ui-widget { + font-family: Verdana,Arial,sans-serif/*{ffDefault}*/; + font-size: 1.1em/*{fsDefault}*/; +} +.ui-widget .ui-widget { + font-size: 1em; +} +.ui-widget input, +.ui-widget select, +.ui-widget textarea, +.ui-widget button { + font-family: Verdana,Arial,sans-serif/*{ffDefault}*/; + font-size: 1em; +} +.ui-widget-content { + border: 1px solid #aaaaaa/*{borderColorContent}*/; + background: #ffffff/*{bgColorContent}*/ url(images/ui-bg_flat_75_ffffff_40x100.png)/*{bgImgUrlContent}*/ 50%/*{bgContentXPos}*/ 50%/*{bgContentYPos}*/ repeat-x/*{bgContentRepeat}*/; + color: #222222/*{fcContent}*/; +} +.ui-widget-content a { + color: #222222/*{fcContent}*/; +} +.ui-widget-header { + border: 1px solid #aaaaaa/*{borderColorHeader}*/; + background: #cccccc/*{bgColorHeader}*/ url(images/ui-bg_highlight-soft_75_cccccc_1x100.png)/*{bgImgUrlHeader}*/ 50%/*{bgHeaderXPos}*/ 50%/*{bgHeaderYPos}*/ repeat-x/*{bgHeaderRepeat}*/; + color: #222222/*{fcHeader}*/; + font-weight: bold; +} +.ui-widget-header a { + color: #222222/*{fcHeader}*/; +} + +/* Interaction states +----------------------------------*/ +.ui-state-default, +.ui-widget-content .ui-state-default, +.ui-widget-header .ui-state-default { + border: 1px solid #d3d3d3/*{borderColorDefault}*/; + background: #e6e6e6/*{bgColorDefault}*/ url(images/ui-bg_glass_75_e6e6e6_1x400.png)/*{bgImgUrlDefault}*/ 50%/*{bgDefaultXPos}*/ 50%/*{bgDefaultYPos}*/ repeat-x/*{bgDefaultRepeat}*/; + font-weight: normal/*{fwDefault}*/; + color: #555555/*{fcDefault}*/; +} +.ui-state-default a, +.ui-state-default a:link, +.ui-state-default a:visited { + color: #555555/*{fcDefault}*/; + text-decoration: none; +} +.ui-state-hover, +.ui-widget-content .ui-state-hover, +.ui-widget-header .ui-state-hover, +.ui-state-focus, +.ui-widget-content .ui-state-focus, +.ui-widget-header .ui-state-focus { + border: 1px solid #999999/*{borderColorHover}*/; + background: #dadada/*{bgColorHover}*/ url(images/ui-bg_glass_75_dadada_1x400.png)/*{bgImgUrlHover}*/ 50%/*{bgHoverXPos}*/ 50%/*{bgHoverYPos}*/ repeat-x/*{bgHoverRepeat}*/; + font-weight: normal/*{fwDefault}*/; + color: #212121/*{fcHover}*/; +} +.ui-state-hover a, +.ui-state-hover a:hover, +.ui-state-hover a:link, +.ui-state-hover a:visited { + color: #212121/*{fcHover}*/; + text-decoration: none; +} +.ui-state-active, +.ui-widget-content .ui-state-active, +.ui-widget-header .ui-state-active { + border: 1px solid #aaaaaa/*{borderColorActive}*/; + background: #ffffff/*{bgColorActive}*/ url(images/ui-bg_glass_65_ffffff_1x400.png)/*{bgImgUrlActive}*/ 50%/*{bgActiveXPos}*/ 50%/*{bgActiveYPos}*/ repeat-x/*{bgActiveRepeat}*/; + font-weight: normal/*{fwDefault}*/; + color: #212121/*{fcActive}*/; +} +.ui-state-active a, +.ui-state-active a:link, +.ui-state-active a:visited { + color: #212121/*{fcActive}*/; + text-decoration: none; +} + +/* Interaction Cues +----------------------------------*/ +.ui-state-highlight, +.ui-widget-content .ui-state-highlight, +.ui-widget-header .ui-state-highlight { + border: 1px solid #fcefa1/*{borderColorHighlight}*/; + background: #fbf9ee/*{bgColorHighlight}*/ url(images/ui-bg_glass_55_fbf9ee_1x400.png)/*{bgImgUrlHighlight}*/ 50%/*{bgHighlightXPos}*/ 50%/*{bgHighlightYPos}*/ repeat-x/*{bgHighlightRepeat}*/; + color: #363636/*{fcHighlight}*/; +} +.ui-state-highlight a, +.ui-widget-content .ui-state-highlight a, +.ui-widget-header .ui-state-highlight a { + color: #363636/*{fcHighlight}*/; +} +.ui-state-error, +.ui-widget-content .ui-state-error, +.ui-widget-header .ui-state-error { + border: 1px solid #cd0a0a/*{borderColorError}*/; + background: #fef1ec/*{bgColorError}*/ url(images/ui-bg_glass_95_fef1ec_1x400.png)/*{bgImgUrlError}*/ 50%/*{bgErrorXPos}*/ 50%/*{bgErrorYPos}*/ repeat-x/*{bgErrorRepeat}*/; + color: #cd0a0a/*{fcError}*/; +} +.ui-state-error a, +.ui-widget-content .ui-state-error a, +.ui-widget-header .ui-state-error a { + color: #cd0a0a/*{fcError}*/; +} +.ui-state-error-text, +.ui-widget-content .ui-state-error-text, +.ui-widget-header .ui-state-error-text { + color: #cd0a0a/*{fcError}*/; +} +.ui-priority-primary, +.ui-widget-content .ui-priority-primary, +.ui-widget-header .ui-priority-primary { + font-weight: bold; +} +.ui-priority-secondary, +.ui-widget-content .ui-priority-secondary, +.ui-widget-header .ui-priority-secondary { + opacity: .7; + filter:Alpha(Opacity=70); + font-weight: normal; +} +.ui-state-disabled, +.ui-widget-content .ui-state-disabled, +.ui-widget-header .ui-state-disabled { + opacity: .35; + filter:Alpha(Opacity=35); + background-image: none; +} +.ui-state-disabled .ui-icon { + filter:Alpha(Opacity=35); /* For IE8 - See #6059 */ +} + +/* Icons +----------------------------------*/ + +/* states and images */ +.ui-icon { + width: 16px; + height: 16px; + background-position: 16px 16px; +} +.ui-icon, +.ui-widget-content .ui-icon { + background-image: url(images/ui-icons_222222_256x240.png)/*{iconsContent}*/; +} +.ui-widget-header .ui-icon { + background-image: url(images/ui-icons_222222_256x240.png)/*{iconsHeader}*/; +} +.ui-state-default .ui-icon { + background-image: url(images/ui-icons_888888_256x240.png)/*{iconsDefault}*/; +} +.ui-state-hover .ui-icon, +.ui-state-focus .ui-icon { + background-image: url(images/ui-icons_454545_256x240.png)/*{iconsHover}*/; +} +.ui-state-active .ui-icon { + background-image: url(images/ui-icons_454545_256x240.png)/*{iconsActive}*/; +} +.ui-state-highlight .ui-icon { + background-image: url(images/ui-icons_2e83ff_256x240.png)/*{iconsHighlight}*/; +} +.ui-state-error .ui-icon, +.ui-state-error-text .ui-icon { + background-image: url(images/ui-icons_cd0a0a_256x240.png)/*{iconsError}*/; +} + +/* positioning */ +.ui-icon-carat-1-n { background-position: 0 0; } +.ui-icon-carat-1-ne { background-position: -16px 0; } +.ui-icon-carat-1-e { background-position: -32px 0; } +.ui-icon-carat-1-se { background-position: -48px 0; } +.ui-icon-carat-1-s { background-position: -64px 0; } +.ui-icon-carat-1-sw { background-position: -80px 0; } +.ui-icon-carat-1-w { background-position: -96px 0; } +.ui-icon-carat-1-nw { background-position: -112px 0; } +.ui-icon-carat-2-n-s { background-position: -128px 0; } +.ui-icon-carat-2-e-w { background-position: -144px 0; } +.ui-icon-triangle-1-n { background-position: 0 -16px; } +.ui-icon-triangle-1-ne { background-position: -16px -16px; } +.ui-icon-triangle-1-e { background-position: -32px -16px; } +.ui-icon-triangle-1-se { background-position: -48px -16px; } +.ui-icon-triangle-1-s { background-position: -64px -16px; } +.ui-icon-triangle-1-sw { background-position: -80px -16px; } +.ui-icon-triangle-1-w { background-position: -96px -16px; } +.ui-icon-triangle-1-nw { background-position: -112px -16px; } +.ui-icon-triangle-2-n-s { background-position: -128px -16px; } +.ui-icon-triangle-2-e-w { background-position: -144px -16px; } +.ui-icon-arrow-1-n { background-position: 0 -32px; } +.ui-icon-arrow-1-ne { background-position: -16px -32px; } +.ui-icon-arrow-1-e { background-position: -32px -32px; } +.ui-icon-arrow-1-se { background-position: -48px -32px; } +.ui-icon-arrow-1-s { background-position: -64px -32px; } +.ui-icon-arrow-1-sw { background-position: -80px -32px; } +.ui-icon-arrow-1-w { background-position: -96px -32px; } +.ui-icon-arrow-1-nw { background-position: -112px -32px; } +.ui-icon-arrow-2-n-s { background-position: -128px -32px; } +.ui-icon-arrow-2-ne-sw { background-position: -144px -32px; } +.ui-icon-arrow-2-e-w { background-position: -160px -32px; } +.ui-icon-arrow-2-se-nw { background-position: -176px -32px; } +.ui-icon-arrowstop-1-n { background-position: -192px -32px; } +.ui-icon-arrowstop-1-e { background-position: -208px -32px; } +.ui-icon-arrowstop-1-s { background-position: -224px -32px; } +.ui-icon-arrowstop-1-w { background-position: -240px -32px; } +.ui-icon-arrowthick-1-n { background-position: 0 -48px; } +.ui-icon-arrowthick-1-ne { background-position: -16px -48px; } +.ui-icon-arrowthick-1-e { background-position: -32px -48px; } +.ui-icon-arrowthick-1-se { background-position: -48px -48px; } +.ui-icon-arrowthick-1-s { background-position: -64px -48px; } +.ui-icon-arrowthick-1-sw { background-position: -80px -48px; } +.ui-icon-arrowthick-1-w { background-position: -96px -48px; } +.ui-icon-arrowthick-1-nw { background-position: -112px -48px; } +.ui-icon-arrowthick-2-n-s { background-position: -128px -48px; } +.ui-icon-arrowthick-2-ne-sw { background-position: -144px -48px; } +.ui-icon-arrowthick-2-e-w { background-position: -160px -48px; } +.ui-icon-arrowthick-2-se-nw { background-position: -176px -48px; } +.ui-icon-arrowthickstop-1-n { background-position: -192px -48px; } +.ui-icon-arrowthickstop-1-e { background-position: -208px -48px; } +.ui-icon-arrowthickstop-1-s { background-position: -224px -48px; } +.ui-icon-arrowthickstop-1-w { background-position: -240px -48px; } +.ui-icon-arrowreturnthick-1-w { background-position: 0 -64px; } +.ui-icon-arrowreturnthick-1-n { background-position: -16px -64px; } +.ui-icon-arrowreturnthick-1-e { background-position: -32px -64px; } +.ui-icon-arrowreturnthick-1-s { background-position: -48px -64px; } +.ui-icon-arrowreturn-1-w { background-position: -64px -64px; } +.ui-icon-arrowreturn-1-n { background-position: -80px -64px; } +.ui-icon-arrowreturn-1-e { background-position: -96px -64px; } +.ui-icon-arrowreturn-1-s { background-position: -112px -64px; } +.ui-icon-arrowrefresh-1-w { background-position: -128px -64px; } +.ui-icon-arrowrefresh-1-n { background-position: -144px -64px; } +.ui-icon-arrowrefresh-1-e { background-position: -160px -64px; } +.ui-icon-arrowrefresh-1-s { background-position: -176px -64px; } +.ui-icon-arrow-4 { background-position: 0 -80px; } +.ui-icon-arrow-4-diag { background-position: -16px -80px; } +.ui-icon-extlink { background-position: -32px -80px; } +.ui-icon-newwin { background-position: -48px -80px; } +.ui-icon-refresh { background-position: -64px -80px; } +.ui-icon-shuffle { background-position: -80px -80px; } +.ui-icon-transfer-e-w { background-position: -96px -80px; } +.ui-icon-transferthick-e-w { background-position: -112px -80px; } +.ui-icon-folder-collapsed { background-position: 0 -96px; } +.ui-icon-folder-open { background-position: -16px -96px; } +.ui-icon-document { background-position: -32px -96px; } +.ui-icon-document-b { background-position: -48px -96px; } +.ui-icon-note { background-position: -64px -96px; } +.ui-icon-mail-closed { background-position: -80px -96px; } +.ui-icon-mail-open { background-position: -96px -96px; } +.ui-icon-suitcase { background-position: -112px -96px; } +.ui-icon-comment { background-position: -128px -96px; } +.ui-icon-person { background-position: -144px -96px; } +.ui-icon-print { background-position: -160px -96px; } +.ui-icon-trash { background-position: -176px -96px; } +.ui-icon-locked { background-position: -192px -96px; } +.ui-icon-unlocked { background-position: -208px -96px; } +.ui-icon-bookmark { background-position: -224px -96px; } +.ui-icon-tag { background-position: -240px -96px; } +.ui-icon-home { background-position: 0 -112px; } +.ui-icon-flag { background-position: -16px -112px; } +.ui-icon-calendar { background-position: -32px -112px; } +.ui-icon-cart { background-position: -48px -112px; } +.ui-icon-pencil { background-position: -64px -112px; } +.ui-icon-clock { background-position: -80px -112px; } +.ui-icon-disk { background-position: -96px -112px; } +.ui-icon-calculator { background-position: -112px -112px; } +.ui-icon-zoomin { background-position: -128px -112px; } +.ui-icon-zoomout { background-position: -144px -112px; } +.ui-icon-search { background-position: -160px -112px; } +.ui-icon-wrench { background-position: -176px -112px; } +.ui-icon-gear { background-position: -192px -112px; } +.ui-icon-heart { background-position: -208px -112px; } +.ui-icon-star { background-position: -224px -112px; } +.ui-icon-link { background-position: -240px -112px; } +.ui-icon-cancel { background-position: 0 -128px; } +.ui-icon-plus { background-position: -16px -128px; } +.ui-icon-plusthick { background-position: -32px -128px; } +.ui-icon-minus { background-position: -48px -128px; } +.ui-icon-minusthick { background-position: -64px -128px; } +.ui-icon-close { background-position: -80px -128px; } +.ui-icon-closethick { background-position: -96px -128px; } +.ui-icon-key { background-position: -112px -128px; } +.ui-icon-lightbulb { background-position: -128px -128px; } +.ui-icon-scissors { background-position: -144px -128px; } +.ui-icon-clipboard { background-position: -160px -128px; } +.ui-icon-copy { background-position: -176px -128px; } +.ui-icon-contact { background-position: -192px -128px; } +.ui-icon-image { background-position: -208px -128px; } +.ui-icon-video { background-position: -224px -128px; } +.ui-icon-script { background-position: -240px -128px; } +.ui-icon-alert { background-position: 0 -144px; } +.ui-icon-info { background-position: -16px -144px; } +.ui-icon-notice { background-position: -32px -144px; } +.ui-icon-help { background-position: -48px -144px; } +.ui-icon-check { background-position: -64px -144px; } +.ui-icon-bullet { background-position: -80px -144px; } +.ui-icon-radio-on { background-position: -96px -144px; } +.ui-icon-radio-off { background-position: -112px -144px; } +.ui-icon-pin-w { background-position: -128px -144px; } +.ui-icon-pin-s { background-position: -144px -144px; } +.ui-icon-play { background-position: 0 -160px; } +.ui-icon-pause { background-position: -16px -160px; } +.ui-icon-seek-next { background-position: -32px -160px; } +.ui-icon-seek-prev { background-position: -48px -160px; } +.ui-icon-seek-end { background-position: -64px -160px; } +.ui-icon-seek-start { background-position: -80px -160px; } +/* ui-icon-seek-first is deprecated, use ui-icon-seek-start instead */ +.ui-icon-seek-first { background-position: -80px -160px; } +.ui-icon-stop { background-position: -96px -160px; } +.ui-icon-eject { background-position: -112px -160px; } +.ui-icon-volume-off { background-position: -128px -160px; } +.ui-icon-volume-on { background-position: -144px -160px; } +.ui-icon-power { background-position: 0 -176px; } +.ui-icon-signal-diag { background-position: -16px -176px; } +.ui-icon-signal { background-position: -32px -176px; } +.ui-icon-battery-0 { background-position: -48px -176px; } +.ui-icon-battery-1 { background-position: -64px -176px; } +.ui-icon-battery-2 { background-position: -80px -176px; } +.ui-icon-battery-3 { background-position: -96px -176px; } +.ui-icon-circle-plus { background-position: 0 -192px; } +.ui-icon-circle-minus { background-position: -16px -192px; } +.ui-icon-circle-close { background-position: -32px -192px; } +.ui-icon-circle-triangle-e { background-position: -48px -192px; } +.ui-icon-circle-triangle-s { background-position: -64px -192px; } +.ui-icon-circle-triangle-w { background-position: -80px -192px; } +.ui-icon-circle-triangle-n { background-position: -96px -192px; } +.ui-icon-circle-arrow-e { background-position: -112px -192px; } +.ui-icon-circle-arrow-s { background-position: -128px -192px; } +.ui-icon-circle-arrow-w { background-position: -144px -192px; } +.ui-icon-circle-arrow-n { background-position: -160px -192px; } +.ui-icon-circle-zoomin { background-position: -176px -192px; } +.ui-icon-circle-zoomout { background-position: -192px -192px; } +.ui-icon-circle-check { background-position: -208px -192px; } +.ui-icon-circlesmall-plus { background-position: 0 -208px; } +.ui-icon-circlesmall-minus { background-position: -16px -208px; } +.ui-icon-circlesmall-close { background-position: -32px -208px; } +.ui-icon-squaresmall-plus { background-position: -48px -208px; } +.ui-icon-squaresmall-minus { background-position: -64px -208px; } +.ui-icon-squaresmall-close { background-position: -80px -208px; } +.ui-icon-grip-dotted-vertical { background-position: 0 -224px; } +.ui-icon-grip-dotted-horizontal { background-position: -16px -224px; } +.ui-icon-grip-solid-vertical { background-position: -32px -224px; } +.ui-icon-grip-solid-horizontal { background-position: -48px -224px; } +.ui-icon-gripsmall-diagonal-se { background-position: -64px -224px; } +.ui-icon-grip-diagonal-se { background-position: -80px -224px; } + + +/* Misc visuals +----------------------------------*/ + +/* Corner radius */ +.ui-corner-all, +.ui-corner-top, +.ui-corner-left, +.ui-corner-tl { + border-top-left-radius: 4px/*{cornerRadius}*/; +} +.ui-corner-all, +.ui-corner-top, +.ui-corner-right, +.ui-corner-tr { + border-top-right-radius: 4px/*{cornerRadius}*/; +} +.ui-corner-all, +.ui-corner-bottom, +.ui-corner-left, +.ui-corner-bl { + border-bottom-left-radius: 4px/*{cornerRadius}*/; +} +.ui-corner-all, +.ui-corner-bottom, +.ui-corner-right, +.ui-corner-br { + border-bottom-right-radius: 4px/*{cornerRadius}*/; +} + +/* Overlays */ +.ui-widget-overlay { + background: #aaaaaa/*{bgColorOverlay}*/ url(images/ui-bg_flat_0_aaaaaa_40x100.png)/*{bgImgUrlOverlay}*/ 50%/*{bgOverlayXPos}*/ 50%/*{bgOverlayYPos}*/ repeat-x/*{bgOverlayRepeat}*/; + opacity: .3/*{opacityOverlay}*/; + filter: Alpha(Opacity=30)/*{opacityFilterOverlay}*/; +} +.ui-widget-shadow { + margin: -8px/*{offsetTopShadow}*/ 0 0 -8px/*{offsetLeftShadow}*/; + padding: 8px/*{thicknessShadow}*/; + background: #aaaaaa/*{bgColorShadow}*/ url(images/ui-bg_flat_0_aaaaaa_40x100.png)/*{bgImgUrlShadow}*/ 50%/*{bgShadowXPos}*/ 50%/*{bgShadowYPos}*/ repeat-x/*{bgShadowRepeat}*/; + opacity: .3/*{opacityShadow}*/; + filter: Alpha(Opacity=30)/*{opacityFilterShadow}*/; + border-radius: 8px/*{cornerRadiusShadow}*/; +} diff --git a/static/jquery-ui/base/jquery.ui.accordion.css b/static/jquery-ui/base/jquery.ui.accordion.css new file mode 100644 index 0000000..5d79383 --- /dev/null +++ b/static/jquery-ui/base/jquery.ui.accordion.css @@ -0,0 +1,38 @@ +/*! + * jQuery UI Accordion 1.10.1 + * http://jqueryui.com + * + * Copyright 2013 jQuery Foundation and other contributors + * Released under the MIT license. + * http://jquery.org/license + * + * http://docs.jquery.com/UI/Accordion#theming + */ +.ui-accordion .ui-accordion-header { + display: block; + cursor: pointer; + position: relative; + margin-top: 2px; + padding: .5em .5em .5em .7em; + min-height: 0; /* support: IE7 */ +} +.ui-accordion .ui-accordion-icons { + padding-left: 2.2em; +} +.ui-accordion .ui-accordion-noicons { + padding-left: .7em; +} +.ui-accordion .ui-accordion-icons .ui-accordion-icons { + padding-left: 2.2em; +} +.ui-accordion .ui-accordion-header .ui-accordion-header-icon { + position: absolute; + left: .5em; + top: 50%; + margin-top: -8px; +} +.ui-accordion .ui-accordion-content { + padding: 1em 2.2em; + border-top: 0; + overflow: auto; +} diff --git a/static/jquery-ui/base/jquery.ui.all.css b/static/jquery-ui/base/jquery.ui.all.css new file mode 100644 index 0000000..351e0d8 --- /dev/null +++ b/static/jquery-ui/base/jquery.ui.all.css @@ -0,0 +1,12 @@ +/*! + * jQuery UI CSS Framework 1.10.1 + * http://jqueryui.com + * + * Copyright 2013 jQuery Foundation and other contributors + * Released under the MIT license. + * http://jquery.org/license + * + * http://docs.jquery.com/UI/Theming + */ +@import "jquery.ui.base.css"; +@import "jquery.ui.theme.css"; diff --git a/static/jquery-ui/base/jquery.ui.autocomplete.css b/static/jquery-ui/base/jquery.ui.autocomplete.css new file mode 100644 index 0000000..1c6ab97 --- /dev/null +++ b/static/jquery-ui/base/jquery.ui.autocomplete.css @@ -0,0 +1,16 @@ +/*! + * jQuery UI Autocomplete 1.10.1 + * http://jqueryui.com + * + * Copyright 2013 jQuery Foundation and other contributors + * Released under the MIT license. + * http://jquery.org/license + * + * http://docs.jquery.com/UI/Autocomplete#theming + */ +.ui-autocomplete { + position: absolute; + top: 0; + left: 0; + cursor: default; +} diff --git a/static/jquery-ui/base/jquery.ui.base.css b/static/jquery-ui/base/jquery.ui.base.css new file mode 100644 index 0000000..aefb565 --- /dev/null +++ b/static/jquery-ui/base/jquery.ui.base.css @@ -0,0 +1,25 @@ +/*! + * jQuery UI CSS Framework 1.10.1 + * http://jqueryui.com + * + * Copyright 2013 jQuery Foundation and other contributors + * Released under the MIT license. + * http://jquery.org/license + * + * http://docs.jquery.com/UI/Theming + */ +@import url("jquery.ui.core.css"); + +@import url("jquery.ui.accordion.css"); +@import url("jquery.ui.autocomplete.css"); +@import url("jquery.ui.button.css"); +@import url("jquery.ui.datepicker.css"); +@import url("jquery.ui.dialog.css"); +@import url("jquery.ui.menu.css"); +@import url("jquery.ui.progressbar.css"); +@import url("jquery.ui.resizable.css"); +@import url("jquery.ui.selectable.css"); +@import url("jquery.ui.slider.css"); +@import url("jquery.ui.spinner.css"); +@import url("jquery.ui.tabs.css"); +@import url("jquery.ui.tooltip.css"); diff --git a/static/jquery-ui/base/jquery.ui.button.css b/static/jquery-ui/base/jquery.ui.button.css new file mode 100644 index 0000000..1a92496 --- /dev/null +++ b/static/jquery-ui/base/jquery.ui.button.css @@ -0,0 +1,114 @@ +/*! + * jQuery UI Button 1.10.1 + * http://jqueryui.com + * + * Copyright 2013 jQuery Foundation and other contributors + * Released under the MIT license. + * http://jquery.org/license + * + * http://docs.jquery.com/UI/Button#theming + */ +.ui-button { + display: inline-block; + position: relative; + padding: 0; + line-height: normal; + margin-right: .1em; + cursor: pointer; + vertical-align: middle; + text-align: center; + overflow: visible; /* removes extra width in IE */ +} +.ui-button, +.ui-button:link, +.ui-button:visited, +.ui-button:hover, +.ui-button:active { + text-decoration: none; +} +/* to make room for the icon, a width needs to be set here */ +.ui-button-icon-only { + width: 2.2em; +} +/* button elements seem to need a little more width */ +button.ui-button-icon-only { + width: 2.4em; +} +.ui-button-icons-only { + width: 3.4em; +} +button.ui-button-icons-only { + width: 3.7em; +} + +/* button text element */ +.ui-button .ui-button-text { + display: block; + line-height: normal; +} +.ui-button-text-only .ui-button-text { + padding: .4em 1em; +} +.ui-button-icon-only .ui-button-text, +.ui-button-icons-only .ui-button-text { + padding: .4em; + text-indent: -9999999px; +} +.ui-button-text-icon-primary .ui-button-text, +.ui-button-text-icons .ui-button-text { + padding: .4em 1em .4em 2.1em; +} +.ui-button-text-icon-secondary .ui-button-text, +.ui-button-text-icons .ui-button-text { + padding: .4em 2.1em .4em 1em; +} +.ui-button-text-icons .ui-button-text { + padding-left: 2.1em; + padding-right: 2.1em; +} +/* no icon support for input elements, provide padding by default */ +input.ui-button { + padding: .4em 1em; +} + +/* button icon element(s) */ +.ui-button-icon-only .ui-icon, +.ui-button-text-icon-primary .ui-icon, +.ui-button-text-icon-secondary .ui-icon, +.ui-button-text-icons .ui-icon, +.ui-button-icons-only .ui-icon { + position: absolute; + top: 50%; + margin-top: -8px; +} +.ui-button-icon-only .ui-icon { + left: 50%; + margin-left: -8px; +} +.ui-button-text-icon-primary .ui-button-icon-primary, +.ui-button-text-icons .ui-button-icon-primary, +.ui-button-icons-only .ui-button-icon-primary { + left: .5em; +} +.ui-button-text-icon-secondary .ui-button-icon-secondary, +.ui-button-text-icons .ui-button-icon-secondary, +.ui-button-icons-only .ui-button-icon-secondary { + right: .5em; +} + +/* button sets */ +.ui-buttonset { + margin-right: 7px; +} +.ui-buttonset .ui-button { + margin-left: 0; + margin-right: -.3em; +} + +/* workarounds */ +/* reset extra padding in Firefox, see h5bp.com/l */ +input.ui-button::-moz-focus-inner, +button.ui-button::-moz-focus-inner { + border: 0; + padding: 0; +} diff --git a/static/jquery-ui/base/jquery.ui.core.css b/static/jquery-ui/base/jquery.ui.core.css new file mode 100644 index 0000000..97c9696 --- /dev/null +++ b/static/jquery-ui/base/jquery.ui.core.css @@ -0,0 +1,93 @@ +/*! + * jQuery UI CSS Framework 1.10.1 + * http://jqueryui.com + * + * Copyright 2013 jQuery Foundation and other contributors + * Released under the MIT license. + * http://jquery.org/license + * + * http://docs.jquery.com/UI/Theming/API + */ + +/* Layout helpers +----------------------------------*/ +.ui-helper-hidden { + display: none; +} +.ui-helper-hidden-accessible { + border: 0; + clip: rect(0 0 0 0); + height: 1px; + margin: -1px; + overflow: hidden; + padding: 0; + position: absolute; + width: 1px; +} +.ui-helper-reset { + margin: 0; + padding: 0; + border: 0; + outline: 0; + line-height: 1.3; + text-decoration: none; + font-size: 100%; + list-style: none; +} +.ui-helper-clearfix:before, +.ui-helper-clearfix:after { + content: ""; + display: table; + border-collapse: collapse; +} +.ui-helper-clearfix:after { + clear: both; +} +.ui-helper-clearfix { + min-height: 0; /* support: IE7 */ +} +.ui-helper-zfix { + width: 100%; + height: 100%; + top: 0; + left: 0; + position: absolute; + opacity: 0; + filter:Alpha(Opacity=0); +} + +.ui-front { + z-index: 100; +} + + +/* Interaction Cues +----------------------------------*/ +.ui-state-disabled { + cursor: default !important; +} + + +/* Icons +----------------------------------*/ + +/* states and images */ +.ui-icon { + display: block; + text-indent: -99999px; + overflow: hidden; + background-repeat: no-repeat; +} + + +/* Misc visuals +----------------------------------*/ + +/* Overlays */ +.ui-widget-overlay { + position: fixed; + top: 0; + left: 0; + width: 100%; + height: 100%; +} diff --git a/static/jquery-ui/base/jquery.ui.datepicker.css b/static/jquery-ui/base/jquery.ui.datepicker.css new file mode 100644 index 0000000..c20aecc --- /dev/null +++ b/static/jquery-ui/base/jquery.ui.datepicker.css @@ -0,0 +1,178 @@ +/*! + * jQuery UI Datepicker 1.10.1 + * http://jqueryui.com + * + * Copyright 2013 jQuery Foundation and other contributors + * Released under the MIT license. + * http://jquery.org/license + * + * http://docs.jquery.com/UI/Datepicker#theming + */ +.ui-datepicker { + width: 17em; + padding: .2em .2em 0; + display: none; +} +.ui-datepicker .ui-datepicker-header { + position: relative; + padding: .2em 0; +} +.ui-datepicker .ui-datepicker-prev, +.ui-datepicker .ui-datepicker-next { + position: absolute; + top: 2px; + width: 1.8em; + height: 1.8em; +} +.ui-datepicker .ui-datepicker-prev-hover, +.ui-datepicker .ui-datepicker-next-hover { + top: 1px; +} +.ui-datepicker .ui-datepicker-prev { + left: 2px; +} +.ui-datepicker .ui-datepicker-next { + right: 2px; +} +.ui-datepicker .ui-datepicker-prev-hover { + left: 1px; +} +.ui-datepicker .ui-datepicker-next-hover { + right: 1px; +} +.ui-datepicker .ui-datepicker-prev span, +.ui-datepicker .ui-datepicker-next span { + display: block; + position: absolute; + left: 50%; + margin-left: -8px; + top: 50%; + margin-top: -8px; +} +.ui-datepicker .ui-datepicker-title { + margin: 0 2.3em; + line-height: 1.8em; + text-align: center; +} +.ui-datepicker .ui-datepicker-title select { + font-size: 1em; + margin: 1px 0; +} +.ui-datepicker select.ui-datepicker-month-year { + width: 100%; +} +.ui-datepicker select.ui-datepicker-month, +.ui-datepicker select.ui-datepicker-year { + width: 49%; +} +.ui-datepicker table { + width: 100%; + font-size: .9em; + border-collapse: collapse; + margin: 0 0 .4em; +} +.ui-datepicker th { + padding: .7em .3em; + text-align: center; + font-weight: bold; + border: 0; +} +.ui-datepicker td { + border: 0; + padding: 1px; +} +.ui-datepicker td span, +.ui-datepicker td a { + display: block; + padding: .2em; + text-align: right; + text-decoration: none; +} +.ui-datepicker .ui-datepicker-buttonpane { + background-image: none; + margin: .7em 0 0 0; + padding: 0 .2em; + border-left: 0; + border-right: 0; + border-bottom: 0; +} +.ui-datepicker .ui-datepicker-buttonpane button { + float: right; + margin: .5em .2em .4em; + cursor: pointer; + padding: .2em .6em .3em .6em; + width: auto; + overflow: visible; +} +.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current { + float: left; +} + +/* with multiple calendars */ +.ui-datepicker.ui-datepicker-multi { + width: auto; +} +.ui-datepicker-multi .ui-datepicker-group { + float: left; +} +.ui-datepicker-multi .ui-datepicker-group table { + width: 95%; + margin: 0 auto .4em; +} +.ui-datepicker-multi-2 .ui-datepicker-group { + width: 50%; +} +.ui-datepicker-multi-3 .ui-datepicker-group { + width: 33.3%; +} +.ui-datepicker-multi-4 .ui-datepicker-group { + width: 25%; +} +.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header, +.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header { + border-left-width: 0; +} +.ui-datepicker-multi .ui-datepicker-buttonpane { + clear: left; +} +.ui-datepicker-row-break { + clear: both; + width: 100%; + font-size: 0; +} + +/* RTL support */ +.ui-datepicker-rtl { + direction: rtl; +} +.ui-datepicker-rtl .ui-datepicker-prev { + right: 2px; + left: auto; +} +.ui-datepicker-rtl .ui-datepicker-next { + left: 2px; + right: auto; +} +.ui-datepicker-rtl .ui-datepicker-prev:hover { + right: 1px; + left: auto; +} +.ui-datepicker-rtl .ui-datepicker-next:hover { + left: 1px; + right: auto; +} +.ui-datepicker-rtl .ui-datepicker-buttonpane { + clear: right; +} +.ui-datepicker-rtl .ui-datepicker-buttonpane button { + float: left; +} +.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current, +.ui-datepicker-rtl .ui-datepicker-group { + float: right; +} +.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header, +.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header { + border-right-width: 0; + border-left-width: 1px; +} diff --git a/static/jquery-ui/base/jquery.ui.dialog.css b/static/jquery-ui/base/jquery.ui.dialog.css new file mode 100644 index 0000000..6ebd1cf --- /dev/null +++ b/static/jquery-ui/base/jquery.ui.dialog.css @@ -0,0 +1,69 @@ +/*! + * jQuery UI Dialog 1.10.1 + * http://jqueryui.com + * + * Copyright 2013 jQuery Foundation and other contributors + * Released under the MIT license. + * http://jquery.org/license + * + * http://docs.jquery.com/UI/Dialog#theming + */ +.ui-dialog { + position: absolute; + top: 0; + left: 0; + padding: .2em; + outline: 0; +} +.ui-dialog .ui-dialog-titlebar { + padding: .4em 1em; + position: relative; +} +.ui-dialog .ui-dialog-title { + float: left; + margin: .1em 0; + white-space: nowrap; + width: 90%; + overflow: hidden; + text-overflow: ellipsis; +} +.ui-dialog .ui-dialog-titlebar-close { + position: absolute; + right: .3em; + top: 50%; + width: 21px; + margin: -10px 0 0 0; + padding: 1px; + height: 20px; +} +.ui-dialog .ui-dialog-content { + position: relative; + border: 0; + padding: .5em 1em; + background: none; + overflow: auto; +} +.ui-dialog .ui-dialog-buttonpane { + text-align: left; + border-width: 1px 0 0 0; + background-image: none; + margin-top: .5em; + padding: .3em 1em .5em .4em; +} +.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset { + float: right; +} +.ui-dialog .ui-dialog-buttonpane button { + margin: .5em .4em .5em 0; + cursor: pointer; +} +.ui-dialog .ui-resizable-se { + width: 12px; + height: 12px; + right: -5px; + bottom: -5px; + background-position: 16px 16px; +} +.ui-draggable .ui-dialog-titlebar { + cursor: move; +} diff --git a/static/jquery-ui/base/jquery.ui.menu.css b/static/jquery-ui/base/jquery.ui.menu.css new file mode 100644 index 0000000..0ffa1e0 --- /dev/null +++ b/static/jquery-ui/base/jquery.ui.menu.css @@ -0,0 +1,77 @@ +/*! + * jQuery UI Menu 1.10.1 + * http://jqueryui.com + * + * Copyright 2013 jQuery Foundation and other contributors + * Released under the MIT license. + * http://jquery.org/license + * + * http://docs.jquery.com/UI/Menu#theming + */ +.ui-menu { + list-style: none; + padding: 2px; + margin: 0; + display: block; + outline: none; +} +.ui-menu .ui-menu { + margin-top: -3px; + position: absolute; +} +.ui-menu .ui-menu-item { + margin: 0; + padding: 0; + width: 100%; +} +.ui-menu .ui-menu-divider { + margin: 5px -2px 5px -2px; + height: 0; + font-size: 0; + line-height: 0; + border-width: 1px 0 0 0; +} +.ui-menu .ui-menu-item a { + text-decoration: none; + display: block; + padding: 2px .4em; + line-height: 1.5; + min-height: 0; /* support: IE7 */ + font-weight: normal; +} +.ui-menu .ui-menu-item a.ui-state-focus, +.ui-menu .ui-menu-item a.ui-state-active { + font-weight: normal; + margin: -1px; +} + +.ui-menu .ui-state-disabled { + font-weight: normal; + margin: .4em 0 .2em; + line-height: 1.5; +} +.ui-menu .ui-state-disabled a { + cursor: default; +} + +/* icon support */ +.ui-menu-icons { + position: relative; +} +.ui-menu-icons .ui-menu-item a { + position: relative; + padding-left: 2em; +} + +/* left-aligned */ +.ui-menu .ui-icon { + position: absolute; + top: .2em; + left: .2em; +} + +/* right-aligned */ +.ui-menu .ui-menu-icon { + position: static; + float: right; +} diff --git a/static/jquery-ui/base/jquery.ui.progressbar.css b/static/jquery-ui/base/jquery.ui.progressbar.css new file mode 100644 index 0000000..f8980a5 --- /dev/null +++ b/static/jquery-ui/base/jquery.ui.progressbar.css @@ -0,0 +1,28 @@ +/*! + * jQuery UI Progressbar 1.10.1 + * http://jqueryui.com + * + * Copyright 2013 jQuery Foundation and other contributors + * Released under the MIT license. + * http://jquery.org/license + * + * http://docs.jquery.com/UI/Progressbar#theming + */ +.ui-progressbar { + height: 2em; + text-align: left; + overflow: hidden; +} +.ui-progressbar .ui-progressbar-value { + margin: -1px; + height: 100%; +} +.ui-progressbar .ui-progressbar-overlay { + background: url("images/animated-overlay.gif"); + height: 100%; + filter: alpha(opacity=25); + opacity: 0.25; +} +.ui-progressbar-indeterminate .ui-progressbar-value { + background-image: none; +} diff --git a/static/jquery-ui/base/jquery.ui.resizable.css b/static/jquery-ui/base/jquery.ui.resizable.css new file mode 100644 index 0000000..eeb47a7 --- /dev/null +++ b/static/jquery-ui/base/jquery.ui.resizable.css @@ -0,0 +1,78 @@ +/*! + * jQuery UI Resizable 1.10.1 + * http://jqueryui.com + * + * Copyright 2013 jQuery Foundation and other contributors + * Released under the MIT license. + * http://jquery.org/license + * + * http://docs.jquery.com/UI/Resizable#theming + */ +.ui-resizable { + position: relative; +} +.ui-resizable-handle { + position: absolute; + font-size: 0.1px; + display: block; +} +.ui-resizable-disabled .ui-resizable-handle, +.ui-resizable-autohide .ui-resizable-handle { + display: none; +} +.ui-resizable-n { + cursor: n-resize; + height: 7px; + width: 100%; + top: -5px; + left: 0; +} +.ui-resizable-s { + cursor: s-resize; + height: 7px; + width: 100%; + bottom: -5px; + left: 0; +} +.ui-resizable-e { + cursor: e-resize; + width: 7px; + right: -5px; + top: 0; + height: 100%; +} +.ui-resizable-w { + cursor: w-resize; + width: 7px; + left: -5px; + top: 0; + height: 100%; +} +.ui-resizable-se { + cursor: se-resize; + width: 12px; + height: 12px; + right: 1px; + bottom: 1px; +} +.ui-resizable-sw { + cursor: sw-resize; + width: 9px; + height: 9px; + left: -5px; + bottom: -5px; +} +.ui-resizable-nw { + cursor: nw-resize; + width: 9px; + height: 9px; + left: -5px; + top: -5px; +} +.ui-resizable-ne { + cursor: ne-resize; + width: 9px; + height: 9px; + right: -5px; + top: -5px; +} diff --git a/static/jquery-ui/base/jquery.ui.selectable.css b/static/jquery-ui/base/jquery.ui.selectable.css new file mode 100644 index 0000000..bb388eb --- /dev/null +++ b/static/jquery-ui/base/jquery.ui.selectable.css @@ -0,0 +1,15 @@ +/*! + * jQuery UI Selectable 1.10.1 + * http://jqueryui.com + * + * Copyright 2013 jQuery Foundation and other contributors + * Released under the MIT license. + * http://jquery.org/license + * + * http://docs.jquery.com/UI/Selectable#theming + */ +.ui-selectable-helper { + position: absolute; + z-index: 100; + border: 1px dotted black; +} diff --git a/static/jquery-ui/base/jquery.ui.slider.css b/static/jquery-ui/base/jquery.ui.slider.css new file mode 100644 index 0000000..662912d --- /dev/null +++ b/static/jquery-ui/base/jquery.ui.slider.css @@ -0,0 +1,73 @@ +/*! + * jQuery UI Slider 1.10.1 + * http://jqueryui.com + * + * Copyright 2013 jQuery Foundation and other contributors + * Released under the MIT license. + * http://jquery.org/license + * + * http://docs.jquery.com/UI/Slider#theming + */ +.ui-slider { + position: relative; + text-align: left; +} +.ui-slider .ui-slider-handle { + position: absolute; + z-index: 2; + width: 1.2em; + height: 1.2em; + cursor: default; +} +.ui-slider .ui-slider-range { + position: absolute; + z-index: 1; + font-size: .7em; + display: block; + border: 0; + background-position: 0 0; +} + +/* For IE8 - See #6727 */ +.ui-slider.ui-state-disabled .ui-slider-handle, +.ui-slider.ui-state-disabled .ui-slider-range { + filter: inherit; +} + +.ui-slider-horizontal { + height: .8em; +} +.ui-slider-horizontal .ui-slider-handle { + top: -.3em; + margin-left: -.6em; +} +.ui-slider-horizontal .ui-slider-range { + top: 0; + height: 100%; +} +.ui-slider-horizontal .ui-slider-range-min { + left: 0; +} +.ui-slider-horizontal .ui-slider-range-max { + right: 0; +} + +.ui-slider-vertical { + width: .8em; + height: 100px; +} +.ui-slider-vertical .ui-slider-handle { + left: -.3em; + margin-left: 0; + margin-bottom: -.6em; +} +.ui-slider-vertical .ui-slider-range { + left: 0; + width: 100%; +} +.ui-slider-vertical .ui-slider-range-min { + bottom: 0; +} +.ui-slider-vertical .ui-slider-range-max { + top: 0; +} diff --git a/static/jquery-ui/base/jquery.ui.spinner.css b/static/jquery-ui/base/jquery.ui.spinner.css new file mode 100644 index 0000000..1a298a4 --- /dev/null +++ b/static/jquery-ui/base/jquery.ui.spinner.css @@ -0,0 +1,65 @@ +/*! + * jQuery UI Spinner 1.10.1 + * http://jqueryui.com + * + * Copyright 2013 jQuery Foundation and other contributors + * Released under the MIT license. + * http://jquery.org/license + * + * http://docs.jquery.com/UI/Spinner#theming + */ +.ui-spinner { + position: relative; + display: inline-block; + overflow: hidden; + padding: 0; + vertical-align: middle; +} +.ui-spinner-input { + border: none; + background: none; + color: inherit; + padding: 0; + margin: .2em 0; + vertical-align: middle; + margin-left: .4em; + margin-right: 22px; +} +.ui-spinner-button { + width: 16px; + height: 50%; + font-size: .5em; + padding: 0; + margin: 0; + text-align: center; + position: absolute; + cursor: default; + display: block; + overflow: hidden; + right: 0; +} +/* more specificity required here to overide default borders */ +.ui-spinner a.ui-spinner-button { + border-top: none; + border-bottom: none; + border-right: none; +} +/* vertical centre icon */ +.ui-spinner .ui-icon { + position: absolute; + margin-top: -8px; + top: 50%; + left: 0; +} +.ui-spinner-up { + top: 0; +} +.ui-spinner-down { + bottom: 0; +} + +/* TR overrides */ +.ui-spinner .ui-icon-triangle-1-s { + /* need to fix icons sprite */ + background-position: -65px -16px; +} diff --git a/static/jquery-ui/base/jquery.ui.tabs.css b/static/jquery-ui/base/jquery.ui.tabs.css new file mode 100644 index 0000000..f3990a4 --- /dev/null +++ b/static/jquery-ui/base/jquery.ui.tabs.css @@ -0,0 +1,52 @@ +/*! + * jQuery UI Tabs 1.10.1 + * http://jqueryui.com + * + * Copyright 2013 jQuery Foundation and other contributors + * Released under the MIT license. + * http://jquery.org/license + * + * http://docs.jquery.com/UI/Tabs#theming + */ +.ui-tabs { + position: relative;/* position: relative prevents IE scroll bug (element with position: relative inside container with overflow: auto appear as "fixed") */ + padding: .2em; +} +.ui-tabs .ui-tabs-nav { + margin: 0; + padding: .2em .2em 0; +} +.ui-tabs .ui-tabs-nav li { + list-style: none; + float: left; + position: relative; + top: 0; + margin: 1px .2em 0 0; + border-bottom: 0; + padding: 0; + white-space: nowrap; +} +.ui-tabs .ui-tabs-nav li a { + float: left; + padding: .5em 1em; + text-decoration: none; +} +.ui-tabs .ui-tabs-nav li.ui-tabs-active { + margin-bottom: -1px; + padding-bottom: 1px; +} +.ui-tabs .ui-tabs-nav li.ui-tabs-active a, +.ui-tabs .ui-tabs-nav li.ui-state-disabled a, +.ui-tabs .ui-tabs-nav li.ui-tabs-loading a { + cursor: text; +} +.ui-tabs .ui-tabs-nav li a, /* first selector in group seems obsolete, but required to overcome bug in Opera applying cursor: text overall if defined elsewhere... */ +.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-active a { + cursor: pointer; +} +.ui-tabs .ui-tabs-panel { + display: block; + border-width: 0; + padding: 1em 1.4em; + background: none; +} diff --git a/static/jquery-ui/base/jquery.ui.theme.css b/static/jquery-ui/base/jquery.ui.theme.css new file mode 100644 index 0000000..b5ef1ce --- /dev/null +++ b/static/jquery-ui/base/jquery.ui.theme.css @@ -0,0 +1,406 @@ +/*! + * jQuery UI CSS Framework 1.10.1 + * http://jqueryui.com + * + * Copyright 2013 jQuery Foundation and other contributors + * Released under the MIT license. + * http://jquery.org/license + * + * http://docs.jquery.com/UI/Theming/API + * + * To view and modify this theme, visit http://jqueryui.com/themeroller/ + */ + + +/* Component containers +----------------------------------*/ +.ui-widget { + font-family: Verdana,Arial,sans-serif/*{ffDefault}*/; + font-size: 1.1em/*{fsDefault}*/; +} +.ui-widget .ui-widget { + font-size: 1em; +} +.ui-widget input, +.ui-widget select, +.ui-widget textarea, +.ui-widget button { + font-family: Verdana,Arial,sans-serif/*{ffDefault}*/; + font-size: 1em; +} +.ui-widget-content { + border: 1px solid #aaaaaa/*{borderColorContent}*/; + background: #ffffff/*{bgColorContent}*/ url(images/ui-bg_flat_75_ffffff_40x100.png)/*{bgImgUrlContent}*/ 50%/*{bgContentXPos}*/ 50%/*{bgContentYPos}*/ repeat-x/*{bgContentRepeat}*/; + color: #222222/*{fcContent}*/; +} +.ui-widget-content a { + color: #222222/*{fcContent}*/; +} +.ui-widget-header { + border: 1px solid #aaaaaa/*{borderColorHeader}*/; + background: #cccccc/*{bgColorHeader}*/ url(images/ui-bg_highlight-soft_75_cccccc_1x100.png)/*{bgImgUrlHeader}*/ 50%/*{bgHeaderXPos}*/ 50%/*{bgHeaderYPos}*/ repeat-x/*{bgHeaderRepeat}*/; + color: #222222/*{fcHeader}*/; + font-weight: bold; +} +.ui-widget-header a { + color: #222222/*{fcHeader}*/; +} + +/* Interaction states +----------------------------------*/ +.ui-state-default, +.ui-widget-content .ui-state-default, +.ui-widget-header .ui-state-default { + border: 1px solid #d3d3d3/*{borderColorDefault}*/; + background: #e6e6e6/*{bgColorDefault}*/ url(images/ui-bg_glass_75_e6e6e6_1x400.png)/*{bgImgUrlDefault}*/ 50%/*{bgDefaultXPos}*/ 50%/*{bgDefaultYPos}*/ repeat-x/*{bgDefaultRepeat}*/; + font-weight: normal/*{fwDefault}*/; + color: #555555/*{fcDefault}*/; +} +.ui-state-default a, +.ui-state-default a:link, +.ui-state-default a:visited { + color: #555555/*{fcDefault}*/; + text-decoration: none; +} +.ui-state-hover, +.ui-widget-content .ui-state-hover, +.ui-widget-header .ui-state-hover, +.ui-state-focus, +.ui-widget-content .ui-state-focus, +.ui-widget-header .ui-state-focus { + border: 1px solid #999999/*{borderColorHover}*/; + background: #dadada/*{bgColorHover}*/ url(images/ui-bg_glass_75_dadada_1x400.png)/*{bgImgUrlHover}*/ 50%/*{bgHoverXPos}*/ 50%/*{bgHoverYPos}*/ repeat-x/*{bgHoverRepeat}*/; + font-weight: normal/*{fwDefault}*/; + color: #212121/*{fcHover}*/; +} +.ui-state-hover a, +.ui-state-hover a:hover, +.ui-state-hover a:link, +.ui-state-hover a:visited { + color: #212121/*{fcHover}*/; + text-decoration: none; +} +.ui-state-active, +.ui-widget-content .ui-state-active, +.ui-widget-header .ui-state-active { + border: 1px solid #aaaaaa/*{borderColorActive}*/; + background: #ffffff/*{bgColorActive}*/ url(images/ui-bg_glass_65_ffffff_1x400.png)/*{bgImgUrlActive}*/ 50%/*{bgActiveXPos}*/ 50%/*{bgActiveYPos}*/ repeat-x/*{bgActiveRepeat}*/; + font-weight: normal/*{fwDefault}*/; + color: #212121/*{fcActive}*/; +} +.ui-state-active a, +.ui-state-active a:link, +.ui-state-active a:visited { + color: #212121/*{fcActive}*/; + text-decoration: none; +} + +/* Interaction Cues +----------------------------------*/ +.ui-state-highlight, +.ui-widget-content .ui-state-highlight, +.ui-widget-header .ui-state-highlight { + border: 1px solid #fcefa1/*{borderColorHighlight}*/; + background: #fbf9ee/*{bgColorHighlight}*/ url(images/ui-bg_glass_55_fbf9ee_1x400.png)/*{bgImgUrlHighlight}*/ 50%/*{bgHighlightXPos}*/ 50%/*{bgHighlightYPos}*/ repeat-x/*{bgHighlightRepeat}*/; + color: #363636/*{fcHighlight}*/; +} +.ui-state-highlight a, +.ui-widget-content .ui-state-highlight a, +.ui-widget-header .ui-state-highlight a { + color: #363636/*{fcHighlight}*/; +} +.ui-state-error, +.ui-widget-content .ui-state-error, +.ui-widget-header .ui-state-error { + border: 1px solid #cd0a0a/*{borderColorError}*/; + background: #fef1ec/*{bgColorError}*/ url(images/ui-bg_glass_95_fef1ec_1x400.png)/*{bgImgUrlError}*/ 50%/*{bgErrorXPos}*/ 50%/*{bgErrorYPos}*/ repeat-x/*{bgErrorRepeat}*/; + color: #cd0a0a/*{fcError}*/; +} +.ui-state-error a, +.ui-widget-content .ui-state-error a, +.ui-widget-header .ui-state-error a { + color: #cd0a0a/*{fcError}*/; +} +.ui-state-error-text, +.ui-widget-content .ui-state-error-text, +.ui-widget-header .ui-state-error-text { + color: #cd0a0a/*{fcError}*/; +} +.ui-priority-primary, +.ui-widget-content .ui-priority-primary, +.ui-widget-header .ui-priority-primary { + font-weight: bold; +} +.ui-priority-secondary, +.ui-widget-content .ui-priority-secondary, +.ui-widget-header .ui-priority-secondary { + opacity: .7; + filter:Alpha(Opacity=70); + font-weight: normal; +} +.ui-state-disabled, +.ui-widget-content .ui-state-disabled, +.ui-widget-header .ui-state-disabled { + opacity: .35; + filter:Alpha(Opacity=35); + background-image: none; +} +.ui-state-disabled .ui-icon { + filter:Alpha(Opacity=35); /* For IE8 - See #6059 */ +} + +/* Icons +----------------------------------*/ + +/* states and images */ +.ui-icon { + width: 16px; + height: 16px; + background-position: 16px 16px; +} +.ui-icon, +.ui-widget-content .ui-icon { + background-image: url(images/ui-icons_222222_256x240.png)/*{iconsContent}*/; +} +.ui-widget-header .ui-icon { + background-image: url(images/ui-icons_222222_256x240.png)/*{iconsHeader}*/; +} +.ui-state-default .ui-icon { + background-image: url(images/ui-icons_888888_256x240.png)/*{iconsDefault}*/; +} +.ui-state-hover .ui-icon, +.ui-state-focus .ui-icon { + background-image: url(images/ui-icons_454545_256x240.png)/*{iconsHover}*/; +} +.ui-state-active .ui-icon { + background-image: url(images/ui-icons_454545_256x240.png)/*{iconsActive}*/; +} +.ui-state-highlight .ui-icon { + background-image: url(images/ui-icons_2e83ff_256x240.png)/*{iconsHighlight}*/; +} +.ui-state-error .ui-icon, +.ui-state-error-text .ui-icon { + background-image: url(images/ui-icons_cd0a0a_256x240.png)/*{iconsError}*/; +} + +/* positioning */ +.ui-icon-carat-1-n { background-position: 0 0; } +.ui-icon-carat-1-ne { background-position: -16px 0; } +.ui-icon-carat-1-e { background-position: -32px 0; } +.ui-icon-carat-1-se { background-position: -48px 0; } +.ui-icon-carat-1-s { background-position: -64px 0; } +.ui-icon-carat-1-sw { background-position: -80px 0; } +.ui-icon-carat-1-w { background-position: -96px 0; } +.ui-icon-carat-1-nw { background-position: -112px 0; } +.ui-icon-carat-2-n-s { background-position: -128px 0; } +.ui-icon-carat-2-e-w { background-position: -144px 0; } +.ui-icon-triangle-1-n { background-position: 0 -16px; } +.ui-icon-triangle-1-ne { background-position: -16px -16px; } +.ui-icon-triangle-1-e { background-position: -32px -16px; } +.ui-icon-triangle-1-se { background-position: -48px -16px; } +.ui-icon-triangle-1-s { background-position: -64px -16px; } +.ui-icon-triangle-1-sw { background-position: -80px -16px; } +.ui-icon-triangle-1-w { background-position: -96px -16px; } +.ui-icon-triangle-1-nw { background-position: -112px -16px; } +.ui-icon-triangle-2-n-s { background-position: -128px -16px; } +.ui-icon-triangle-2-e-w { background-position: -144px -16px; } +.ui-icon-arrow-1-n { background-position: 0 -32px; } +.ui-icon-arrow-1-ne { background-position: -16px -32px; } +.ui-icon-arrow-1-e { background-position: -32px -32px; } +.ui-icon-arrow-1-se { background-position: -48px -32px; } +.ui-icon-arrow-1-s { background-position: -64px -32px; } +.ui-icon-arrow-1-sw { background-position: -80px -32px; } +.ui-icon-arrow-1-w { background-position: -96px -32px; } +.ui-icon-arrow-1-nw { background-position: -112px -32px; } +.ui-icon-arrow-2-n-s { background-position: -128px -32px; } +.ui-icon-arrow-2-ne-sw { background-position: -144px -32px; } +.ui-icon-arrow-2-e-w { background-position: -160px -32px; } +.ui-icon-arrow-2-se-nw { background-position: -176px -32px; } +.ui-icon-arrowstop-1-n { background-position: -192px -32px; } +.ui-icon-arrowstop-1-e { background-position: -208px -32px; } +.ui-icon-arrowstop-1-s { background-position: -224px -32px; } +.ui-icon-arrowstop-1-w { background-position: -240px -32px; } +.ui-icon-arrowthick-1-n { background-position: 0 -48px; } +.ui-icon-arrowthick-1-ne { background-position: -16px -48px; } +.ui-icon-arrowthick-1-e { background-position: -32px -48px; } +.ui-icon-arrowthick-1-se { background-position: -48px -48px; } +.ui-icon-arrowthick-1-s { background-position: -64px -48px; } +.ui-icon-arrowthick-1-sw { background-position: -80px -48px; } +.ui-icon-arrowthick-1-w { background-position: -96px -48px; } +.ui-icon-arrowthick-1-nw { background-position: -112px -48px; } +.ui-icon-arrowthick-2-n-s { background-position: -128px -48px; } +.ui-icon-arrowthick-2-ne-sw { background-position: -144px -48px; } +.ui-icon-arrowthick-2-e-w { background-position: -160px -48px; } +.ui-icon-arrowthick-2-se-nw { background-position: -176px -48px; } +.ui-icon-arrowthickstop-1-n { background-position: -192px -48px; } +.ui-icon-arrowthickstop-1-e { background-position: -208px -48px; } +.ui-icon-arrowthickstop-1-s { background-position: -224px -48px; } +.ui-icon-arrowthickstop-1-w { background-position: -240px -48px; } +.ui-icon-arrowreturnthick-1-w { background-position: 0 -64px; } +.ui-icon-arrowreturnthick-1-n { background-position: -16px -64px; } +.ui-icon-arrowreturnthick-1-e { background-position: -32px -64px; } +.ui-icon-arrowreturnthick-1-s { background-position: -48px -64px; } +.ui-icon-arrowreturn-1-w { background-position: -64px -64px; } +.ui-icon-arrowreturn-1-n { background-position: -80px -64px; } +.ui-icon-arrowreturn-1-e { background-position: -96px -64px; } +.ui-icon-arrowreturn-1-s { background-position: -112px -64px; } +.ui-icon-arrowrefresh-1-w { background-position: -128px -64px; } +.ui-icon-arrowrefresh-1-n { background-position: -144px -64px; } +.ui-icon-arrowrefresh-1-e { background-position: -160px -64px; } +.ui-icon-arrowrefresh-1-s { background-position: -176px -64px; } +.ui-icon-arrow-4 { background-position: 0 -80px; } +.ui-icon-arrow-4-diag { background-position: -16px -80px; } +.ui-icon-extlink { background-position: -32px -80px; } +.ui-icon-newwin { background-position: -48px -80px; } +.ui-icon-refresh { background-position: -64px -80px; } +.ui-icon-shuffle { background-position: -80px -80px; } +.ui-icon-transfer-e-w { background-position: -96px -80px; } +.ui-icon-transferthick-e-w { background-position: -112px -80px; } +.ui-icon-folder-collapsed { background-position: 0 -96px; } +.ui-icon-folder-open { background-position: -16px -96px; } +.ui-icon-document { background-position: -32px -96px; } +.ui-icon-document-b { background-position: -48px -96px; } +.ui-icon-note { background-position: -64px -96px; } +.ui-icon-mail-closed { background-position: -80px -96px; } +.ui-icon-mail-open { background-position: -96px -96px; } +.ui-icon-suitcase { background-position: -112px -96px; } +.ui-icon-comment { background-position: -128px -96px; } +.ui-icon-person { background-position: -144px -96px; } +.ui-icon-print { background-position: -160px -96px; } +.ui-icon-trash { background-position: -176px -96px; } +.ui-icon-locked { background-position: -192px -96px; } +.ui-icon-unlocked { background-position: -208px -96px; } +.ui-icon-bookmark { background-position: -224px -96px; } +.ui-icon-tag { background-position: -240px -96px; } +.ui-icon-home { background-position: 0 -112px; } +.ui-icon-flag { background-position: -16px -112px; } +.ui-icon-calendar { background-position: -32px -112px; } +.ui-icon-cart { background-position: -48px -112px; } +.ui-icon-pencil { background-position: -64px -112px; } +.ui-icon-clock { background-position: -80px -112px; } +.ui-icon-disk { background-position: -96px -112px; } +.ui-icon-calculator { background-position: -112px -112px; } +.ui-icon-zoomin { background-position: -128px -112px; } +.ui-icon-zoomout { background-position: -144px -112px; } +.ui-icon-search { background-position: -160px -112px; } +.ui-icon-wrench { background-position: -176px -112px; } +.ui-icon-gear { background-position: -192px -112px; } +.ui-icon-heart { background-position: -208px -112px; } +.ui-icon-star { background-position: -224px -112px; } +.ui-icon-link { background-position: -240px -112px; } +.ui-icon-cancel { background-position: 0 -128px; } +.ui-icon-plus { background-position: -16px -128px; } +.ui-icon-plusthick { background-position: -32px -128px; } +.ui-icon-minus { background-position: -48px -128px; } +.ui-icon-minusthick { background-position: -64px -128px; } +.ui-icon-close { background-position: -80px -128px; } +.ui-icon-closethick { background-position: -96px -128px; } +.ui-icon-key { background-position: -112px -128px; } +.ui-icon-lightbulb { background-position: -128px -128px; } +.ui-icon-scissors { background-position: -144px -128px; } +.ui-icon-clipboard { background-position: -160px -128px; } +.ui-icon-copy { background-position: -176px -128px; } +.ui-icon-contact { background-position: -192px -128px; } +.ui-icon-image { background-position: -208px -128px; } +.ui-icon-video { background-position: -224px -128px; } +.ui-icon-script { background-position: -240px -128px; } +.ui-icon-alert { background-position: 0 -144px; } +.ui-icon-info { background-position: -16px -144px; } +.ui-icon-notice { background-position: -32px -144px; } +.ui-icon-help { background-position: -48px -144px; } +.ui-icon-check { background-position: -64px -144px; } +.ui-icon-bullet { background-position: -80px -144px; } +.ui-icon-radio-on { background-position: -96px -144px; } +.ui-icon-radio-off { background-position: -112px -144px; } +.ui-icon-pin-w { background-position: -128px -144px; } +.ui-icon-pin-s { background-position: -144px -144px; } +.ui-icon-play { background-position: 0 -160px; } +.ui-icon-pause { background-position: -16px -160px; } +.ui-icon-seek-next { background-position: -32px -160px; } +.ui-icon-seek-prev { background-position: -48px -160px; } +.ui-icon-seek-end { background-position: -64px -160px; } +.ui-icon-seek-start { background-position: -80px -160px; } +/* ui-icon-seek-first is deprecated, use ui-icon-seek-start instead */ +.ui-icon-seek-first { background-position: -80px -160px; } +.ui-icon-stop { background-position: -96px -160px; } +.ui-icon-eject { background-position: -112px -160px; } +.ui-icon-volume-off { background-position: -128px -160px; } +.ui-icon-volume-on { background-position: -144px -160px; } +.ui-icon-power { background-position: 0 -176px; } +.ui-icon-signal-diag { background-position: -16px -176px; } +.ui-icon-signal { background-position: -32px -176px; } +.ui-icon-battery-0 { background-position: -48px -176px; } +.ui-icon-battery-1 { background-position: -64px -176px; } +.ui-icon-battery-2 { background-position: -80px -176px; } +.ui-icon-battery-3 { background-position: -96px -176px; } +.ui-icon-circle-plus { background-position: 0 -192px; } +.ui-icon-circle-minus { background-position: -16px -192px; } +.ui-icon-circle-close { background-position: -32px -192px; } +.ui-icon-circle-triangle-e { background-position: -48px -192px; } +.ui-icon-circle-triangle-s { background-position: -64px -192px; } +.ui-icon-circle-triangle-w { background-position: -80px -192px; } +.ui-icon-circle-triangle-n { background-position: -96px -192px; } +.ui-icon-circle-arrow-e { background-position: -112px -192px; } +.ui-icon-circle-arrow-s { background-position: -128px -192px; } +.ui-icon-circle-arrow-w { background-position: -144px -192px; } +.ui-icon-circle-arrow-n { background-position: -160px -192px; } +.ui-icon-circle-zoomin { background-position: -176px -192px; } +.ui-icon-circle-zoomout { background-position: -192px -192px; } +.ui-icon-circle-check { background-position: -208px -192px; } +.ui-icon-circlesmall-plus { background-position: 0 -208px; } +.ui-icon-circlesmall-minus { background-position: -16px -208px; } +.ui-icon-circlesmall-close { background-position: -32px -208px; } +.ui-icon-squaresmall-plus { background-position: -48px -208px; } +.ui-icon-squaresmall-minus { background-position: -64px -208px; } +.ui-icon-squaresmall-close { background-position: -80px -208px; } +.ui-icon-grip-dotted-vertical { background-position: 0 -224px; } +.ui-icon-grip-dotted-horizontal { background-position: -16px -224px; } +.ui-icon-grip-solid-vertical { background-position: -32px -224px; } +.ui-icon-grip-solid-horizontal { background-position: -48px -224px; } +.ui-icon-gripsmall-diagonal-se { background-position: -64px -224px; } +.ui-icon-grip-diagonal-se { background-position: -80px -224px; } + + +/* Misc visuals +----------------------------------*/ + +/* Corner radius */ +.ui-corner-all, +.ui-corner-top, +.ui-corner-left, +.ui-corner-tl { + border-top-left-radius: 4px/*{cornerRadius}*/; +} +.ui-corner-all, +.ui-corner-top, +.ui-corner-right, +.ui-corner-tr { + border-top-right-radius: 4px/*{cornerRadius}*/; +} +.ui-corner-all, +.ui-corner-bottom, +.ui-corner-left, +.ui-corner-bl { + border-bottom-left-radius: 4px/*{cornerRadius}*/; +} +.ui-corner-all, +.ui-corner-bottom, +.ui-corner-right, +.ui-corner-br { + border-bottom-right-radius: 4px/*{cornerRadius}*/; +} + +/* Overlays */ +.ui-widget-overlay { + background: #aaaaaa/*{bgColorOverlay}*/ url(images/ui-bg_flat_0_aaaaaa_40x100.png)/*{bgImgUrlOverlay}*/ 50%/*{bgOverlayXPos}*/ 50%/*{bgOverlayYPos}*/ repeat-x/*{bgOverlayRepeat}*/; + opacity: .3/*{opacityOverlay}*/; + filter: Alpha(Opacity=30)/*{opacityFilterOverlay}*/; +} +.ui-widget-shadow { + margin: -8px/*{offsetTopShadow}*/ 0 0 -8px/*{offsetLeftShadow}*/; + padding: 8px/*{thicknessShadow}*/; + background: #aaaaaa/*{bgColorShadow}*/ url(images/ui-bg_flat_0_aaaaaa_40x100.png)/*{bgImgUrlShadow}*/ 50%/*{bgShadowXPos}*/ 50%/*{bgShadowYPos}*/ repeat-x/*{bgShadowRepeat}*/; + opacity: .3/*{opacityShadow}*/; + filter: Alpha(Opacity=30)/*{opacityFilterShadow}*/; + border-radius: 8px/*{cornerRadiusShadow}*/; +} diff --git a/static/jquery-ui/base/jquery.ui.tooltip.css b/static/jquery-ui/base/jquery.ui.tooltip.css new file mode 100644 index 0000000..bede6fc --- /dev/null +++ b/static/jquery-ui/base/jquery.ui.tooltip.css @@ -0,0 +1,19 @@ +/*! + * jQuery UI Tooltip 1.10.1 + * http://jqueryui.com + * + * Copyright 2013 jQuery Foundation and other contributors + * Released under the MIT license. + * http://jquery.org/license + */ +.ui-tooltip { + padding: 8px; + position: absolute; + z-index: 9999; + max-width: 300px; + -webkit-box-shadow: 0 0 5px #aaa; + box-shadow: 0 0 5px #aaa; +} +body .ui-tooltip { + border-width: 2px; +} diff --git a/static/jquery-ui/copyright b/static/jquery-ui/copyright new file mode 100644 index 0000000..25d7a9b --- /dev/null +++ b/static/jquery-ui/copyright @@ -0,0 +1,230 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: jQueryUI +Source: http://jqueryui.com/ + +Files: * +Homepage: http://jqueryui.com/ +Copyright: 2008 Paul Bakaus (ui.jquery.com) + Brandon Aaron + David Bolter + Rich Caloggero + Chi Cheng (cloudream@gmail.com) + Colin Clark (http://colin.atrc.utoronto.ca/) + Michelle D'Souza + Aaron Eisenberger (aaronchi@gmail.com) + Ariel Flesler + Bohdan Ganicky + Scott González + Marc Grabanski (m@marcgrabanski.com) + Klaus Hartl (stilbuero.de) + Scott Jehl + Cody Lindley + Eduardo Lundgren (eduardolundgren@gmail.com) + Todd Parker + John Resig + Patty Toland + Ca-Phun Ung (yelotofu.com) + Keith Wood (kbwood@virginbroadband.com.au) + Maggie Costello Wachs + Richard D. Worth (rdworth.org) + Jörn Zaefferer (bassistance.de) +License: GPL-2 or MIT + +Files: development-bundle/jquery-1.3.2.js +Copyright: Copyright (c) 2008 John Resig (jquery.com) +License: GPL-2 or MIT + +Files: development-bundle/theme/ui.all.css +Copyright: Scott Jehl, scott@filamentgroup.com, http://www.filamentgroup.com +License: GPL-2 or MIT + +Files: development-bundle/ui/i18n/ui.datepicker-ar.js +Copyright: Khaled Al Horani -- koko.dw@gmail.com +License: GPL-2 or MIT + +Files: development-bundle/ui/i18n/ui.datepicker-bg.js +Copyright: Stoyan Kyosev (http://svest.org) +License: GPL-2 or MIT + +Files: development-bundle/ui/i18n/ui.datepicker-ca.js +Copyright: joan.leon@gmail.com +License: GPL-2 or MIT + +Files: development-bundle/ui/i18n/ui.datepicker-cs.js +Copyright: Tomas Muller (tomas@tomas-muller.net) +License: GPL-2 or MIT + +Files: development-bundle/ui/i18n/ui.datepicker-da.js +Copyright: Jan Christensen ( deletestuff@gmail.com) +License: GPL-2 or MIT + +Files: development-bundle/ui/i18n/ui.datepicker-de.js +Copyright: Milian Wolff (mail@milianw.de) +License: GPL-2 or MIT + +Files: development-bundle/ui/i18n/ui.datepicker-el.js +Copyright: Alex Cicovic (http://www.alexcicovic.com) +License: GPL-2 or MIT + +Files: development-bundle/ui/i18n/ui.datepicker-eo.js +Copyright: Olivier M. (olivierweb@ifrance.com) +License: GPL-2 or MIT + +Files: development-bundle/ui/i18n/ui.datepicker-es.js +Copyright: Vester (xvester@gmail.com) +License: GPL-2 or MIT + +Files: development-bundle/ui/i18n/ui.datepicker-fa.js +Copyright: Javad Mowlanezhad -- jmowla@gmail.com +License: GPL-2 or MIT + +Files: development-bundle/ui/i18n/ui.datepicker-fi.js +Copyright: Harri Kilpi� (harrikilpio@gmail.com) +License: GPL-2 or MIT + +Files: development-bundle/ui/i18n/ui.datepicker-fr.js +Copyright: Keith Wood (kbwood@virginbroadband.com.au) and Stéphane Nahmani (sholby@sholby.net) +License: GPL-2 or MIT + +Files: development-bundle/ui/i18n/ui.datepicker-he.js +Copyright: Amir Hardon (ahardon at gmail dot com) +License: GPL-2 or MIT + +Files: development-bundle/ui/i18n/ui.datepicker-hr.js +Copyright: Vjekoslav Nesek +License: GPL-2 or MIT + +Files: development-bundle/ui/i18n/ui.datepicker-hu.js +Copyright: Istvan Karaszi (jquerycalendar@spam.raszi.hu) +License: GPL-2 or MIT + +Files: development-bundle/ui/i18n/ui.datepicker-hu.js +Copyright: Levon Zakaryan (levon.zakaryan@gmail.com) +License: GPL-2 or MIT + +Files: development-bundle/ui/i18n/ui.datepicker-id.js +Copyright: Deden Fathurahman (dedenf@gmail.com) +License: GPL-2 or MIT + +Files: development-bundle/ui/i18n/ui.datepicker-is.js +Copyright: Haukur H. Thorsson (haukur@eskill.is) +License: GPL-2 or MIT + +Files: development-bundle/ui/i18n/ui.datepicker-it.js +Copyright: paella (apaella@gmail.com) +License: GPL-2 or MIT + +Files: development-bundle/ui/i18n/ui.datepicker-ja.js +Copyright: Kentaro SATO (kentaro@ranvis.com) +License: GPL-2 or MIT + +Files: development-bundle/ui/i18n/ui.datepicker-ko.js +Copyright: DaeKwon Kang (ncrash.dk@gmail.com) +License: GPL-2 or MIT + +Files: development-bundle/ui/i18n/ui.datepicker-lt.js +Copyright: Arturas Paleicikas +License: GPL-2 or MIT + +Files: development-bundle/ui/i18n/ui.datepicker-lv.js +Copyright: Arturas Paleicikas +License: GPL-2 or MIT + +Files: development-bundle/ui/i18n/ui.datepicker-ms.js +Copyright: Mohd Nawawi Mohamad Jamili (nawawi@ronggeng.net) +License: GPL-2 or MIT + +Files: development-bundle/ui/i18n/ui.datepicker-nl.js +Copyright: Mathias Bynens +License: GPL-2 or MIT + +Files: development-bundle/ui/i18n/ui.datepicker-no.js +Copyright: Naimdjon Takhirov (naimdjon@gmail.com) +License: GPL-2 or MIT + +Files: development-bundle/ui/i18n/ui.datepicker-pl.js +Copyright: Jacek Wysocki (jacek.wysocki@gmail.com) +License: GPL-2 or MIT + +Files: development-bundle/ui/i18n/ui.datepicker-pt-BR.js +Copyright: Leonildo Costa Silva (leocsilva@gmail.com) +License: GPL-2 or MIT + +Files: development-bundle/ui/i18n/ui.datepicker-ro.js +Copyright: Edmond L. (ll_edmond@walla.com) +License: GPL-2 or MIT + +Files: development-bundle/ui/i18n/ui.datepicker-ru.js +Copyright: Andrew Stromnov (stromnov@gmail.com) +License: GPL-2 or MIT + +Files: development-bundle/ui/i18n/ui.datepicker-sk.js +Copyright: Vojtech Rinik (vojto@hmm.sk) +License: GPL-2 or MIT + +Files: development-bundle/ui/i18n/ui.datepicker-sl.js +Copyright: Jaka Jancar (jaka@kubje.org) +License: GPL-2 or MIT + +Files: development-bundle/ui/i18n/ui.datepicker-sq.js +Copyright: Flakron Bytyqi (flakron@gmail.com) +License: GPL-2 or MIT + +Files: development-bundle/ui/i18n/ui.datepicker-sv.js +Copyright: Anders Ekdahl ( anders@nomadiz.se) +License: GPL-2 or MIT + +Files: development-bundle/ui/i18n/ui.datepicker-th.js +Copyright: pipo (pipo@sixhead.com) +License: GPL-2 or MIT + +Files: development-bundle/ui/i18n/ui.datepicker-tr.js +Copyright: Izzet Emre Erkan (kara@karalamalar.net) +License: GPL-2 or MIT + +Files: development-bundle/ui/i18n/ui.datepicker-uk.js +Copyright: Maxim Drogobitskiy (maxdao@gmail.com) +License: GPL-2 or MIT + +Files: development-bundle/ui/i18n/ui.datepicker-zh-CN.js +Copyright: Cloudream (cloudream@gmail.com) +License: GPL-2 or MIT + +Files: development-bundle/ui/i18n/ui.datepicker-zh-TW.js +Copyright: Ressol (ressol@gmail.com) +License: GPL-2 or MIT + +Files: debian/* +Copyright: (c) 2009, Walter Cruz +License: GPL-2 or MIT + +License: GPL-2 + On Debian systems the full text of the GNU General Public License can be found + in the `/usr/share/common-licenses/GPL-2' file. + +License: MIT + Copyright (c) 2009 Paul Bakaus, http://ui.jquery.com/ + . + This software consists of voluntary contributions made by many + individuals (AUTHORS.txt, http://ui.jquery.com/about) For exact + contribution history, see the revision history and logs, available + at http://jquery-ui.googlecode.com/svn/ + . + Permission is hereby granted, free of charge, to any person obtaining + a copy of this software and associated documentation files (the + "Software"), to deal in the Software without restriction, including + without limitation the rights to use, copy, modify, merge, publish, + distribute, sublicense, and/or sell copies of the Software, and to + permit persons to whom the Software is furnished to do so, subject to + the following conditions: + . + The above copyright notice and this permission notice shall be + included in all copies or substantial portions of the Software. + . + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE + LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION + OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION + WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/static/jquery-ui/jquery-ui.min.js b/static/jquery-ui/jquery-ui.min.js new file mode 100644 index 0000000..7a1383e --- /dev/null +++ b/static/jquery-ui/jquery-ui.min.js @@ -0,0 +1,16 @@ +/* jQuery UI - v1.10.1 - 2013-02-15 +* http://jqueryui.com +* Includes: jquery.ui.core.js, jquery.ui.widget.js, jquery.ui.mouse.js, jquery.ui.position.js, jquery.ui.accordion.js, jquery.ui.autocomplete.js, jquery.ui.button.js, jquery.ui.datepicker.js, jquery.ui.dialog.js, jquery.ui.draggable.js, jquery.ui.droppable.js, jquery.ui.effect.js, jquery.ui.effect-blind.js, jquery.ui.effect-bounce.js, jquery.ui.effect-clip.js, jquery.ui.effect-drop.js, jquery.ui.effect-explode.js, jquery.ui.effect-fade.js, jquery.ui.effect-fold.js, jquery.ui.effect-highlight.js, jquery.ui.effect-pulsate.js, jquery.ui.effect-scale.js, jquery.ui.effect-shake.js, jquery.ui.effect-slide.js, jquery.ui.effect-transfer.js, jquery.ui.menu.js, jquery.ui.progressbar.js, jquery.ui.resizable.js, jquery.ui.selectable.js, jquery.ui.slider.js, jquery.ui.sortable.js, jquery.ui.spinner.js, jquery.ui.tabs.js, jquery.ui.tooltip.js +* Copyright (c) 2013 jQuery Foundation and other contributors Licensed MIT */ +(function(b,f){var a=0,e=/^ui-id-\d+$/;b.ui=b.ui||{};if(b.ui.version){return}b.extend(b.ui,{version:"1.10.1",keyCode:{BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38}});b.fn.extend({_focus:b.fn.focus,focus:function(g,h){return typeof g==="number"?this.each(function(){var i=this;setTimeout(function(){b(i).focus();if(h){h.call(i)}},g)}):this._focus.apply(this,arguments)},scrollParent:function(){var g;if((b.ui.ie&&(/(static|relative)/).test(this.css("position")))||(/absolute/).test(this.css("position"))){g=this.parents().filter(function(){return(/(relative|absolute|fixed)/).test(b.css(this,"position"))&&(/(auto|scroll)/).test(b.css(this,"overflow")+b.css(this,"overflow-y")+b.css(this,"overflow-x"))}).eq(0)}else{g=this.parents().filter(function(){return(/(auto|scroll)/).test(b.css(this,"overflow")+b.css(this,"overflow-y")+b.css(this,"overflow-x"))}).eq(0)}return(/fixed/).test(this.css("position"))||!g.length?b(document):g},zIndex:function(j){if(j!==f){return this.css("zIndex",j)}if(this.length){var h=b(this[0]),g,i;while(h.length&&h[0]!==document){g=h.css("position");if(g==="absolute"||g==="relative"||g==="fixed"){i=parseInt(h.css("zIndex"),10);if(!isNaN(i)&&i!==0){return i}}h=h.parent()}}return 0},uniqueId:function(){return this.each(function(){if(!this.id){this.id="ui-id-"+(++a)}})},removeUniqueId:function(){return this.each(function(){if(e.test(this.id)){b(this).removeAttr("id")}})}});function d(i,g){var k,j,h,l=i.nodeName.toLowerCase();if("area"===l){k=i.parentNode;j=k.name;if(!i.href||!j||k.nodeName.toLowerCase()!=="map"){return false}h=b("img[usemap=#"+j+"]")[0];return !!h&&c(h)}return(/input|select|textarea|button|object/.test(l)?!i.disabled:"a"===l?i.href||g:g)&&c(i)}function c(g){return b.expr.filters.visible(g)&&!b(g).parents().addBack().filter(function(){return b.css(this,"visibility")==="hidden"}).length}b.extend(b.expr[":"],{data:b.expr.createPseudo?b.expr.createPseudo(function(g){return function(h){return !!b.data(h,g)}}):function(j,h,g){return !!b.data(j,g[3])},focusable:function(g){return d(g,!isNaN(b.attr(g,"tabindex")))},tabbable:function(i){var g=b.attr(i,"tabindex"),h=isNaN(g);return(h||g>=0)&&d(i,!h)}});if(!b("").outerWidth(1).jquery){b.each(["Width","Height"],function(j,g){var h=g==="Width"?["Left","Right"]:["Top","Bottom"],k=g.toLowerCase(),m={innerWidth:b.fn.innerWidth,innerHeight:b.fn.innerHeight,outerWidth:b.fn.outerWidth,outerHeight:b.fn.outerHeight};function l(o,n,i,p){b.each(h,function(){n-=parseFloat(b.css(o,"padding"+this))||0;if(i){n-=parseFloat(b.css(o,"border"+this+"Width"))||0}if(p){n-=parseFloat(b.css(o,"margin"+this))||0}});return n}b.fn["inner"+g]=function(i){if(i===f){return m["inner"+g].call(this)}return this.each(function(){b(this).css(k,l(this,i)+"px")})};b.fn["outer"+g]=function(i,n){if(typeof i!=="number"){return m["outer"+g].call(this,i)}return this.each(function(){b(this).css(k,l(this,i,true,n)+"px")})}})}if(!b.fn.addBack){b.fn.addBack=function(g){return this.add(g==null?this.prevObject:this.prevObject.filter(g))}}if(b("").data("a-b","a").removeData("a-b").data("a-b")){b.fn.removeData=(function(g){return function(h){if(arguments.length){return g.call(this,b.camelCase(h))}else{return g.call(this)}}})(b.fn.removeData)}b.ui.ie=!!/msie [\w.]+/.exec(navigator.userAgent.toLowerCase());b.support.selectstart="onselectstart" in document.createElement("div");b.fn.extend({disableSelection:function(){return this.bind((b.support.selectstart?"selectstart":"mousedown")+".ui-disableSelection",function(g){g.preventDefault()})},enableSelection:function(){return this.unbind(".ui-disableSelection")}});b.extend(b.ui,{plugin:{add:function(h,j,l){var g,k=b.ui[h].prototype;for(g in l){k.plugins[g]=k.plugins[g]||[];k.plugins[g].push([j,l[g]])}},call:function(g,j,h){var k,l=g.plugins[j];if(!l||!g.element[0].parentNode||g.element[0].parentNode.nodeType===11){return}for(k=0;k0){return true}j[g]=1;i=(j[g]>0);j[g]=0;return i}})})(jQuery);(function(b,e){var a=0,d=Array.prototype.slice,c=b.cleanData;b.cleanData=function(f){for(var g=0,h;(h=f[g])!=null;g++){try{b(h).triggerHandler("remove")}catch(j){}}c(f)};b.widget=function(f,g,n){var k,l,i,m,h={},j=f.split(".")[0];f=f.split(".")[1];k=j+"-"+f;if(!n){n=g;g=b.Widget}b.expr[":"][k.toLowerCase()]=function(o){return !!b.data(o,k)};b[j]=b[j]||{};l=b[j][f];i=b[j][f]=function(o,p){if(!this._createWidget){return new i(o,p)}if(arguments.length){this._createWidget(o,p)}};b.extend(i,l,{version:n.version,_proto:b.extend({},n),_childConstructors:[]});m=new g();m.options=b.widget.extend({},m.options);b.each(n,function(p,o){if(!b.isFunction(o)){h[p]=o;return}h[p]=(function(){var q=function(){return g.prototype[p].apply(this,arguments)},r=function(s){return g.prototype[p].apply(this,s)};return function(){var u=this._super,s=this._superApply,t;this._super=q;this._superApply=r;t=o.apply(this,arguments);this._super=u;this._superApply=s;return t}})()});i.prototype=b.widget.extend(m,{widgetEventPrefix:l?m.widgetEventPrefix:f},h,{constructor:i,namespace:j,widgetName:f,widgetFullName:k});if(l){b.each(l._childConstructors,function(p,q){var o=q.prototype;b.widget(o.namespace+"."+o.widgetName,i,q._proto)});delete l._childConstructors}else{g._childConstructors.push(i)}b.widget.bridge(f,i)};b.widget.extend=function(k){var g=d.call(arguments,1),j=0,f=g.length,h,i;for(;j",options:{disabled:false,create:null},_createWidget:function(f,g){g=b(g||this.defaultElement||this)[0];this.element=b(g);this.uuid=a++;this.eventNamespace="."+this.widgetName+this.uuid;this.options=b.widget.extend({},this.options,this._getCreateOptions(),f);this.bindings=b();this.hoverable=b();this.focusable=b();if(g!==this){b.data(g,this.widgetFullName,this);this._on(true,this.element,{remove:function(h){if(h.target===g){this.destroy()}}});this.document=b(g.style?g.ownerDocument:g.document||g);this.window=b(this.document[0].defaultView||this.document[0].parentWindow)}this._create();this._trigger("create",null,this._getCreateEventData());this._init()},_getCreateOptions:b.noop,_getCreateEventData:b.noop,_create:b.noop,_init:b.noop,destroy:function(){this._destroy();this.element.unbind(this.eventNamespace).removeData(this.widgetName).removeData(this.widgetFullName).removeData(b.camelCase(this.widgetFullName));this.widget().unbind(this.eventNamespace).removeAttr("aria-disabled").removeClass(this.widgetFullName+"-disabled ui-state-disabled");this.bindings.unbind(this.eventNamespace);this.hoverable.removeClass("ui-state-hover");this.focusable.removeClass("ui-state-focus")},_destroy:b.noop,widget:function(){return this.element},option:function(j,k){var f=j,l,h,g;if(arguments.length===0){return b.widget.extend({},this.options)}if(typeof j==="string"){f={};l=j.split(".");j=l.shift();if(l.length){h=f[j]=b.widget.extend({},this.options[j]);for(g=0;g=this.options.distance)},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return true}})})(jQuery);(function(e,c){e.ui=e.ui||{};var j,k=Math.max,o=Math.abs,m=Math.round,d=/left|center|right/,h=/top|center|bottom/,a=/[\+\-]\d+(\.[\d]+)?%?/,l=/^\w+/,b=/%$/,g=e.fn.position;function n(r,q,p){return[parseFloat(r[0])*(b.test(r[0])?q/100:1),parseFloat(r[1])*(b.test(r[1])?p/100:1)]}function i(p,q){return parseInt(e.css(p,q),10)||0}function f(q){var p=q[0];if(p.nodeType===9){return{width:q.width(),height:q.height(),offset:{top:0,left:0}}}if(e.isWindow(p)){return{width:q.width(),height:q.height(),offset:{top:q.scrollTop(),left:q.scrollLeft()}}}if(p.preventDefault){return{width:0,height:0,offset:{top:p.pageY,left:p.pageX}}}return{width:q.outerWidth(),height:q.outerHeight(),offset:q.offset()}}e.position={scrollbarWidth:function(){if(j!==c){return j}var q,p,s=e("
"),r=s.children()[0];e("body").append(s);q=r.offsetWidth;s.css("overflow","scroll");p=r.offsetWidth;if(q===p){p=s[0].clientWidth}s.remove();return(j=q-p)},getScrollInfo:function(t){var s=t.isWindow?"":t.element.css("overflow-x"),r=t.isWindow?"":t.element.css("overflow-y"),q=s==="scroll"||(s==="auto"&&t.width0?"right":"center",vertical:N<0?"top":Q>0?"bottom":"middle"};if(wk(o(Q),o(N))){M.important="horizontal"}else{M.important="vertical"}z.using.call(this,P,M)}}E.offset(e.extend(H,{using:L}))})};e.ui.position={fit:{left:function(t,s){var r=s.within,v=r.isWindow?r.scrollLeft:r.offset.left,x=r.width,u=t.left-s.collisionPosition.marginLeft,w=v-u,q=u+s.collisionWidth-x-v,p;if(s.collisionWidth>x){if(w>0&&q<=0){p=t.left+w+s.collisionWidth-x-v;t.left+=w-p}else{if(q>0&&w<=0){t.left=v}else{if(w>q){t.left=v+x-s.collisionWidth}else{t.left=v}}}}else{if(w>0){t.left+=w}else{if(q>0){t.left-=q}else{t.left=k(t.left-u,t.left)}}}},top:function(s,r){var q=r.within,w=q.isWindow?q.scrollTop:q.offset.top,x=r.within.height,u=s.top-r.collisionPosition.marginTop,v=w-u,t=u+r.collisionHeight-x-w,p;if(r.collisionHeight>x){if(v>0&&t<=0){p=s.top+v+r.collisionHeight-x-w;s.top+=v-p}else{if(t>0&&v<=0){s.top=w}else{if(v>t){s.top=w+x-r.collisionHeight}else{s.top=w}}}}else{if(v>0){s.top+=v}else{if(t>0){s.top-=t}else{s.top=k(s.top-u,s.top)}}}}},flip:{left:function(v,u){var t=u.within,z=t.offset.left+t.scrollLeft,C=t.width,r=t.isWindow?t.scrollLeft:t.offset.left,w=v.left-u.collisionPosition.marginLeft,A=w-r,q=w+u.collisionWidth-C-r,y=u.my[0]==="left"?-u.elemWidth:u.my[0]==="right"?u.elemWidth:0,B=u.at[0]==="left"?u.targetWidth:u.at[0]==="right"?-u.targetWidth:0,s=-2*u.offset[0],p,x;if(A<0){p=v.left+y+B+s+u.collisionWidth-C-z;if(p<0||p0){x=v.left-u.collisionPosition.marginLeft+y+B+s-r;if(x>0||o(x)y&&(q<0||q0){A=u.top-t.collisionPosition.marginTop+x+D+r-p;if((u.top+x+D+r)>v&&(A>0||o(A)10&&s<11;t.innerHTML="";v.removeChild(t)})()}(jQuery));(function(d,e){var b=0,c={},a={};c.height=c.paddingTop=c.paddingBottom=c.borderTopWidth=c.borderBottomWidth="hide";a.height=a.paddingTop=a.paddingBottom=a.borderTopWidth=a.borderBottomWidth="show";d.widget("ui.accordion",{version:"1.10.1",options:{active:0,animate:{},collapsible:false,event:"click",header:"> li > :first-child,> :not(li):even",heightStyle:"auto",icons:{activeHeader:"ui-icon-triangle-1-s",header:"ui-icon-triangle-1-e"},activate:null,beforeActivate:null},_create:function(){var f=this.options;this.prevShow=this.prevHide=d();this.element.addClass("ui-accordion ui-widget ui-helper-reset").attr("role","tablist");if(!f.collapsible&&(f.active===false||f.active==null)){f.active=0}this._processPanels();if(f.active<0){f.active+=this.headers.length}this._refresh()},_getCreateEventData:function(){return{header:this.active,panel:!this.active.length?d():this.active.next(),content:!this.active.length?d():this.active.next()}},_createIcons:function(){var f=this.options.icons;if(f){d("").addClass("ui-accordion-header-icon ui-icon "+f.header).prependTo(this.headers);this.active.children(".ui-accordion-header-icon").removeClass(f.header).addClass(f.activeHeader);this.headers.addClass("ui-accordion-icons")}},_destroyIcons:function(){this.headers.removeClass("ui-accordion-icons").children(".ui-accordion-header-icon").remove()},_destroy:function(){var f;this.element.removeClass("ui-accordion ui-widget ui-helper-reset").removeAttr("role");this.headers.removeClass("ui-accordion-header ui-accordion-header-active ui-helper-reset ui-state-default ui-corner-all ui-state-active ui-state-disabled ui-corner-top").removeAttr("role").removeAttr("aria-selected").removeAttr("aria-controls").removeAttr("tabIndex").each(function(){if(/^ui-accordion/.test(this.id)){this.removeAttribute("id")}});this._destroyIcons();f=this.headers.next().css("display","").removeAttr("role").removeAttr("aria-expanded").removeAttr("aria-hidden").removeAttr("aria-labelledby").removeClass("ui-helper-reset ui-widget-content ui-corner-bottom ui-accordion-content ui-accordion-content-active ui-state-disabled").each(function(){if(/^ui-accordion/.test(this.id)){this.removeAttribute("id")}});if(this.options.heightStyle!=="content"){f.css("height","")}},_setOption:function(f,g){if(f==="active"){this._activate(g);return}if(f==="event"){if(this.options.event){this._off(this.headers,this.options.event)}this._setupEvents(g)}this._super(f,g);if(f==="collapsible"&&!g&&this.options.active===false){this._activate(0)}if(f==="icons"){this._destroyIcons();if(g){this._createIcons()}}if(f==="disabled"){this.headers.add(this.headers.next()).toggleClass("ui-state-disabled",!!g)}},_keydown:function(i){if(i.altKey||i.ctrlKey){return}var j=d.ui.keyCode,h=this.headers.length,f=this.headers.index(i.target),g=false;switch(i.keyCode){case j.RIGHT:case j.DOWN:g=this.headers[(f+1)%h];break;case j.LEFT:case j.UP:g=this.headers[(f-1+h)%h];break;case j.SPACE:case j.ENTER:this._eventHandler(i);break;case j.HOME:g=this.headers[0];break;case j.END:g=this.headers[h-1];break}if(g){d(i.target).attr("tabIndex",-1);d(g).attr("tabIndex",0);g.focus();i.preventDefault()}},_panelKeyDown:function(f){if(f.keyCode===d.ui.keyCode.UP&&f.ctrlKey){d(f.currentTarget).prev().focus()}},refresh:function(){var f=this.options;this._processPanels();if((f.active===false&&f.collapsible===true)||!this.headers.length){f.active=false;this.active=d()}if(f.active===false){this._activate(0)}else{if(this.active.length&&!d.contains(this.element[0],this.active[0])){if(this.headers.length===this.headers.find(".ui-state-disabled").length){f.active=false;this.active=d()}else{this._activate(Math.max(0,f.active-1))}}else{f.active=this.headers.index(this.active)}}this._destroyIcons();this._refresh()},_processPanels:function(){this.headers=this.element.find(this.options.header).addClass("ui-accordion-header ui-helper-reset ui-state-default ui-corner-all");this.headers.next().addClass("ui-accordion-content ui-helper-reset ui-widget-content ui-corner-bottom").filter(":not(.ui-accordion-content-active)").hide()},_refresh:function(){var j,h=this.options,g=h.heightStyle,i=this.element.parent(),f=this.accordionId="ui-accordion-"+(this.element.attr("id")||++b);this.active=this._findActive(h.active).addClass("ui-accordion-header-active ui-state-active ui-corner-top").removeClass("ui-corner-all");this.active.next().addClass("ui-accordion-content-active").show();this.headers.attr("role","tab").each(function(n){var o=d(this),m=o.attr("id"),k=o.next(),l=k.attr("id");if(!m){m=f+"-header-"+n;o.attr("id",m)}if(!l){l=f+"-panel-"+n;k.attr("id",l)}o.attr("aria-controls",l);k.attr("aria-labelledby",m)}).next().attr("role","tabpanel");this.headers.not(this.active).attr({"aria-selected":"false",tabIndex:-1}).next().attr({"aria-expanded":"false","aria-hidden":"true"}).hide();if(!this.active.length){this.headers.eq(0).attr("tabIndex",0)}else{this.active.attr({"aria-selected":"true",tabIndex:0}).next().attr({"aria-expanded":"true","aria-hidden":"false"})}this._createIcons();this._setupEvents(h.event);if(g==="fill"){j=i.height();this.element.siblings(":visible").each(function(){var l=d(this),k=l.css("position");if(k==="absolute"||k==="fixed"){return}j-=l.outerHeight(true)});this.headers.each(function(){j-=d(this).outerHeight(true)});this.headers.next().each(function(){d(this).height(Math.max(0,j-d(this).innerHeight()+d(this).height()))}).css("overflow","auto")}else{if(g==="auto"){j=0;this.headers.next().each(function(){j=Math.max(j,d(this).css("height","").height())}).height(j)}}},_activate:function(f){var g=this._findActive(f)[0];if(g===this.active[0]){return}g=g||this.active[0];this._eventHandler({target:g,currentTarget:g,preventDefault:d.noop})},_findActive:function(f){return typeof f==="number"?this.headers.eq(f):d()},_setupEvents:function(g){var f={keydown:"_keydown"};if(g){d.each(g.split(" "),function(i,h){f[h]="_eventHandler"})}this._off(this.headers.add(this.headers.next()));this._on(this.headers,f);this._on(this.headers.next(),{keydown:"_panelKeyDown"});this._hoverable(this.headers);this._focusable(this.headers)},_eventHandler:function(f){var n=this.options,i=this.active,j=d(f.currentTarget),l=j[0]===i[0],g=l&&n.collapsible,h=g?d():j.next(),k=i.next(),m={oldHeader:i,oldPanel:k,newHeader:g?d():j,newPanel:h};f.preventDefault();if((l&&!n.collapsible)||(this._trigger("beforeActivate",f,m)===false)){return}n.active=g?false:this.headers.index(j);this.active=l?d():j;this._toggle(m);i.removeClass("ui-accordion-header-active ui-state-active");if(n.icons){i.children(".ui-accordion-header-icon").removeClass(n.icons.activeHeader).addClass(n.icons.header)}if(!l){j.removeClass("ui-corner-all").addClass("ui-accordion-header-active ui-state-active ui-corner-top");if(n.icons){j.children(".ui-accordion-header-icon").removeClass(n.icons.header).addClass(n.icons.activeHeader)}j.next().addClass("ui-accordion-content-active")}},_toggle:function(h){var f=h.newPanel,g=this.prevShow.length?this.prevShow:h.oldPanel;this.prevShow.add(this.prevHide).stop(true,true);this.prevShow=f;this.prevHide=g;if(this.options.animate){this._animate(f,g,h)}else{g.hide();f.show();this._toggleComplete(h)}g.attr({"aria-expanded":"false","aria-hidden":"true"});g.prev().attr("aria-selected","false");if(f.length&&g.length){g.prev().attr("tabIndex",-1)}else{if(f.length){this.headers.filter(function(){return d(this).attr("tabIndex")===0}).attr("tabIndex",-1)}}f.attr({"aria-expanded":"true","aria-hidden":"false"}).prev().attr({"aria-selected":"true",tabIndex:0})},_animate:function(f,n,j){var m,l,i,k=this,o=0,p=f.length&&(!n.length||(f.index()",options:{appendTo:null,autoFocus:false,delay:300,minLength:1,position:{my:"left top",at:"left bottom",collision:"none"},source:null,change:null,close:null,focus:null,open:null,response:null,search:null,select:null},pending:0,_create:function(){var f,d,g,i=this.element[0].nodeName.toLowerCase(),h=i==="textarea",e=i==="input";this.isMultiLine=h?true:e?false:this.element.prop("isContentEditable");this.valueMethod=this.element[h||e?"val":"text"];this.isNewMenu=true;this.element.addClass("ui-autocomplete-input").attr("autocomplete","off");this._on(this.element,{keydown:function(j){if(this.element.prop("readOnly")){f=true;g=true;d=true;return}f=false;g=false;d=false;var k=a.ui.keyCode;switch(j.keyCode){case k.PAGE_UP:f=true;this._move("previousPage",j);break;case k.PAGE_DOWN:f=true;this._move("nextPage",j);break;case k.UP:f=true;this._keyEvent("previous",j);break;case k.DOWN:f=true;this._keyEvent("next",j);break;case k.ENTER:case k.NUMPAD_ENTER:if(this.menu.active){f=true;j.preventDefault();this.menu.select(j)}break;case k.TAB:if(this.menu.active){this.menu.select(j)}break;case k.ESCAPE:if(this.menu.element.is(":visible")){this._value(this.term);this.close(j);j.preventDefault()}break;default:d=true;this._searchTimeout(j);break}},keypress:function(j){if(f){f=false;j.preventDefault();return}if(d){return}var k=a.ui.keyCode;switch(j.keyCode){case k.PAGE_UP:this._move("previousPage",j);break;case k.PAGE_DOWN:this._move("nextPage",j);break;case k.UP:this._keyEvent("previous",j);break;case k.DOWN:this._keyEvent("next",j);break}},input:function(j){if(g){g=false;j.preventDefault();return}this._searchTimeout(j)},focus:function(){this.selectedItem=null;this.previous=this._value()},blur:function(j){if(this.cancelBlur){delete this.cancelBlur;return}clearTimeout(this.searching);this.close(j);this._change(j)}});this._initSource();this.menu=a("