This repository has been archived by the owner on May 14, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
options.html
198 lines (151 loc) · 6.47 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
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
187
188
189
190
191
192
193
194
195
196
197
198
<!DOCTYPE html>
<html lang="en">
<head>
<title>Better Pterodactyl - Options</title>
<style>
html {
--text-color: #e5e8eb;
--background-color: #33404d;
--header-color: #1f2933;
}
html,
body {
width: 400px;
height: 600px;
margin: 0px;
padding: 0px;
overflow-x: hidden;
overflow-y: scroll;
}
body {
width: 100%;
height: 100%;
margin: 0px;
padding: 0px;
background-color: var(--background-color);
color: var(--text-color);
font-family: "ui-sans-serif", "system-ui", "sans-serif";
}
.options {
width: 100%;
height: 100%;
margin: 0px;
padding: 0px;
}
.options>.options-header {
width: 400px;
height: 56px;
margin: 0px;
padding: 0px;
background-color: var(--header-color);
}
.options>.options-header>.options-title {
width: 40%;
height: 56px;
line-height: 56px;
margin: 0px 0px 0px 12px;
padding: 0px;
font-size: 30px;
text-align: left center;
}
.options>.options-category {
margin: 30px 0px 20px 10px;
padding: 0px;
width: 100%;
}
.options>.options-category>.options-category-title {
margin: 0px;
padding: 0px;
font-size: 26px;
}
.options>.options-category>.options-category-description {
margin: 0px;
padding: 0px;
font-size: 16px;
}
.options>.options-category>.option {
margin: 10px 0px 5px 0px;
padding: 0px;
width: 100%;
}
.options>.options-category>.option>.option-label {
margin: 1px;
padding: 0px;
font-size: 15px;
}
.options>.options-category>.option>.option-description {
margin: 1px;
padding: 0px;
font-size: 12px;
}
.options>.options-category>.option>.option-label>.option-value {
margin: 2px;
padding: 1px 3px;
font-size: 14px;
}
</style>
</head>
<body>
<div id="options" class="options">
<div class="options-header">
<h1 class="options-title">Options</h1>
</div>
<div class="options-category">
<p class="options-category-title">Dashboard</p>
<!-- <p class="options-category-description">Options for the main dashboard</p> -->
<div class="option">
<p class="option-label" for="dashboard-live-stats">Live stats: <input id="dashboard-live-stats" class="option-value" type="checkbox" checked="true"></p>
<p class="option-description">Update the statistics in real time</p>
</div>
<div class="option">
<p class="option-label" for="dashboard-reorder-servers">Reorder servers: <input id="dashboard-reorder-servers" class="option-value" type="checkbox" checked="true"></p>
<p class="option-description">Reorder all the servers by the Reorder mode</p>
</div>
<div class="option">
<p class="option-label" for="dashboard-reorder-servers-mode">Reorder mode:
<select id="dashboard-reorder-servers-mode" class="option-value">
<option value="name">Name</option>
<option value="reverse-name">Reverse Name</option>
<option value="external-id">External Id (Requires admin)</option>
<option value="reverse-external-id">Reverse External Id (Requires admin)</option>
</select>
</p>
<p class="option-description">The mode to reorder the servers by</p>
</div>
<div class="option">
<p class="option-label" for="dashboard-show-all-ports">Show all ports: <input id="dashboard-show-all-ports" class="option-value" type="checkbox" checked="false"></p>
<p class="option-description">Show all the ports allocated to the server in a comma separated list</p>
</div>
<div class="option">
<p class="option-label" for="dashboard-remove-ports">Remove ports: <input id="dashboard-remove-ports" class="option-value" type="checkbox" checked="true"></p>
<p class="option-description">Remove the ports list entirely (Overrides Show all ports)</p>
</div>
</div>
<div class="options-category">
<p class="options-category-title">Server</p>
<!-- <p class="options-category-description">Options for the server panel</p> -->
<div class="option">
<p class="option-label" for="server-show-all-ports">Show all ports: <input id="server-show-all-ports" class="option-value" type="checkbox" checked="true"></p>
<p class="option-description">Show all the ports allocated to the server in a comma separated list</p>
</div>
<div class="option">
<p class="option-label" for="server-remove-ports">Remove ports: <input id="server-remove-ports" class="option-value" type="checkbox" checked="false"></p>
<p class="option-description">Remove the ports list entirely (Overrides Show all ports)</p>
</div>
<div class="option">
<p class="option-label" for="server-remove-graphs">Remove graphs: <input id="server-remove-graphs" class="option-value" type="checkbox" checked="false"></p>
<p class="option-description">Remove the resource graphs entirely</p>
</div>
</div>
<div class="options-category">
<p class="options-category-title">Files</p>
<!-- <p class="options-category-description">Options for files around the panel</p> -->
<div class="option">
<p class="option-label" for="files-include-backups">Include backups: <input id="files-include-backups" class="option-value" type="checkbox" checked="true"></p>
<p class="option-description">Include backups in the used disk amount</p>
</div>
</div>
</div>
<script src="options.js"></script>
</body>
</html>