New PMInfo in Modern design

main
Inga 🏳‍🌈 14 years ago
parent 640eeee11b
commit 106ce3d137
  1. 2
      Builder/IISMainHandler/build.txt
  2. 2
      static/css/modern/global.css
  3. 5
      static/css/modern/penartur.css
  4. 44
      templates/Modern/Conversation.xslt
  5. 60
      templates/Modern/elems/PMInfo.xslt

@ -98,7 +98,7 @@ input {
[nobr] {
white-space: nowrap;
}
.postcontainer {
.postcontainer, .pmcontainer {
border-style:none none solid none;
border-width:0 0 1px 0;
padding-bottom:5pt;

@ -15,9 +15,12 @@ PRE{background-color:#303030;font-size:0.9em;BORDER:#999999 1px solid;PADDING: 0
.confluent{COLOR:black;}
.postcontainer {
.postcontainer, .pmcontainer {
border-color:#808080;
}
.pmcontainer.unread {
background-color:#200000;
}
blockquote {
border:solid 1px #606060;
background-color:#303030;

@ -7,39 +7,17 @@
</xsl:template>
<xsl:template name="isLiteEnabled">true</xsl:template>
<xsl:template name="specific">
<table width="95%" align="center" cellpadding="1" cellspacing="1" class="tablesurround">
<tr>
<td>
<table cellpadding="0" cellspacing="1" width="100%" class="tableborders">
<tr class="tdheader">
<td>
<table width="100%" cellspacing="1" cellpadding="3" border="0">
<tr>
<td>
<xsl:text>ñòðàíèöû:</xsl:text>
<xsl:apply-templates select="messages/pageOuter" mode="withCurrent"/>
</td>
</tr>
</table>
</td>
</tr>
<xsl:apply-templates select="messages/message"/>
<tr class="tdheader">
<td>
<table width="100%" cellspacing="1" cellpadding="3" border="0">
<tr>
<td>
<xsl:text>ñòðàíèöû:</xsl:text>
<xsl:apply-templates select="messages/pageOuter" mode="withCurrent"/>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
<div>
<xsl:text>ñòðàíèöû:</xsl:text>
<xsl:apply-templates select="messages/pageOuter" mode="withCurrent"/>
</div>
<div id="postsContainer">
<xsl:apply-templates select="messages/message"/>
</div>
<div>
<xsl:text>ñòðàíèöû:</xsl:text>
<xsl:apply-templates select="messages/pageOuter" mode="withCurrent"/>
</div>
</xsl:template>
</xsl:stylesheet>

@ -3,6 +3,65 @@
<xsl:import href="UserInfoBar.xslt"/>
<xsl:template match="message">
<div class="pmcontainer" style="clear:both">
<xsl:attribute name="class">
<xsl:text>pmcontainer</xsl:text>
<xsl:if test="isReadByInterlocutor='false'">
<xsl:text> unread</xsl:text>
</xsl:if>
</xsl:attribute>
<a><xsl:attribute name="name">Message<xsl:value-of select="id"/></xsl:attribute></a>
<div class="userbarcontainer" style="float:left">
<xsl:apply-templates select="poster/account/user" mode="userInfoBar"/>
</div>
<div class="linkscontainer" style="float:right;text-align:right;">
<a>
<xsl:attribute name="href">/My/Conversations/PMReply/<xsl:value-of select="id"/>/</xsl:attribute>
<xsl:attribute name="onclick">submitSelText(this.href);return false;</xsl:attribute>
<xsl:attribute name="onmousedown">submitSelText(this.href);return false;</xsl:attribute>
<xsl:apply-templates select="postDate/date" mode="navigationImageFor">
<xsl:with-param name="src">woocons/MailReply.png</xsl:with-param>
<xsl:with-param name="alt">Îòâåò</xsl:with-param>
</xsl:apply-templates>
</a>
</div>
<div class="pmcontent">
<xsl:variable name="postDate"><xsl:apply-templates select="postDate/date" mode="dateTime"/></xsl:variable>
<a target="_blank" class="separate">
<xsl:attribute name="title"><xsl:value-of select="$postDate"/></xsl:attribute>
<img border="0" alt="" style="vertical-align: text-bottom" width="16" height="16">
<xsl:choose>
<xsl:when test="isRead='false'">
<xsl:attribute name="src">/static/images/woocons/Mail-notread.png</xsl:attribute>
</xsl:when>
<xsl:otherwise>
<xsl:attribute name="src">/static/images/woocons/Mail.png</xsl:attribute>
</xsl:otherwise>
</xsl:choose>
</img>
</a>
<xsl:text> </xsl:text>
<xsl:value-of select="title"/>
<xsl:text>&#160;&#160;</xsl:text>
<font style="font-size:0.6em">
<xsl:text>(</xsl:text>
<xsl:value-of select="$postDate"/>
<xsl:text>)</xsl:text>
</font>
<div class="pmbody">
<xsl:value-of select="body" disable-output-escaping="yes" />
</div>
<xsl:if test="poster/account/user/signature != ''">
<div class="signature" style="float:right;">
<xsl:value-of select="poster/account/user/signature" disable-output-escaping="yes" />
</div>
</xsl:if>
</div>
<div style="clear:both;" class="zerosize">
<xsl:comment>fill</xsl:comment>
</div>
</div>
<!--
<tr>
<td>
<table width="100%" cellspacing="1" cellpadding="3" border="0">
@ -90,6 +149,7 @@
</table>
</td>
</tr>
-->
</xsl:template>

Loading…
Cancel
Save