redactor
This commit is contained in:
@@ -16,18 +16,44 @@
|
||||
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css" rel="stylesheet">
|
||||
</head>
|
||||
<body class="bg-body">
|
||||
|
||||
<main class="container py-4">
|
||||
{% with messages = get_flashed_messages() %}{% if messages %}<div id="_flash_msgs" data-msgs="{{ messages|tojson }}"></div>{% endif %}{% endwith %}
|
||||
|
||||
{% block breadcrumb %}{% endblock %}
|
||||
<div id="toast-stack" class="toast-container position-fixed top-0 end-0 p-3"></div>
|
||||
{% block content %}{% endblock %}
|
||||
|
||||
</main>
|
||||
<header class="header1" id="header1">
|
||||
<div class="container d-flex align-items-center justify-content-between flex-wrap gap-2 py-2">
|
||||
<a href="{{ url_for('main.home') }}" class="d-flex align-items-center text-decoration-none logo text-reset">
|
||||
<h3 class="m-0 d-flex align-items-center gap-2">
|
||||
<i class="fas fa-globe"></i><span>HAProxy Configurator</span>
|
||||
</h3>
|
||||
</a>
|
||||
<nav class="menu d-flex align-items-center gap-1 flex-wrap">
|
||||
<a href="{{ url_for('main.home') }}" class="menu-link {{ 'active' if request.path.startswith('/home') else '' }}"><i class="bi bi-speedometer"></i> Pulpit</a>
|
||||
<a href="{{ url_for('main.index') }}" class="menu-link {{ 'active' if request.path == '/' else '' }}"><i class="bi bi-plus-circle"></i> Dodaj FE/BE</a>
|
||||
<a href="{{ url_for('edit.edit_haproxy_config') }}" class="menu-link {{ 'active' if request.path.startswith('/edit') else '' }}"><i class="bi bi-pencil-square"></i> Edytuj Konfig</a>
|
||||
<a href="{{ url_for('display_logs') }}" class="menu-link {{ 'active' if request.path.startswith('/logs') else '' }}"><i class="bi bi-shield-lock"></i> Zdarzenia</a>
|
||||
<a href="{{ url_for('display_haproxy_stats') }}" class="menu-link {{ 'active' if request.path.startswith('/statistics') else '' }}"><i class="bi bi-graph-up-arrow"></i> Statystyki</a>
|
||||
<a href="http://{{ request.host.split(':')[0] }}:8404/stats" class="menu-link" target="_blank" rel="noopener"><i class="bi bi-box-arrow-up-right"></i> HAProxy Stats</a>
|
||||
</nav>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz" crossorigin="anonymous"></script>
|
||||
<script src="{{ url_for('static', filename='js/main.js') }}"></script>
|
||||
{% block scripts %}{% endblock %}
|
||||
</body>
|
||||
<main class="container py-4">
|
||||
{% with messages = get_flashed_messages() %}{% if messages %}<div id="_flash_msgs" data-msgs="{{ messages|tojson }}"></div>{% endif %}{% endwith %}
|
||||
{% block breadcrumb %}{% endblock %}
|
||||
<div id="toast-stack" class="toast-container position-fixed top-0 end-0 p-3"></div>
|
||||
{% block content %}{% endblock %}
|
||||
</main>
|
||||
|
||||
<footer class="app-footer border-top">
|
||||
<div class="container d-flex flex-wrap justify-content-between align-items-center py-3 small text-muted">
|
||||
<span>© 2025 HAProxy Configurator</span>
|
||||
<span class="d-flex align-items-center gap-2">
|
||||
<i class="bi bi-code-slash"></i>
|
||||
<span>Made for ops • Dark UX</span>
|
||||
</span>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz" crossorigin="anonymous"></script>
|
||||
<script src="{{ url_for('static', filename='js/main.js') }}"></script>
|
||||
{% block scripts %}{% endblock %}
|
||||
{% block page_js %}{% endblock %}
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user