mirror of
				https://github.com/house-of-vanity/OutFleet.git
				synced 2025-10-24 17:29:08 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			38 lines
		
	
	
		
			1.5 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			38 lines
		
	
	
		
			1.5 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
| {% 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 %}
 |