summaryrefslogtreecommitdiffstats
path: root/ipa-server/ipa-gui/ipagui/templates/usershow.kid
diff options
context:
space:
mode:
authorkmccarth@redhat.com <kmccarth@redhat.com>2007-08-12 04:53:18 -0700
committerkmccarth@redhat.com <kmccarth@redhat.com>2007-08-12 04:53:18 -0700
commitcdaee95230322744be0a254b57832c5a35be4ca2 (patch)
treeb01adeb19e8f873c9cb1602cb024b06c56ed5d33 /ipa-server/ipa-gui/ipagui/templates/usershow.kid
parent9a01f353cff7bdba3fdaa2aca2d29abf3c80c021 (diff)
downloadfreeipa-cdaee95230322744be0a254b57832c5a35be4ca2.tar.gz
freeipa-cdaee95230322744be0a254b57832c5a35be4ca2.tar.xz
freeipa-cdaee95230322744be0a254b57832c5a35be4ca2.zip
Addiing initial turbogears web gui.
Contains simple user add, list, and view pages.
Diffstat (limited to 'ipa-server/ipa-gui/ipagui/templates/usershow.kid')
-rw-r--r--ipa-server/ipa-gui/ipagui/templates/usershow.kid50
1 files changed, 50 insertions, 0 deletions
diff --git a/ipa-server/ipa-gui/ipagui/templates/usershow.kid b/ipa-server/ipa-gui/ipagui/templates/usershow.kid
new file mode 100644
index 000000000..7fea76dbd
--- /dev/null
+++ b/ipa-server/ipa-gui/ipagui/templates/usershow.kid
@@ -0,0 +1,50 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xmlns:py="http://purl.org/kid/ns#"
+ py:extends="'userlayout.kid'">
+<head>
+ <meta content="text/html; charset=utf-8" http-equiv="Content-Type" py:replace="''"/>
+ <title>View a Person</title>
+</head>
+<body>
+ <h2>View User</h2>
+
+ <div class="formsection">Account Details</div>
+ <table class="formtable" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <th>User ID:</th>
+ <td>${user.get("uid")}</td>
+ </tr>
+ <tr>
+ <th>UID:</th>
+ <td>${user.get("uidNumber")}</td>
+ </tr>
+ <tr>
+ <th>GID:</th>
+ <td>${user.get("gidNumber")}</td>
+ </tr>
+ </table>
+
+ <div class="formsection">Identity Details</div>
+ <table class="formtable" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <th>Full Name:</th>
+ <td>${user.get("givenName")} ${user.get("sn")}</td>
+ </tr>
+ </table>
+
+ <div class="formsection">Contact Details</div>
+ <table class="formtable" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <th>Email:</th>
+ <td>${user.get("mail")}</td>
+ </tr>
+ <tr>
+ <th>Telephone:</th>
+ <td>${user.get("telephoneNumber")}</td>
+ </tr>
+ </table>
+
+ <a href="${tg.url('/useredit', uid=user.get('uid'))}">edit</a>
+
+</body>
+</html>