# HG changeset patch # User cavaliet # Date 1415293257 -3600 # Node ID 1ed5e61e3890bffc73b47bc3669bbc4ef84879bf # Parent 7aa5a705e8495964ec99c321ccaece505cc54dba V00.06.05 demo css (and avoid ascii error in command) diff -r 7aa5a705e849 -r 1ed5e61e3890 src/spel/__init__.py --- a/src/spel/__init__.py Thu Nov 06 12:59:12 2014 +0100 +++ b/src/spel/__init__.py Thu Nov 06 18:00:57 2014 +0100 @@ -1,4 +1,4 @@ -VERSION = (0, 6, 4, "final", 0) +VERSION = (0, 6, 5, "final", 0) VERSION_STR = unicode(".".join(map(lambda i:"%02d" % (i,), VERSION[:2]))) diff -r 7aa5a705e849 -r 1ed5e61e3890 src/spel/management/commands/generate_demonstrateur_data.py --- a/src/spel/management/commands/generate_demonstrateur_data.py Thu Nov 06 12:59:12 2014 +0100 +++ b/src/spel/management/commands/generate_demonstrateur_data.py Thu Nov 06 18:00:57 2014 +0100 @@ -204,7 +204,7 @@ proj.save() update_stat_content(content) - print ctt_title + " : " + created_ctt_id + #print ctt_title + " : " + created_ctt_id else: print "Nope" diff -r 7aa5a705e849 -r 1ed5e61e3890 src/spel/static/spel/css/demonstrateur.css --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/spel/static/spel/css/demonstrateur.css Thu Nov 06 18:00:57 2014 +0100 @@ -0,0 +1,29 @@ +/* demonstrateur */ +@media (min-width: 1200px){ + .container { + width: 1220px; + } +} +.spel-content { + min-height: 1200px; +} +.link-table{ + max-height: 200px; + overflow-y: scroll; + overflow-x: hidden; +} +.updown{ + padding: 1px 12px; +} +.container { + padding-left: 0px; + padding-right: 0px; +} +#LdtPlayer, #AnnotationsListContainer { + margin: 0px; + margin-top: 10px; +} +#AnnotationsListContainer { + margin-left: 3px; + width: 360px; +} diff -r 7aa5a705e849 -r 1ed5e61e3890 src/spel/static/spel/css/spel.css --- a/src/spel/static/spel/css/spel.css Thu Nov 06 12:59:12 2014 +0100 +++ b/src/spel/static/spel/css/spel.css Thu Nov 06 18:00:57 2014 +0100 @@ -114,9 +114,3 @@ .play-button{ color: #333; } -/* demonstrateur */ -.link-table{ - max-height: 200px; - overflow: scroll; -} - diff -r 7aa5a705e849 -r 1ed5e61e3890 src/spel/templates/spel_demonstrateur.html --- a/src/spel/templates/spel_demonstrateur.html Thu Nov 06 12:59:12 2014 +0100 +++ b/src/spel/templates/spel_demonstrateur.html Thu Nov 06 18:00:57 2014 +0100 @@ -3,26 +3,34 @@ {% block page_title %}Corpus{% endblock %} +{% block page_css %} + +{% endblock %} + {% block spel_content %} -
+
{% if current_ctt_id != '' %} +

{{ demo_title }}

-

{{ demo_title }}

-

{{ proj_title }}

-

{% if proj1_ldt_id %}Extrait précédent{% endif %} - {% if proj1_ldt_id and proj2_ldt_id %} - {% endif %} - {% if proj2_ldt_id %}Extrait suivant{% endif %}

+
+
+

{{ proj_title }}

+
+
+ {% if proj1_ldt_id %}{% endif %} + {% if proj2_ldt_id %}{% endif %} +
+

{{ annot_title }}

{{ annot_description }}

{{ annot_tags|safe }}

-

Tous les extraits :