abgame/templates/toggle.html

16 lines
482 B
HTML
Raw Normal View History

2023-06-04 11:53:32 +02:00
<div class="spacer">&nbsp;</div>
<div class="toggle">
{%- if theme == "light" %}
<input type="checkbox" id="toggle_checkbox">
{%- else %}
<input type="checkbox" id="toggle_checkbox" checked="checked">
{%- endif %}
<label for="toggle_checkbox" class="toggle_label">
<div id="star">
<div class="star" id="star-1"></div>
<div class="star" id="star-2"></div>
</div>
<div id="moon"></div>
</label>
</div>