-
Notifications
You must be signed in to change notification settings - Fork 0
/
GetValues.html
118 lines (93 loc) · 2.15 KB
/
GetValues.html
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
<html>
<head>
<title> .: LDAP GUI for Academic Institutes :. Get Values from user</title>
<script type="text/javascript">
function validate_required(field, alerttxt)
{
with(field)
{
if(value==null||value=="")
{
alert(alerttxt);
return false;
}
else
{
return true;
}
}
}
function validate_form(thisform)
{
with(thisform)
{
if(validate_required(Clgname,"College Name field can't be left blank")==false)
{
Clgname.focus();
return false;
}
if(validate_required(domain,"Domain Name field can't be left blank")==false)
{
domain.focus();
return false;
}
if(validate_required(DeptNo,"Number of Departments field can't be left blank")==false)
{
DeptNo.focus();
return false;
}
}
}
</script>
</head>
<body>
<font color="darkblue">
<h1 align=center>LDAP GUI for Academic Institutes</h1>
</font>
<h3 align="center">
.: Enter Configuration Details :.
</h3>
<center>
<form action="SubmitValues.jsp" onsubmit="return validate_form(this)" method="post">
Note: In this form, please enter all the configuration details that you want to be reflected in your LDAP Server Installation for your institute.
<br>
<br>
<table border=0 align="center">
<tr>
<th>Parameter</th>
<th> Value</th>
<th> Notes/Example</th>
</tr>
<tr>
<td colspan="3">
<b><font color="darkblue">Server Details</font></b>
</td>
</tr>
<tr>
<td>Name of Institute : </td>
<td><input type="textbox" size=25 name="Clgname"></td>
<td>Full Name of the Institute</td>
</tr>
<tr>
<td>Domain Name: </td>
<td><input type="textbox" size=25 name="domain"></td>
<td>e.g. : dc=coep, dc=com</td>
</tr>
<tr>
<td colspan="3">
<b><font color="darkblue">Details for building Directory Information Tree</font></b>
</td>
</tr>
<tr>
<td>Number of Departments : </td>
<td><input type="textbox" size=25 name="DeptNo"></td>
<td>Number of departments that will use the LDAP Server</td>
</tr>
<tr>
<td rowspan="2" colspan="3" align="center" valign="middle"><input type="Submit" value="Start Installation"></td>
</tr>
</table>
</form>
</center>
</body>
</html>