diff options
Diffstat (limited to 'root')
-rw-r--r-- | root/static/css/default.css | 0 | ||||
-rw-r--r-- | root/templates/index.xsl | 36 |
2 files changed, 36 insertions, 0 deletions
diff --git a/root/static/css/default.css b/root/static/css/default.css new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/root/static/css/default.css diff --git a/root/templates/index.xsl b/root/templates/index.xsl new file mode 100644 index 0000000..adca9c6 --- /dev/null +++ b/root/templates/index.xsl @@ -0,0 +1,36 @@ +<?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="origin_website"/> + + <xsl:template match="/document"> + <html xmlns="http://www.w3.org/1999/xhtml"> + <head> + <title>Sign in with OpenID</title> + <style type="text/css"> + @import "default.css"; + </style> + </head> + + <body> + <p>The website '<xsl:value-of select="$origin_website"/>' wants to verify your PAUSE identity.</p> + <form method="post" action="signin" 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> |