summaryrefslogtreecommitdiffstats
path: root/dogtag/tps-ui/shared/docroot/tokendb/index.template
diff options
context:
space:
mode:
authorEndi Sukma Dewata <edewata@redhat.com>2012-11-21 14:30:45 -0500
committerEndi Sukma Dewata <edewata@redhat.com>2012-11-30 16:16:27 -0500
commit96a49a09060726a38080eeaebad97ca74ab9b8a3 (patch)
tree559df88a6d1ccdf72044974bec3ad2638e07270a /dogtag/tps-ui/shared/docroot/tokendb/index.template
parentc79f164c97ef1d30eb7084924eacd9f1ca4ccfae (diff)
downloadpki-96a49a09060726a38080eeaebad97ca74ab9b8a3.tar.gz
pki-96a49a09060726a38080eeaebad97ca74ab9b8a3.tar.xz
pki-96a49a09060726a38080eeaebad97ca74ab9b8a3.zip
Reorganized TPS templates and scripts.
The templates, JS, and CGI scripts for TPS have been moved into the TPS core package. Removed unused cfg.pl. Ticket #407
Diffstat (limited to 'dogtag/tps-ui/shared/docroot/tokendb/index.template')
-rw-r--r--dogtag/tps-ui/shared/docroot/tokendb/index.template151
1 files changed, 0 insertions, 151 deletions
diff --git a/dogtag/tps-ui/shared/docroot/tokendb/index.template b/dogtag/tps-ui/shared/docroot/tokendb/index.template
deleted file mode 100644
index 4aa9f0cdd..000000000
--- a/dogtag/tps-ui/shared/docroot/tokendb/index.template
+++ /dev/null
@@ -1,151 +0,0 @@
-<!-- --- 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>
-<meta HTTP-EQUIV="content-type" CONTENT="text/html; charset=UTF-8">
-<link rel="shortcut icon" href="/pki/images/favicon.ico" />
-<HEAD>
-<TITLE>TPS Agent</Title>
-</HEAD>
-
-<table border="0" width="100%" cellspacing="0" cellpadding="0" bgcolor="#000080">
- <tr>
- <td>
- <table border="0" cellspacing="12" cellpadding="0">
- <tr>
- <td><img src="/pki/images/logo_header.gif"></td>
- <td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
- <td><font size="+1" face="PrimaSans BT, Verdana, sans-serif" color="white"><b>Dogtag<sup><font color="#999999" size="-2">&reg;</font></sup> TPS Services</b></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></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 doFind(form) {
- if (form.uid.value == "" && form.tid.value == "") {
- alert("Enter token or user ID");
- } else {
- var uri = "";
- if (typeof(uriBase) == "undefined") {
- uri += "/tus"
- } else {
- uri += uriBase;
- }
- uri += "?op=view";
- if (form.tid.value.length > 0) uri += "&tid=" + form.tid.value;
- if (form.uid.value.length > 0) uri += "&uid=" + form.uid.value;
- location.href = uri;
- }
-}
-
-var lastCol = 100;
-document.write("<table BORDER=0 CELLSPACING=0 CELLPADDING=0 width=100%><tr>");
-if ((typeof(operatorAuth) != "undefined") && (operatorAuth == "true")) {
- document.write("<td width=\"20%\"><a href=\"/tus?op=index_operator\">Operator Operations</td>");
- lastCol -= 20;
-}
-if ((typeof(agentAuth) != "undefined") && (agentAuth == "true")) {
- document.write("<td bgcolor=\"#e5e5e5\" width=\"20%\"><a href=\"/tus\">Agent Operations</td>");
- lastCol -= 20;
-}
-if ((typeof(adminAuth) != "undefined") && (adminAuth == "true")) {
- document.write("<td width=\"20%\"><a href=\"/tus?op=index_admin\">Administrator Operations</td>");
- lastCol -= 20;
-}
-document.write("<td width=\"" + lastCol + "%\"></td>");
-document.write("</tr></table>");
-
-//-->
-</SCRIPT>
-
-<table BORDER=0 CELLSPACING=0 CELLPADDING=0 width=100%>
-<tr>
- <td bgcolor=#e5e5e5>&nbsp;</td>
-</tr>
-</table>
-<table BORDER=0 CELLSPACING=2 CELLPADDING=0 width=100%>
- <tr>
- <td><i>Tokens</i></td>
- </tr>
- <tr>
- <td>&bull;&nbsp;<a href="tus?op=search">List/Search Tokens</a></td>
- </tr>
- <tr><td>&nbsp;</td></tr>
- <tr>
- <td><i>Certificates</i></td>
- </tr>
- <tr>
- <td>&bull;&nbsp;<a href="tus?op=search_certificate">List/Search Certificates</a></td>
- </tr>
- <tr><td>&nbsp;</td></tr>
- <tr>
- <td><i>Activities</i></td>
- </tr>
- <tr>
- <td>&bull;&nbsp;<a href="tus?op=search_activity">List/Search Activities</a></td>
- </tr>
- <tr>
- <td></td>
- </tr>
- <tr><td>&nbsp;</td></tr>
- <tr>
- <td><i>Advanced Configuration</i></td>
- </tr>
- <SCRIPT type="text/JavaScript">
- <!--
- var target_array = agent_target_list.split(",");
- for (var i=0; i< target_array.length ; i++) {
- document.write("<tr><td>&bull;&nbsp;<a href=\"tus?op=agent_select_config&type=" + target_array[i] + "\">" +
- target_array[i].replace(/_/g, " ") + "</a></td> </tr>");
- }
- //-->
- </SCRIPT>
-
-</table>
-<HR NOSHADE SIZE=1>
-<DIV ALIGN=RIGHT>
-</BODY>
-</HTML>