Дашборд был очищен и перестроен
Этот коммит содержится в:
@@ -16,8 +16,11 @@
|
|||||||
<nav class="v-nav">
|
<nav class="v-nav">
|
||||||
<a class="active" href="/">Обзор</a>
|
<a class="active" href="/">Обзор</a>
|
||||||
<a href="/vm/create">Создать VM</a>
|
<a href="/vm/create">Создать VM</a>
|
||||||
|
<div class="v-nav-group open">
|
||||||
|
<div class="v-nav-group-title">Образы</div>
|
||||||
<a href="/iso">ISO</a>
|
<a href="/iso">ISO</a>
|
||||||
<a href="/disk-images">Диски</a>
|
<a href="/disk-images">Диски</a>
|
||||||
|
</div>
|
||||||
<a href="/network">Сеть</a>
|
<a href="/network">Сеть</a>
|
||||||
<a href="/operations">Операции</a>
|
<a href="/operations">Операции</a>
|
||||||
<a href="/logs">Журналы</a>
|
<a href="/logs">Журналы</a>
|
||||||
@@ -34,7 +37,6 @@
|
|||||||
</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>
|
|
||||||
<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>
|
||||||
</header>
|
</header>
|
||||||
@@ -77,7 +79,6 @@
|
|||||||
<div class="actions">
|
<div class="actions">
|
||||||
<a class="link-pill" href="/operations">Операции</a>
|
<a class="link-pill" href="/operations">Операции</a>
|
||||||
<a class="link-pill" href="/logs">Журналы</a>
|
<a class="link-pill" href="/logs">Журналы</a>
|
||||||
<a class="link-pill accent" href="/vm/create">+ Создать VM</a>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<table class="vm-table">
|
<table class="vm-table">
|
||||||
@@ -125,7 +126,7 @@
|
|||||||
</table>
|
</table>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section class="grid two">
|
<section class="grid three dashboard-service-grid">
|
||||||
<article class="card">
|
<article class="card">
|
||||||
<div class="card-head">
|
<div class="card-head">
|
||||||
<h2>Сервисы</h2>
|
<h2>Сервисы</h2>
|
||||||
@@ -141,6 +142,29 @@
|
|||||||
</div>
|
</div>
|
||||||
</article>
|
</article>
|
||||||
|
|
||||||
|
<article class="card">
|
||||||
|
<div class="card-head">
|
||||||
|
<h2>Storage pools</h2>
|
||||||
|
<span class="pill">libvirt</span>
|
||||||
|
</div>
|
||||||
|
<table>
|
||||||
|
<thead>
|
||||||
|
<tr><th>Name</th><th>State</th><th>Autostart</th></tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
{% for pool in pools %}
|
||||||
|
<tr>
|
||||||
|
<td>{{ pool.name }}</td>
|
||||||
|
<td><span class="status {{ 'ok' if pool.state == 'active' else 'warn' }}">{{ pool.state }}</span></td>
|
||||||
|
<td>{{ pool.autostart }}</td>
|
||||||
|
</tr>
|
||||||
|
{% else %}
|
||||||
|
<tr><td colspan="3" class="muted">Storage pools не найдены</td></tr>
|
||||||
|
{% endfor %}
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</article>
|
||||||
|
|
||||||
<article class="card">
|
<article class="card">
|
||||||
<div class="card-head">
|
<div class="card-head">
|
||||||
<h2>Последние операции</h2>
|
<h2>Последние операции</h2>
|
||||||
@@ -162,45 +186,6 @@
|
|||||||
</article>
|
</article>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section class="grid two">
|
|
||||||
<article class="card">
|
|
||||||
<div class="card-head">
|
|
||||||
<h2>Storage pools</h2>
|
|
||||||
<span class="pill">libvirt</span>
|
|
||||||
</div>
|
|
||||||
<table>
|
|
||||||
<thead>
|
|
||||||
<tr><th>Name</th><th>State</th><th>Autostart</th></tr>
|
|
||||||
</thead>
|
|
||||||
<tbody>
|
|
||||||
{% for pool in pools %}
|
|
||||||
<tr>
|
|
||||||
<td>{{ pool.name }}</td>
|
|
||||||
<td><span class="status {{ 'ok' if pool.state == 'active' else 'warn' }}">{{ pool.state }}</span></td>
|
|
||||||
<td>{{ pool.autostart }}</td>
|
|
||||||
</tr>
|
|
||||||
{% else %}
|
|
||||||
<tr><td colspan="3" class="muted">Storage pools не найдены</td></tr>
|
|
||||||
{% endfor %}
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
</article>
|
|
||||||
|
|
||||||
<article class="card">
|
|
||||||
<div class="card-head">
|
|
||||||
<h2>Быстрые действия</h2>
|
|
||||||
<span class="pill">control plane</span>
|
|
||||||
</div>
|
|
||||||
<div class="quick-actions">
|
|
||||||
<a class="big-action" href="/vm/create"><strong>Создать VM</strong><span>Мастер создания виртуальной машины</span></a>
|
|
||||||
<a class="big-action" href="/network"><strong>Сеть</strong><span>NAT, DHCP leases, проброс портов</span></a>
|
|
||||||
<a class="big-action" href="/iso"><strong>ISO</strong><span>Установочные .iso образы</span></a>
|
|
||||||
<a class="big-action" href="/disk-images"><strong>Диски</strong><span>.img/.raw/.qcow2 и архивы</span></a>
|
|
||||||
<a class="big-action" href="/logs"><strong>Журналы</strong><span>Web, update, libvirt, операции</span></a>
|
|
||||||
</div>
|
|
||||||
</article>
|
|
||||||
</section>
|
|
||||||
|
|
||||||
<section class="grid two">
|
<section class="grid two">
|
||||||
<article class="card">
|
<article class="card">
|
||||||
<div class="card-head">
|
<div class="card-head">
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user