The device has been modified: Your browser does not support Ogg Theora
video playback. git-svn-id: http://yolanda.mister-muffin.de/svn@250 7eef14d0-6ed0-489d-bf55-20463b2d70db
This commit is contained in:
parent
3de6765d56
commit
b5714105bf
9 changed files with 126 additions and 110 deletions
Binary file not shown.
Before Width: | Height: | Size: 8 KiB |
Binary file not shown.
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 11 KiB |
|
@ -1,5 +1,5 @@
|
||||||
Tango icons taken from
|
Tango icons by various Artists
|
||||||
http://tango.freedesktop.org/Tango_Icon_Gallery
|
License: Creative Commons BY-SA 2.5
|
||||||
|
|
||||||
they are licensed under CC BY-SA 2.5
|
Totem icon by Jakub "jimmac" Steiner
|
||||||
http://creativecommons.org/licenses/by-sa/2.5/
|
License: GPL 2.0
|
||||||
|
|
BIN
trunk/images/totem.png
Normal file
BIN
trunk/images/totem.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 20 KiB |
|
@ -61,6 +61,7 @@
|
||||||
<string id="error_insert_password">Please insert a password.</string>
|
<string id="error_insert_password">Please insert a password.</string>
|
||||||
<string id="error_repeat_password">Please repeat your password.</string>
|
<string id="error_repeat_password">Please repeat your password.</string>
|
||||||
<string id="error_no_query">You passed no query string.</string>
|
<string id="error_no_query">You passed no query string.</string>
|
||||||
|
<string id="error_no_ogg_plugin">Your browser does not support Ogg Theora video playback.</string>
|
||||||
<string id=""></string>
|
<string id=""></string>
|
||||||
|
|
||||||
<!-- information -->
|
<!-- information -->
|
||||||
|
|
|
@ -5,12 +5,6 @@ Yolanda default stylesheet
|
||||||
|
|
||||||
/* global default */
|
/* global default */
|
||||||
|
|
||||||
*
|
|
||||||
{
|
|
||||||
clear: both;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
body
|
body
|
||||||
{
|
{
|
||||||
font-family: sans-serif;
|
font-family: sans-serif;
|
||||||
|
@ -77,6 +71,12 @@ a
|
||||||
height: 3em;
|
height: 3em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
div.footer,
|
||||||
|
div.header
|
||||||
|
{
|
||||||
|
clear: both;
|
||||||
|
}
|
||||||
|
|
||||||
a.footer,
|
a.footer,
|
||||||
a.header
|
a.header
|
||||||
{
|
{
|
||||||
|
@ -137,15 +137,6 @@ a
|
||||||
border-width: 1px;
|
border-width: 1px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
div.footer
|
|
||||||
{
|
|
||||||
position: absolute;
|
|
||||||
bottom: 1.5em;
|
|
||||||
margin-right: 1.5em;
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
|
|
||||||
img.logo-header
|
img.logo-header
|
||||||
{
|
{
|
||||||
display: none;
|
display: none;
|
||||||
|
@ -158,7 +149,6 @@ a
|
||||||
|
|
||||||
/* content */
|
/* content */
|
||||||
|
|
||||||
|
|
||||||
div.button-download,
|
div.button-download,
|
||||||
div.button-edit,
|
div.button-edit,
|
||||||
div.button-junk
|
div.button-junk
|
||||||
|
@ -185,6 +175,20 @@ a
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
div#container
|
||||||
|
{
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
|
||||||
|
div#container form
|
||||||
|
{
|
||||||
|
position: absolute;
|
||||||
|
top: 50%;
|
||||||
|
padding-left: auto;
|
||||||
|
padding-right: auto;
|
||||||
|
width: 100%
|
||||||
|
}
|
||||||
|
|
||||||
div.commentform,
|
div.commentform,
|
||||||
div.loginform,
|
div.loginform,
|
||||||
div.registerform,
|
div.registerform,
|
||||||
|
|
|
@ -110,36 +110,4 @@
|
||||||
|
|
||||||
</xsl:template>
|
</xsl:template>
|
||||||
|
|
||||||
<xsl:template name="tagcloud">
|
|
||||||
<xsl:variable name="max" select="//tagcloud/tag/count[not(//tagcloud/tag/count > .)]" />
|
|
||||||
<xsl:variable name="min" select="//tagcloud/tag/count[not(//tagcloud/tag/count < .)]" />
|
|
||||||
<div class="tagcloud">
|
|
||||||
<xsl:for-each select="//tagcloud/tag">
|
|
||||||
<xsl:sort select="text" order="ascending" data-type="text" />
|
|
||||||
<a class="tag">
|
|
||||||
<xsl:attribute name="style">
|
|
||||||
<!--
|
|
||||||
scale *should* be logarihmic, but that's not widely supportet
|
|
||||||
-->
|
|
||||||
font-size:<xsl:value-of select="round((32-12)*(number(count)-number($min))div (number($max)-number($min)))+12" />px
|
|
||||||
</xsl:attribute>
|
|
||||||
<xsl:attribute name="href">
|
|
||||||
<xsl:value-of select="$site_strings[@id='path_results']" />
|
|
||||||
tag:
|
|
||||||
<xsl:value-of select="text" />
|
|
||||||
</xsl:attribute>
|
|
||||||
|
|
||||||
<xsl:value-of select="text" />
|
|
||||||
<!--
|
|
||||||
unnecessary, except for debug purposes
|
|
||||||
(<xsl:value-of select="count" />)
|
|
||||||
-->
|
|
||||||
</a>
|
|
||||||
‌
|
|
||||||
</xsl:for-each>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</xsl:template>
|
|
||||||
|
|
||||||
|
|
||||||
</xsl:stylesheet>
|
</xsl:stylesheet>
|
||||||
|
|
|
@ -64,4 +64,35 @@
|
||||||
|
|
||||||
</xsl:template>
|
</xsl:template>
|
||||||
|
|
||||||
|
<xsl:template name="tagcloud">
|
||||||
|
<xsl:variable name="max" select="//tagcloud/tag/count[not(//tagcloud/tag/count > .)]" />
|
||||||
|
<xsl:variable name="min" select="//tagcloud/tag/count[not(//tagcloud/tag/count < .)]" />
|
||||||
|
<div class="tagcloud">
|
||||||
|
<xsl:for-each select="//tagcloud/tag">
|
||||||
|
<xsl:sort select="text" order="ascending" data-type="text" />
|
||||||
|
<a class="tag">
|
||||||
|
<xsl:attribute name="style">
|
||||||
|
<!--
|
||||||
|
scale *should* be logarihmic, but that's not widely supportet
|
||||||
|
-->
|
||||||
|
font-size:<xsl:value-of select="round((32-12)*(number(count)-number($min))div (number($max)-number($min)))+12" />px
|
||||||
|
</xsl:attribute>
|
||||||
|
<xsl:attribute name="href">
|
||||||
|
<xsl:value-of select="$site_strings[@id='path_results']" />
|
||||||
|
tag:
|
||||||
|
<xsl:value-of select="text" />
|
||||||
|
</xsl:attribute>
|
||||||
|
|
||||||
|
<xsl:value-of select="text" />
|
||||||
|
<!--
|
||||||
|
unnecessary, except for debug purposes
|
||||||
|
(<xsl:value-of select="count" />)
|
||||||
|
-->
|
||||||
|
</a>
|
||||||
|
‌
|
||||||
|
</xsl:for-each>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</xsl:template>
|
||||||
|
|
||||||
</xsl:stylesheet>
|
</xsl:stylesheet>
|
||||||
|
|
|
@ -41,15 +41,13 @@
|
||||||
function hide_movie()
|
function hide_movie()
|
||||||
{
|
{
|
||||||
document.getElementById('video').style.display = 'none';
|
document.getElementById('video').style.display = 'none';
|
||||||
document.getElementById('thumbnail').style.display = 'block';
|
document.getElementById('container').style.display = 'block';
|
||||||
document.getElementById('buttons').style.display = 'block';
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function show_movie()
|
function show_movie()
|
||||||
{
|
{
|
||||||
document.getElementById('video').style.display = 'block';
|
document.getElementById('video').style.display = 'inline';
|
||||||
document.getElementById('thumbnail').style.display = 'none';
|
document.getElementById('container').style.display = 'none';
|
||||||
document.getElementById('buttons').style.display = 'none';
|
|
||||||
}
|
}
|
||||||
|
|
||||||
]]]]></xsl:text>
|
]]]]></xsl:text>
|
||||||
|
@ -57,6 +55,7 @@
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<object type="application/ogg" id="video">
|
<object type="application/ogg" id="video">
|
||||||
|
|
||||||
<xsl:attribute name="width">
|
<xsl:attribute name="width">
|
||||||
<xsl:value-of select="//video/@width" />
|
<xsl:value-of select="//video/@width" />
|
||||||
</xsl:attribute>
|
</xsl:attribute>
|
||||||
|
@ -66,12 +65,23 @@
|
||||||
<xsl:attribute name="data">
|
<xsl:attribute name="data">
|
||||||
<xsl:value-of select="concat(//video/rdf:RDF/cc:Work/@rdf:about,'view=true')" />
|
<xsl:value-of select="concat(//video/rdf:RDF/cc:Work/@rdf:about,'view=true')" />
|
||||||
</xsl:attribute>
|
</xsl:attribute>
|
||||||
<img src="/images/flash-sucks.png"/><br />
|
|
||||||
|
<div class="messagebox" id="error">
|
||||||
|
<img src="/images/tango/dialog-error.png" />
|
||||||
|
<xsl:value-of select="$locale_strings[@id='error_no_ogg_plugin']" />
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div>
|
||||||
<img src="/images/vlc.png"/>
|
<img src="/images/vlc.png"/>
|
||||||
<img src="/images/mplayer.png"/>
|
<img src="/images/mplayer.png"/>
|
||||||
|
<img src="/images/totem.png"/>
|
||||||
|
</div>
|
||||||
|
|
||||||
</object>
|
</object>
|
||||||
|
|
||||||
<img id="thumbnail" style="display: none;">
|
<div id="container" style="display: none;">
|
||||||
|
|
||||||
|
<img>
|
||||||
<xsl:attribute name="src">
|
<xsl:attribute name="src">
|
||||||
<xsl:value-of select="//video/@thumbnail" />
|
<xsl:value-of select="//video/@thumbnail" />
|
||||||
</xsl:attribute>
|
</xsl:attribute>
|
||||||
|
@ -81,12 +91,12 @@
|
||||||
<xsl:attribute name="height">
|
<xsl:attribute name="height">
|
||||||
<xsl:value-of select="//video/@height" />
|
<xsl:value-of select="//video/@height" />
|
||||||
</xsl:attribute>
|
</xsl:attribute>
|
||||||
<xsl:attribute name="widht">
|
<xsl:attribute name="width">
|
||||||
<xsl:value-of select="//video/@width" />
|
<xsl:value-of select="//video/@width" />
|
||||||
</xsl:attribute>
|
</xsl:attribute>
|
||||||
</img>
|
</img>
|
||||||
|
|
||||||
<form id="buttons" method="get">
|
<form>
|
||||||
<xsl:attribute name="action">
|
<xsl:attribute name="action">
|
||||||
<xsl:value-of select="//video/rdf:RDF/cc:Work/@rdf:about" />
|
<xsl:value-of select="//video/rdf:RDF/cc:Work/@rdf:about" />
|
||||||
</xsl:attribute>
|
</xsl:attribute>
|
||||||
|
@ -123,6 +133,8 @@
|
||||||
</button>
|
</button>
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
<xsl:if test="not(//@embed='true')">
|
<xsl:if test="not(//@embed='true')">
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
|
|
Loading…
Reference in a new issue