-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
111 lines (105 loc) · 3.78 KB
/
Copy pathindex.html
File metadata and controls
111 lines (105 loc) · 3.78 KB
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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"/>
<title>Logic Rewards</title>
<link rel="stylesheet" href="https://cdn.rawgit.com/Chalarangelo/mini.css/v3.0.1/dist/mini-dark.min.css"/>
<link rel="stylesheet" href="style.css"/>
<script src="https://cdn.jsdelivr.net/npm/axios/dist/axios.min.js"></script>
<script src="index.js" defer></script>
</head>
<body>
<h1>Configuration generator for daily rewards</h1>
<p>This app makes configs with random awards for
<a href="https://github.com/AustereTony-MCMods/Oxygen-Daily-Rewards">
Oxygen-Daily-Rewards
</a>system. See the
<a href="https://github.com/LogicWorlds/RewardsConfiguration">GitHub</a>
page for the information on how to use this.</p>
<section class="container">
<div class="row">
<div class="col-sm-12">
<form>
<div class="row responsive-label">
<div class="col-sm-12 col-md-2">
<label for="monthSelect">Month</label>
</div>
<div class="col-sm-12 col-md">
<select id="monthSelect">
<option>January</option>
<option>February</option>
<option>March</option>
<option>April</option>
<option>May</option>
<option>June</option>
<option>July</option>
<option>August</option>
<option>September</option>
<option>October</option>
<option>November</option>
<option>December</option>
</select>
</div>
</div>
<div class="row responsive-label">
<div class="col-sm-12 col-md-2">
<label for="inputJsonTextArea">Input JSON</label>
</div>
<div class="col-sm-12 col-md">
<textarea id="inputJsonTextArea" rows="20"></textarea>
</div>
</div>
<div class="row responsive-label">
<div class="col-sm-12 col-md-2">
<label for="templateSelect">Template</label>
</div>
<div class="col-sm-12 col-md">
<select id="templateSelect">
<option>Choose a template</option>
</select>
</div>
</div>
<div class="row responsive-label">
<div class="col-sm-12 col-md-2">
<label for="weightModeSelect">Weight Mode</label>
</div>
<div class="col-sm-12 col-md">
<select id="weightModeSelect">
<option>Strict</option>
<option>Mixed</option>
</select>
<a href="https://github.com/LogicWorlds/RewardsConfiguration#weight-mode">What is it?</a>
</div>
</div>
<div class="row responsive-label">
<div class="col-sm-12 col-md-2">
<input id="makeButton" type="button" value="Make"/>
</div>
<div class="col-sm-12 col-md">
<p id="errorLabel">An error occured. See console for more info.</p>
</div>
</div>
</form>
</div>
</div>
</section>
<section class="container">
<div class="row responsive-label">
<div class="col-sm-12 col-md-2">
<h2>Output JSON</h2>
</div>
<div class="col-sm-12 col-md-2">
<input id="copyJsonButton" type="button" value="Copy"/>
</div>
<div class="col-sm-12 col-md">
<p id="copiedCompleteLabel">Copied to clipboard!</p>
</div>
</div>
<pre id="outputJsonText"></pre>
<h4>
To update server config without restart use:
<code>/oxygenop dailyrewards -reload-rewards</code>
</h4>
</section>
</body>