From 6cab16c276c72d00a96b3cde7d48ed97d336ef2b Mon Sep 17 00:00:00 2001 From: yomguy Date: Fri, 8 Jul 2011 02:42:14 +0000 Subject: [PATCH] add local video to status --- css/telecaster.css | 2 +- webview.py | 12 ++++++++++-- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/css/telecaster.css b/css/telecaster.css index 5dc55cb..fa94bc6 100644 --- a/css/telecaster.css +++ b/css/telecaster.css @@ -49,7 +49,7 @@ div.tools { background-color: #030250; div.colophon { background-color: transparent; color: #000000; font-size: 80%; - float: right; + float: left; padding: 0.5em 0px 0px 1em; font: 0.8125em/1em Verdana, sans-serif; } diff --git a/webview.py b/webview.py index a0a3587..92a2227 100644 --- a/webview.py +++ b/webview.py @@ -187,6 +187,9 @@ class WebView(FieldStorage): print "
" print "
Status
" + + self.video() + print "" print "" print "" % self.conf['infos']['url'] @@ -274,6 +277,11 @@ class WebView(FieldStorage): print "" self.colophon() self.footer() + + def video(self): + print "
" + print "" + print "
" def stop_form(self, conference_dict, writing, casting): department = conference_dict['department'] @@ -284,7 +292,7 @@ class WebView(FieldStorage): self.mount_point ='_-_'.join([self.short_name,department,conference])+'.'+self.format self.writing = writing self.casting = casting - self.refresh = True + self.refresh = False self.header() self.sub_header() @@ -299,7 +307,7 @@ class WebView(FieldStorage): print "" print "" print "" - print "
Name : %s
Session : "+session+"
Professeur : "+professor+"
Commentaire : "+comment+"
" + print "
" print "
" print "
" print "
" -- 2.39.5