1 Commits
Author SHA1 Message Date
austnv 4a0ce08338 fix: header & button
Build and Deploy Frontend via SSH / deploy (push) Successful in 43s
2026-06-21 23:16:28 +03:00
2 changed files with 13 additions and 11 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "frontend",
"version": "0.9.5",
"version": "0.9.6",
"private": true,
"type": "module",
"scripts": {
+12 -10
View File
@@ -1,17 +1,19 @@
<template>
<section class="px-6 py-20 md:px-12 max-w-7xl mx-auto">
<div class="flex items-center justify-between mb-10 flex-wrap gap-4">
<h2 class="text-3xl md:text-4xl font-bold">
<div class="mb-14">
<h2 class="text-3xl md:text-4xl font-bold text-center">
Статус серверов
</h2>
<button
@click="refreshData"
:disabled="loading"
class="px-5 py-2.5 bg-blue-600 hover:bg-blue-700 text-white rounded-xl text-sm font-medium transition disabled:opacity-50 disabled:cursor-not-allowed flex items-center gap-2"
>
<RefreshCw :size="16" :class="{ 'animate-spin': loading }" />
{{ loading ? 'Обновление...' : 'Обновить пинг' }}
</button>
<div class="flex justify-center mt-6">
<button
@click="refreshData"
:disabled="loading"
class="px-5 py-2.5 bg-blue-600 hover:bg-blue-700 text-white rounded-xl text-sm font-medium transition disabled:opacity-50 disabled:cursor-not-allowed flex items-center gap-2 cursor-pointer"
>
<RefreshCw :size="16" :class="{ 'animate-spin': loading }" />
{{ loading ? 'Обновление...' : 'Обновить пинг' }}
</button>
</div>
</div>
<div v-if="loading && !hosts.length" class="flex justify-center py-12">