summaryrefslogtreecommitdiff
path: root/root/templates/index.xsl
blob: 9dc5bd481c9ba78c47e870a7f9e157d4a6c5d6a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
    xmlns:xhtml="http://www.w3.org/1999/xhtml"
    xmlns="http://www.w3.org/1999/xhtml">
 
    <xsl:output encoding="UTF-8" method="xml" omit-xml-declaration="yes" media-type="text/html"
    doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"
    doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN" indent="no"/>
 
    <xsl:param name="openid.return_to"/>
 
    <xsl:template match="/document">
        <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
          <head>
            <title>Sign in with OpenID</title>
            <link rel="openid.server" href="https://localhost/openid" />
            <style type="text/css">
                @import "default.css";
            </style>
          </head>
 
          <body>
            <h1>PAUSE OpenID login service</h1>
            <p>The website '<xsl:value-of select="$openid.return_to"/>' wants to verify your <a href="https://pause.perl.org/">PAUSE</a> identity.</p>
            <form method="post" action="login" id="login_form">
              <div>
                <label for="username"><abbr title="Perl Authors Upload Server">PAUSE</abbr> ID:</label>
                <input name="username" id="username" type="text" />
                <label for="password">Password:</label>
 
                <input name="password" id="password" type="password" />
                <input type="submit" />
              </div>
            </form>
          </body>
        </html>
    </xsl:template>
</xsl:stylesheet>