forked from GeyserMC/GeyserSite
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig_editor.html
89 lines (82 loc) · 3.68 KB
/
config_editor.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
<!DOCTYPE html>
<html>
<head>
<meta charset='utf-8'>
<meta http-equiv='X-UA-Compatible' content='IE=edge'>
<meta name='viewport' content='width=device-width, initial-scale=1'>
<title>GeyserMC: Config Editor</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/css/bulma.min.css" integrity="sha256-aPeK/N8IHpHsvPBCf49iVKMdusfobKo2oxF8lRruWJg=" crossorigin="anonymous">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bulma-switch.min.css" integrity="sha256-jCV/cXwP13w0GNHLgFx6SFgTNAvJPvS5MIhuE30Ng08=" crossorigin="anonymous">
<link rel='stylesheet' type='text/css' media='screen' href='css/config-editor.css'>
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png?v=JsSFAj">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png?v=JsSFAj">
<link rel="icon" type="image/png" sizes="192x192" href="/android-chrome-192x192.png?v=JsSFAj">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png?v=JsSFAj">
<link rel="manifest" href="/site.webmanifest?v=JsSFAj">
<link rel="mask-icon" href="/safari-pinned-tab.svg?v=JsSFAj" color="#009000">
<link rel="shortcut icon" href="/favicon.ico?v=JsSFAj">
<meta name="apple-mobile-web-app-title" content="GeyserMC">
<meta name="application-name" content="GeyserMC">
<meta name="msapplication-TileColor" content="#2b5797">
<meta name="theme-color" content="#ffffff">
</head>
<body>
<section class="section" id="header">
<div class="container">
<a class="button is-link" href="./">
<span class="icon is-small">
<i class="fas fa-chevron-left"></i>
</span>
<span>Back</span>
</a>
<br>
<br>
<h1 class="title">
GeyserMC: Config Editor
</h1>
<p class="subtitle">
Please choose the config to import
</p>
<div id="loader-section">
<button class="button is-loading">Loading</button>
</div>
<div id="export-section">
<button class="button is-link" id="export">
<span class="icon is-small">
<i class="fas fa-download"></i>
</span>
<span>Export</span>
</button>
<br>
<b>or</b>
</div>
<div id="import-section" class="is-vertical-center">
<button class="button is-link" id="default-load">
<span class="icon is-small">
<i class="fas fa-sliders-h"></i>
</span>
<span>Default</span>
</button>
or
<div class="file is-link">
<label class="file-label">
<input class="file-input" type="file" id="file-load" accept=".yml">
<span class="file-cta">
<span class="file-icon">
<i class="fas fa-upload"></i>
</span>
<span class="file-label">
Upload
</span>
</span>
</label>
</div>
</p>
</div>
</section>
<section class="section" id="config-options"></section>
<div id="file-overlay">Upload</div>
<script defer src="https://use.fontawesome.com/releases/v5.3.1/js/all.js"></script>
<script src='js/config-editor.js'></script>
</body>
</html>