1
0
mirror of https://github.com/DCC-EX/CommandStation-EX.git synced 2025-02-27 11:06:03 +01:00
CommandStation-EX/docs/_templates/layout.html

20 lines
749 B
HTML
Raw Normal View History

2025-02-04 22:44:40 +01:00
<!-- _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="/{{ project|lower }}/master-exraildoc/"{% if version == "main" %} selected{% endif %}>
Production
</option>
<option value="/{{ project|lower }}/master-exraildocdev/"{% if version == "devel" %} selected{% endif %}>
Development
</option>
</select>
</div>
</div>
{% endblock %}