chat_make_room_confirm.html 3.74 KB
Newer Older
藤川諒 committed
1 2
<!doctype html>
<html lang="en">
Kim Peace committed
3

藤川諒 committed
4 5 6
<head>
  <!-- Required meta tags -->
  <meta charset="utf-8">
Kim Peace committed
7 8
  <meta name="viewport"
    content="width=device-width, initial-scale=1, shrink-to-fit=no, maximum-scale=1, user-scalable=0">
藤川諒 committed
9
  <title>LiveTaskyell</title>
10
  <link rel="stylesheet" href="./css/notosansjp.css">
藤川諒 committed
11 12 13 14 15 16 17
  <link href="./fontawesome/css/all.css" rel="stylesheet">
  <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>
Kim Peace committed
18

藤川諒 committed
19 20 21 22 23 24
<body>
  <!-- ナビメニュー -->
  <nav>
    <div class="row h-100 align-items-center">
      <div class="col-4 pr-0">
        <div class="nav-item">
Kang Donghun committed
25 26
          <div class="nav_prev" id="prevBtn">
            <a href="chat_make_room.html"><span style="font-size: 13px;">ルーム開設</span></a>
藤川諒 committed
27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
          </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">
Kang Donghun committed
46
        <label><h2>ルーム名</h2></label>
Kang Donghun committed
47
        <input type="text" class="input_name_room" name="room_name" id="newRoomName" placeholder="ルーム名を入力してください" maxlength="20">
藤川諒 committed
48 49 50 51 52 53
      </div>

      <!-- 参加者一覧 -->
      <div class="chat_list">
        <h2>参加者</h2>
        <ul class="p-0 chat_make_room_list">
Kang Donghun committed
54
          <div id="selectedUserList"></div>
藤川諒 committed
55 56 57
        </ul>
      </div>
      <!-- ルーム解説ボタン -->
Kang Donghun committed
58
      <div class="make_room_btn" id="makeRoomBtn">
藤川諒 committed
59 60 61 62 63 64
        <button type="button" name="button">
          チャット開始</button>
      </div>
  </main>


Kim Peace committed
65 66
  <script src="./js/libs/jquery-3.3.1.min.js"></script>
  <script src="./js/libs/moment.js"></script>
Kang Donghun committed
67 68 69
  <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>
Kim Peace committed
70 71
  <script src="./js/libs/bootstrap.min.js"></script>
  <script src="./js/libs/jquery.mark.min.js"></script>
Kang Donghun committed
72 73 74 75 76 77 78
  <script src="./js/common.js"></script>
  <script src="./js/loading.js"></script>
  <script src="./js/language.js"></script>
  <script src="./js/language_ko.js" charset="UTF-8"></script>
  <script src="./js/language_ja.js" charset="UTF-8"></script>
  <script src="./js/language_en.js" charset="UTF-8"></script>
  <script src="./js/constant.js"></script>
Kim Peace committed
79
  <script src="./js/chat.js"></script>
Kang Donghun committed
80 81 82 83 84 85 86 87 88 89 90 91 92 93
  <script src="./js/chat-ui.js"></script>
  <script src="./js/chat-util.js"></script>
  <script src="./js/chat-db.js"></script>
  <script>
    String.prototype.replaceAll = function(org, dest) {
      return this.split(org).join(dest);
    }

    let CHAT_SERVER_URL = '';
    let CMS_SERVER_URL = '';
    let ASSET_PATH = './';
    let PLATFORM = '';
    let IS_MOBILE = true;
    let IS_ONLINE = false;
94 95 96 97 98 99 100 101
    
    if (typeof(android) != "undefined") {
      android.getLoginParameter();
      android.getGlobalParameter();
    } else {
      webkit.messageHandlers.loginInfoRequestMessageHandlerId.postMessage({});
      webkit.messageHandlers.getGlobalParameter.postMessage({});
    }
Kang Donghun committed
102 103 104 105 106 107 108 109 110 111

    function getGlobalParam(chatServerUrl, cmsServerUrl, platform, isMobile, isOnline) {
      CHAT_SERVER_URL = chatServerUrl;
      CMS_SERVER_URL = cmsServerUrl;
      PLATFORM = platform;
      IS_MOBILE = isMobile;
      IS_ONLINE = isOnline;
      CHAT_UI.showMakeRoomConfirmView();
    };
  </script>
藤川諒 committed
112
</body>
Kim Peace committed
113 114

</html>