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:
parent
5a30a6f50d
commit
04c5926e86
2 changed files with 90 additions and 27 deletions
|
@ -155,9 +155,23 @@ div
|
|||
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
|
||||
|
@ -173,6 +187,7 @@ div
|
|||
|
||||
div.footer
|
||||
{
|
||||
margin: 1.5em;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
|
|
|
@ -396,24 +396,72 @@
|
|||
</a>
|
||||
</div>
|
||||
|
||||
<div class="videometadata">
|
||||
<xsl:value-of select="$locale_strings/str[@id='DC.title']" />:<br />
|
||||
<xsl:value-of select="rdf:RDF/cc:Work/dc:title" /><br /><br />
|
||||
<xsl:value-of select="$locale_strings/str[@id='DC.creator']" />:<br />
|
||||
<xsl:value-of select="rdf:RDF/cc:Work/dc:creator" /><br /><br />
|
||||
<xsl:value-of select="$locale_strings/str[@id='DC.subject']" />:<br />
|
||||
<xsl:value-of select="rdf:RDF/cc:Work/dc:subject" /><br /><br />
|
||||
<xsl:value-of select="$locale_strings/str[@id='DC.description']" />:<br />
|
||||
<xsl:value-of select="rdf:RDF/cc:Work/dc:description" /><br /><br />
|
||||
<xsl:value-of select="$locale_strings/str[@id='DC.publisher']" />:<br />
|
||||
<xsl:value-of select="rdf:RDF/cc:Work/dc:publisher" /><br /><br />
|
||||
<xsl:value-of select="$locale_strings/str[@id='DC.date']" />:<br />
|
||||
<xsl:value-of select="rdf:RDF/cc:Work/dc:date" /><br /><br />
|
||||
<xsl:value-of select="$locale_strings/str[@id='DC.source']" />:<br />
|
||||
<xsl:value-of select="rdf:RDF/cc:Work/dc:source" /><br /><br />
|
||||
<xsl:value-of select="$locale_strings/str[@id='DC.rights']" />:<br />
|
||||
<xsl:value-of select="rdf:RDF/cc:Work/dc:rights" /><br /><br />
|
||||
</div>
|
||||
<table class="videometadata">
|
||||
<tr>
|
||||
<td class="leftcell">
|
||||
<xsl:value-of select="$locale_strings/str[@id='DC.title']" />:
|
||||
</td>
|
||||
<td class="rightcell">
|
||||
<xsl:value-of select="rdf:RDF/cc:Work/dc:title" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="leftcell">
|
||||
<xsl:value-of select="$locale_strings/str[@id='DC.creator']" />:
|
||||
</td>
|
||||
<td class="rightcell">
|
||||
<xsl:value-of select="rdf:RDF/cc:Work/dc:creator" />
|
||||
</td>
|
||||
</tr>
|
||||
<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>
|
||||
|
||||
|
|
Loading…
Reference in a new issue