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 {
font-size:0.8em;
}
ul.categoriescontainer {
.categoriescontainer {
padding:0px;
}
li.categorycontainer {
.categorycontainer {
display:inline-block;
vertical-align:top;
margin:5pt;
@ -137,10 +137,10 @@ li.categorycontainer {
padding:0.3em;
font-weight:normal;
}
ul.boardscontainer {
.boardscontainer {
padding:0px;
}
li.boardcontainer {
.boardcontainer {
display:inline-block;
width:13em;
vertical-align:top;

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

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

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

Loading…
Cancel
Save