-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpopup.html
66 lines (65 loc) · 3.34 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
<!DOCTYPE html>
<html lang="fr" dir="ltr">
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="./popup.css">
<title>Custom selection</title>
<script src="jscolor.min.js"></script>
</head>
<body>
<h1 id="title">__MSG_appName__</h1>
<div id="formdiv">
<div id="formdivurl" class="formdivel">
<select class="" id="custom_select" name="">
<option value="general">__MSG_popupDefault__</option>
</select><button type="button" id="remove_custom">__MSG_popupRemove__</button><br>
<label>__MSG_popupNewCustomUrl__: </label><br/><input type="text" placeholder="*.google.com" id="add_url"><button type="button" id="add_custom">__MSG_popupAdd__</button>
<!--<label>Url (optional): </label><br/><input type="url" placeholder="https://www.google.com/" id="url"><br/><br/>-->
<div id="url_div"><label>Url: </label><br/><input type="text" placeholder="*.google.com" id="change_url"></div>
</div>
<br><br>
<div id="formdivclr" class="formdivel">
<label>__MSG_popupColorFieldName__: </label><br>
<input id="color" value="#007EF3FF" data-jscolor="{}"><br>
<label>__MSG_popupBackgroundColorFieldName__: </label><br>
<input id="background_color" value="#007EF333" data-jscolor="{}">
</div>
<br><br>
<div id="formdivtxtsh" class="formdivel">
<input id="activate_textShadow" name="activate_textShadow" type="checkbox"><label for="activate_textShadow">__MSG_popupTextShadowActivation__</label><br>
<div id="textShadowOptions">
<label>__MSG_popupTextShadowColorFieldName__: </label><br>
<input value="#00000000" id="shadow-color">
<br>
<label>__MSG_popupTextShadowBlurFieldName__: </label><input type="number" placeholder="15" min="0" id="shadow-blur">
</div>
</div>
<br><br>
<div id="formdivtxtdec" class="formdivel">
<input id="activate_textDecoration" name="activate_textDecoration" type="checkbox"><label for="activate_textDecoration">__MSG_popupTextDecorationActivation__</label><br>
<div id="textDecorationOptions">
<label>__MSG_popupTextDecorationTypeFieldName__: </label><br>
<select class="" id="decoration_select" name="">
<option value="underline">__MSG_popupTextDecorationUnderline__</option>
<option value="overline">__MSG_popupTextDecorationOverline__</option>
<option value="line-through">__MSG_popupTextDecorationStrikeThrough__</option>
<option value="underline dotted">__MSG_popupTextDecorationDotted__</option>
<option value="underline wavy">__MSG_popupTextDecorationWave__</option>
</select>
<br>
<label>__MSG_popupDecorationColorFieldName__: </label><br>
<input id="decoration-color" value="#007EF333" data-jscolor="{}">
</div>
</div>
<div id="formdivprv" class="formdivel">
<label>__MSG_popupPreview__: </label><br/><p id="preview">Lorem ipsum</p>
<button type="submit" id="save_btn">__MSG_popupSave__</button>
</div>
</div>
<!-- <div id="promotionaldiv">
<h2>Rate this extension</h2>
<p>If you enjoy this extension, please don't hesitate to rate it!👍</p>
</div> -->
</body>
<script type="text/javascript" src="./popup.js"></script>
</html>