-
Notifications
You must be signed in to change notification settings - Fork 64
/
popup.html
36 lines (34 loc) · 1.24 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
<!doctype html>
<html>
<head>
<link href="styles.css" rel="stylesheet" type="text/css" />
<script src="popup.js" type="module"></script>
</head>
<body>
<form class="form">
<fieldset>
<p>Add/edit patterns used to activate this extension:</p>
<ul class="container">
</ul>
<button class="add" type="button">Add Pattern</button>
<p>Each pattern will be evaluated as a <a href="https://developer.mozilla.org/en/docs/Web/JavaScript/Guide/Regular_Expressions" target="_blank">JavaScript Regular Expression</a>.</p>
<p>The above list of patterns are those that match the current page's location, along with those you may have just added, to see all configured patterns <a class="options" href="#">view the extension's options page</a>.</p>
</fieldset>
<fieldset>
<button type="submit">Save</button>
<button class="cancel" type="button">Cancel</button>
</fieldset>
</form>
<template id="existing">
<li>
<input class="input" type="text"/>
<button class="delete" type="button">✖</button>
</li>
</template>
<template id="new">
<li>
<input class="input" type="text"/>
</li>
</template>
</body>
</html>