-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
106 lines (96 loc) · 3.93 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Password Vault</title>
<link rel="stylesheet" href="style.css">
<link href='https://unpkg.com/[email protected]/css/boxicons.min.css' rel='stylesheet'>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/sweetalert2@10/dist/sweetalert2.min.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/crypto-js/4.1.1/crypto-js.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
<link rel="icon" type="image/svg+xml" href="xbox-logo.svg">
</head>
<body>
<div id="preloader">
<div id="circle">
<div class="loader">
<div class="loader">
<div class="loader">
</div>
</div>
</div>
</div>
</div>
<div class="container">
<div class="sys">
<h1>Password</h1>
<div class="auth"><!-- -->
<h1 class="hidden">
open the system
</h1>
<div class="input-text">
<!-- <label for="masterKey"></label><br>
--> <input type="text" id="adminname" onkeypress="handleEnterKeyPress(event, validateAdmin)" placeholder="Admin name" >
<i class='bx bx-user'></i>
</div>
<div class="input-text">
<!-- <label for="masterKey"></label><br>
--> <input type="text" id="adminId" onkeypress="handleEnterKeyPress(event, validateAdmin)" maxlength="9" placeholder="Admin id" >
<i class='bx bxs-id-card'></i>
</div>
<div class="input-text">
<input type="password" id="masterKey" placeholder="Master key" onkeypress="handleEnterKeyPress(event, validateAdmin)" required>
<i class='bx bxs-key' ></i>
</div>
<button onclick="validateAdmin()" class="btn soundButton" data-sound="clickSoundGroup1">login</button>
</div>
<div class="op" id="adminActions" ><!-- style="display:none" -->
<div id="passwordInput" style="display: none;">
<div class="input-text">
<input type="text" id="domain" onkeypress="handleEnterKeyPress(event, storePassword)" placeholder="Domain">
</div>
<div class="input-text">
<input type="password" id="password" onkeypress="handleEnterKeyPress(event, storePassword)" placeholder="Password">
</div>
<button id="storeButton" class="soundButton" data-sound="clickSoundGroup1">Store Password</button>
</div>
<div id="retrieveDomain" style="display: none;">
<div class="input-text">
<input type="text" id="retrieveDomainInput" onkeypress="handleEnterKeyPress(event, retrievePassword)" placeholder="domain" title="put the domain and get password">
</div>
<button id="retrieveButton" class="soundButton" data-sound="clickSoundGroup1">Retrieve Password</button>
<div class="vault">
<div class="cell guide">
<p class="domainPW guide-pw">password</p>
<p class="domainNM guide-nm">Domain name</p>
</div>
<div class="vault-after"></div>
</div>
<div id="output"></div>
</div>
</div>
</div>
<div class="board">
<img src="log in.jpeg" alt="">
<div class="btn" style="display:none;">
<button id="addButton" class="soundButton" data-sound="clickSoundGroup1"><span>add</span><i></i></button>
<button id="getButton" class="soundButton" data-sound="clickSoundGroup1"><span>get</span><i></i></button>
</div>
</div>
</div>
<!-- Log section -->
<div id="siem" >
<h2 style="display: none;" class="hidden">SIEM</h2>
</div>
<div class="canvas" style="display: none;">
<canvas id="actionChart" ></canvas>
</div>
<audio id="clickSoundGroup1" src="mixkit-cool-interface-click-tone-2568.wav"></audio>
<div class="radar" ></div>
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@10"></script>
<!-- Include CryptoJS library for cryptographic operations -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/crypto-js/4.1.1/crypto-js.min.js"></script>
<script src="main.js"></script>
</body>
</html>