-
Notifications
You must be signed in to change notification settings - Fork 69
/
main.html
186 lines (173 loc) · 6.58 KB
/
main.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
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
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" href="bootstrap/css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="bootstrap/css/bootstrap-theme.min.css">
<title>MeterSphere</title>
<style>
.gi-1x {
font-size: 24px;
}
a {
text-decoration: none;
color: rgb(44, 42, 72);
}
a:link {
text-decoration: none;
color: rgb(44, 42, 72);
}
a:active {
text-decoration: none;
color: rgb(44, 42, 72);
}
a:visited {
text-decoration: none;
color: rgb(44, 42, 72);
}
a:hover {
text-decoration: none;
color: rgb(44, 42, 72);
}
.header-top {
width: 100%;
height: 40px;
padding: 0 10px;
background-color: rgb(44, 42, 72);
color: rgb(245, 245, 245);
font-size: 14px;
vertical-align: middle;
}
.logo {
width: 40px;
display: inline-block;
background-size: 40px 40px;
height: 40px;
background-repeat: no-repeat;
background-position: 50% center;
background-image: url("icon/favicon-w.png");
float: left;
}
.options {
border-top: #E9E9E9 solid 1px;
padding: 10px 0;
}
.options a {
margin-bottom: 20px;
font-weight: bold;
}
.options a[aria-expanded=true] i {
transform: rotate(90deg);
}
#options {
background-color: #f4f8fe;
}
</style>
</head>
<body>
<div class="header-top">
<a class="logo" href="https://github.com/metersphere/chrome-extensions" target="_blank"></a>
<span style="height: 40px;font-size: 18px;display: inline-block;padding-top: 7px;">MeterSphere Recorder</span>
</div>
<div style="width: 305px;padding: 10px 10px 0 10px;">
<div class="container" id="main_page" style="height: 85px">
<div class="text-center">
<div class="row text-center" style="margin-bottom: 10px">
<input type="text" id="jmx_name" class="form-control" placeholder="脚本名称" aria-label="脚本名称"
aria-describedby="basic-addon1">
</div>
<div class="row">
<a href="#" id="record_start" style="display: none">
<span class="glyphicon glyphicon-play-circle gi-1x" data-toggle="tooltip" data-placement="right"
title="录制"></span>
</a>
<a href="#" id="record_pause" style="display: none">
<span class="glyphicon glyphicon-pause gi-1x" data-toggle="tooltip" data-placement="right"
title="暂停"></span>
</a>
<a href="#" id="record_resume" style="display: none">
<span class="glyphicon glyphicon-record gi-1x" data-toggle="tooltip" data-placement="right"
title="恢复"></span>
</a>
<a href="#" id="record_stop" style="display: none">
<span class="glyphicon glyphicon-stop gi-1x" data-toggle="tooltip" data-placement="right"
title="停止"></span>
</a>
<a href="#" id="record_download" style="display: none;margin-left: 5px">
<span class="glyphicon glyphicon-saved gi-1x" data-toggle="tooltip" data-placement="right"
title="保存"></span>
</a>
<a href="#" id="record_edit" style="display: none;margin-left: 5px">
<span class="glyphicon glyphicon-edit gi-1x" data-toggle="tooltip" data-placement="right"
title="编辑"></span>
</a>
</div>
</div>
</div>
<div id="main_download" style="display: none;">
<div id="checkboxs" style="margin-bottom: 10px;margin-top: 10px;"></div>
<div style="text-align: center;margin-bottom: 5px">
<a href="#" id="record_back">
<span class="glyphicon glyphicon-chevron-left gi-1x" data-toggle="tooltip" data-placement="right"
title="返回"></span>
</a>
<a href="#" id="record_save" style="padding-left: 5px">
<span class="glyphicon glyphicon-download-alt gi-1x" data-toggle="tooltip" data-placement="right"
title="下载"></span>
</a>
</div>
</div>
<div class="options">
<a data-toggle="collapse" href="#options" aria-expanded="false" aria-controls="options">
<i class="glyphicon glyphicon-triangle-right"></i>
高级选项
</a>
<div class="collapse" id="options">
录制内容:
<div class="checkbox">
<label>
<input type="checkbox" name="options" id="record_ajax">
Http Request
</label>
</div>
<div class="checkbox">
<label>
<input type="checkbox" name="options" id="cookie">
Cookie
</label>
</div>
<div class="checkbox">
<label>
<input type="checkbox" name="options" id="record_css">
Css
</label>
</div>
<div class="checkbox">
<label>
<input type="checkbox" name="options" id="record_js">
JS
</label>
</div>
<div class="checkbox">
<label>
<input type="checkbox" name="options" id="record_images">
Images
</label>
</div>
<div class="checkbox">
<label>
<input type="checkbox" name="options" id="record_other">
Other
</label>
</div>
</div>
</div>
</div>
<script type="text/javascript" src="js/jquery-3.4.1.min.js"></script>
<script type="text/javascript" src="bootstrap/js/bootstrap.min.js"></script>
<script type="text/javascript" src="js/JMX.js"></script>
<script type="text/javascript" src="js/main.js"></script>
</body>
</html>