diff options
Diffstat (limited to 'dogtag/ra-ui/shared/docroot/admin')
-rw-r--r-- | dogtag/ra-ui/shared/docroot/admin/group/add_new.vm | 83 | ||||
-rw-r--r-- | dogtag/ra-ui/shared/docroot/admin/group/index.vm | 81 | ||||
-rw-r--r-- | dogtag/ra-ui/shared/docroot/admin/group/read.vm | 104 | ||||
-rw-r--r-- | dogtag/ra-ui/shared/docroot/admin/index.vm | 95 | ||||
-rw-r--r-- | dogtag/ra-ui/shared/docroot/admin/user/add_new.vm | 95 | ||||
-rw-r--r-- | dogtag/ra-ui/shared/docroot/admin/user/index.vm | 83 | ||||
-rw-r--r-- | dogtag/ra-ui/shared/docroot/admin/user/read.vm | 88 |
7 files changed, 629 insertions, 0 deletions
diff --git a/dogtag/ra-ui/shared/docroot/admin/group/add_new.vm b/dogtag/ra-ui/shared/docroot/admin/group/add_new.vm new file mode 100644 index 000000000..70d0d16ac --- /dev/null +++ b/dogtag/ra-ui/shared/docroot/admin/group/add_new.vm @@ -0,0 +1,83 @@ +<!-- --- BEGIN COPYRIGHT BLOCK --- + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; version 2 of the License. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + + Copyright (C) 2007 Red Hat, Inc. + All rights reserved. + --- END COPYRIGHT BLOCK --- --> +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<html> + +<title>Add New Group</title> + <link rel="shortcut icon" href="/ra/admin/console/img/favicon.ico" /> + <link rel="stylesheet" href="/css/pki-base.css" type="text/css" /> + <META http-equiv=Content-Type content="text/html; charset=UTF-8"> + +</head> +<body bgcolor="#FFFFFF" link="#666699" vlink="#666699" alink="#333366"> + +#include ( "header.vm" ) + +<div id="mainNavOuter"> +<div id="mainNav"> +<div id="mainNavInner"> + +</div><!-- end mainNavInner --> +</div><!-- end mainNav --> +</div><!-- end mainNavOuter --> + + +<div id="bar"> + +<div id="systembar"> +<div id="systembarinner"> + +<div> +UID: $uid +</div> + + +</div> +</div> + +</div> + + +<font size="+1" face="PrimaSans BT, Verdana, Arial, Helvetica, sans-serif"> +<a href="/admin/index.cgi">Administrator Interface</a> +</font><br> +<p> +#if ($error == 'exist') +<font color=red>Group already exists</font> +<p> +#end +<center> +<form name="add_new_form" method=post action="add.cgi"> +<table> +<tr> + <td><b>GID</b></td> + <td><input type=text name="gid" value=""></td> +</tr> +<tr> + <td><b>Name</b></td> + <td><input type=text name="name" value=""></td> +</tr> +</table> +</form> +<a href="#" onclick="document.add_new_form.submit();">Add Group</a> +</center> +<p> +#include ( "footer.vm" ) + +</body> +</html> diff --git a/dogtag/ra-ui/shared/docroot/admin/group/index.vm b/dogtag/ra-ui/shared/docroot/admin/group/index.vm new file mode 100644 index 000000000..6f25e3740 --- /dev/null +++ b/dogtag/ra-ui/shared/docroot/admin/group/index.vm @@ -0,0 +1,81 @@ +<!-- --- BEGIN COPYRIGHT BLOCK --- + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; version 2 of the License. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + + Copyright (C) 2007 Red Hat, Inc. + All rights reserved. + --- END COPYRIGHT BLOCK --- --> +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<html> + +<title>RA Admin</title> + <link rel="shortcut icon" href="/ra/admin/console/img/favicon.ico" /> + <link rel="stylesheet" href="/css/pki-base.css" type="text/css" /> + <META http-equiv=Content-Type content="text/html; charset=UTF-8"> + +</head> +<body bgcolor="#FFFFFF" link="#666699" vlink="#666699" alink="#333366"> + +#include ( "header.vm" ) + +<div id="mainNavOuter"> +<div id="mainNav"> +<div id="mainNavInner"> + +</div><!-- end mainNavInner --> +</div><!-- end mainNav --> +</div><!-- end mainNavOuter --> + + +<div id="bar"> + +<div id="systembar"> +<div id="systembarinner"> + +<div> +UID: $uid +</div> + + +</div> +</div> + +</div> + + +<font size="+1" face="PrimaSans BT, Verdana, Arial, Helvetica, sans-serif"> +<a href="/admin/index.cgi">Administrator Interface</a> +</font><br> +<p> +<a href="add_new.cgi">Add New Group</a> +<p> +<center> +<table border="1" cellspacing="1" cellpadding="1"> +<tr valign="TOP"> +<td><b>GID</b></td> +<td><b>Name</b></td> +</tr> +#foreach($r in $rows) +<tr valign="TOP"> +<td><a href="read.cgi?gid=$r.getGID()">$r.getGID()</a></td> +<td>$r.getName()</td> +</tr> +#end +</table> +</center> +<p> +<a href="index.cgi?sp=$pp&mc=$mc">Previous</a> | <a href="index.cgi?sp=$np&mc=$mc">Next</a> +#include ( "footer.vm" ) + +</body> +</html> diff --git a/dogtag/ra-ui/shared/docroot/admin/group/read.vm b/dogtag/ra-ui/shared/docroot/admin/group/read.vm new file mode 100644 index 000000000..c780ab09a --- /dev/null +++ b/dogtag/ra-ui/shared/docroot/admin/group/read.vm @@ -0,0 +1,104 @@ +<!-- --- BEGIN COPYRIGHT BLOCK --- + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; version 2 of the License. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + + Copyright (C) 2007 Red Hat, Inc. + All rights reserved. + --- END COPYRIGHT BLOCK --- --> +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<html> + +<title>Groups</title> + <link rel="shortcut icon" href="/ra/admin/console/img/favicon.ico" /> + <link rel="stylesheet" href="/css/pki-base.css" type="text/css" /> + <META http-equiv=Content-Type content="text/html; charset=UTF-8"> + +</head> +<body bgcolor="#FFFFFF" link="#666699" vlink="#666699" alink="#333366"> + +#include ( "header.vm" ) + +<div id="mainNavOuter"> +<div id="mainNav"> +<div id="mainNavInner"> + +</div><!-- end mainNavInner --> +</div><!-- end mainNav --> +</div><!-- end mainNavOuter --> + + +<div id="bar"> + +<div id="systembar"> +<div id="systembarinner"> + +<div> +UID: $uid +</div> + + +</div> +</div> + +</div> + + +<font size="+1" face="PrimaSans BT, Verdana, Arial, Helvetica, sans-serif"> +<a href="/admin/index.cgi">Administrator Interface</a> +</font><br> +<p> +<center> +<table border="1" cellspacing="1" cellpadding="1"> +<tr valign="TOP"> + <td><b>GID</b></td> + <td>$gid</td> +</tr> +<tr valign="TOP"> + <td><b>Name</b></td> + <td>$name</td> +</tr> +</table> +</center> +<p> +<a href="delete.cgi?gid=$gid">Delete This Group</a> +<p> +----------------------------------------------- +<br/> +<b>Members</b> +<center> +<table border="0" cellspacing="1" cellpadding="1"> +#foreach($r in $members) +<tr valign="TOP"> +<td><a href="../user/read.cgi?uid=$r.getUID()">$r.getUID()</a> <a href="delete_member.cgi?gid=$gid&uid=$r.getUID()">[Delete]</a></td> +</tr> +#end +</table> +</center> +<br/> +----------------------------------------------- +<br/> +#if ($non_member_exists) +<b>New Member</b> +<form name=new_member_form method=post action="add_member.cgi"> +<input type=hidden name=gid value="$gid"> +<select name=uid> +#foreach ($u in $users) + <option value="$u.getUID()">$u.getUID()</option> +#end +</select> <a href="#" onclick="document.new_member_form.submit();">Add</a> +</form> +#end +#include ( "footer.vm" ) + +</body> +</html> diff --git a/dogtag/ra-ui/shared/docroot/admin/index.vm b/dogtag/ra-ui/shared/docroot/admin/index.vm new file mode 100644 index 000000000..b14712e9d --- /dev/null +++ b/dogtag/ra-ui/shared/docroot/admin/index.vm @@ -0,0 +1,95 @@ +<!-- --- BEGIN COPYRIGHT BLOCK --- + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; version 2 of the License. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + + Copyright (C) 2007 Red Hat, Inc. + All rights reserved. + --- END COPYRIGHT BLOCK --- --> +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<html> + +<title>RA Admin</title> + <link rel="shortcut icon" href="/ra/admin/console/img/favicon.ico" /> + <link rel="stylesheet" href="/css/pki-base.css" type="text/css" /> + <META http-equiv=Content-Type content="text/html; charset=UTF-8"> + +</head> +<body bgcolor="#FFFFFF" link="#666699" vlink="#666699" alink="#333366"> + +#include ( "header.vm" ) + +<div id="mainNavOuter"> +<div id="mainNav"> +<div id="mainNavInner"> + +</div><!-- end mainNavInner --> +</div><!-- end mainNav --> +</div><!-- end mainNavOuter --> + + +<div id="bar"> + +<div id="systembar"> +<div id="systembarinner"> + +<div> +UID: $uid +</div> + + +</div> +</div> + +</div> + + +<font size="+1" face="PrimaSans BT, Verdana, Arial, Helvetica, sans-serif"> +RA Admin Services +</font><br> +<p> +<center> +<table border="0" cellspacing="0" cellpadding="0"> +<tr valign="TOP"> +<td> +<font size=4 face="PrimaSans BT, Verdana, sans-serif"> +<li><a href="/admin/user/index.cgi">List Users</a></li> +</font> +</td> +</tr> +<tr valign="TOP"> +<td> +<font size=4 face="PrimaSans BT, Verdana, sans-serif"> +<li><a href="/admin/user/add_new.cgi">Add New User</a></li> +</font> +</td> +</tr> +<tr valign="TOP"> +<td> +<font size=4 face="PrimaSans BT, Verdana, sans-serif"> +<li><a href="/admin/group/index.cgi">List Groups</a></li> +</font> +</td> +</tr> +<tr valign="TOP"> +<td> +<font size=4 face="PrimaSans BT, Verdana, sans-serif"> +<li><a href="/admin/group/add_new.cgi">Add New Group</a></li> +</font> +</td> +</tr> +</table> +</center> +#include ( "footer.vm" ) + +</body> +</html> diff --git a/dogtag/ra-ui/shared/docroot/admin/user/add_new.vm b/dogtag/ra-ui/shared/docroot/admin/user/add_new.vm new file mode 100644 index 000000000..2915c8ff3 --- /dev/null +++ b/dogtag/ra-ui/shared/docroot/admin/user/add_new.vm @@ -0,0 +1,95 @@ +<!-- --- BEGIN COPYRIGHT BLOCK --- + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; version 2 of the License. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + + Copyright (C) 2007 Red Hat, Inc. + All rights reserved. + --- END COPYRIGHT BLOCK --- --> +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<html> + +<title>Add New User</title> + <link rel="shortcut icon" href="/ra/admin/console/img/favicon.ico" /> + <link rel="stylesheet" href="/css/pki-base.css" type="text/css" /> + <META http-equiv=Content-Type content="text/html; charset=UTF-8"> + +</head> +<body bgcolor="#FFFFFF" link="#666699" vlink="#666699" alink="#333366"> + +#include ( "header.vm" ) + +<div id="mainNavOuter"> +<div id="mainNav"> +<div id="mainNavInner"> + +</div><!-- end mainNavInner --> +</div><!-- end mainNav --> +</div><!-- end mainNavOuter --> + + +<div id="bar"> + +<div id="systembar"> +<div id="systembarinner"> + +<div> +UID: $uid +</div> + + +</div> +</div> + +</div> + + +<font size="+1" face="PrimaSans BT, Verdana, Arial, Helvetica, sans-serif"> +<a href="/admin/index.cgi">Administrator Interface</a> +</font><br> +<p> +#if ($error == 'exist') +<font color=red>User already exists</font> +<p> +#end +#if ($error == 'cert_header') +<font color=red>Invalid Certificate header</font> +<p> +#end +<center> +<form name="add_new_form" method=post action="add.cgi"> +<table> +<tr> + <td><b>UID</b></td> + <td><input type=text name="uid" value=""></td> +</tr> +<tr> + <td><b>Name</b></td> + <td><input type=text name="name" value=""></td> +</tr> +<tr> + <td><b>Email</b></td> + <td><input type=text name="email" value=""></td> +</tr> +<tr> + <td><b>Certificate</b></td> + <td><textarea name=certificate></textarea></td> +</tr> +</table> +</form> +<a href="#" onclick="document.add_new_form.submit();">Add User</a> +</center> +<p> +#include ( "footer.vm" ) + +</body> +</html> diff --git a/dogtag/ra-ui/shared/docroot/admin/user/index.vm b/dogtag/ra-ui/shared/docroot/admin/user/index.vm new file mode 100644 index 000000000..a6ff73721 --- /dev/null +++ b/dogtag/ra-ui/shared/docroot/admin/user/index.vm @@ -0,0 +1,83 @@ +<!-- --- BEGIN COPYRIGHT BLOCK --- + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; version 2 of the License. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + + Copyright (C) 2007 Red Hat, Inc. + All rights reserved. + --- END COPYRIGHT BLOCK --- --> +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<html> + +<title>RA Admin</title> + <link rel="shortcut icon" href="/ra/admin/console/img/favicon.ico" /> + <link rel="stylesheet" href="/css/pki-base.css" type="text/css" /> + <META http-equiv=Content-Type content="text/html; charset=UTF-8"> + +</head> +<body bgcolor="#FFFFFF" link="#666699" vlink="#666699" alink="#333366"> + +#include ( "header.vm" ) + +<div id="mainNavOuter"> +<div id="mainNav"> +<div id="mainNavInner"> + +</div><!-- end mainNavInner --> +</div><!-- end mainNav --> +</div><!-- end mainNavOuter --> + + +<div id="bar"> + +<div id="systembar"> +<div id="systembarinner"> + +<div> +UID: $uid +</div> + + +</div> +</div> + +</div> + + +<font size="+1" face="PrimaSans BT, Verdana, Arial, Helvetica, sans-serif"> +<a href="/admin/index.cgi">Administrator Interface</a> +</font><br> +<p> +<a href="add_new.cgi">Add New User</a> +<p> +<center> +<table border="1" cellspacing="1" cellpadding="1"> +<tr valign="TOP"> +<td><b>UID</b></td> +<td><b>Name</b></td> +<td><b>Email</b></td> +</tr> +#foreach($r in $rows) +<tr valign="TOP"> +<td><a href="read.cgi?uid=$r.getUID()">$r.getUID()</a></td> +<td>$r.getName()</td> +<td>$r.getEmail()</td> +</tr> +#end +</table> +</center> +<p> +<a href="index.cgi?status=$status&sp=$pp&mc=$mc">Previous</a> | <a href="index.cgi?status=$status&sp=$np&mc=$mc">Next</a> +#include ( "footer.vm" ) + +</body> +</html> diff --git a/dogtag/ra-ui/shared/docroot/admin/user/read.vm b/dogtag/ra-ui/shared/docroot/admin/user/read.vm new file mode 100644 index 000000000..1fb6358aa --- /dev/null +++ b/dogtag/ra-ui/shared/docroot/admin/user/read.vm @@ -0,0 +1,88 @@ +<!-- --- BEGIN COPYRIGHT BLOCK --- + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; version 2 of the License. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + + Copyright (C) 2007 Red Hat, Inc. + All rights reserved. + --- END COPYRIGHT BLOCK --- --> +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<html> + +<title>Users</title> + <link rel="shortcut icon" href="/ra/admin/console/img/favicon.ico" /> + <link rel="stylesheet" href="/css/pki-base.css" type="text/css" /> + <META http-equiv=Content-Type content="text/html; charset=UTF-8"> + +</head> +<body bgcolor="#FFFFFF" link="#666699" vlink="#666699" alink="#333366"> + +#include ( "header.vm" ) + +<div id="mainNavOuter"> +<div id="mainNav"> +<div id="mainNavInner"> + +</div><!-- end mainNavInner --> +</div><!-- end mainNav --> +</div><!-- end mainNavOuter --> + + +<div id="bar"> + +<div id="systembar"> +<div id="systembarinner"> + +<div> +UID: $uid +</div> + + +</div> +</div> + +</div> + + +<font size="+1" face="PrimaSans BT, Verdana, Arial, Helvetica, sans-serif"> +<a href="/admin/index.cgi">Administrator Interface</a> +</font><br> +<p> +</font> +<p> +<center> +<table border="1" cellspacing="1" cellpadding="1"> +<tr valign="TOP"> + <td><b>UID</b></td> + <td>$userid</td> +</tr> +<tr valign="TOP"> + <td><b>Name</b></td> + <td>$name</td> +</tr> +<tr valign="TOP"> + <td><b>Email</b></td> + <td>$email</td> +</tr> +<tr valign="TOP"> + <td><b>Certificate</b></td> + <td>$certificate</td> +</tr> +</table> +</center> +<p> +<a href="delete.cgi?uid=$userid">[Delete]</a> +<p> +#include ( "footer.vm" ) + +</body> +</html> |