finally, a somehow sane design to present video metadata on the player

page.
sane design for search results follows.



git-svn-id: http://yolanda.mister-muffin.de/svn@102 7eef14d0-6ed0-489d-bf55-20463b2d70db
This commit is contained in:
erlehmann 2007-10-20 08:43:36 +00:00
parent 5a30a6f50d
commit 04c5926e86
2 changed files with 90 additions and 27 deletions

View file

@ -155,9 +155,23 @@ div
margin: 0.5em; margin: 0.5em;
} }
div.videometadata table.videometadata
{ {
text-align: center; border-width: 0px;
width: 100%;
}
table.videometadata tr td.leftcell
{
color: #606060;
text-align: right;
width: 50%;
}
table.videometadata tr td.rightcell
{
text-align: left;
width: 50%;
} }
div.toplists div.toplists
@ -173,6 +187,7 @@ div
div.footer div.footer
{ {
margin: 1.5em;
text-align: center; text-align: center;
} }

View file

@ -396,24 +396,72 @@
</a> </a>
</div> </div>
<div class="videometadata"> <table class="videometadata">
<xsl:value-of select="$locale_strings/str[@id='DC.title']" />:<br /> <tr>
<xsl:value-of select="rdf:RDF/cc:Work/dc:title" /><br /><br /> <td class="leftcell">
<xsl:value-of select="$locale_strings/str[@id='DC.creator']" />:<br /> <xsl:value-of select="$locale_strings/str[@id='DC.title']" />:
<xsl:value-of select="rdf:RDF/cc:Work/dc:creator" /><br /><br /> </td>
<xsl:value-of select="$locale_strings/str[@id='DC.subject']" />:<br /> <td class="rightcell">
<xsl:value-of select="rdf:RDF/cc:Work/dc:subject" /><br /><br /> <xsl:value-of select="rdf:RDF/cc:Work/dc:title" />
<xsl:value-of select="$locale_strings/str[@id='DC.description']" />:<br /> </td>
<xsl:value-of select="rdf:RDF/cc:Work/dc:description" /><br /><br /> </tr>
<xsl:value-of select="$locale_strings/str[@id='DC.publisher']" />:<br /> <tr>
<xsl:value-of select="rdf:RDF/cc:Work/dc:publisher" /><br /><br /> <td class="leftcell">
<xsl:value-of select="$locale_strings/str[@id='DC.date']" />:<br /> <xsl:value-of select="$locale_strings/str[@id='DC.creator']" />:
<xsl:value-of select="rdf:RDF/cc:Work/dc:date" /><br /><br /> </td>
<xsl:value-of select="$locale_strings/str[@id='DC.source']" />:<br /> <td class="rightcell">
<xsl:value-of select="rdf:RDF/cc:Work/dc:source" /><br /><br /> <xsl:value-of select="rdf:RDF/cc:Work/dc:creator" />
<xsl:value-of select="$locale_strings/str[@id='DC.rights']" />:<br /> </td>
<xsl:value-of select="rdf:RDF/cc:Work/dc:rights" /><br /><br /> </tr>
</div> <tr>
<td class="leftcell">
<xsl:value-of select="$locale_strings/str[@id='DC.subject']" />:
</td>
<td class="rightcell">
<xsl:value-of select="rdf:RDF/cc:Work/dc:subject" />
</td>
</tr>
<tr>
<td class="leftcell">
<xsl:value-of select="$locale_strings/str[@id='DC.description']" />:
</td>
<td class="rightcell">
<xsl:value-of select="rdf:RDF/cc:Work/dc:description" />
</td>
</tr>
<tr>
<td class="leftcell">
<xsl:value-of select="$locale_strings/str[@id='DC.publisher']" />:
</td>
<td class="rightcell">
<xsl:value-of select="rdf:RDF/cc:Work/dc:publisher" />
</td>
</tr>
<tr>
<td class="leftcell">
<xsl:value-of select="$locale_strings/str[@id='DC.date']" />:
</td>
<td class="rightcell">
<xsl:value-of select="rdf:RDF/cc:Work/dc:date" />
</td>
</tr>
<tr>
<td class="leftcell">
<xsl:value-of select="$locale_strings/str[@id='DC.source']" />:
</td>
<td class="rightcell">
<xsl:value-of select="rdf:RDF/cc:Work/dc:source" />
</td>
</tr>
<tr>
<td class="leftcell">
<xsl:value-of select="$locale_strings/str[@id='DC.rights']" />:
</td>
<td class="rightcell">
<xsl:value-of select="rdf:RDF/cc:Work/dc:rights" />
</td>
</tr>
</table>
</xsl:template> </xsl:template>