messagebox prototype

git-svn-id: http://yolanda.mister-muffin.de/svn@114 7eef14d0-6ed0-489d-bf55-20463b2d70db
This commit is contained in:
erlehmann 2007-10-21 20:59:32 +00:00
parent 7409586d5e
commit 1de3dba3e3
3 changed files with 28 additions and 1 deletions

View file

@ -10,6 +10,7 @@ body
font-weight: bold; font-weight: bold;
min-width: 550px; min-width: 550px;
margin: 2em; margin: 2em;
text-align: center;
} }
a a
@ -61,6 +62,21 @@ div
vertical-align: text-top; vertical-align: text-top;
} }
div.messagebox
{
background-color: #90f090;
border-color: #606060;
border-style: solid;
border-width: 1px;
margin: 1.5em;
}
div.messagebox img
{
margin: 0.5em;
vertical-align: middle;
}
div.loginform, div.registerform, div.uploadform div.loginform, div.registerform, div.uploadform
{ {
padding: 1.5em; padding: 1.5em;

View file

@ -3,6 +3,7 @@
<page <page
locale="en-US" locale="en-US"
message="error_http_404"
stylesheet="./style/gnutube.css" stylesheet="./style/gnutube.css"
username="pedobear@myopenid.net" username="pedobear@myopenid.net"
xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dc="http://purl.org/dc/elements/1.1/"

View file

@ -133,6 +133,7 @@
<hr /> <hr />
<xsl:call-template name="messagebox"/>
<xsl:apply-templates /> <xsl:apply-templates />
<div class="footer"> <div class="footer">
@ -229,6 +230,15 @@
</xsl:template> </xsl:template>
<xsl:template name="messagebox">
<div class="messagebox">
<img src="./images/tango/dialog-information.png" />
<span style="information">You are now logged in as "pedobear".</span>
</div>
</xsl:template>
<xsl:template match="tagcloud"> <xsl:template match="tagcloud">
<div class="tagcloud"> <div class="tagcloud">