summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Kröll <michael@localhost.localdomain>2008-12-01 21:35:51 +0100
committerMichael Kröll <michael@localhost.localdomain>2008-12-01 21:35:51 +0100
commit3e94bd580a427eb32ccf82a23392e7f4bfc890fb (patch)
tree43416599e95be37bfb638d4cb2a70864547c1a13
parentMerge branch 'master' of git@git.useperl.at:PAUSE-OpenID (diff)
downloadSimple-OpenID-3e94bd580a427eb32ccf82a23392e7f4bfc890fb.tar.gz
Simple-OpenID-3e94bd580a427eb32ccf82a23392e7f4bfc890fb.tar.bz2
Simple-OpenID-3e94bd580a427eb32ccf82a23392e7f4bfc890fb.zip
Initial version of login page
-rw-r--r--root/static/css/default.css0
-rw-r--r--root/templates/index.xsl36
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>