v0.5.12 css improvements V00.05.12
authorcavaliet
Fri, 16 May 2014 11:58:00 +0200
changeset 93 15a5a9ab8416
parent 92 23ab1d3bbe7a
child 94 0d1a177f9712
v0.5.12 css improvements
src/spel/__init__.py
src/spel/static/spel/css/spel.css
src/spel/static/spel/js/opera.js
src/spel/templates/partial/spel_opera_annotations.html
--- a/src/spel/__init__.py	Thu May 15 17:56:01 2014 +0200
+++ b/src/spel/__init__.py	Fri May 16 11:58:00 2014 +0200
@@ -1,4 +1,4 @@
-VERSION = (0, 5, 11, "final", 0)
+VERSION = (0, 5, 12, "final", 0)
 
 VERSION_STR = unicode(".".join(map(lambda i:"%02d" % (i,), VERSION[:2])))
 
--- a/src/spel/static/spel/css/spel.css	Thu May 15 17:56:01 2014 +0200
+++ b/src/spel/static/spel/css/spel.css	Fri May 16 11:58:00 2014 +0200
@@ -86,6 +86,12 @@
 th.popinfo{
 	min-width: 60px;
 }
+th.poptime{
+    min-width: 45px;
+}
+th.title{
+    min-width: 140px;
+}
 span.popinfo{
     cursor: pointer;
 }
--- a/src/spel/static/spel/js/opera.js	Thu May 15 17:56:01 2014 +0200
+++ b/src/spel/static/spel/js/opera.js	Fri May 16 11:58:00 2014 +0200
@@ -155,7 +155,7 @@
 		        zebra : ["even", "odd"],
 		        filter_reset : ".reset"
 		    },
-		    headers: { 3: { sorter: false } }
+		    headers: { 8: { sorter: false } }
 		});
 	}
 	
--- a/src/spel/templates/partial/spel_opera_annotations.html	Thu May 15 17:56:01 2014 +0200
+++ b/src/spel/templates/partial/spel_opera_annotations.html	Fri May 16 11:58:00 2014 +0200
@@ -21,7 +21,7 @@
 </div>
 <table class="table table-striped table-condensed tablesorter">
     <thead>
-        <tr><th>Type</th><th>Titre de la vidéo</th><th>Modalités scéniques</th><th>Personnages</th><th>Travail</th><th>Acte</th><th>Scène</th><th>Mesure</th><th class="popinfo">&nbsp;</th></tr>
+        <tr><th>Type</th><th class="title">Titre de la vidéo</th><th>Modalités scéniques</th><th>Personnages</th><th>Type travail</th><th>Acte</th><th>Scène</th><th>Mesure</th><th class="poptime">&nbsp;</th></tr>
     </thead>
     <tbody>
   {% for s in segments %}
@@ -35,10 +35,9 @@
         <td>{{ s.tags|get_tags:"opera_scene"|join:', ' }}</td>
         <td>{{ s.tags|get_tags:"opera_mesure"|join:', ' }}</td>
         <td>
-          <span class="glyphicon glyphicon-info-sign popinfo" data-trigger="hover" data-container="body" data-toggle="popover" data-placement="auto" 
+          <span class="glyphicon glyphicon-time popinfo" data-trigger="hover" data-container="body" data-toggle="popover" data-placement="auto" 
                   data-content="<strong>Timecodes:</strong> {{ s.start_ts|str_duration }} - {{ s.start_ts|add:s.duration|str_duration }}"></span>
           <a class="play-button" href="{% url 'spel_player' %}?g={{ s.iri_id }}&d=opera&f=original_web.mp4#id={{ s.element_id }}" target="_blank"><span class="glyphicon glyphicon-play"></span></a>
-          <input type="checkbox" class="filter-chapter-annot" />
         </td>
     </tr>
   {% endfor %}