From f12588fbc850c80df46f74cc7237402e0e4175d9 Mon Sep 17 00:00:00 2001 From: erlehmann Date: Sun, 21 Oct 2007 22:02:39 +0000 Subject: [PATCH] messageboxes fully implemented there are 3 types: error, information and warning git-svn-id: http://yolanda.mister-muffin.de/svn@115 7eef14d0-6ed0-489d-bf55-20463b2d70db --- trunk/locale/en-US.xml | 9 +++++++++ trunk/style/gnutube.css | 12 +++++++++++- trunk/video-test.xml | 2 +- trunk/xsl/xhtml.xsl | 22 ++++++++++++++++++---- 4 files changed, 39 insertions(+), 6 deletions(-) diff --git a/trunk/locale/en-US.xml b/trunk/locale/en-US.xml index 32b2ca5..54ef770 100755 --- a/trunk/locale/en-US.xml +++ b/trunk/locale/en-US.xml @@ -32,6 +32,15 @@ most downloads best rated + + Error 202c - Access forbidden by government. + + + You are now logged in. + You are now logged out. + + + results for query diff --git a/trunk/style/gnutube.css b/trunk/style/gnutube.css index b0212c5..01af683 100755 --- a/trunk/style/gnutube.css +++ b/trunk/style/gnutube.css @@ -64,13 +64,23 @@ div div.messagebox { - background-color: #90f090; border-color: #606060; border-style: solid; border-width: 1px; margin: 1.5em; } + div.messagebox#error, + div.messagebox#warning + { + background-color: #f09090; + } + + div.messagebox#information + { + background-color: #90f090; + } + div.messagebox img { margin: 0.5em; diff --git a/trunk/video-test.xml b/trunk/video-test.xml index 98bce9f..883138e 100644 --- a/trunk/video-test.xml +++ b/trunk/video-test.xml @@ -3,13 +3,13 @@ +