portal: hackerspace tile

This commit is contained in:
Astro 2013-11-13 00:25:50 +01:00
parent 520df713f5
commit 10a0e1d265
2 changed files with 15 additions and 3 deletions

View File

@ -496,6 +496,10 @@ abbr.dtstart, abbr.dtend {
content: ']]';
}
#portal .space > a {
background: url(//www.hq.c3d2.de/status.png) 50% 50% no-repeat;
}
/* -- Upcoming -- */
#portal .upcoming h3 a {

View File

@ -307,7 +307,7 @@
<!-- Upcoming events -->
<article class="upcoming">
<h3>
<a href="{$baseurl}calendar.html">Kalender</a>
<a href="calendar.html">Kalender</a>
</h3>
<xsl:call-template name="calendar-events">
<xsl:with-param name="limit" select="4"/>
@ -320,8 +320,16 @@
space status
-->
<!-- All items... -->
<xsl:apply-templates select="item[position() &lt;= 32]"/>
<xsl:apply-templates select="item[position() &lt; 4]"/>
<article class="space">
<a href="space.html">
<h3>Hackerspace</h3>
<p class="footer">Current status</p>
</a>
</article>
<xsl:apply-templates select="item[position() &gt;= 4 and position() &lt;= 32]"/>
</section>
</xsl:template>