66 lines
2.6 KiB
HTML
66 lines
2.6 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>{% block title %}{{ app_name }}{% endblock %}</title>
|
|
|
|
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
|
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
|
|
<link rel="stylesheet" href="{{ url_for('static', filename='css/style.css') }}?v={{ css_hash }}">
|
|
</head>
|
|
<body>
|
|
<nav class="navbar navbar-light bg-light border-bottom">
|
|
<div class="container">
|
|
<a class="navbar-brand" href="{{ logo_link }}">
|
|
{% if logo_url %}
|
|
<img src="{{ logo_url }}" alt="{{ app_name }}" height="30">
|
|
{% else %}
|
|
{{ app_name }}
|
|
{% endif %}
|
|
</a>
|
|
<div class="d-flex align-items-center">
|
|
|
|
<!-- API status -->
|
|
<div class="me-3 d-flex align-items-center">
|
|
<span id="apiStatusDot" class="status-dot bg-secondary"></span>
|
|
<small id="apiStatusText" class="ms-2 text-muted">API</small>
|
|
</div>
|
|
|
|
<a href="/" class="btn btn-sm btn-outline-secondary me-2">
|
|
<i class="fas fa-home me-1"></i>Home
|
|
</a>
|
|
|
|
<a href="/api-docs" class="btn btn-sm btn-outline-primary me-2">
|
|
<i class="fas fa-book me-1"></i>API Docs
|
|
</a>
|
|
|
|
<a href="/generator" class="btn btn-sm btn-outline-dark">
|
|
<i class="fas fa-code me-1"></i>Script Generator
|
|
</a>
|
|
|
|
</div>
|
|
</div>
|
|
</nav>
|
|
|
|
<main>
|
|
{% block content %}{% endblock %}
|
|
</main>
|
|
|
|
<footer class="footer mt-auto">
|
|
<div class="container text-center">
|
|
<span class="text-muted">{{ footer_text }}</span>
|
|
{% if footer_link %}
|
|
<span class="text-muted mx-2">|</span>
|
|
<a href="{{ footer_link }}">{{ footer_link_text }}</a>
|
|
{% endif %}
|
|
</div>
|
|
</footer>
|
|
|
|
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
|
|
<script src="{{ url_for('static', filename='js/app.js') }}?v={{ js_hash }}"></script>
|
|
<script src="{{ url_for('static', filename='js/base.js') }}?v={{ js_hash }}"></script>
|
|
{% block scripts %}{% endblock %}
|
|
</body>
|
|
</html>
|