diff options
Diffstat (limited to 'dogtag/tps-ui/shared/docroot/tokendb/agentSelectConfig.template')
-rw-r--r-- | dogtag/tps-ui/shared/docroot/tokendb/agentSelectConfig.template | 123 |
1 files changed, 123 insertions, 0 deletions
diff --git a/dogtag/tps-ui/shared/docroot/tokendb/agentSelectConfig.template b/dogtag/tps-ui/shared/docroot/tokendb/agentSelectConfig.template new file mode 100644 index 000000000..3d22858cd --- /dev/null +++ b/dogtag/tps-ui/shared/docroot/tokendb/agentSelectConfig.template @@ -0,0 +1,123 @@ +<!-- --- BEGIN COPYRIGHT BLOCK --- + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; 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> +<meta HTTP-EQUIV="content-type" CONTENT="text/html; charset=UTF-8"> +<link rel="shortcut icon" href="/tps/admin/console/img/favicon.ico" /> +<HEAD> +<TITLE>TPS</Title> +</HEAD> + +<table border="0" width="100%" cellspacing="0" cellpadding="0" bgcolor="#000000"> + <tr> + <td> + <table border="0" cellspacing="12" cellpadding="0"> + <tr> + <td><img src="/tps/admin/console/img/logo_header.gif"></td> + <td> </td> + <td><font size="+1" face="PrimaSans BT, Verdana, sans-serif" color="white">Red Hat<sup><font color="#999999" size="-2">®</font></sup> TPS Services</font></td> + </tr> + </table> + </td> + </tr> +</table> +<p> + +<BODY> + +<CMS_TEMPLATE> + +<SCRIPT type="text/JavaScript"> +<!-- +var uri0 = ""; +if (typeof(uriBase) == "undefined") { + uri0 += "/tus"; +} else { + uri0 += uriBase; +} + +document.write("<font face=\"PrimaSans BT, Verdana, sans-serif\" size=\"+1\">"+ + "<a href=\""+uri0+"\">Main Menu</a> : Agent Operations : " + disp_conf_type + " Review and Approval </font>\n"); + +if ((typeof(flash) != "undefined") && (flash != "")) { + document.write("<table width=\"100%\"><tr><td align=\"left\">" + + "<font color=\"#ff0000\"><b>" + flash.replace(/\+/g, " ") + "</b><font>" + + "</td></tr></table>\n"); +} + +document.write("<table width=\"100%\"><tr><td align=\"right\">" + + "<b>UID:</b>" + userid + + "</td></tr></table>\n"); +document.write("<HR NOSHADE SIZE=1>\n"); + +function doViewConfig(form) { + var uri = ""; + if (typeof(uriBase) == "undefined") { + uri += "/tus"; + } else { + uri += uriBase; + } + this.action = uri; + return true; +} + +function doCancel() { + var uri = ""; + if (typeof(uriBase) == "undefined") { + uri += "/tus"; + } else { + uri += uriBase; + } + location.href = uri; +} + + + document.write("<table BORDER=0 CELLSPACING=2 CELLPADDING=0 width=100%>\n"); + document.write("<tr colspan=3> <p> Use this form to select " + conf_type.replace(/_/g, " ").toLowerCase() + " for review. <br>" + + "Select an item in the drop-down menu below and click \"Review\". </p></tr>"); + + document.write("<form NAME =\"selectViewConfigForm\" METHOD=POST onSubmit=\"return doViewConfig(this);\">"); + + document.write("<tr>"); + document.write("<input TYPE=hidden NAME=query VALUE=\"op=agent_view_config\">"); + document.write("<input TYPE=HIDDEN NAME=ptype VALUE=\"" + conf_type + "\">"); + var pset_list = conf_list.split(","); + document.write("<td ALIGN=LEFT width=20% >" + disp_conf_type + ": </td>"); + document.write("<td ALIGN=LEFT><select name=\"pname\" >"); + for (var i=0; i < pset_list.length; i++) { + document.write("<option value=\""+ pset_list[i] + "\">" + pset_list[i] + "</option>\n"); + } + document.write("</select></td></tr>"); + document.write("</table>"); + + document.write("<HR NOSHADE SIZE=1>"); + document.write("<DIV ALIGN=RIGHT>"); + + document.write("<table BORDER=0 CELLSPACING=2 CELLPADDING=4>\n"); + document.write("<tr><td><input TYPE=submit VALUE=Review> </td>"); + document.write("<td><input TYPE=button VALUE=Cancel onClick=\"doCancel();\"></td>"); + document.write("</tr>"); + document.write("</table>"); + document.write("</form>\n"); + +//--> +</SCRIPT> + +</BODY> +</HTML> |