forked from jaime-gamez/UareUSampleWEB
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
150 lines (134 loc) · 6.3 KB
/
index.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
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Fingerprint WebAPI Test App</title>
<link rel="stylesheet" href="css/bootstrap-min.css">
<link rel="stylesheet" href="app.css" type="text/css" />
</head>
<body>
<div id="Container">
<nav class="navbar navbar-inverse">
<div class="container-fluid">
<div class="navbar-header">
<div class="navbar-brand" href="#" style="color: white;">Fingerprint WebAPI</div>
</div>
<ul class="nav navbar-nav">
<li id="Reader" class="active">
<a href="#" style="color: white;" onclick="toggle_visibility(['content-reader','content-capture']);setActive('Reader','Capture')">
Reader</a>
</li>
</ul>
<ul class="nav navbar-nav">
<li id="Capture" class="">
<a href="#" style="color: white;" onclick="toggle_visibility(['content-capture','content-reader']);setActive('Capture','Reader')">
Capture</a>
</li>
</ul>
</div>
</nav>
<div id="Scores">
<h5>Scan Quality : <input type="text" id="qualityInputBox" size="20" style="background-color:#DCDCDC;text-align:center;"></h5>
</div>
<div id="content-capture" style="display : none;">
<div id="status"></div>
<div id="imagediv"></div>
<div id="contentButtons">
<table width=70% align="center">
<tr>
<td>
<input type="button" class="btn btn-primary" id="clearButton" value="Clear" onclick="Javascript:onClear()">
</td>
<td data-toggle="tooltip" title="Will work with the .png format.">
<input type="button" class="btn btn-primary" id="save" value="Save">
</td>
<td>
<input type="button" class="btn btn-primary" id="start" value="Start" onclick="Javascript:onStart()">
</td>
<td>
<input type="button" class="btn btn-primary" id="stop" value="Stop" onclick="Javascript:onStop()">
</td>
<td>
<input type="button" class="btn btn-primary" id="info" value="Info" onclick="Javascript:onGetInfo()">
</td>
</table>
</div>
<div id="imageGallery">
</div>
<div id="deviceInfo">
</div>
<div id="saveAndFormats">
<form name="myForm" style ="border : solid grey;padding:5px;">
<b>Acquire Formats :</b><br>
<table>
<tr data-toggle="tooltip" title="Will save data to a .raw file.">
<td>
<input type="checkbox" name="Raw" value="1" onclick="checkOnly(this)"> RAW <br>
</td>
</tr>
<tr data-toggle="tooltip" title="Will save data to a Intermediate file">
<td>
<input type="checkbox" name="Intermediate" value="2" onclick="checkOnly(this)"> Feature Set<br>
</td>
</tr>
<tr data-toggle="tooltip" title="Will save data to a .wsq file.">
<td>
<input type="checkbox" name="Compressed" value="3" onclick="checkOnly(this)"> WSQ<br>
</td>
</tr>
<tr data-toggle="tooltip" title="Will save data to a .png file.">
<td>
<input type="checkbox" name="PngImage" checked="true" value="4" onclick="checkOnly(this)"> PNG
</td>
</tr>
</table>
</form>
<br>
<input type="button" class="btn btn-primary" id="saveImagePng" value="Export" onclick="Javascript:onImageDownload()">
</div>
</div>
<div id="content-reader">
<h4>Select Reader :</h4>
<select class="form-control" id="readersDropDown" onchange="selectChangeEvent()">
</select>
<div id="readerDivButtons">
<table width=70% align="center">
<tr>
<td>
<input type="button" class="btn btn-primary" id="refreshList" value="Refresh List"
onclick="Javascript:readersDropDownPopulate(false)">
</td>
<td>
<input type="button" class="btn btn-primary" id="capabilities" value="Capabilities"
data-toggle="modal" data-target="#myModal" onclick="Javascript:populatePopUpModal()">
</td>
</tr>
</table>
<!-- Modal - Pop Up window content-->
<div class="modal fade" id="myModal" role="dialog">
<div class="modal-dialog">
<!-- Modal content -->
<div class="modal-content" id="modalContent" >
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal">×</button>
<h4 class="modal-title">Reader Information</h4>
</div>
<div class="modal-body" id="ReaderInformationFromDropDown">
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<script src="lib/jquery.min.js"></script>
<script src="lib/bootstrap.min.js"></script>
<script src="scripts/es6-shim.js"></script>
<script src="scripts/websdk.client.bundle.min.js"></script>
<script src="scripts/fingerprint.sdk.min.js"></script>
<script src="app.js"></script>
</body>
</html>