70 lines
1.4 KiB
HTML
70 lines
1.4 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
|
|
<head>
|
|
<title>Ely Wiki Extension Options</title>
|
|
<style>
|
|
body {
|
|
font-family: sans-serif;
|
|
padding: 20px;
|
|
min-width: 300px;
|
|
}
|
|
|
|
label {
|
|
display: block;
|
|
margin-bottom: 5px;
|
|
font-weight: bold;
|
|
}
|
|
|
|
input[type="text"] {
|
|
width: 100%;
|
|
padding: 8px;
|
|
box-sizing: border-box;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
button {
|
|
padding: 8px 16px;
|
|
background-color: #5a8c5a;
|
|
color: white;
|
|
border: none;
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
button:hover {
|
|
background-color: #487048;
|
|
}
|
|
|
|
.status {
|
|
margin-top: 10px;
|
|
font-size: 0.9em;
|
|
color: green;
|
|
}
|
|
|
|
.note {
|
|
font-size: 0.8em;
|
|
color: #666;
|
|
margin-top: 20px;
|
|
}
|
|
|
|
</style>
|
|
</head>
|
|
|
|
<body>
|
|
<label for="dataUrl">Custom Data JSON URL:</label>
|
|
<input type="text" id="dataUrl" placeholder="Leave empty to use default local data">
|
|
|
|
<button id="save">Save</button>
|
|
<div id="status" class="status"></div>
|
|
|
|
<div class="note">
|
|
Leave empty to use the bundled extension data. <br>
|
|
Should link to the raw json file of items.
|
|
</div>
|
|
|
|
<script src="options.js"></script>
|
|
</body>
|
|
|
|
</html>
|