-
Notifications
You must be signed in to change notification settings - Fork 2
/
settings.html
192 lines (191 loc) · 6.33 KB
/
settings.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
<!DOCTYPE html>
<html>
<head>
<title>zdkrimson</title>
<link rel="stylesheet" href="settings.css">
<script src='settings.js'></script>
</head>
<body>
<div id=dialogbg class=dialogbg>
<div id=addacc class=addaccount>
<p>Add an Account</p>
<button onclick='mslogin()' class=addaccbtn>Microsoft Login</button>
<button onclick='offlinelogin()' class=addaccbtn>Offline Login</button>
<button onclick='closeAddAccount()' class=addacccancel>Cancel</button>
</div>
<div id=addoffline class=addoffline>
<p>Create an Offline Account</p>
<input type='text' id='offlinename' placeholder='Username'>
<input type='text' id='offlineuuid' placeholder='UUID (Optional)'>
<div class=v-layout>
<button onclick="login('offline')" class=msbtn>Login</button>
<button onclick='closeOfflineAccount()' class=msbtn>Cancel</button>
</div>
</div>
<div id=addmicrosoft class=addms>
<p>Login to Microsoft</p>
<input type='text' id='msemail' placeholder='E-Mail'>
<div class=v-layout>
<button onclick="login('microsoft')" class=msbtn>Login</button>
<button onclick='closeMSAccount()' class=msbtn>Cancel</button>
</div>
<p class=msnotice><i>Microsoft Login hasn't been implemented yet...</i></p>
</div>
</div>
<div class=titlebar>
<button onclick='closeSettings()' class=close>
<img width=30 src=assets/icons/arrowback.svg>
</button>
<p>Settings</p>
</div>
<div class=sidebar>
<button onclick='launcher()' class=sidebar-button>
<img width=25 src=assets/icons/playbox.svg>
<p class=sidebar-buttonText>Launcher</p>
</button>
<button onclick='minecraft()' class=sidebar-button>
<img width=25 src=assets/icons/cube.svg>
<p class=sidebar-buttonText>Minecraft</p>
</button>
<button onclick='java()' class=sidebar-button>
<img width=25 src=assets/icons/java.svg>
<p class=sidebar-buttonText>Java</p>
</button>
<hr class=sidehr>
<button onclick='accounts()' class=sidebar-button>
<img width=25 src=assets/icons/accounts.svg>
<p class=sidebar-buttonText>Accounts</p>
</button>
<button onclick='themes()' class=sidebar-button>
<img width=25 src=assets/icons/themes.svg>
<p class=sidebar-buttonText>Themes</p>
</button>
<hr>
<button onclick='about()' class=sidebar-button>
<img width=25 src=assets/icons/questionmark.svg>
<p class=sidebar-buttonText>About Us</p>
</button>
</div>
<div class=v-line></div>
<div class=settings>
<div id=launcher class=content>
<h1>Launcher</h1>
<div class=zdksection>
<img width=45 src="assets/logo/image/white.svg">
<div class=h-layout>
<div>zdkrimson</div>
<div class=label><i>Beta 1</i></div>
</div>
</div>
<h2>Your Device</h2>
<div class=section>
<p id=syscpu>CPU: Loading... </p>
<p id=sysgpu>GPU: Loading... </p>
<p id=sysmem>Memory: Loading... </p>
<p id=syshost>Host: Loading...</p>
<p id=sysplat>Platform: Loading...</p>
<p id=sysres>Resolution: Loading...</p>
</div>
<h2>Minecraft Information</h2>
<div class=section>
<p id=defaultjava>Default Java: Loading...</p>
<p>Instances Directory: Loading...</p>
</div>
</div>
<div id=minecraft class=content>
<h1>Minecraft</h1>
<h2>Window Size</h2>
<div class=section>
<div class=rowlayout>
<input type="checkbox" id='mcmaximized' name='mcmax'>
<label for="mcmaximized"> Start Minecraft maximized?</label><br>
</div>
<div class=rowlayout>
<label for="windowwidth">Window Width:</label>
<input class=windowtextbox type="number" id='windowwidth' name='winwidth' value='854' placeholder='854'>
</div>
<div class=rowlayout>
<label for="windowheight">Window Height:</label>
<input class=windowtextbox type="number" id='windowheight' name='winheight' value='480' placeholder='480'>
</div>
</div>
<h2>Miscellaneous</h2>
<div class=section>
<div class=rowlayout>
<input type="checkbox" id='mcdemomode' name='mcdemo'>
<label for="mcdemomode"> Demo Mode</label><br>
</div>
<div class=rowlayout>
<input type="checkbox" id='mcmulti' name='mcmultiplayer'>
<label for="mcmulti"> Disable Multiplayer</label><br>
</div>
<div class=rowlayout>
<input type="checkbox" id='mcchat' name='mcgamechat'>
<label for="mcchat"> Disable In-Game Chat</label><br>
</div>
</div>
</div>
<div id=java class=content>
<h1>Java</h1>
<h2>Memory</h2>
<div class=section>
<div class=rowlayout>
<label>Minimum Memory:</label>
<input class=windowtextbox type="number" id='minram' value='512' placeholder='512 (MB)'>
<label>MB</label>
</div>
<div class=rowlayout>
<label>Maximum Memory:</label>
<input class=windowtextbox type="number" id='maxram' value='1024' placeholder='1024 (MB)'>
<label>MB</label>
</div>
</div>
<h2>Java Runtime</h2>
<div class=section>
<div class=rowlayout>
<label>Java Path:</label>
<input class=windowtextbox type="text" id='javapath' placeholder='javaw'>
</div>
<div class=rowlayout>
<label>JVM Arguments:</label>
<input class=windowtextbox type="text" id='jvmargs'>
</div>
</div>
</div>
<div id=accounts class=content>
<h1>Accounts</h1>
<div class=rowlayout>
<button onclick='addaccount()'>Add Account</button>
<button>Edit Account</button>
<button>Remove Account</button>
</div>
<br>
<div id=account-section class='section big-gap'>
<p id=accountload>Loading....</p>
</div>
</div>
<div id=themes class=content>
<h1>Themes</h1>
<p>Coming soon... (Probably)</p>
</div>
<div id=about class=content>
<h1>About Us</h1>
<p>zdkrimson is a launcher built to make the Minecraft Experience just a little better.</p>
<p>Packed with tons of 'Quality of Life' features enhancing your experience with the game.</p>
<br>
<h3>Links</h3>
<div class=section>
<p>Github: </p>
<p>YouTube: </p>
</div>
<h3>Developers</h3>
<div class=section>
<p>Creator: MTSyntho</p>
<p>Maintainer: HGT-123</p>
</div>
<br><br><br><br> <!-- i probably shouldn't spam <br> tags :p -->
<p>Made with <3</p>
</div>
</body>
</html>
<!-- i took all this from the settings app in AzuOS (https://github.com/AzuSystem/AzuOS) -->