aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorwinter Sparkles2026-08-09 15:44:18 +0100
committerwinter Sparkles2026-08-09 15:44:18 +0100
commit96387025da63025894f6259f7eebed0fc6fc53ac (patch)
treea83d73eeb7ec419b24ff78291634503d4ebceec1 /templates
parentc8998ccdff070d7c73a634e031a041260b87c3b1 (diff)
implement the rest of login process incl. cookie redirects and 'next'
Diffstat (limited to 'templates')
-rw-r--r--templates/index.xsl8
1 files changed, 8 insertions, 0 deletions
diff --git a/templates/index.xsl b/templates/index.xsl
index 35300ec..091959e 100644
--- a/templates/index.xsl
+++ b/templates/index.xsl
@@ -30,6 +30,9 @@
<body>
<xsl:call-template name="page-header"/>
<main>
+ <xsl:if test="@kind = 'challenges'">
+ <xsl:attribute name="class">challenge-page</xsl:attribute>
+ </xsl:if>
<xsl:if test="@title">
<h1><xsl:value-of select="@title"/></h1>
</xsl:if>
@@ -78,6 +81,11 @@
<xsl:template match="form">
<xsl:copy-of select="."/>
+ <xsl:if test="position() != last()">
+ <challenge-separator>
+ <xsl:value-of select="psso:L('challenge.separator')"/>
+ </challenge-separator>
+ </xsl:if>
</xsl:template>
</xsl:stylesheet>