ISPmanager - шаблон Аккаунт отключен

Матеріал з Wiki.Zina
Версія від 14:27, 4 квітня 2021, створена Romych (обговорення | внесок) (→Новый шаблон)
(різн.) ← Попередня версія | Поточна версія (різн.) | Новіша версія → (різн.)
Перейти до навігації Перейти до пошуку

← ISPmanager

Шаблон Account disabled:

vim /usr/local/mgr5/www/disabled/index.html

Новый шаблон

[ред. | ред. код]
<!DOCTYPE html>
<html lang="uk">
<head>
  <meta charset="utf-8">
  <title>Хостинг сайту припинений</title>
  <meta name="description" content="Хостинг сайту припинений">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.min.css" integrity="sha512-NhSC1YmyruXifcj/KFRWoC561YpHpc5Jtzgvbuzx5VozKpWvQ+4nXhPdFgmx8xqexRcpAglTj9sIBWINXa8x5w==" crossorigin="anonymous" />
  <style type="text/css">html{font-family:Verdana,sans-serif}body,html{height:100%}a,html{color:#222}h1{font-size:3rem;font-size:calc(.6rem + 5vmin);font-weight:400;margin-bottom:10vh}.h1-sitename{display:block;font-weight:700;font-size:4rem;font-size:calc(.6rem + 5vmin);margin:.5rem 0}.container{height:100%;display:flex;flex-direction:column;justify-content:center;align-items:center}.main{flex-grow:1;display:flex;justify-content:center;flex-direction:column;text-align:center;margin-bottom:5vh;padding:1rem}.description-wrapper{font-size:1.2rem;font-size:calc(12px + 1.6vmin);line-height:1.5;color:#303030;line-height:1.5}.description,.zina-contacts{margin:0}.description{margin-bottom:1rem}.footer{width:90%;max-width:800px;text-align:center}.logo{margin-bottom:2rem}.logo-img{margin-bottom:.5rem;width:200px}.logo-text{text-decoration:none}.zina-description{display:block;margin-bottom:.5rem}.copyright{display:block;border-top:#ccc 1px solid;padding:1rem;margin:0;font-size:.8rem}</style>
</head>
<body>
  <div class="container">
    <div class="main">
      <h1>
        Хостинг сайту
        <span class="h1-sitename"><script type="text/javascript">document.write(window.location.hostname)</script></span>
        припинений
      </h1>
      <div class="description-wrapper">
        <p class="description">
          Якщо ви — власник сайту <script type="text/javascript">document.write(window.location.hostname)</script>, 
          <br>зв'яжіться зі службою підтримки хостингу:
        </p>
        <p class="contacts">
          <a href="viber://chat?number=+380503481711" title="Написати в Viber">Viber</a>
          &nbsp; &nbsp; 
          <a href="tg://resolve?domain=romychvk" title="Написати в Telegram">Telegram</a>
          &nbsp; &nbsp; 
          <a href="https://wa.me/380503481711" title="Написати в WhatsApp">WhatsApp</a>
        </p>
        <p class="zina-contacts"><a href="https://www.zina.design/contacts">Всі контакти</a></p>
      </div>
    </div>
    <div class="footer">
      <p class="logo"> 
        <a class="logo-text" href="https://www.zina.design/" title="Студія «Зіна дизайн» — Створення та підтримка сайтів в Дніпрі">
          <img class="logo-img" alt="Студія Зіна дизайн — створення сайтів в Дніпрі" src="https://www.zina.design/img/zina-design-logo-uk.svg" />
          <span class="zina-description">Розробка сайтів в Дніпрі</span>
          <span class="zina-description">© 1999-<script type="text/javascript">document.write(new Date().getFullYear())</script></span>
        </a>
      </p>
    </div>
  </div>
</body>
</html>

Стандартный шаблон

[ред. | ред. код]
<!DOCTYPE html>
<html>
<head>
  <title>Account disabled by server administrator</title>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  <style>
    body {
      font-weight: normal;
      font-size: 11px;
      font-family: Arial;
    }
    .fatal-error {
      width: 270px;
      height: 270px;
      margin: 0 auto;
      position: absolute;
      top: 50%;
      left: 50%;
      margin-left: -135px;
      margin-top: -135px;
    }
    .fatal-error-round {
      width: 270px;
      height: 270px;
      background: #FF8356;
      border-radius: 270px;
    }
    .fatal-error-inner {
      padding-top: 23px;
      text-align: center;
    }
    .fatal-error-sign {
      margin-bottom: 10px;
    }
    .fatal-error-sign-top {
      background: #FFF;
      width: 14px;
      height: 7px;
      border-radius: 28px 28px 0 0;
      margin: 0 auto;
    }
    .fatal-error-sign-body {
      content: "";
      width: 0px;
      height: 0px;
      border-style: solid outset;
      border-width: 54px 7px 0 7px;
      border-color: #FFF rgba(0, 0, 0, 0) rgba(0, 0, 0, 0) rgba(0, 0, 0, 0);
      margin: 0 auto;
    }
    .fatal-error-sign-empty {
      background: #FF8356;
      margin: 0 auto;
      width: 10px;
      height: 11px;
      z-index: 1;
      margin-top: -7px;
    }
    .fatal-error-sign-dot {
      background: #FFF;
      width: 14px;
      height: 14px;
      border-radius: 14px;
      margin: 0 auto;
      margin-top: 0px;
    }
    .fatal-error-message {
      font-size: 12px;
      overflow: hidden;
      padding: 0 10px;
      color: #fff;
    }
    .fatal-error-header {
      font-size: 27px;
      font-weight: bold;
      margin-bottom: 10px;
    }
    .b-copyright {
      margin-top: 40px;
      text-align: center;
    }
    .b-copyright__link {
      color: #587b9d;
    }
    .b-text_lang_ru {
      display: none;
    }
  </style>
</head>
<body>
<div id="main-wrapper">
  <div id="fatal-error" class="fatal-error">
    <div class="fatal-error-round">
      <div class="fatal-error-inner">
        <div class="fatal-error-sign">
          <div class="fatal-error-sign-top"></div>
          <div class="fatal-error-sign-body"></div>
          <div class="fatal-error-sign-empty"></div>
          <div class="fatal-error-sign-dot"></div>
        </div>
        <div class="fatal-error-message">
          <div class="fatal-error-header b-text b-text_lang_en">Attention</div>
          <div class="fatal-error-header b-text b-text_lang_ru">Внимание</div>
          <div class="fatal-error-desc b-text b-text_lang_en">Account disabled by server administrator.</div>
          <div class="fatal-error-desc b-text b-text_lang_ru">Аккаунт отключен администратором сервера.</div>
        </div>
      </div>
    </div>
    <div class="b-copyright">
      <a class="b-copyright__link" href="http://ispsystem.com/external/ispmanager.html" target="_blank" rel="nofollow">ISPsystem © 1997-<script type="text/javascript">document.write(new Date().getFullYear())</script></a>
    </div>
  </div>

</div>
<script type="text/javascript">
  var platformLanguage = navigator && (
    navigator.language ||
      navigator.browserLanguage ||
      navigator.systemLanguage ||
      navigator.userLanguage ||
      null ),
    elemsRU, elemsEN;
  if (platformLanguage.match("ru") && document.getElementsByClassName) {
    elemsRU = document.getElementsByClassName("b-text_lang_ru");
    elemsEN = document.getElementsByClassName("b-text_lang_en");
    var l = elemsEN.length;
    while(l--) {
      elemsEN[l].style.display = "none";
    }
    l = elemsRU.length;
    while(l--) {
      elemsRU[l].style.display = "block";
    }
    document.title = "Аккаунт отключен администратором сервера.";
  }
</script>

</body>
</html>