forked from luofei614/SocketLog
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpopup.html
More file actions
71 lines (69 loc) · 1.85 KB
/
Copy pathpopup.html
File metadata and controls
71 lines (69 loc) · 1.85 KB
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
<!DOCTYPE HTML>
<html lang="zh-cn">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1,user-scalable=no">
<meta charset="UTF-8">
<title></title>
<script src="popup.js"></script>
<style>
body{
margin:0px;
padding:4px;
font-size:14px;
color:#333;
width:150px;
background:url(bg_off.png);
}
.wrapper{
background:#fff;
padding:5px 10px;
}
.status{
font-size:12px;
color:#ccc;
padding-top:10px;
}
.title{
border-bottom:1px solid #ccc;
padding:5px;
font-size:14px;
font-weight:bold;
margin-bottom:10px;
}
.clearfix{
}
.clearfix:before,
.clearfix:after {
display: table;
content: " ";
}
.clearfix:after {
clear: both;
}
.help{
position:relative;
top:-3px;
float:right;
}
input {
width:100%;
}
</style>
</head>
<body>
<div class="wrapper clearfix">
<div class="title">SocketLog 设置</div>
<form action="">
监听地址: <input type="input" id="address" value="ws://localhost:1229" /> <br />
Client_ID: <input type="input" id="client_id" value="" /> <br />
<button type="button" id="save">保 存</button>
<div class="status">
状态:<span id="status">正在连接...</span>
<div class="help">
<a href="https://github.com/luofei614/SocketLog" title="帮助" target="_blank"><img width="16" height="16" src="help.png" /></a>
</div><!--/help-->
</div><!--/status-->
</form>
</div>
</body>
</html>