Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4a0ce08338 |
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "frontend",
|
"name": "frontend",
|
||||||
"version": "0.9.5",
|
"version": "0.9.6",
|
||||||
"private": true,
|
"private": true,
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
@@ -1,18 +1,20 @@
|
|||||||
<template>
|
<template>
|
||||||
<section class="px-6 py-20 md:px-12 max-w-7xl mx-auto">
|
<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">
|
<div class="mb-14">
|
||||||
<h2 class="text-3xl md:text-4xl font-bold">
|
<h2 class="text-3xl md:text-4xl font-bold text-center">
|
||||||
Статус серверов
|
Статус серверов
|
||||||
</h2>
|
</h2>
|
||||||
|
<div class="flex justify-center mt-6">
|
||||||
<button
|
<button
|
||||||
@click="refreshData"
|
@click="refreshData"
|
||||||
:disabled="loading"
|
: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"
|
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 }" />
|
<RefreshCw :size="16" :class="{ 'animate-spin': loading }" />
|
||||||
{{ loading ? 'Обновление...' : 'Обновить пинг' }}
|
{{ loading ? 'Обновление...' : 'Обновить пинг' }}
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div v-if="loading && !hosts.length" class="flex justify-center py-12">
|
<div v-if="loading && !hosts.length" class="flex justify-center py-12">
|
||||||
<div class="animate-spin rounded-full h-12 w-12 border-b-2 border-blue-600"></div>
|
<div class="animate-spin rounded-full h-12 w-12 border-b-2 border-blue-600"></div>
|
||||||
|
|||||||
Reference in New Issue
Block a user