Files

25 lines
1.4 KiB
XML
Raw Permalink Normal View History

2026-10-08 23:10:11 +00:00
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:output method="html" encoding="utf-8" indent="yes"/>
<xsl:param name="USER_FULL_NAME"/>
<xsl:template match="/">
<div class="home py-4">
<h1 class="h3">Your applications</h1>
<p class="text-muted">Welcome, <xsl:value-of select="$USER_FULL_NAME"/>. Choose an application to continue.</p>
<xsl:choose>
<xsl:when test="applications/@setup_required = 'true'"><div class="alert alert-info">Your application dashboard is being configured. Please contact your administrator.</div></xsl:when>
<xsl:when test="applications/record">
<div class="row g-3"><xsl:for-each select="applications/record">
<div class="col-md-6"><div class="card h-100 shadow-sm"><div class="card-body d-flex flex-column">
<h2 class="h5"><xsl:value-of select="application_name"/></h2>
<p class="text-muted"><xsl:value-of select="application_description"/></p>
<a class="btn btn-primary mt-auto align-self-start" href="main.php?Xaction=Applications.launch&amp;application_serial={application_serial}">Open <xsl:value-of select="application_name"/></a>
</div></div></div>
</xsl:for-each></div>
</xsl:when>
<xsl:otherwise><div class="alert alert-info">No applications are assigned to your account yet. Please contact your administrator to request access.</div></xsl:otherwise>
</xsl:choose>
</div>
</xsl:template>
2026-10-08 23:10:11 +00:00
</xsl:stylesheet>