1
0
mirror of https://github.com/DCC-EX/CommandStation-EX.git synced 2025-02-27 02:56:04 +01:00
CommandStation-EX/docs/_templates/layout.html
2025-02-05 19:02:57 +10:00

20 lines
719 B
HTML

<!-- _templates/layout.html -->
{% extends "!layout.html" %}
{% block navigation %}
{{ super() }}
<div class="sidebar-versions">
<div class="version-wrapper">
<label for="version-switch">Documentation Version:</label>
<select id="version-switch" onchange="window.location.href=this.value">
<option value="/CommandStation-EX/"{% if version == "main" %} selected{% endif %}>
Production
</option>
<option value="/CommandStation-EX/devel/html/"{% if version == "devel" %} selected{% endif %}>
Development
</option>
</select>
</div>
</div>
{% endblock %}