summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2013-12-19 23:33:41 -0500
committerSimo Sorce <simo@redhat.com>2014-01-24 17:32:21 -0500
commit26af9d1958608fb0237e2d1dd8b1b15d8cb862b7 (patch)
treed07e661b5310358c60ea51b803fdc0672008c262 /templates
parent2fb8bff093e49d95ab25eb8343ebbb1091f6e7a6 (diff)
downloadipsilon-26af9d1958608fb0237e2d1dd8b1b15d8cb862b7.tar.gz
ipsilon-26af9d1958608fb0237e2d1dd8b1b15d8cb862b7.tar.xz
ipsilon-26af9d1958608fb0237e2d1dd8b1b15d8cb862b7.zip
Add sample pam based login plugin
Signed-off-by: Simo Sorce <simo@redhat.com>
Diffstat (limited to 'templates')
-rw-r--r--templates/login/pam.html33
1 files changed, 33 insertions, 0 deletions
diff --git a/templates/login/pam.html b/templates/login/pam.html
new file mode 100644
index 0000000..4e490fe
--- /dev/null
+++ b/templates/login/pam.html
@@ -0,0 +1,33 @@
+<!doctype html>
+<html lang="en">
+<head>
+ <meta charset="UTF-8"></meta>
+ <title>{{ title }}</title>
+ <link href="{{ basepath }}/ui/ipsilon.css" type="text/css" rel="stylesheet"></link>
+ <link href="{{ basepath }}/ui/favicon.ico" type="image/ico" rel="icon"></link>
+</head>
+<body>
+ <div id="container">
+ <div id="logo">
+ <p>Ipsilon</p>
+ </div>
+ <div id="login">
+ <form id="login_form" action="{{ action }}" method="post" enctype="application/x-www-form-urlencoded">
+ <p>
+ <label for="username">{{ username_text }}</label>
+ <br>
+ <input id="username" name="login_name" value="" size="32" type="text">
+ </p>
+ <p>
+ <label for="password">{{ password_text }}</label>
+ <br>
+ <input id="password" name="login_password" value="" size="32" type="password">
+ </p>
+ <p>
+ <input id="submit" name="submit" value="Login" type="submit">
+ </p>
+ </form>
+ </div>
+ </div>
+</body>
+</html>