generated from jric11/baseProject
a bunch of stuff happened. I'll do better next commit...
This commit is contained in:
+21
-18
@@ -1,21 +1,24 @@
|
||||
<?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" indent="yes"/>
|
||||
|
||||
<xsl:template match="/">
|
||||
|
||||
<div class="home pt-5">
|
||||
|
||||
<div class="col text-center">
|
||||
<span class="text-primary fw-bold" style="font-size: 2rem;">
|
||||
<!--<i class="bi bi-cloud me-2"></i>-->
|
||||
Base Project Template
|
||||
</span>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</xsl:template>
|
||||
|
||||
<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&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>
|
||||
</xsl:stylesheet>
|
||||
|
||||
Reference in New Issue
Block a user