diff options
Diffstat (limited to 'pki/linux/ra-ui/shared/docroot/admin/group')
-rw-r--r-- | pki/linux/ra-ui/shared/docroot/admin/group/add_new.vm | 89 | ||||
-rw-r--r-- | pki/linux/ra-ui/shared/docroot/admin/group/index.vm | 87 | ||||
-rw-r--r-- | pki/linux/ra-ui/shared/docroot/admin/group/read.vm | 110 |
3 files changed, 286 insertions, 0 deletions
diff --git a/pki/linux/ra-ui/shared/docroot/admin/group/add_new.vm b/pki/linux/ra-ui/shared/docroot/admin/group/add_new.vm new file mode 100644 index 000000000..ddb6ba3a2 --- /dev/null +++ b/pki/linux/ra-ui/shared/docroot/admin/group/add_new.vm @@ -0,0 +1,89 @@ +<!-- --- 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>Certificate System</title> + <link rel="shortcut icon" href="/images/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"> + + +<ul> +<li id="mainFirst-active">Certificate System</li> +</ul> + +</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/pki/linux/ra-ui/shared/docroot/admin/group/index.vm b/pki/linux/ra-ui/shared/docroot/admin/group/index.vm new file mode 100644 index 000000000..a998972a9 --- /dev/null +++ b/pki/linux/ra-ui/shared/docroot/admin/group/index.vm @@ -0,0 +1,87 @@ +<!-- --- 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>Certificate System</title> + <link rel="shortcut icon" href="/images/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"> + + +<ul> +<li id="mainFirst-active">Certificate System</li> +</ul> + +</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/pki/linux/ra-ui/shared/docroot/admin/group/read.vm b/pki/linux/ra-ui/shared/docroot/admin/group/read.vm new file mode 100644 index 000000000..db7919440 --- /dev/null +++ b/pki/linux/ra-ui/shared/docroot/admin/group/read.vm @@ -0,0 +1,110 @@ +<!-- --- 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>Certificate System</title> + <link rel="shortcut icon" href="/images/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"> + + +<ul> +<li id="mainFirst-active">Certificate System</li> +</ul> + +</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> |