summaryrefslogtreecommitdiffstats
path: root/pki/dogtag/tps-ui/shared/docroot/tps/admin/console/config/config_db.vm
blob: 643ba7da79da6e09dbdda9ae903688f6dd281f3d (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
<!-- --- 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 XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  <head>
    
    <title>Dogtag Certificate System</title>

<SCRIPT LANGUAGE="JavaScript">
    function donePanel(errorStr, displayS) {
      if (displayS == "loaded") {
        if (errorStr == '') {
            window.close();
        }
      }
    }
</SCRIPT>

    <link rel="shortcut icon" href="img/favicon.ico" />
    <link rel="stylesheet" href="/css/pki-base.css" type="text/css" />
  </head>


  <body onLoad="donePanel('$errorString', '$displayStr')">
<div id="wrap">
#include ( "admin/console/config/header.vm" )

<div id="mainNavOuter">
<div id="mainNav">
                                                                                
<div id="mainNavInner">
                                                                                
</div><!-- end mainNavInner -->
</div><!-- end mainNav -->
</div><!-- end mainNavOuter -->

<!-- close bar -->

  <div id="content">
    <table width="100%" cellspacing="0">
      <tr>
        <td width="100%">
  <h1><img src="../img/pki-icon-software.gif" />
  Internal Database </h1>

    <form name=configForm action="config_db" method="post">
    <b>Internal Database Connection</b> <p>This option allows sharing an internal database to improve managability.<p>
#if ($errorString != "")
<img src="../img/icon_crit_update.gif">&nbsp;<font color="red">$errorString</font>
#end
    <table class="details">
      <tr>
        <th>Host:</th>
                                                                                
        <td><input type="text" length="128" size="40" name="host" value="$hostname" /></td>
      </tr>
                                                                                
      <tr>
        <th>Port:</th>
                                                                                
        <td><input type="text" length="64" size="40" name="port" value="$portStr" /></td>
      </tr>       
      <tr>
        <th>Base DN:</th>
        <td><input type="text" length="128" size="40" name="basedn" value="$basedn" /></td>
      </tr>
      <tr>
        <th>Database:</th>
                                                                                
        <td><input type="text" length="128" size="40" name="database" value="$database"  /></td>
      </tr>
      <tr>
        <th>Bind DN:</th>
        <td><input type="text" length="128" size="40" name="binddn" value="$binddn" /></td>
      </tr>
      <tr>
        <th>Bind Password:</th>
                                                                                
        <td><input type="password" length="128" size="40" name="__bindpwd" value="$bindpwd" autocomplete="off" /></td>
      </tr>
        <td><input type="hidden" name="display" value=$displayStr /></td>
    </table>
                                                                                
    <div align="right">
      <hr />
      &nbsp;
    </div>
                                                                                

<p>
<table width=100%>
<tr bgcolor="#eeeeee">
  <td>
<input onclick="configForm.submit()" type="button" name="config_db_next" value="Apply">                                                                                
  </td>
</tr>
</table>

    </form>

	</td>
      </tr>
    </table>

  </div> <!-- close content -->
  </div> <!-- close wrap -->

  </body>
</html>