-
Notifications
You must be signed in to change notification settings - Fork 46
/
options.html
108 lines (102 loc) · 2.76 KB
/
options.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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Leanote Options</title>
<style>
body {
font-family: "Segoe UI", "Lucida Grande", Tahoma, sans-serif;
font-size: 100%;
background-color: #efefef;
width: 100%;
}
h2,h5{
text-align: center;
margin-top: 10px;
}
#icon_wrapper{
margin: 0 auto;
text-align: center;
}
#icon_wrapper img{
margin-top: 10px;
width: 80px;
}
#choose_panel {
width: 100%;
margin-top: 150px;
overflow: hidden;
text-align: center;
padding-bottom: 20px;
}
#choosen_panel{
width: 100%;
overflow: hidden;
text-align: center;
padding-bottom: 20px;
}
button{
width: 200px;
height: 40px;
margin-top: 20px;
background: #32BD8A;
border: 0px;
color: #eeeeee;
line-height: normal;
white-space: nowrap;
vertical-align: baseline;
cursor: pointer;
-webkit-user-drag: none;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
#change_server_btn{
background-color: #165ea8;
}
label{
padding: 0px;
margin-top: 10px;
margin-bottom: 10px;
color: #333333;
font-size: 0.8rem;
}
#personal_addr{
width: 200px;
height: 30px;
margin: 0 auto;
vertical-align: middle;
display: block;
font-size: 1.2rem;
}
#personal_port{
width: 60%;
margin: 0 auto;
vertical-align: middle;
display: block;
}
#personal_addr_msg{
color: #cc0000;
}
</style>
<script src="js/jquery-1.9.0.min.js"></script>
<script src="js/options.js"></script>
</head>
<body>
<div id="choose_panel">
<div id="icon_wrapper">
<img id="icon" src="images/icon.png">
</div>
<h1>Leanote 选项</h1>
<p>请选择服务器</p>
<div id="radio_block">
<input type="radio" id="radio_official" name="server_type" value="Official" checked="checked"><label for="radio_official">官方</label><br>
<input type="radio" id="radio_personal" name="server_type" value="Personal"><label for="radio_personal">私人</label><br>
</div>
<p id="personal_addr_msg"></p>
<label style="display:none;" id="personal_addr_lbl" for="personal_addr">服务器地址 (提示:请输入IP加端口号,如 https://127.0.0.1:9000)</label><input type="text" id="personal_addr" style="display: none;">
<button id="choose_confirm_btn" class="button_normal">确认</button>
</div>
</body>
</html>