diff --git a/frontend/src/public/css/status.css b/frontend/src/public/css/status.css new file mode 100644 index 0000000..5717782 --- /dev/null +++ b/frontend/src/public/css/status.css @@ -0,0 +1,49 @@ +/* Стили для страницы с проверкой подключения к бекенду */ + body { + font-family: Arial, sans-serif; + margin: 50px; + text-align: center; + } + + h1 { + color: #333; + } + + .status { + font-size: 24px; + margin: 30px; + padding: 20px; + border-radius: 10px; + display: inline-block; + } + + .online { + background-color: #d4edda; + color: #155724; + border: 2px solid #c3e6cb; + } + + .offline { + background-color: #f8d7da; + color: #721c24; + border: 2px solid #f5c6cb; + } + + .checking { + background-color: #fff3cd; + color: #856404; + border: 2px solid #ffeaa7; + } + + .info { + margin-top: 20px; + padding: 10px; + background-color: #f8f9fa; + border-radius: 5px; + display: inline-block; + } + + .url { + color: #0066cc; + font-weight: bold; + } diff --git a/frontend/src/public/html/status.html b/frontend/src/public/html/status.html index 05dab41..760809e 100644 --- a/frontend/src/public/html/status.html +++ b/frontend/src/public/html/status.html @@ -3,318 +3,78 @@
-Мониторинг подключения к Backend серверу
-