Шаблон:Онлайн: відмінності між версіями

Матеріал з Бастіон-16
Перейти до навігації Перейти до пошуку
Немає опису редагування
Мітка: Скасовано
Немає опису редагування
 
(Не показано 84 проміжні версії 2 користувачів)
Рядок 1: Рядок 1:
<!DOCTYPE html>
<html>
<html lang="uk">
<head>
<head>
     <meta charset="UTF-8">
     <script src="/resources/status.js"></script>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
     <title>MC Онлайн Гравці</title>
     <title>MC Онлайн Гравці</title>
     <style>
     <style>
        body {
            font-family: 'Helvetica Neue', Arial, sans-serif;
            margin: 0;
            padding: 0;
            background-color: #f8f9fa;
            color: #202122;
        }
        .mw-body {
            padding: 2em;
            max-width: 960px;
            margin: 0 auto;
            background-color: #ffffff;
            border: 1px solid #a2a9b1;
            border-radius: 4px;
        }
        .mw-headline {
            font-size: 1.5em;
            margin-bottom: 0.5em;
            border-bottom: 1px solid #a2a9b1;
            padding-bottom: 0.3em;
        }
         #widget {
         #widget {
             padding: 1em;
             padding: 1em;
             background-color: #f9f9f9;
             box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
            border: 1px solid #c8ccd1;
            border-radius: 4px;
            text-align: center;
         }
         }
         #players {
         #players {
            font-weight: bold;
             list-style: none;
             list-style: none;
             padding: 0;
             padding: 0;
Рядок 43: Рядок 18:
             align-items: center;
             align-items: center;
             padding: 5px 0;
             padding: 5px 0;
             border-bottom: 1px solid #eaecf0;
             border-bottom: 1px solid #b1b3b6;
         }
         }
         #players li:last-child {
         #players li:last-child {
Рядок 63: Рядок 38:
             color: #007bff;
             color: #007bff;
         }
         }
         .server-status {
         .server-header {
             display: flex;
             text-align: center;
             justify-content: center;
             margin-bottom: 15px;
             align-items: center;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
             margin: 10px auto;
        }
        #playerCount {
            font-size: 1.2em;
             font-weight: bold;
             margin-left: 10px;
         }
         }
         #server-icon {
         #server-icon {
Рядок 73: Рядок 52:
             height: 64px;
             height: 64px;
             display: block;
             display: block;
             margin-right: 15px;
             float: left;
        }
        .status-container {
            display: flex;
            align-items: center;
            justify-content: flex-start;
         }
         }
         .status-indicator {
         .status-indicator {
Рядок 91: Рядок 75:
         }
         }
         .status-text {
         .status-text {
             font-size: 1em;
             font-size: 1.2em;
             font-weight: bold;
             font-weight: bold;
         }
         }
Рядок 111: Рядок 95:
         }
         }
         #motd {
         #motd {
            font-size: 1.2em;
                font-size: 1.2em;
            font-weight: bold;
                font-weight: bold;
             color: #0056b3;
              font-weight: bold;
             background-color: #e9f5ff;
    color: #0056b3;
    background-color: #000000;
    padding: 20px 10px 10px 10px;
    /* border-radius: 4px; */
    margin-bottom: 1em;
          text-align: center;
            height: 34px;
        }
        #server-ip {
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
            width: 21%;
            font-size: 1.2em; */
             margin: 1em 0 auto;
            padding: 10px;
            /* background-color: #f1f1f1; */
            /* border: 1px solid #ccc; */
            display: block;
            cursor: pointer;
            text-align: center;
            /* position: absolute; */
            top: 50%;
            background-color: #fff;
            color: #000;
          } 
        #server-ip:hover {
             background-color: #000;
            color: #fff;
        }
        #anketa {
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
            width: 21%;
            font-size: 1.2em; */
            margin: 1em 0 auto;
             padding: 10px;
             padding: 10px;
             border: 1px solid #c8e1ff;
             /* background-color: #f1f1f1; */
             border-radius: 4px;
            /* border: 1px solid #ccc; */
             margin-bottom: 1em;
            display: block;
            cursor: pointer;
            text-align: center;
            /* position: absolute; */
            top: 50%;
            background-color: #fff;
             color: #000;
            text-decoration: none;
          } 
        #anketa:hover {
            background-color: #000;
            color: #fff;
        }
        .link-header {
            display: flex;
            align-items: center;
             justify-content: space-evenly;
         }
         }
     </style>
     </style>
</head>
</head>
<body>
<body>
    <div class="mw-body">
         <div id="widget">
         <div id="widget">
             <div class="server-status">
             <div class="server-header">
                 <img id="server-icon" src="" alt="Іконка сервера" style="display: none;">
                 <img id="server-icon" src="" alt="Іконка сервера">
                <p id="motd" class="info">Завантаження MOTD...</p>
            </div>
            <div class="link-header">
            <p id="server-ip" onclick="copyToClipboard('play.bastion16.co.ua')">IP Сервера</p>
            <a target=”_blank” href="https://bastion16.co.ua/anketa/survey" id="anketa">Анкета</a>
            <a target=”_blank” href="https://map.bastion16.co.ua/" id="anketa">Мапа</a>
            <a target=”_blank” href="https://t.me/bastionanketa_bot" id="anketa">Написати адміну</a>
            </div>
            <div class="status-container">
                 <div id="status-indicator" class="status-indicator status-offline"></div>
                 <div id="status-indicator" class="status-indicator status-offline"></div>
                 <div id="status-text" class="status-text status-offline-text">Offline</div>
                 <div id="status-text" class="status-text status-offline-text">Offline</div>
                <p id="playerCount" class="info">Завантаження...</p>
             </div>
             </div>
            <p id="motd" class="info">Завантаження MOTD...</p>
            <p id="playerCount" class="info">Завантаження...</p>
             <ul id="players"></ul>
             <ul id="players"></ul>
         </div>
         </div>
    </div>
    <script src="Common.js"></script>
</body>
</body>
</html>
</html>

Поточна версія на 16:08, 20 вересня 2025

MC Онлайн Гравці

Іконка сервера

Завантаження MOTD...

Offline

Завантаження...