{{datasheet.title}}
+{{datasheet.organisation.name}}
+
+ {{datasheet.description}}
+-
+
- Visiter sur {{domain}} +
- Plus d'informations sur histoiredesarts.culture.fr +
# HG changeset patch # User veltr # Date 1350576356 -7200 # Node ID 1113c3874dd66470b6f840bf577289e598528125 # Parent a46461f8a74fce493baf1f0efd46e3a7da51fa5c Added Datasheet View diff -r a46461f8a74f -r 1113c3874dd6 .settings/org.eclipse.core.resources.prefs --- a/.settings/org.eclipse.core.resources.prefs Thu Oct 11 18:22:45 2012 +0200 +++ b/.settings/org.eclipse.core.resources.prefs Thu Oct 18 18:05:56 2012 +0200 @@ -1,47 +1,48 @@ -eclipse.preferences.version=1 -encoding//data/villes.csv=ISO-8859-1 -encoding//web/hdabo/forms.py=utf-8 -encoding//web/hdabo/management/commands/clean_tags.py=utf-8 -encoding//web/hdabo/management/commands/diff_csv.py=utf-8 -encoding//web/hdabo/management/commands/import_csv.py=utf-8 -encoding//web/hdabo/management/commands/import_tag_popularity.py=utf-8 -encoding//web/hdabo/management/commands/query_wikipedia.py=utf-8 -encoding//web/hdabo/management/utils.py=utf-8 -encoding//web/hdabo/migrations/0001_initial.py=utf-8 -encoding//web/hdabo/migrations/0002_backport_hdabo_sf.py=utf-8 -encoding//web/hdabo/migrations/0003_update_redirection.py=utf-8 -encoding//web/hdabo/migrations/0005_auto__chg_field_datasheet_organisation.py=utf-8 -encoding//web/hdabo/models.py=utf-8 -encoding//web/hdabo/search/french_whoosh_backend.py=utf-8 -encoding//web/hdabo/tests/models.py=utf-8 -encoding//web/hdabo/utils.py=utf-8 -encoding//web/hdabo/views.py=utf-8 -encoding//web/hdabo/wp_utils.py=utf-8 -encoding//web/hdalab/__init__.py=utf-8 -encoding//web/hdalab/config.py=utf-8 -encoding//web/hdalab/manage.py=utf-8 -encoding//web/hdalab/management/commands/export_tags_csv.py=utf-8 -encoding//web/hdalab/management/commands/export_wpcategory_csv.py=utf-8 -encoding//web/hdalab/management/commands/fill_country_codes.py=utf-8 -encoding//web/hdalab/management/commands/fill_tag_years.py=utf-8 -encoding//web/hdalab/management/commands/geojson_transform.py=utf-8 -encoding//web/hdalab/management/commands/import_hda_insee_csv.py=utf-8 -encoding//web/hdalab/management/commands/import_hdabo_db.py=utf-8 -encoding//web/hdalab/management/commands/import_insee_csv.py=utf-8 -encoding//web/hdalab/management/commands/query_category_inclusion.py=utf-8 -encoding//web/hdalab/management/commands/query_dbpedia.py=utf-8 -encoding//web/hdalab/management/commands/query_geo_inclusion.py=utf-8 -encoding//web/hdalab/management/commands/query_wikipedia_category.py=utf-8 -encoding//web/hdalab/management/utils.py=utf-8 -encoding//web/hdalab/migrations/0001_initial.py=utf-8 -encoding//web/hdalab/migrations/0002_dataviz.py=utf-8 -encoding//web/hdalab/migrations/0003_hdasession.py=utf-8 -encoding//web/hdalab/migrations/0005_rename_end_year.py=utf-8 -encoding//web/hdalab/migrations/0006_dbpedia_fields_one_to_one.py=utf-8 -encoding//web/hdalab/migrations/0007_geographic_inclusion.py=utf-8 -encoding//web/hdalab/migrations/0008_datasheet_insee.py=utf-8 -encoding//web/hdalab/models/dataviz.py=utf-8 -encoding//web/hdalab/settings.py=utf-8 -encoding//web/hdalab/urls.py=utf-8 -encoding//web/hdalab/utils.py=utf-8 -encoding//web/hdalab/views/ajax.py=utf-8 +eclipse.preferences.version=1 +encoding//data/villes.csv=ISO-8859-1 +encoding//web/hdabo/forms.py=utf-8 +encoding//web/hdabo/management/commands/clean_tags.py=utf-8 +encoding//web/hdabo/management/commands/diff_csv.py=utf-8 +encoding//web/hdabo/management/commands/import_csv.py=utf-8 +encoding//web/hdabo/management/commands/import_tag_popularity.py=utf-8 +encoding//web/hdabo/management/commands/query_wikipedia.py=utf-8 +encoding//web/hdabo/management/utils.py=utf-8 +encoding//web/hdabo/migrations/0001_initial.py=utf-8 +encoding//web/hdabo/migrations/0002_backport_hdabo_sf.py=utf-8 +encoding//web/hdabo/migrations/0003_update_redirection.py=utf-8 +encoding//web/hdabo/migrations/0005_auto__chg_field_datasheet_organisation.py=utf-8 +encoding//web/hdabo/models.py=utf-8 +encoding//web/hdabo/search/french_whoosh_backend.py=utf-8 +encoding//web/hdabo/tests/models.py=utf-8 +encoding//web/hdabo/utils.py=utf-8 +encoding//web/hdabo/views.py=utf-8 +encoding//web/hdabo/wp_utils.py=utf-8 +encoding//web/hdalab/__init__.py=utf-8 +encoding//web/hdalab/config.py=utf-8 +encoding//web/hdalab/manage.py=utf-8 +encoding//web/hdalab/management/commands/export_tags_csv.py=utf-8 +encoding//web/hdalab/management/commands/export_wpcategory_csv.py=utf-8 +encoding//web/hdalab/management/commands/fill_country_codes.py=utf-8 +encoding//web/hdalab/management/commands/fill_tag_years.py=utf-8 +encoding//web/hdalab/management/commands/geojson_transform.py=utf-8 +encoding//web/hdalab/management/commands/import_hda_insee_csv.py=utf-8 +encoding//web/hdalab/management/commands/import_hdabo_db.py=utf-8 +encoding//web/hdalab/management/commands/import_insee_csv.py=utf-8 +encoding//web/hdalab/management/commands/query_category_inclusion.py=utf-8 +encoding//web/hdalab/management/commands/query_dbpedia.py=utf-8 +encoding//web/hdalab/management/commands/query_geo_inclusion.py=utf-8 +encoding//web/hdalab/management/commands/query_wikipedia_category.py=utf-8 +encoding//web/hdalab/management/utils.py=utf-8 +encoding//web/hdalab/migrations/0001_initial.py=utf-8 +encoding//web/hdalab/migrations/0002_dataviz.py=utf-8 +encoding//web/hdalab/migrations/0003_hdasession.py=utf-8 +encoding//web/hdalab/migrations/0005_rename_end_year.py=utf-8 +encoding//web/hdalab/migrations/0006_dbpedia_fields_one_to_one.py=utf-8 +encoding//web/hdalab/migrations/0007_geographic_inclusion.py=utf-8 +encoding//web/hdalab/migrations/0008_datasheet_insee.py=utf-8 +encoding//web/hdalab/models/dataviz.py=utf-8 +encoding//web/hdalab/settings.py=utf-8 +encoding//web/hdalab/urls.py=utf-8 +encoding//web/hdalab/utils.py=utf-8 +encoding//web/hdalab/views/ajax.py=utf-8 +encoding//web/hdalab/views/pages.py=utf-8 diff -r a46461f8a74f -r 1113c3874dd6 web/hdalab/static/hdalab/css/facettes.css --- a/web/hdalab/static/hdalab/css/facettes.css Thu Oct 11 18:22:45 2012 +0200 +++ b/web/hdalab/static/hdalab/css/facettes.css Thu Oct 18 18:05:56 2012 +0200 @@ -309,6 +309,10 @@ font-size: 18px; margin: 3px 0; } +.content-item h3 a, .content-item p a { + color: #000000; +} + .content-item h4 { font-size: 11px; margin: 3px 0; } diff -r a46461f8a74f -r 1113c3874dd6 web/hdalab/static/hdalab/css/notice.css --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/web/hdalab/static/hdalab/css/notice.css Thu Oct 18 18:05:56 2012 +0200 @@ -0,0 +1,115 @@ +h2 { + font-size: 20px; font-weight: bold; text-align: center; +} + +.main-datasheet { + float: left; width: 300px; border-radius: 3px; padding: 9px; border: 1px solid #999; + background: #FFF8F0; margin-top: 10px; +} + +.main-datasheet a { + color: #000000; +} + +.main-datasheet h3 { + font-size: 16px; font-weight: bold; font-style: italic; margin: 10px 0; +} + +.main-datasheet img { + max-width: 173px; float: right; margin: 5px 0 2px 2px; border: 1px solid #999; +} + +.main-datasheet p { + font-size: 12px; margin: 5px 0; +} + +.main-datasheet ul { + padding-left: 15px; margin: 10px 0 5px; +} + +.main-datasheet li { + font-size: 13px; margin: 5px 0; font-weight: bold; +} + +.main-datasheet li a { + text-decoration: underline; +} + +.tag-container { + float: left; width: 320px; height: 1px; position: relative; +} + +.tag-container h2, .related-datasheets h2 { + margin: 10px; +} + +.tag-canvas, .tags-main { + position: absolute; top: 0; left: 0; +} + +.tags-main { + width: 320px; +} + +.tags { + list-style: none; text-align: center; +} + +.tags li { + font-size: 12px; line-height: 14px; min-height: 14px; margin: 20px 0; cursor: pointer; +} + + +.tags span { + color: #ffffff; padding: 4px; background: #666680; +} + +.tags span.selected { + color: #FFFF00; font-weight: bold; +} + +.related-datasheets { + float: left; width: 320px; +} + +.datasheets { + list-style: none; +} + +.datasheet { + border-radius: 3px; padding: 4px; border: 1px solid #999; margin: 5px 0; + background: #FFF8F0; +} + +.datasheet img { + max-width: 86px; float: right; margin: 2px 0 2px 2px; border: 1px solid #999; +} + +.datasheet h3 { + font-size: 13px; font-weight: bold; line-height: 13px; margin: 4px 0; +} + +.datasheet h3 a { + color: #000000; +} + +.datasheet h4 { + font-size: 12px; font-style: italic; line-height: 12px; margin: 4px 0; +} + +.datasheet-tags { + list-style: none; /* display: none; */ +} + +.datasheet-tags li { + padding: 2px; color: #ffffff; background: #999999; margin: 2px 2px 0 0; + font-size: 11px; display: inline-block; +} + +.datasheet-tags li.common-tag { + font-weight: bold; background: #666680; +} + +.datasheet:hover .datasheet-tags { + display: block; +} diff -r a46461f8a74f -r 1113c3874dd6 web/hdalab/static/hdalab/css/trees.css --- a/web/hdalab/static/hdalab/css/trees.css Thu Oct 11 18:22:45 2012 +0200 +++ b/web/hdalab/static/hdalab/css/trees.css Thu Oct 18 18:05:56 2012 +0200 @@ -10,15 +10,15 @@ font-weight: normal; } -.cattree .score_0, .cattree .score_1 { +.cattree .score_0, .cattree .score_1, .cattree .score_0 a, .cattree .score_1 a { color: #80d080; } -.cattree .score_2, .cattree .score_3, .cattree .score_4 { +.cattree .score_2, .cattree .score_3, .cattree .score_4, .cattree .score_2 a, .cattree .score_3 a, .cattree .score_4 a { color: #409840; } -.cattree .score_5, .cattree .score_6, .cattree .score_7 { +.cattree .score_5, .cattree .score_6, .cattree .score_7, .cattree .score_5 a, .cattree .score_6 a, .cattree .score_7 a { color: #006000; } @@ -46,6 +46,10 @@ margin: 4px 0 4px 64px; font-size: 12px; min-height: 50px; } +.cattree a.content { + color: #000000; +} + .cattree li, .cattree p.theme { margin: 4px 0; font-size: 12px; position: relative; } diff -r a46461f8a74f -r 1113c3874dd6 web/hdalab/static/hdalab/js/gomina.js --- a/web/hdalab/static/hdalab/js/gomina.js Thu Oct 11 18:22:45 2012 +0200 +++ b/web/hdalab/static/hdalab/js/gomina.js Thu Oct 18 18:05:56 2012 +0200 @@ -255,9 +255,12 @@ if (contentdata && contentdata.length) { var _htmlCl = '
' + + '
' + _d.description.replace(/(^.{0,160})([\s]|$)(.*)/,'$1…') - + '