<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>레이어 관리</title>
    <link rel="stylesheet" href="../static/css/layer.css" />
  </head>
  <body>
    <div id="alert">
      <div id="alertBox">
        <div id="loader"></div>
        <span id="alert_msg"></span>
      </div>
    </div>
    <div class="container">
      <main>
        <div class="leftContainer">
          <div class="leftbuttonBox">
            <button id="normalButton">일반 쌓기</button>
            <button id="oneLineButton">한줄 쌓기</button>
            <div class="inputContainer">
              <div id="palletHeightTitle" style="display: none">
                납작 팔레트 높이
              </div>
              <input
                type="number"
                id="palletHeight"
                placeholder="mm"
                style="display: none"
              />

              <div id="palletHeightTitle" style="display: none">
                팔레트 높이
              </div>
              <input
                type="number"
                id="palletHeight"
                placeholder="mm"
                style="display: none"
              />
            </div>
          </div>
        </div>

        <div class="middleContainer">
          <div class="middleBoxContainer">
            <div class="buttonBox">
              <div class="buttonWithImage">
                <img
                  src="../static/img/wooden_wheel_pallet.png"
                  alt="나무 바퀴 팔레트"
                />
                <button id="woodenWheelPallet">나무 바퀴</button>
              </div>
              <div class="buttonWithImage">
                <img
                  src="../static/img/iron_wheel_pallet.png"
                  alt="철제 바퀴 팔레트"
                />
                <button id="ironWheelPallet">철제 바퀴</button>
              </div>
              <div class="buttonWithImage">
                <img
                  src="../static/img/wooden_flat_pallet.png"
                  alt="나무 납작 팔레트"
                />
                <button id="woodenFlatPallet">나무 납작</button>
              </div>
            </div>
          </div>
        </div>

        <div class="rightContainer">
          <button id="exitAppButton">앱 종료</button>
          <button id="resetButton">데이터 초기화</button>
          <div></div>
          <button id="sendPaletteInfo">데이터 저장</button>
          <button id="startRobotButton" disabled>로봇 동작 시작</button>
        </div>
      </main>
    </div>

    <script src="../static/js/layer.js"></script>
  </body>
</html>
