-
Notifications
You must be signed in to change notification settings - Fork 0
/
popup.html
54 lines (53 loc) · 2.45 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Domain Changer</title>
<style>
BODY {width: 500px; min-height: 100px;}
</style>
<link rel="stylesheet" href="bootstrap/css/bootstrap.min.css">
</head>
<body>
<div class="container">
<div class="panel panel-primary" style="margin-top: 10px;">
<div class=panel-heading>
<h3 class=panel-title><img src="images/icon48.png" width="18" height="18" style="vertical-align:text-bottom"/>Domain Changer</h3>
</div>
<div class=panel-body>
<label for="domain-list">Domain List</label>
<div class="list-group" id="domain-list" style="margin-bottom: 0px;"></div>
</div>
<div class=panel-body>
<label>Add New Domain</label>
<ul class="list-group" style="margin-bottom: 0px;">
<li class="list-group-item">
<div class="input-group">
<span class="input-group-addon" id="basic-addon3">Name</span>
<input type="text" class="form-control" id="name" aria-describedby="basic-addon3" placeholder="ex) localhost">
</div>
<div class="input-group" style="margin-top: 6px">
<span class="input-group-addon" id="basic-addon3">Domain</span>
<input type="text" class="form-control" id="domain" aria-describedby="basic-addon3" placeholder="ex) 192.168.0.1:8080">
</div>
<button class="btn btn-default" id="addBtn" style="margin-top: 6px;">Add</button>
</li>
</ul>
</div>
<div class=panel-body>
<button class="btn btn-default" id="exportBtn" style="margin-top: 6px;">Export Domain List</button>
<input type="file" id="importFile" style="display:none;">
<button class="btn btn-default" id="importBtn" style="margin-top: 6px;">Import Domain List</button>
</div>
<div class=panel-body style="display:none;" id="alert">
<div class="alert alert-info" role="alert"></div>
</div>
</div>
</div> <!-- /container -->
<script src="javascripts/jquery-2.1.4.min.js"></script>
<script src="bootstrap/js/bootstrap.min.js"></script>
<script src="javascripts/popup.js"></script>
</body>
</html>