-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.1.html
158 lines (131 loc) · 4.95 KB
/
index.1.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
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>potato服务器</title>
<!-- Bootstrap -->
<link href="css/bootstrap.min.css" rel="stylesheet">
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="https://cdn.bootcss.com/jquery/1.12.4/jquery.min.js"></script>
<!-- Electron里为了不和jQuery冲突需要这样修改-->
<script>if (typeof module === 'object') { window.jQuery = window.$ = module.exports; };</script>
<!-- Include all compiled plugins (below), or include individual files as needed -->
<script src="js/bootstrap.min.js"></script>
</head>
<style>
html,
body {
height: 100%;
/* The html and body elements cannot have any padding or margin. */
}
/* Wrapper for page content to push down footer */
#wrap {
min-height: 100%;
height: auto;
/* Negative indent footer by its height */
margin: 0 auto -60px;
/* Pad bottom by footer height */
padding: 0 0 60px;
}
/* Set the fixed height of the footer here */
#footer {
height: 60px;
background-color: #f5f5f5;
}
/* Custom page CSS
-------------------------------------------------- */
/* Not required for template or sticky footer method. */
.container {
width: auto;
max-width: 680px;
padding: 0 15px;
}
.container .credit {
margin: 0 0;
padding: 8px 0 4px 0;
}
.caret-up {
/* Safari */
-webkit-transform: rotate(-180deg);
/* Firefox */
-moz-transform: rotate(-180deg);
/* IE */
-ms-transform: rotate(-180deg);
/* Opera */
-o-transform: rotate(-180deg);
/* Internet Explorer */
filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=6);
}
.drop-up {
top: auto;
bottom: 100% !important;
}
*:focus {
outline: 0 !important;
}
</style>
<body>
<div id="wrap">
<div class="container">
<h1>你好,世界!
<small>Hello World!</small>
</h1>
<br>
<div class="input-group">
<div class="input-group-addon">服务器地址:</div>
<input type="text" name="server" id="input-server" class="form-control" value="" required="required" pattern="" title=""
placeholder="服务器地址,域名或IP均可">
</div>
<br>
<div class="input-group">
<div class="input-group-addon">服务器端口:</div>
<input type="number" name="" id="input-port" class="form-control" value="" min="5" max="" step="" required="required" title=""
placeholder="服务器的端口">
</div>
<br>
<div class="input-group">
<div class="input-group-addon">服务器密码:</div>
<input type="password" name="" id="input-password" class="form-control" required="required" title="">
</div>
<br>
<div class="input-group">
<div class="input-group-addon">加密方式:</div>
<select name="" id="input-method" class="form-control">
<option value="http">HTTP</option>
<option value="https">HTTPS</option>
</select>
</div>
<br>
<div class="input-group">
<div class="input-group-addon">混淆参数</div>
<input type="text" name="" id="input-obfs" class="form-control" value="" required="required" pattern="" title="">
</div>
<br>
<button type="button" title="OK" id="send_msg" class="btn btn-primary">OK</button>
<button type="button" title="Listen" id="send_listen" class="btn btn-default">Listen</button>
</div>
</div>
<div id="footer">
<div class="container">
<p class="text-muted credit">
<div class="btn-group">
<span type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
<strong>potato</strong>stream:
<span id="input-local_port">3000</span>
<span class="caret caret-up"></span>
</span>
<ul class="dropdown-menu drop-up" role="menu">
<li>
<a href="#">Action</a>
</li>
</ul>
</div>
<img src="icons/stop.png" id="workstatus" class="img-responsive pull-right" style="margin-top: 11px" alt="stop">
<p class="pull-right" style="top:50%">状态: </p>
</p>
</div>
</div>
</body>
</html>