Страница операций была переведена на единое меню

Этот коммит содержится в:
Виктор
2026-05-07 10:18:20 +09:00
родитель e7ecc361a8
Коммит d8c48d191c
+11 -11
Просмотреть файл
@@ -7,15 +7,17 @@
<link rel="stylesheet" href="/static/app.css"> <link rel="stylesheet" href="/static/app.css">
</head> </head>
<body> <body>
<div class="shell"> <div class="v-layout">
<header class="topbar"> {% include "_sidebar.html" %}
<main class="v-main">
<header class="v-topbar">
<div> <div>
<div class="brand">Операции</div> <div class="v-title">Операции</div>
<div class="muted">Журнал фоновых действий Virtuality</div> <div class="v-subtitle">Журнал фоновых действий Virtuality</div>
</div> </div>
<div class="top-meta"> <div class="top-meta">
<span>user: {{ user }}</span> <span>user: {{ user }}</span>
<a class="link-pill accent" href="/vm/create">+ Создать VM</a>
<a class="link-pill" href="/">← Дашборд</a> <a class="link-pill" href="/">← Дашборд</a>
<form method="post" action="/logout" class="logout-form"><button class="ghost">Выйти</button></form> <form method="post" action="/logout" class="logout-form"><button class="ghost">Выйти</button></form>
</div> </div>
@@ -28,7 +30,7 @@
</div> </div>
<table> <table>
<thead> <thead>
<tr><th>Операция</th><th>Статус</th><th>Прогресс</th><th>Создана</th><th>Действие</th></tr> <tr><th>Операция</th><th>Статус</th><th>Создана</th><th>Действие</th></tr>
</thead> </thead>
<tbody> <tbody>
{% for operation in operations %} {% for operation in operations %}
@@ -38,19 +40,17 @@
<div class="muted small-note">{{ operation.message }}</div> <div class="muted small-note">{{ operation.message }}</div>
</td> </td>
<td><span class="status {{ operation_css(operation.status) }}">{{ operation.status }}</span></td> <td><span class="status {{ operation_css(operation.status) }}">{{ operation.status }}</span></td>
<td>
<div class="progress"><span style="width: {{ operation.progress }}%"></span></div>
<div class="muted small-note">{{ operation.progress }}%</div>
</td>
<td>{{ operation.created_at }}</td> <td>{{ operation.created_at }}</td>
<td><a class="link-pill" href="/operations/{{ operation.id }}">Открыть</a></td> <td><a class="link-pill" href="/operations/{{ operation.id }}">Открыть</a></td>
</tr> </tr>
{% else %} {% else %}
<tr><td colspan="5" class="muted">Журнал операций пуст</td></tr> <tr><td colspan="4" class="muted">Журнал операций пуст</td></tr>
{% endfor %} {% endfor %}
</tbody> </tbody>
</table> </table>
</section> </section>
</main>
</div> </div>
<script src="/static/panel.js" defer></script>
</body> </body>
</html> </html>