]> git.parisson.com Git - teleforma.git/commitdiff
css: remove top mini header
authorGuillaume Pellerin <yomguy@parisson.com>
Tue, 30 Jun 2020 23:02:50 +0000 (23:02 +0000)
committerGuillaume Pellerin <yomguy@parisson.com>
Tue, 30 Jun 2020 23:02:50 +0000 (23:02 +0000)
teleforma/management/commands/teleforma-import-conferences.py
teleforma/static/teleforma/css/teleforma.css

index 829b18ddc79026376a52450e273e9d25e3c5d20d..c3b5ce67638629c65cbb54006140f7ae505acf3a 100644 (file)
@@ -8,7 +8,7 @@ from telemeta.util.unaccent import unaccent
 from teleforma.models import *
 import logging
 import os
-import timeside
+#import timeside
 
 
 class Logger:
@@ -41,13 +41,15 @@ class Command(BaseCommand):
             item.delete()
 
     def get_duration(self, file):
-        decoder = timeside.decoder.FileDecoder(file)
-        decoder.setup()
+        #TODO: avoid timeside
+        #decoder = timeside.decoder.FileDecoder(file)
+        #decoder.setup()
         # time.sleep(0.5)
-        value = str(datetime.timedelta(0,decoder.input_duration))
-        t = value.split(':')
-        t[2] = t[2].split('.')[0]
-        return ':'.join(t)
+        #value = str(datetime.timedelta(0,decoder.input_duration))
+        #t = value.split(':')
+        #t[2] = t[2].split('.')[0]
+        #return ':'.join(t)
+        return
 
 
     def handle(self, *args, **options):
index 7f4787e1ae8ffa4ea3223dc677369109974b88ec..4ae7887e91885998f05eac48ed278aeaa64472b2 100644 (file)
@@ -125,7 +125,7 @@ margin-bottom: 0em;
     background:no-repeat url(/static/telemeta/images/tw_hd.png) 0 0;
     background-color:#ebebeb;
     background-repeat:repeat; 
-       border-top: .25em solid #6a0307;
+    /* border-top: .25em solid #6a0307; */
 /*     background: url("/static/telemeta/images/waves.png") 100% 0% no-repeat; */
 }