<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8" />
  <meta name="viewport" content="width=device-width, initial-scale=1" />
  <title>Dataplicity IoT Router Status</title>
  <link rel="stylesheet" href="/_router/assets/router.css" />
</head>
<body class="wormhole-body">
  <div class="wormhole-stage">
    <header class="wormhole-brand">
      <div class="wormhole-brand__logo">
        <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 375.75587 88.069375"><defs><clipPath id="a"><path d="M517.67 410.415h14.98v-26.048h-14.98v26.048z"/></clipPath></defs><path d="M75.836 50.15c0 20.942-16.976 37.92-37.92 37.92C16.977 88.07 0 71.09 0 50.15c0-20.94 16.976-37.918 37.917-37.918 20.943 0 37.92 16.977 37.92 37.92" fill="#f4b321"/><path d="M71.696 37.246c-4.044-1.936-7.082-3.955-9.325-4.637-.068-.106-.133-.214-.203-.318.2-1.273.31-2.577.31-3.907 0-8.716-4.503-16.375-11.304-20.795C60.538 4.75 61.93 1.975 61.93 1.975s-4.142 1.44-12.05 2.29C55.243 1.688 54.742 0 54.742 0c-3.32 2.035-13.837 3.237-17.532 3.606-13.47.254-24.316 11.246-24.316 24.78 0 1.528.145 3.02.41 4.474-2.882 4.524-4.558 9.89-4.558 15.65 0 16.112 13.06 29.174 29.172 29.174 16.11 0 29.173-13.062 29.173-29.173 0-.293-.008-.585-.017-.878.28.148.565.293.855.433 7.25 3.47 14.746 2.9 16.748-1.278 2-4.177-5.732-6.068-12.98-9.54"/><path d="M61.907 65.105c.752-2.37 1.16-4.893 1.16-7.512 0-7.943-3.74-15.008-9.55-19.545 2.23-2.25 3.664-5.762 3.664-9.71 0-6.795-4.242-12.302-9.476-12.302-2.51 0-4.785 1.275-6.48 3.34-1.84-5.043-5.785-8.54-10.37-8.54-6.34 0-11.48 6.67-11.48 14.9 0 4.772 1.73 9.017 4.418 11.745-1.443 1.04-2.76 2.238-3.95 3.558.846 2.313 1.61 5.49 2.88 9.1 2.95 8.37 7.51 15.883 2.687 17.583-3.78 1.332-8.463-1.698-11.733-7.095.272 2.22.837 4.348 1.656 6.348 5.35 6.537 13.48 10.71 22.585 10.71 9.945 0 18.723-4.98 23.99-12.578" fill="#fff"/><path d="M30.19 20.73c-.492 0-.962.09-1.4.25.5.32.834.88.834 1.517 0 1-.81 1.81-1.81 1.81-.638 0-1.196-.333-1.52-.833-.155.437-.245.906-.245 1.397 0 2.287 1.853 4.14 4.14 4.14 2.285 0 4.14-1.853 4.14-4.14 0-2.285-1.855-4.14-4.14-4.14M46.64 21.23c-.49 0-.96.09-1.4.246.5.32.835.88.835 1.52 0 1-.81 1.81-1.81 1.81-.638 0-1.196-.335-1.52-.835-.155.44-.245.907-.245 1.4 0 2.285 1.854 4.14 4.14 4.14 2.286 0 4.14-1.855 4.14-4.14 0-2.288-1.854-4.14-4.14-4.14"/><path d="M48.05 32.823s-5.968-3.41-9.32-3.41c-3.35 0-9.32 3.41-9.32 3.41s4.895 6.365 9.32 6.365c4.425 0 9.32-6.365 9.32-6.365" fill="#f4b321"/><path d="M38.73 36.593c-3.14 0-6.403-1.688-9.26-3.802l-.058.033s4.893 6.365 9.318 6.365 9.32-6.365 9.32-6.365l-.058-.032c-2.858 2.115-6.122 3.803-9.262 3.803" fill="#ad7f23"/><g clip-path="url(#a)" opacity=".15" transform="matrix(1.25 0 0 -1.25 -602.44 550.55)"><path d="M525.23 410.415c-1.99-2.24-4.6-3.917-7.56-4.767 6.248-4.87 10.282-12.45 10.313-20.986 0-.1-.005-.196-.006-.295 1.294 1.146 2.463 2.43 3.475 3.835.783 2.14 1.207 4.45 1.2 6.862-.024 6.217-2.922 11.744-7.423 15.35" fill="#231f20"/></g><path d="M116.597 39.182c-1.52-.705-2.93-.976-4.285-.976-4.014 0-5.64 2.223-5.64 8.678 0 5.317.758 8.572 4.826 8.572 2.495 0 3.905-1.248 5.1-3.418V39.182zm2.495 22.62c-.542-1.356-1.03-2.82-1.355-4.23-1.574 2.656-4.124 4.284-8.246 4.284-7.05 0-10.793-3.96-10.793-14.972 0-12.15 6.238-14.97 12.204-14.97 2.226 0 4.45.27 6.023 1.735-.326-1.574-.326-3.42-.326-5.426v-4.99l7.92-.977v27.99c0 3.31.054 6.78.76 10.036l-6.185 1.52zM147.465 48.837c-6.835.38-9.276 1.574-9.276 3.906 0 2.115 1.03 2.984 4.122 2.984 2.713 0 4.068-1.465 5.153-3.798v-3.093zm2.495 12.965c-.543-1.356-1.03-2.82-1.356-4.23-1.573 2.656-4.014 4.284-8.3 4.284-7.214 0-10.035-3.472-10.035-8.842 0-5.587 3.364-8.57 17.195-9.385-.216-4.123-2.28-5.154-5.424-5.154-2.71 0-5.424.706-7.92 1.953l-2.386-5.806c3.417-1.952 7.268-2.71 11.555-2.71 7.537 0 12.095 4.447 12.095 11.282v7.05c0 3.31.055 6.782.76 10.037l-6.185 1.52zM169.925 62.398c-5.315-2.983-6.075-8.896-6.075-14.32V38.42h-4.177v-5.86h4.177v-8.135l7.92-.976v9.113h5.912l-.705 5.86h-5.207v9.818c0 4.34.813 7.54 3.47 10.47l-5.315 3.688zM197.7 48.837c-6.833.38-9.274 1.574-9.274 3.906 0 2.115 1.03 2.984 4.122 2.984 2.713 0 4.07-1.465 5.153-3.798v-3.093zm2.496 12.965c-.543-1.356-1.03-2.82-1.355-4.23-1.573 2.656-4.013 4.284-8.3 4.284-7.214 0-10.034-3.472-10.034-8.842 0-5.587 3.363-8.57 17.195-9.385-.216-4.123-2.277-5.154-5.423-5.154-2.713 0-5.425.706-7.92 1.953l-2.386-5.806c3.417-1.952 7.268-2.71 11.554-2.71 7.54 0 12.097 4.447 12.097 11.282v7.05c0 3.31.056 6.782.76 10.037l-6.184 1.52zM224.013 55.564c4.014 0 5.64-2.224 5.64-8.68 0-5.315-.76-8.57-4.826-8.57-2.497 0-3.907 1.247-5.1 3.417v12.857c1.518.705 2.93.977 4.286.977M211.807 69.56V43.52c0-3.308-.054-6.78-.76-10.034l6.185-1.52c.542 1.358 1.03 2.82 1.356 4.233 1.574-2.66 4.122-4.286 8.246-4.286 7.05 0 10.794 3.958 10.794 14.97 0 12.15-6.24 14.972-12.205 14.972-2.224 0-4.45-.27-6.02-1.736.324 1.574.324 3.417.324 5.425v4.014h-7.92zM244.628 61.205c-1.03-2.657-1.192-6.13-1.192-9.817V23.18l7.92-.922v29.67c0 2.93.053 6.727.703 9.277h-7.432zM259.6 61.205c-1.03-2.657-1.193-6.13-1.193-9.817V33.486l7.92-.922V51.93c0 2.93.054 6.725.704 9.275h-7.43zm-1.9-35.91c0-2.82 1.737-4.014 4.667-4.014 2.93 0 4.664 1.194 4.664 4.015 0 2.875-1.734 4.014-4.663 4.014-2.93 0-4.666-1.14-4.666-4.015M285.694 61.856c-9.71 0-13.563-4.773-13.563-14.97 0-10.2 3.854-14.973 13.564-14.973 3.146 0 5.966.488 8.408 1.953l-2.55 5.804c-1.736-.868-3.743-1.302-5.858-1.302-4.774 0-5.59 3.147-5.59 8.517 0 5.37.816 8.516 5.59 8.516 2.115 0 4.122-.433 5.858-1.302l2.55 5.805c-2.442 1.465-5.262 1.953-8.408 1.953M299.69 61.205c-1.03-2.657-1.192-6.13-1.192-9.817V33.486l7.92-.922V51.93c0 2.93.054 6.725.704 9.275h-7.432zm-1.898-35.91c0-2.82 1.736-4.014 4.666-4.014 2.93 0 4.664 1.194 4.664 4.015 0 2.875-1.735 4.014-4.664 4.014-2.93 0-4.666-1.14-4.666-4.015M321.444 62.398c-5.316-2.983-6.075-8.896-6.075-14.32V38.42h-4.178v-5.86h4.177v-8.135l7.92-.976v9.113h5.912l-.705 5.86h-5.208v9.818c0 4.34.812 7.54 3.47 10.47l-5.316 3.688zM333.814 65.382c2.876-1.085 4.936-2.55 6.02-4.88l-9.275-27.18 8.57-1.193 5.64 22.457 5.75-22.458 7.813.76-8.084 24.3c-1.952 5.914-5.64 11.067-13.235 13.346l-3.2-5.154z" fill="#fff"/><g><path d="M370.24 37.2c.706 0 1.24-.283 1.24-1.163 0-.928-.643-1.195-1.43-1.195-.282 0-.613.03-.894.11V37.2h1.084zm1.46 3.504l-1.287-2.388h-1.257v2.2h-1.416v-6.65c.707-.172 1.526-.282 2.232-.282 1.603 0 2.955.567 2.955 2.453 0 1.067-.487 1.696-1.21 2.01l1.35 2.154-1.366.504zm2.783-3.536c0-3.127-1.415-4.51-4.32-4.51-2.895 0-4.308 1.383-4.308 4.51 0 3.128 1.413 4.51 4.307 4.51 2.906 0 4.32-1.382 4.32-4.51m-9.9 0c0-3.694 1.933-5.69 5.58-5.69 3.66 0 5.594 1.996 5.594 5.69 0 3.694-1.934 5.69-5.594 5.69-3.632 0-5.58-1.996-5.58-5.69" fill="#fff"/></g></svg>
      </div>
    </header>
  <main class="wormhole-card" role="main" aria-live="polite">
    <div class="router-locale" role="group" aria-label="Language">
      <label class="router-locale__label" for="router-locale-select">Language</label>
      <select
        id="router-locale-select"
        class="router-locale__select"
        onchange="routerSetLocale(this.value)"
      >
        <option value="en" selected>English</option>
        <option value="de">Deutsch</option>
        <option value="es">Español</option>
        <option value="pl">Polski</option>
        <option value="pt">Português (Portugal)</option>
        <option value="zh">中文</option>
      </select>
    </div>
      <div class="wormhole-card__body">
        <div class="status-row">
          <span class="status-pill status-pill--success">Online</span>
          <span class="status-pill status-pill--success">Peers online</span>
        
        </div>
        <h1>Router uptime</h1>
        <p>This router cluster has been running for:</p>
        <div class="metric-card">
          <span>Uptime</span>
          <strong>1 day, 13 hours, 46 minutes</strong>
        </div>
      </div>
    </main>
    <p class="wormhole-support">
      Need help? <a href="https://www.dataplicity.com/support" target="_blank" rel="noopener noreferrer">
      Contact Dataplicity Support</a>
    </p>
  </div>
  <script>
    function routerSetLocale(code) {
      var expires = new Date(Date.now() + 365 * 24 * 60 * 60 * 1000).toUTCString();
      document.cookie =
        "dataplicity_locale=" +
        encodeURIComponent(code) +
        "; expires=" +
        expires +
        "; path=/; SameSite=Lax";
      window.location.reload();
    }
  </script>
</body>
</html>
