-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmenu.html
47 lines (36 loc) · 1.49 KB
/
menu.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
<!doctype html>
<!--
This page is shown when the extension button is clicked, because the
"browser_action" field in manifest.json contains the "default_popup" key with
value "popup.html".
-->
<html>
<head>
<title>Redirect trafic</title>
<link href="menu.css" rel="stylesheet" type="text/css">
<link href='https://fonts.googleapis.com/css?family=Source+Sans+Pro' rel='stylesheet' type='text/css'>
<script src="menu.js"></script>
</head>
<body>
<p id="stateIndicator"></p>
<form>
<div class="form-group">
<label for="urlsToTriggerOn">Url:s to trigger on</label>
<input type="input" class="form-control" id="urlsToTriggerOn" placeholder="localhost:4567/static" required>
</div>
<div class="form-group">
<label for="urlReplacePattern">Replace the following </label>
<input type="input" class="form-control" id="urlReplacePattern" placeholder="localhost:4567" required>
</div>
<div class="form-group">
<label for="urlReplaceContent">With</label>
<input type="input" class="form-control" id="urlReplaceContent" placeholder="localhost:8080" required>
</div>
<div class="divider"></div>
<div class="buttonHolder">
<button type="button" id="submit-url-values" class="btn btn-default myButton">Submit</button>
<button type="button" disable id="disable" class="btn btn-default myButton">Disable</button>
</div>
</form>
</body>
</html>