root/main/trunk/greenstone3/web/interfaces/oran/transform/pages/login.xsl @ 25123

Revision 25123, 1.3 KB (checked in by sjm84, 8 years ago)

The first wave of changes supporting the new login method

  • Property svn:executable set to *
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<xsl:stylesheet version="1.0"
3    xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
4    xmlns:java="http://xml.apache.org/xslt/java"
5    xmlns:util="xalan://org.greenstone.gsdl3.util.XSLTUtil"
6    xmlns:gslib="http://www.greenstone.org/skinning"
7    extension-element-prefixes="java util"
8    exclude-result-prefixes="java util">
9 
10    <!-- use the 'main' layout -->
11    <xsl:include href="layouts/main.xsl"/>
12
13    <!-- set page title -->
14    <xsl:template name="pageTitle"><xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'login_b')"/></xsl:template>
15
16    <!-- set page breadcrumbs -->
17    <xsl:template name="breadcrumbs"><gslib:siteLink/></xsl:template>
18
19    <!-- the page content -->
20    <xsl:template match="/page">
21        <div style="color:red;"><xsl:value-of select="/page/pageRequest/paramList/param[@name = 'loginMessage']/@value"/><xsl:text> </xsl:text></div>
22        <form method="post" action="{/page/pageRequest/paramList/param[@name = 'redirectURL']/@value}">
23            <table>
24                <tr><td>Username: </td><td><input type="text" name="username"/></td></tr>
25                <tr><td>Password: </td><td><input type="password" name="password"/></td></tr>
26                <tr><td><input type="submit" value="Login"/></td><td><xsl:text> </xsl:text></td></tr>
27            </table>
28        </form>
29    </xsl:template>
30</xsl:stylesheet>
Note: See TracBrowser for help on using the browser.