-
Notifications
You must be signed in to change notification settings - Fork 0
/
popup.html
213 lines (202 loc) · 6.7 KB
/
popup.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="style.css" />
<title>Link Safer</title>
<script src="popup.js"></script>
</head>
<body>
<center>
<!--Main Section-->
<div id="main" class="main">
<h1>Link Safer</h1>
<hr class="line-anim" />
<p id="session-info-display"></p>
<div class="btn-box">
<button class="button-with-icon" id="clear-list-btn">
<img
src="../assets/img/eraser-solid.svg"
alt="generate Icon"
class="icon-only"
style="fill: #1e1e1e">
</button>
<button class="button-with-icon" id="add-tab-btn">
<img
src="../assets/img/folder-plus-solid.svg"
alt="generate Icon"
class="icon-only"
style="fill: #1e1e1e">
</button>
<button class="button-with-icon" id="save-session-btn">
<img
src="../assets/img/boxes-packing-solid.svg"
alt="generate Icon"
class="icon-only"
style="fill: #1e1e1e">
</button>
<button class="button-with-icon" id="restore-session-btn">
<img
src="../assets/img/window-restore-solid.svg"
alt="generate Icon"
class="icon-only"
style="fill: #1e1e1e">
</button>
<button class="button-with-icon" id="clear-session-btn">
<img
src="../assets/img/calendar-minus-solid.svg"
alt="generate Icon"
class="icon-only"
style="fill: #1e1e1e">
</button>
<button class="button-with-icon" id="notify-btn">
<img
src="../assets/img/key-solid.svg"
alt="generate Icon"
class="icon-only"
style="fill: #1e1e1e">
</button>
<button class="button-with-icon" id="option-btn">
<img
src="../assets/img/gear-solid.svg"
alt="generate Icon"
class="icon-only"
style="fill: #1e1e1e">
</button>
<!--
<input type="button" id="bookmark-btn" value="Bookmark" />
-->
</div>
<div class="line"></div>
<br/>
<!-- TEST CONATINER
<p id="test"></p>
-->
<!-- LINK CONTAINER -->
<form id="addLinkForm">
<input type="text" id="newLink" placeholder="Add a note..." />
<button type="submit" id="add-note-btn"class="button-with-icon"><img src="../assets/img/file-pen-solid.svg"
alt="generate Icon"
class="icon-only"
style="fill: #1e1e1e"/></button>
</form>
<br />
<div class="line"></div>
<div class="list-container">
<ul id="linkList">
<li>
<div class="list-element">
<div class="list-text">h</div>
<button class="del-btn">X</button>
</div>
</li>
</ul>
</div>
<br />
<div hidden id="downloadbtnbox">
<button id="download-list-btn" class="button-with-icon">
<img
src="../assets/img/file-arrow-down-solid.svg"
alt="back Icon"
class="icon"
style="fill: #1e1e1e"
/>
Download List
</button>
</div>
</div>
<!-- passwordgenerator section -->
<div hidden id="generator" class="passwordgenerator">
<div class="password-options">
<h2>Password Generator</h2>
<hr class="line-anim"/>
<br />
<label for="numbers">Include Numbers:</label>
<input type="checkbox" id="numbers" /><br />
<label for="special-characters">Include Special Characters:</label>
<input type="checkbox" id="special-characters" /><br />
<br />
<label for="password-length">Password Length:</label><br />
<p class="passlen" id="passlen"></p>
<input
type="range"
id="password-length"
min="5"
max="40"
value="30"
/><br />
<p style="font-size: 1.3em; color: #00ff41" id="newpass">
<b>Your new password spawn here</b>
</p>
<br />
<button id="gen-pass-btn" class="button-with-icon">
<img
src="../assets/img/key-solid.svg"
alt="generate Icon"
class="icon"
style="fill: #1e1e1e"
/>
Generate Password</button
><br />
<button id="copy-pass-btn" class="button-with-icon">
<img
src="../assets/img/copy-solid.svg"
alt="copy Icon"
class="icon"
style="fill: #1e1e1e"
/>
Copy Password</button
><br />
<button id="back-btn" class="button-with-icon">
<img
src="../assets/img/right-from-bracket-solid.svg"
alt="back Icon"
class="icon"
style="fill: #1e1e1e"
/>
Back</button
><br />
</div>
</div>
<!-- Bookmark Section -->
<div hidden id="bookmarkframe" class="add-bookmark">
<h2>Bookmark</h2>
<hr class="line-anim">
<br>
<label for="bookmark-name">Bookmark Name:</label>
<br><br>
<input type="text" name="bookmark-name" id="bookmark-name" required placeholder="Enter a name...">
<br><br><br>
<label for="bookmark-url">URL:</label>
<br><br>
<input type="text" id="bookmark-url" required>
<br><br><br>
<label for="bookmark-dir-select">Select a bookmark dictionary:</label>
<br><br>
<select id="bookmark-dir-select"></select>
<br><br>
<div class="line"></div>
<br>
<button id="add-bookmark-btn" class="button-with-icon"><img
src="../assets/img/file-circle-plus-solid.svg"
alt="add bookmark Icon"
class="icon"
style="fill: #1e1e1e"
/> Add Bookmark</button>
<br>
<button id="bookmark-back-btn" class="button-with-icon"><img
src="../assets/img/right-from-bracket-solid.svg"
alt="back Icon"
class="icon"
style="fill: #1e1e1e"
/> Back</button>
</div>
</center>
</body>
<footer>
<p id="version-text"></p>
<div class="line"></div>
</footer>
</html>