New upload experience improved

main
Inga 🏳‍🌈 14 years ago
parent 1699dc5f71
commit 342d10685b
  1. 4
      templates/Modern/UploadInfo.xslt
  2. 4
      templates/Modern/elems/UploadInfo.xslt

@ -5,7 +5,9 @@
<xsl:template name="specificTitle">Ŕďëîŕä</xsl:template> <xsl:template name="specificTitle">Ŕďëîŕä</xsl:template>
<xsl:template name="specific"> <xsl:template name="specific">
<div class="uploadscontainer"> <div class="uploadscontainer">
<xsl:apply-templates select="upload"/> <xsl:apply-templates select="upload">
<xsl:with-param name="dimensionsLimit"/>
</xsl:apply-templates>
</div> </div>
</xsl:template> </xsl:template>

@ -3,6 +3,7 @@
<xsl:import href="UserInfoBar.xslt"/> <xsl:import href="UserInfoBar.xslt"/>
<xsl:template match="upload"> <xsl:template match="upload">
<xsl:param name="dimensionsLimit">max-width:800px;max-height:600px;</xsl:param>
<div class="uploadcontainer" style="clear:both"> <div class="uploadcontainer" style="clear:both">
<a><xsl:attribute name="name">Upload<xsl:value-of select="id"/></xsl:attribute></a> <a><xsl:attribute name="name">Upload<xsl:value-of select="id"/></xsl:attribute></a>
<div class="userbarcontainer" style="float:left"> <div class="userbarcontainer" style="float:left">
@ -29,7 +30,8 @@
<xsl:text>)</xsl:text> <xsl:text>)</xsl:text>
</font> </font>
<div class="uploadbody"> <div class="uploadbody">
<img style="max-width:800px;max-height:600px;"> <img>
<xsl:attribute name="style"><xsl:value-of select="$dimensionsLimit"/></xsl:attribute>
<xsl:attribute name="src">/Upload/Item/<xsl:value-of select="id"/>/</xsl:attribute> <xsl:attribute name="src">/Upload/Item/<xsl:value-of select="id"/>/</xsl:attribute>
</img> </img>
<br/> <br/>

Loading…
Cancel
Save