forked from luofei614/SocketLog
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathoptions.html
More file actions
119 lines (102 loc) · 2.76 KB
/
Copy pathoptions.html
File metadata and controls
119 lines (102 loc) · 2.76 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
<!DOCTYPE HTML>
<html lang="zh-cn">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1,user-scalable=no,target-densitydpi=medium-dpi">
<meta charset="UTF-8">
<head>
<title>Chrome Logger options</title>
<style>
body {
font-family: helvetica, sans-serif;
width: 800px;
margin: auto;
}
h1 {
font-weight: normal;
}
form {
margin: 0;
}
.swatch {
position: relative;
display: inline-block;
border: 1px solid #555;
top: 2px;
height: 12px;
width: 12px;
}
#info {
color: red;
padding-top: 10px;
display: none;
text-align: right;
}
header {
width: 488px;
margin: auto;
margin-top: 20px;
overflow: hidden;
}
header h1 {
margin: 4px 0px 0px 0px;
}
header img {
float: left;
margin-right: 20px;
}
.content {
width: 400px;
margin: auto;
margin-top: 30px;
background: #eee;
-webkit-border-radius: 5px;
padding: 15px;
border: 2px solid #999;
overflow: hidden;
/*transition: all 0.5s ease-in-out;*/
}
p {
margin: 0px 0px 20px 0px;
color: #888;
padding: 0px;
}
input {
margin-bottom: 10px;
}
.buttons {
overflow: hidden;
}
button {
float: right;
margin-left: 10px;
}
p.info {
font-size: .8em;
}
</style>
<script src="options.js"></script>
</head>
<body>
<header>
<h1>SocketLog Options</h1>
</header>
<div class="content">
<form>
<label>
特殊环境域名:
<input type="text" value="*.sinapp.com" id="special_domain">
</label>
<p class="info">如果你的网站是像SAE一样,不支持传递自定义Header的环境,请在这里填写域名,多个用"|"隔开,支持通配符*</p>
<label>
正式环境域名:
<input type="text" id="online_domain">
</label>
<p class="info">设置正式环境域名后,在访问时能区别正式环境和开发环境,防止误操作,多个域名用"|"隔开,支持通配符*</p>
<div class="buttons">
<button id="save">保存</button>
</div>
<div id="info"></div>
</form>
</div>
</body>
</html>