entire app update:
moder view app with static page, forgejo ci/cd workflow
This commit is contained in:
parent
25c896f809
commit
e6e700c2ee
13 changed files with 460 additions and 28 deletions
31
app/templates/base.html
Normal file
31
app/templates/base.html
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="ru">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>{% block title %}{{ title }}{% endblock %}</title>
|
||||
<link rel="stylesheet" href="{{ url_for('static', filename='css/style.css') }}">
|
||||
</head>
|
||||
<body>
|
||||
<nav>
|
||||
<div class="nav-container">
|
||||
<h1>🚀 Flask CI/CD</h1>
|
||||
<div class="nav-links">
|
||||
<a href="/">Главная</a>
|
||||
<a href="/health">Health</a>
|
||||
<a href="/api/info">API Info</a>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
<main>
|
||||
{% block content %}{% endblock %}
|
||||
</main>
|
||||
|
||||
<footer>
|
||||
<p>Версия: {{ version }} | Сборка: {{ build_time if build_time else 'N/A' }}</p>
|
||||
</footer>
|
||||
|
||||
<script src="{{ url_for('static', filename='js/main.js') }}"></script>
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue