blob: 54bb8e8c0f3f26b46598b78e1362a9c823bc0a9f (
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
|
<!-- --- 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) 2009 Red Hat, Inc.
All rights reserved.
--- END COPYRIGHT BLOCK --- -->
<html>
<head>
<style>
body {
background-color: rgb(32%,71%,75%);
font-family: "Arial";
font-size: 8pt; }
</style>
<script language = "Javascript">
function DoSubmitData()
{
var pin = document.getElementById("tokenpin").value;
var pin_confirm = document.getElementById("tokenpincf").value;
if(!pin || !pin_confirm )
{
alert("Please Enter Valid Token Pin and confirmation value!");
return;
}
var parent = window.opener;
if(parent)
{
parent.COOLKeySetTokenPin(pin);
}
window.close();
}
</script>
</head>
<body>
<b>Please Enter Your Token Pin:</b>
<form>
<table>
<TR>
<TD align="left">
<font size=-2>Token Pin:</font><BR>
<INPUT input type="password" id="tokenpin" name="tokenpin" value="" size=25><BR>
</TD>
</TR>
<TR>
<TD align="left">
<font size=-2>Token Pin:(Confirm)</font><br>
<INPUT type="password" id="tokenpincf" name="tokenpincf" value="" size=25><BR>
</TD>
</TR>
<BR>
<TR>
<TD>
<INPUT type ="button" id="Submit" value="Submit" onClick="DoSubmitData();"
</TD>
</TR>
</table>
</form>
</body>
</html>
|