restart monitor fixes

This commit is contained in:
Dmitry Belyaev 2021-06-05 13:47:34 +03:00
parent ef626766ef
commit 5d0015b02b
Signed by: b4tman
GPG Key ID: 41A00BF15EA7E5F3

View File

@ -13,22 +13,22 @@
w-50
"
>
<span class="fw-bold me-2">Apache: </span>
<span class="fw-bold m-auto me-2">Apache: </span>
<span
v-if="isApacheNeedRestart && !isApacheRestartPending"
class="badge rounded-pill bg-danger m-auto p-auto"
class="badge rounded-pill bg-danger m-auto"
>Нужен перезапуск</span
>
<span
v-if="isApacheRestartPending"
class="badge rounded-pill bg-success m-auto p-auto"
class="badge rounded-pill bg-success m-auto"
>Перезапуск</span
>
<span class="flex-fill"></span>
<button
v-if="isApacheRestartPending"
type="button"
class="btn btn-success btn-sm bg-gradient align-self-end shadow"
class="btn btn-success btn-sm align-self-end shadow"
@click.prevent="fetchApacheRestartFlag"
title="Обновить статус"
v-tooltip:top
@ -38,7 +38,7 @@
<button
v-if="isApacheNeedRestart && !isApacheRestartPending"
type="button"
class="btn btn-danger btn-sm bg-gradient align-self-end shadow"
class="btn btn-danger btn-sm align-self-end shadow"
@click.prevent="updateApacheRestartFlag"
title="Перезапустить Apache"
v-tooltip:top