-
Notifications
You must be signed in to change notification settings - Fork 0
/
groups.html
430 lines (426 loc) · 15.7 KB
/
groups.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
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Language" content="en-us">
<title>Groups | CryptoManager</title>
<!--
Copyright (c) 2013 TeamF1, Inc. (www.TeamF1.com)
All rights reserved.
-->
<link rel="shortcut icon" href="images/favicon.png" type="image/x-icon" />
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="css/style.css" />
<link rel="stylesheet" type="text/css" href="css/buttons.css" />
<link rel="stylesheet" type="text/css" href="css/menu.css" />
<link rel="stylesheet" type="text/css" href="css/table.css" />
<link rel="stylesheet" type="text/css" href="css/jquery-ui-1.8.4.custom.css" />
<script type="text/javascript" language="javascript" src="js/jquery-1.8.0.min.js"></script>
</head>
<body>
<!-- Start Pop Up Form -->
<form name="cri_frmGroups" id="cri_frmGroups" action="cgi-action.html" method="post">
<input type="hidden" name="thispage" value="group.html">
<div class="configDialog" id="cri_dialog">
<div class="topBg">
<h1>Group Configuration</h1>
<a title="Close" id="btnClose" href="#"></a>
</div>
<div class="dialogMidArea">
<div class="configRow">
<label>Group Name </label>
<input type="text" maxlength="32" value name="groupName" id="cri_groupName">
</div>
<div class="break">
</div>
<div class="configRow">
<label>Description </label>
<input type="text" maxlength="32" value name="description" id="cri_description">
</div>
<div class="break"> </div>
<div class="configRow">
<label>Idle Timeout </label>
<input type="text" maxlength="3" class="one" value="10" name="description" id="cri_idletimeout" onKeyPress="return numericValueCheck (event)" onKeyDown="if (event.keyCode == 9) {return numericValueRangeCheck (this, '', '',10, 999, true, '', 'Minutes');}"><dl>[Default: 10, Range: 10 - 999] Minutes</dl>
</div>
<div class="break"> </div>
<div class="configRow">
<label>Privilege Type</label>
<select id="cri_privilegeType" onChange="changePriviligeType()" >
<option value="1">Admin</option>
<option value="2">Guest</option>
<option value="3">SSH User</option>
</select>
</div>
<div class="break"> </div>
<div class="configRow">
<label>CLI Access</label>
<a class="enable-disable-off" alt=""></a>
<input type="hidden" name="WebGUI" value="0">
</div>
<div class="break"> </div>
<div class="configRow">
<label>Console Access</label>
<a class="enable-disable-off" alt=""></a>
<input type="hidden" name="CLI" value="0">
</div>
<div class="break"> </div>
<div class="configRow">
<label>Web GUI Access</label>
<a class="enable-disable-off" alt=""></a>
<input type="hidden" name="Console" value="0">
</div>
<div class="break"> </div>
<div id="cri_sshPortForwarding_div">
<h2>SSH Port Forwarding</h2>
<div class="configRow">
<label>Local Port Forwarding</label>
<a class="enable-disable-off" alt="" id="cri_sshLocalPort"></a>
<input type="hidden" name="sshLocalPort" value="0">
</div>
<div class="break"> </div>
<div class="configRow" id="cri_portType_div">
<label>Port Type</label>
<select id="cri_portType" onChange="changePortType()" >
<option value="1">Any</option>
<option value="2">Multi Port</option>
</select>
</div>
<div class="break" id="break_portType_div"> </div>
<div class="configRow" id="cri_ports_div">
<label>Ports </label>
<input type="text" maxlength="32" onKeyPress="return numericValueCheck (event, ',')" value name="ports" id="cri_ports"><dl>[Range: 1 - 65535]</dl>
</div>
<div class="break" id="break_ports_div"> </div>
<div class="configRow">
<label>Remote Port Forwarding</label>
<a class="enable-disable-off" alt="" id="cri_console"></a>
<input type="hidden" name="Console " value="0">
</div>
<div class="break"> </div>
</div>
</div>
<div class="dialogSubmitRow">
<input type="submit" onClick="return pageValidate('cri_frmGroups')" value="Apply" class="btnSubmit" name="button.config.groups.groups.-1">
</div>
</div>
</form>
<!-- End Pop Up Form -->
<!-- End Pop Up Dialog -->
<!-- Start Right click Div -->
<div class="contextMenu" id="contextMenu">
<ul>
<li>
<input id="optionSelectAll" type="checkbox" onClick="setSelectAll (this.id, 'edit');" />
Select
All
</li>
<li id="edit">
Edit
</li>
<li id="delete">
Delete
</li>
</ul>
</div>
<!-- End Right click Div-->
<!-- Start Header Include -->
<!--webbot bot="Include" u-include="header.html" tag="BODY" startspan -->
<div id="CRI_headerBg" align="center">
<div class="midWidth">
<div id="CRI_logo">
</div>
<div class="FR headerRight">
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td valign="top"><h5 class="FR">Rambus<label id="lblLoggedinUser" title="guest"> </label>(guest) </h5></td>
<td valign="top"><a class="btnLogout" href="index.html">
<div>
<div>
Logout
</div>
</div> </a></td>
</tr>
</table>
</div>
</div>
</div>
<!-- CRI Mainmenu Starts here -->
<div id="CRI_navBg" align="center">
<div class="midWidth">
<nav id="CRI_nav">
<ul>
<li class="CRI_mainMenu">
<a href="#" id="mainMenu1" class="nolink">STATUS</a>
<ul class="CRI_menuOne">
<li>
<a href="deviceStatus.html">Device Status</a>
</li>
<li>
<a href="deviceUtilization.html">Device Utilization</a>
</li>
<li>
<a href="activeUsers.html">Active Users</a>
</li>
<li>
<a href="sshSessions.html">SSH Sessions</a>
</li>
<li>
<a href="viewLogs.html">View Logs</a>
</li>
</ul>
</li>
<li class="CRI_mainMenu">
<a href="#" id="mainMenu2" class="nolink">NETWORK</a>
<ul class="CRI_menuOne">
<li>
<a href="networkSetup.html">Network Setup</a>
</li>
<li>
<a href="ipv4StaticRouting.html">Static Routing</a>
</li>
</ul>
</li>
<li class="CRI_mainMenu">
<a href="#" id="mainMenu3" class="nolink">FIREWALL</a>
<ul class="CRI_menuOne">
<li>
<a href="defaultPolicy.html">Default Firewall Policy</a>
</li>
<li>
<a href="attackChecks.html">Attack Checks</a>
</li>
<li>
<a href="firewallRules.html">Firewall Rules</a>
</li>
<li>
<a href="customServices.html">Custom Services</a>
</li>
<li>
<a href="schedules.html">Schedules</a>
</li>
</ul>
</li>
<li class="CRI_mainMenu end">
<a href="#" id="mainMenu4" class="nolink CRI_menuAdjust">ADMINISTRATION</a>
<ul class="CRI_menuOne">
<li class="CRI_subMain">
<a class="nolink" href="#">Admin<span></span></a>
<ul class="subMenuTwo CRI_menuTwo">
<li>
<a href="users.html">Users</a>
</li>
<li>
<a href="groups.html">Groups</a>
</li>
</ul>
</li>
<li class="CRI_subMain">
<a href="#" class="nolink">Maintenance<span></span></a>
<ul class="subMenuTwo CRI_menuTwo">
<li>
<a href="backupRestore.html">Backup / Restore</a>
</li>
<li>
<a href="firmwareUpgrade.html">Firmware Upgrade</a>
</li>
</ul>
</li>
<li>
<a href="diagnostics.html">Diagnostics</a>
</li>
<li>
<a href="dateAndTime.html">Date & Time</a>
</li>
<li class="CRI_subMain">
<a class="nolink" href="#">Certificates<span></span></a>
<ul class="subMenuTwo CRI_menuTwo">
<li>
<a href="trustedCertificates.html">Trusted Certificates</a>
</li>
<li>
<a href="activeSelfCertificates.html">Active Self Certificates</a>
</li>
<li>
<a href="selfCertificateRequests.html">Self Certificate Requests</a>
</li>
</ul>
</li>
<li class="CRI_subMain">
<a href="#" class="nolink">SSH Setup<span></span></a>
<ul class="subMenuTwo CRI_menuTwo">
<li>
<a href="sshSetup.html">SSH Server Configuration</a>
</li>
<li>
<a href="sshKeyManagement.html">SSH Key Management</a>
</li>
</ul>
</li>
<li>
<a href="telnetSetup.html">Telnet Setup</a>
</li>
<li class="CRI_subMain">
<a class="nolink" href="#">Logging Setup<span></span></a>
<ul class="subMenuTwo CRI_menuTwo">
<li>
<a href="logsFacility.html">Logs Facility</a>
</li>
<li class="current">
<a href="logsConfiguration.html">Logs Configuration</a>
</li>
<li>
<a href="remoteLoggingConfiguration.html">Remote Logging
Configuration</a>
</li>
<li><a href="logsRolloverSetup.html">Logs Rollover Setup</a></li>
</ul>
</li>
<li><a href="appExtensions.html">App Extensions</a></li>
</ul>
</li>
</ul>
</nav>
</div>
</div>
<!-- CRI Mainmenu Ends here -->
<!-- Breadcrumb Section Starts here -->
<div id="CRI_breadcrumbBg" align="center">
<div class="midWidth">
<div class="CRI_breadCrumb">
<div id="CRI_breadCrumb"></div>
</div>
<div class="FR systemSearch">
<input id="menuSearch" value="Menu Search..." onFocus="watermark('menuSearch','Menu Search...');" onBlur="watermark('menuSearch','Menu Search...');" />
<div id="menuList" class="CRI_menuSearch"></div>
</div>
</div>
</div>
<!-- Breadcrumb Section Ends here -->
<!-- start Menu Width auto adjust --->
<script type="text/javascript" charset="utf-8">
$(document).ready(function() {
$(".CRI_menuAdjust").each(function() {
$(this).mouseover(function() {
if($(this).next("ul").innerWidth()<$(this).innerWidth()) {
$(this).next("ul").width($(this).innerWidth()+2);
$(".subMenuTwo").css("left",$(this).innerWidth());
} else {
$(".subMenuTwo").css("left",$(this).next("ul").width()-2);
}
});
});
});
</script>
<!-- end Menu Width auto adjust --->
<!--webbot bot="Include" i-checksum="32026" endspan --><!-- End Header Include --><div align="center">
<table border="0" cellpadding="0" cellspacing="0" width="980px" class="forConfigTbl">
<tr>
<td valign="top" align="center">
<div class="midWidth">
<!-- Status message place holder...
[ 1. for error use "msgError"
2. for information use "msgInfo"
3. for sucess use "msgSuccess" CSS classes ]
<div class="msgError">
<p>Error Message Place Holder.</p>
</div>-->
<h1>Groups</h1>
<div class="help">
<a class="helpButton" href="#"> Help </a>
</div>
<div class="break2"> </div>
<div class="buttonsRow" id="cri_btnShowModal">
<input type="button" name="button.add.group.group.-1" class="btnSubmit" title="Add" value="Add New Group" id="btAdd" onClick="openForm('button.add.group.group','-1','cri_dialog','group','group.html');">
</div>
<div class="break"> </div>
<div class="CLR midTblWidth">
<!-- Start Table List Data -->
<div class="demo_jui">
<table cellpadding="0" cellspacing="0" border="0" class="display" id="recordsData">
<thead>
<tr>
<th>Group Name</th>
<th>Description</th>
<th>Privileges</th>
<th>SSH Local Port Forwarding</th>
<th>SSH Remote Port Forwarding</th>
</tr>
</thead>
<tr class="gradeA" id="users1">
<td class="gradeA">Admin</td>
<td class="gradeA">This is Admin Group</td>
<td class="gradeA">Web GUI,CLI, Console</td>
<td class="gradeA">Enabled</td>
<td class="gradeA">Enabled</td>
</tr>
<tr class="gradeA" id="users2">
<td class="gradeA">CRI</td>
<td class="gradeA">This is CRI Group </td>
<td class="gradeA">CLI </td>
<td class="gradeA">Disabled</td>
<td class="gradeA">Disabled</td>
</tr>
<tr class="gradeA" id="users3">
<td class="gradeA">Guest</td>
<td class="gradeA">this is Guest Group ...</td>
<td class="gradeA">Console</td>
<td class="gradeA">Enabled</td>
<td class="gradeA">Disabled</td>
</tr>
</table>
</div>
<!-- End Table List Data -->
</div>
</div></td>
</tr>
</table>
</div><!-- Start Footer Include -->
<!--webbot bot="Include" u-include="footer.html" tag="BODY" startspan -->
<div id="CRI_footer">
<div class="midWidth">
Copyright © 2014 Cryptography Research, Inc.
</div>
</div>
<script type="text/javascript" charset="utf-8">
$(document).ready(function() {
window.onresize = function(event){
var leftPx = $(window).innerWidth()/2 - $(".configDialog").width()/2;
leftPx = Math.round(leftPx);
$(".configDialog").css('left',leftPx+'px');
}
});
</script>
<!--webbot bot="Include" i-checksum="17688" endspan --><!-- End Footer Include --><!-- Start Footer Scripts --><script type="text/javascript" language="javascript" src="js/jquery.dataTables.min.js"></script><script type="text/javascript" language="javascript" src="js/contextMenu.js"></script><script type="text/javascript" language="javascript" src="js/globalMis.js"></script><script type="text/javascript" language="javascript" src="js/menu.js"></script><script type="text/javascript" language="javascript" src="js/globalTextValidations.js"></script><script type="text/javascript" language="javascript" src="js/globalMgmt.js"></script><script type="text/javascript" language="javascript" src="js/groups.js"></script><script language="JavaScript" src="js/menuSearchList.js" type="text/javascript"></script><script language="JavaScript" src="js/menuSearch.js" type="text/javascript"></script><script type="text/javascript" charset="utf-8">
$(document).ready(function() {
$('.gradeA').contextMenu('contextMenu', {
bindings: {
'editMenu': function(t,e,rowId) {
openForm('button.edit.groups.groups',rowId,'cri_dialog','groups','groups.html')
},
'deleteMenu': function(t,e,rowId) {
deleteRows('button.delete.groups.groups','cri_frmGroups',rowId,'optionSelectAll','cri_dialog','groups','groups')
}
}
});
oTable=$('#recordsData').dataTable({
"bJQueryUI":true,
"sDom": '<"top"f<"clear">>rt<"bottom"ipl<"clear">>',
"sPaginationType":"input"
});
$("#btnClose").live("click", function(e) {
HideDialog('cri_dialog','cri_overlay');
e.preventDefault();
});
/* Help Section variables */
helpSection="groups";
helpConfigFile="administration.txt";
/* Header section javascript bindings */
menuLoading();
mmSel("mainMenu4");
getBreadCrumb(12);
dataRightClick(true);
});
</script><!-- End Footer Scripts -->
</body>
</html>