<!DOCTYPE html>
<html lang='zh-TW'>

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <!-- link -->
  <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.1/dist/css/bootstrap.min.css" rel="stylesheet"
    integrity="sha384-+0n0xVW2eSR5OomGNYDnhzAbDsOXxcvSN1TPprVMTNDbiYZCxYbOOl7+AMvyTG2x" crossorigin="anonymous">
  <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.1.0/css/all.css"
    integrity="sha384-lKuwvrZot6UHsBSfcMvOkWwlCMgc0TaWr+30HWe3a4ltaBwTZhyTEggF5tJv8tbt" crossorigin="anonymous">
  <link rel="stylesheet" href="/static/index.css">
  <script src="https://code.jquery.com/jquery-3.6.0.min.js"
    integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4=" crossorigin="anonymous"></script>
  <script type="text/javascript" charset="utf-8" src="/static/echarts.js "></script>
  <script type="text/javascript" src="/static/time.js"></script>
  <!-- <script type="text/javascript" charset="utf-8" src="static/echarts-liquidfill.js"></script> -->
  <title set-lan="html:title">機械所水塔監控網站 - {% block title %}{% endblock %}</title>
</head>

<body>
  <nav class="navbar navbar-expand-lg navbar-light">
    <div class="container-fluid">
      <a class="navbar-brand" href="#"><img src="/static/img/PMS_LOGO.png" alt=""></a>
      <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav"
        aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
        <span class="navbar-toggler-icon"></span>
      </button>
      <div class="collapse navbar-collapse ms-auto" id="navbarNav">
        <ul class="navbar-nav ms-auto">
          <li class="nav-item">
            <a class="nav-link" href="">訊息通知</a>
          </li>
          <li class="nav-item">
            <a class="nav-link" href="/login">會員登入</a>
          </li>

        </ul>
      </div>
    </div>
  </nav>
  <div id='sitebody'>
    <div id="nav-side-bar" class="nav-side-bar">
      <ul>
        <li><a href="/home" class="side-bar-link active">總覽</a></li>
        <li><a href="/tower" class="side-bar-link">水塔監控</a></li>
        <li><a href="/optim" class="side-bar-link">智能最佳化</a></li>
        <li><a href="/vibration" class="side-bar-link">振動監控</a></li>
        <li><a href="/history" class="side-bar-link">歷史資料</a></li>
        <li><a href="/device" class="side-bar-link">設備設定</a></li>
        <li><a href="/system" class="side-bar-link">系統設定</a></li>
      </ul>
    </div>
    <!-- <script>
      $(".side-bar-link").click(function () {
        $(this).addClass("active");
        $(".active").siblings().removeClass('active');
      });
    </script> -->
    <div id='content'>
      {% block body %}

      {% endblock %}
    </div>






  </div>
  <script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.9.2/dist/umd/popper.min.js"
    integrity="sha384-IQsoLXl5PILFhosVNubq5LC7Qb9DXgDA9i+tQ8Zj3iwWAwPtgFTxbJ8NT4GN1R8p"
    crossorigin="anonymous"></script>
  <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.1/dist/js/bootstrap.min.js"
    integrity="sha384-Atwg2Pkwv9vp0ygtn1JAojH0nYbwNJLPhwyoVbhoPwBhjQPR5VtM2+xf0Uwh9KtT"
    crossorigin="anonymous"></script>
  <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
  <script src="https://cdnjs.cloudflare.com/ajax/libs/gauge.js/1.3.7/gauge.min.js"
    integrity="sha512-J0d1VfdfTSDoDPEsahCtf2nC+groXdWkuQFyJjS+s3CpKj63X9Hf3pMEJtjIJt/ODh0QwTRx2/OioL+9fMoqSA=="
    crossorigin="anonymous" referrerpolicy="no-referrer"></script>
  <script type="text/javascript" src="/static/index.js"></script>
</body>

</html>