From: yomguy Date: Mon, 13 Feb 2012 17:33:04 +0000 (+0100) Subject: fix video preview X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=bafd9fce73719add934099e028bd622dbec20135;p=telecaster-cgi.git fix video preview --- diff --git a/css/telecaster.css b/css/telecaster.css index fa94bc6..a466b64 100644 --- a/css/telecaster.css +++ b/css/telecaster.css @@ -74,7 +74,7 @@ div.hardware { text-align: left; margin-top: 10px; border: 1px dotted #999; - padding: 6px; + padding: 1ex; background-color: #eee; display: block; } @@ -92,13 +92,18 @@ div.form { background-color: #FFFFFF; table.form { border: 0px; border-collapse: separate; - border-spacing: 8px + border-spacing: 8px; +} + +table.form tr { + width: 50px; } table.hardware { border: 0px; border-collapse: separate; - border-spacing: 2px + border-spacing: 2px; + padding: 1ex; } /* BUTTONS */ diff --git a/webview.py b/webview.py index 94d3655..179e6b7 100644 --- a/webview.py +++ b/webview.py @@ -214,23 +214,23 @@ class WebView(FieldStorage): print "%s" % jackd_info print "Encoder : " print "%s" % casting - print "
" + print "" + print "
" + print "
" if self.writing: print "" else: print "" - print "
" - print "" - print "
" + print "


" + print "
" if not self.ip == 'localhost' and self.writing: print "" else: print "" print "
" - print "" - print "" print "
" - + print "
" + def start_form(self, writing, casting, message=''): self.casting = writing @@ -248,13 +248,13 @@ class WebView(FieldStorage): print "Titre : "+self.title+"" print "Département : " print "" print "Conférence : " print "" @@ -268,6 +268,7 @@ class WebView(FieldStorage): print "" print "" print "" + print "


" print "
" print "
" print "" @@ -307,6 +308,7 @@ class WebView(FieldStorage): print "Commentaire : "+comment+"" print "
" print "
" + print "


" print "
" print "
" print ""