Boards display in IE improved:

main
Inga 🏳‍🌈 14 years ago
parent 91115fc5c5
commit 9eefc15ad4
  1. 2
      Builder/IISMainHandler/build.txt
  2. 8
      static/css/modern/global.css
  3. 6
      templates/Modern/Board.xslt
  4. 12
      templates/Modern/Boards.xslt
  5. 4
      templates/Modern/elems/BoardInfo.xslt

@ -121,10 +121,10 @@ BLOCKQUOTE BR {FONT-SIZE:1px}
.header .header { .header .header {
font-size:0.8em; font-size:0.8em;
} }
ul.categoriescontainer { .categoriescontainer {
padding:0px; padding:0px;
} }
li.categorycontainer { .categorycontainer {
display:inline-block; display:inline-block;
vertical-align:top; vertical-align:top;
margin:5pt; margin:5pt;
@ -137,10 +137,10 @@ li.categorycontainer {
padding:0.3em; padding:0.3em;
font-weight:normal; font-weight:normal;
} }
ul.boardscontainer { .boardscontainer {
padding:0px; padding:0px;
} }
li.boardcontainer { .boardcontainer {
display:inline-block; display:inline-block;
width:13em; width:13em;
vertical-align:top; vertical-align:top;

@ -10,10 +10,10 @@
<xsl:template name="isRssEnabled">true</xsl:template> <xsl:template name="isRssEnabled">true</xsl:template>
<xsl:template name="specific"> <xsl:template name="specific">
<xsl:if test="boards/board"> <xsl:if test="boards/board">
<ul class="boardscontainer"> <div class="boardscontainer">
<xsl:apply-templates select="boards/board"/> <xsl:apply-templates select="boards/board"/>
</ul> </div>
<br/> <hr/>
</xsl:if> </xsl:if>
<table width="95%" align="center" class="tablesurround"> <table width="95%" align="center" class="tablesurround">
<tr> <tr>

@ -5,9 +5,9 @@
<xsl:template name="specificTitle">Đŕçäĺëű</xsl:template> <xsl:template name="specificTitle">Đŕçäĺëű</xsl:template>
<xsl:template name="isLiteEnabled">true</xsl:template> <xsl:template name="isLiteEnabled">true</xsl:template>
<xsl:template name="specific"> <xsl:template name="specific">
<ul class="categoriescontainer"> <div class="categoriescontainer">
<xsl:apply-templates select="categories/category"/> <xsl:apply-templates select="categories/category"/>
</ul> </div>
<br /> <br />
<table width="95%" align="center" class="tablesurround" cellpadding="1" cellspacing="1"> <table width="95%" align="center" class="tablesurround" cellpadding="1" cellspacing="1">
<tr> <tr>
@ -91,16 +91,16 @@
</xsl:template> </xsl:template>
<xsl:template match="category"> <xsl:template match="category">
<li class="categorycontainer"> <div class="categorycontainer">
<h2 class="categorycontainer_title"><xsl:value-of select="name"/></h2> <h2 class="categorycontainer_title"><xsl:value-of select="name"/></h2>
<ul class="boardscontainer"> <div class="boardscontainer">
<xsl:apply-templates select="boards/board"> <xsl:apply-templates select="boards/board">
<xsl:with-param name="maxPerLine"> <xsl:with-param name="maxPerLine">
<xsl:value-of select="ceiling(count(boards/board) div 2)"/> <xsl:value-of select="ceiling(count(boards/board) div 2)"/>
</xsl:with-param> </xsl:with-param>
</xsl:apply-templates> </xsl:apply-templates>
</ul> </div>
</li> </div>
</xsl:template> </xsl:template>
</xsl:stylesheet> </xsl:stylesheet>

@ -6,7 +6,7 @@
<xsl:if test="((position() mod $maxPerLine) = 1) and (position() != 1)"> <xsl:if test="((position() mod $maxPerLine) = 1) and (position() != 1)">
<br/> <br/>
</xsl:if> </xsl:if>
<li> <div>
<xsl:attribute name="class"> <xsl:attribute name="class">
<xsl:text>boardcontainer</xsl:text> <xsl:text>boardcontainer</xsl:text>
<xsl:if test="(hasNewPosts='true') and not(lastPostInfo/post/poster/user/id = /root/session/user/id)"> <xsl:if test="(hasNewPosts='true') and not(lastPostInfo/post/poster/user/id = /root/session/user/id)">
@ -60,7 +60,7 @@
</div> </div>
</div> </div>
</div> </div>
</li> </div>
</xsl:template> </xsl:template>
<xsl:template match="lastPostInfo"> <xsl:template match="lastPostInfo">

Loading…
Cancel
Save