From 43bdd6d5f7882c1bfd46b3979f55805ad5dc4b57 Mon Sep 17 00:00:00 2001 From: erlehmann Date: Tue, 14 Oct 2008 23:51:23 +0000 Subject: [PATCH] refined video template to give less-than-useful error message on failbrowsers git-svn-id: http://yolanda.mister-muffin.de/svn@388 7eef14d0-6ed0-489d-bf55-20463b2d70db --- trunk/yolanda/public/css/layout/fake6.css | 6 ++++++ trunk/yolanda/templates/xhtml/base.mako | 15 +++++++++------ trunk/yolanda/templates/xhtml/upload.mako | 2 +- trunk/yolanda/templates/xhtml/video.mako | 18 ++++++++++++++---- 4 files changed, 30 insertions(+), 11 deletions(-) diff --git a/trunk/yolanda/public/css/layout/fake6.css b/trunk/yolanda/public/css/layout/fake6.css index 90a553a..98fa365 100644 --- a/trunk/yolanda/public/css/layout/fake6.css +++ b/trunk/yolanda/public/css/layout/fake6.css @@ -152,6 +152,12 @@ ul text-align: center; } + #content #messagebox + { + margin-right: 0em !important; + border-width: 0px; + } + #heading, #login, #search, diff --git a/trunk/yolanda/templates/xhtml/base.mako b/trunk/yolanda/templates/xhtml/base.mako index 55c0dc1..10d70e6 100644 --- a/trunk/yolanda/templates/xhtml/base.mako +++ b/trunk/yolanda/templates/xhtml/base.mako @@ -64,6 +64,11 @@ <%def name="tagcloud()"> + + + Skip tagcloud. + +

Popular tags

@@ -121,6 +126,10 @@ + + Skip menu. + + ${self.login()} ${self.search()} @@ -128,12 +137,6 @@ ${self.tagcloud()} - -

${self.heading()}

diff --git a/trunk/yolanda/templates/xhtml/upload.mako b/trunk/yolanda/templates/xhtml/upload.mako index 949ed6f..d1dba66 100644 --- a/trunk/yolanda/templates/xhtml/upload.mako +++ b/trunk/yolanda/templates/xhtml/upload.mako @@ -5,7 +5,7 @@ <%def name="heading()"> - Upload Video + upload video diff --git a/trunk/yolanda/templates/xhtml/video.mako b/trunk/yolanda/templates/xhtml/video.mako index 51d5a53..e43b184 100644 --- a/trunk/yolanda/templates/xhtml/video.mako +++ b/trunk/yolanda/templates/xhtml/video.mako @@ -14,12 +14,22 @@ poster="${h.url_for('/dummy/poster.png')}" src="${h.url_for('http://127.0.0.1:5000/dummy/video.ogv')}" > -Sorry, your browser does not support the <video> element. Firefox 3.1 nightly builds, Opera experimental builds and Safari with XiphQT installed can playback videos with varying degrees of success. + +
+ + Your browser does not support the <video> element. + + +
+ -download file - -download in HD resolution +