<!doctype html>
<html lang="en">

<head>
  <!-- Required meta tags -->
  <meta charset="utf-8">
  <meta name="viewport"
    content="width=device-width, initial-scale=1, shrink-to-fit=no, maximum-scale=1, user-scalable=0">
  <title>LiveTaskyell</title>
  <link rel="stylesheet" href="./css/notosansjp.css">
  <link rel="stylesheet" href="./fontawesome/css/all.css" >
  <link rel="stylesheet" href="./css/bootstrap.min.css">
  <link rel="stylesheet" href="./css/common.css">
  <link rel="stylesheet" href="./css/chat.css">
  <link rel="stylesheet" href="./css/footer.css">
  <link rel="stylesheet" href="./css/font-awesome.css">
</head>

<body>
  <!-- ナビメニュー -->
  <nav>
    <div class="row h-100 align-items-center">
      <div class="col-4 pr-0">
        <div class="nav-item">
          <div class="nav_prev" id="prevBtn">
            <a href="chat_make_room.html"><span>ルーム開設</span></a>
          </div>
        </div>
      </div>
      <div class="col-4 p-0">
        <div class="nav-item p-0">
          <h1 class="nav-ttl">チャット開始</h1>
        </div>
      </div>
      <div class="col-4 pl-0">
        <div class="nav-item text-right">
        </div>
      </div><!-- .col -->
    </div><!-- .row -->
  </nav><!-- nav -->

  <!-- コンテンツ -->
  <main id="chat_make_room_confirm">
    <!-- ルーム名入力 -->
    <div class="room_name">
      <label>
        <h2>ルーム名</h2>
      </label>
      <input type="text" class="input_name_room" name="room_name" id="newRoomName" placeholder="ルーム名を入力してください"
        maxlength="20">
    </div>

    <!-- 参加者一覧 -->
    <div class="chat_list">
      <h2>参加者</h2>
      <ul class="p-0 chat_make_room_list">
        <div id="selectedUserList"></div>
      </ul>
    </div>
    <!-- ルーム解説ボタン -->
    <div class="make_room_btn" id="makeRoomBtn">
      <button type="button" name="button">
        チャット開始</button>
    </div>
  </main>

  <!-- Library -->
  <script src="./js/libs/jquery-3.3.1.min.js"></script>
  <script src="./js/libs/moment.js"></script>
  <script src="./js/libs/locale/ko.js" charset="UTF-8"></script>
  <script src="./js/libs/locale/ja.js" charset="UTF-8"></script>
  <script src="./js/libs/mustache.min.js"></script>
  <script src="./js/libs/bootstrap.min.js"></script>
  <script src="./js/libs/jquery.mark.min.js"></script>
  <!-- Language -->
  <script src="./js/languages/language.js"></script>
  <script src="./js/languages/language_ko.js" charset="UTF-8"></script>
  <script src="./js/languages/language_ja.js" charset="UTF-8"></script>
  <script src="./js/languages/language_en.js" charset="UTF-8"></script>
  <!-- Common -->
  <script src="./js/common/constant.js"></script>
  <script src="./js/common/native-bridge-delegate.js"></script>
  <script src="./js/common/native-bridge-datasource.js"></script>
  <script src="./js/common/common.js"></script>
  <script src="./js/utils/chat-util.js"></script>
  <!-- Models -->
  <script src="./js/Models/deviceinfo.js"></script>
  <script src="./js/Models/serverinfo.js"></script>
  <script src="./js/Models/userinfo.js"></script>
  <!-- View -->
  <script src="./js/views/chats/management/chat-management-common.js"></script>

  <script>
    ChatManagementCommon.showMakeRoomConfirmView();

    $("#newRoomName").attr("placeholder", getLocalizedString("newRoomName"));
  </script>
</body>

</html>