Files
OutFleet/vpn/templates/admin/base_site.html

38 lines
1.5 KiB
HTML
Raw Permalink Normal View History

2025-06-27 17:08:32 +03:00
{% extends "admin/base.html" %}
{% block title %}{{ title }} | {{ site_title|default:_('Django site admin') }}{% endblock %}
2025-06-27 17:08:32 +03:00
{% block branding %}
<h1 id="site-name"><a href="{% url 'admin:index' %}">{{ site_header|default:_('Django administration') }}</a></h1>
{% endblock %}
2025-06-27 16:20:31 +03:00
2025-06-27 17:08:32 +03:00
{% block footer %}
<div id="footer" style="margin-top: 20px; padding: 10px; border-top: 1px solid #ccc; font-size: 12px; color: #666;">
<div style="display: flex; justify-content: space-between; align-items: center;">
<div>
<strong>OutFleet VPN Manager</strong>
2025-06-27 16:20:31 +03:00
</div>
2025-06-27 17:08:32 +03:00
<div style="text-align: right;">
{% if VERSION_INFO %}
<div>
<strong>Version:</strong>
<code>{{ VERSION_INFO.git_commit_short }}</code>
{% if VERSION_INFO.is_development %}
<span style="color: #e74c3c;">(Development)</span>
{% endif %}
</div>
{% if not VERSION_INFO.is_development %}
<div style="margin-top: 2px;">
<strong>Built:</strong> {{ VERSION_INFO.build_date }}
</div>
<div style="margin-top: 2px;">
<strong>Commit:</strong>
<code style="font-size: 10px;">{{ VERSION_INFO.git_commit }}</code>
</div>
{% endif %}
{% endif %}
2025-06-27 16:20:31 +03:00
</div>
2025-06-27 17:08:32 +03:00
</div>
</div>
{% endblock %}