my_blog/templates/theme_options.html

27 lines
1019 B
HTML

<form>
<fieldset>
<legend aria-describedby="about-theme-options">Theme Options</legend>
<p id="about-theme-options">theme options requires javascript</p>
<script>
// @license magnet:?xt=urn:btih:0b31508aeb0634b347b8270c7bee4d411b5d4109&dn=agpl-3.0.txt AGPL-v3-only
const id = "about-theme-options";
const element = document.getElementById(id);
element.innerHTML = element.innerHTML.concat(" (javascript enabled)");
// @license-end
</script>
<label id="color-theme-label" for="color-theme">color theme</label>
<select id="color-theme" name="color-theme">
<option value="dark-theme">dark (default)</option>
<option value="classic-theme">classic</option>
</select>
<label id="fonts-label" for="fonts">fonts</label>
<select id="fonts" name="fonts">
<option value="monospace-font">monospace (default)</option>
<option value="default-font">browser default</option>
</select>
<input type="button" value="apply settings" onclick="apply_theme_options()">
</fieldset>
</form>