mirror of
https://github.com/house-of-vanity/OutFleet.git
synced 2025-07-07 01:24:06 +00:00
Fixed text search fileds for ACL and Logs. Added version info to footer.
This commit is contained in:
37
vpn/templates/admin/base_site.html
Normal file
37
vpn/templates/admin/base_site.html
Normal file
@ -0,0 +1,37 @@
|
||||
{% extends "admin/base.html" %}
|
||||
|
||||
{% block title %}{{ title }} | {{ site_title|default:_('Django site admin') }}{% endblock %}
|
||||
|
||||
{% block branding %}
|
||||
<h1 id="site-name"><a href="{% url 'admin:index' %}">{{ site_header|default:_('Django administration') }}</a></h1>
|
||||
{% endblock %}
|
||||
|
||||
{% 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>
|
||||
</div>
|
||||
<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 %}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
Reference in New Issue
Block a user