summaryrefslogtreecommitdiffstats
path: root/pki/dogtag/tps-ui/shared/docroot/tokendb/index.template
blob: b9f0aa825b1ec4407448d645238586165dc022e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
<!-- --- 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="#000080">
  <tr>
    <td>
      <table border="0" cellspacing="12" cellpadding="0">
        <tr>
          <td><img src="/tps/admin/console/img/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");
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><li><a href="tus?op=search">List/Search Tokens</a></td>
  </tr>
  <tr>
    <td><i>Certificates</i></td>
  </tr>
  <tr>
    <td><li><a href="tus?op=search_certificate">List/Search Certificates</a></td>
  </tr>
  <tr>
    <td><i>Activities</i></td>
  </tr>
  <tr>
    <td><li><a href="tus?op=search_activity">List/Search Activities</a></td>
  </tr>
  <tr>
    <td></td>
  </tr>
</table>
<HR NOSHADE SIZE=1>
<DIV ALIGN=RIGHT>
</BODY>
</HTML>