collaboration_documents.html 5.92 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
  <meta name="viewport"
Kim Peace committed
8
    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
  <link href="./fontawesome/css/all.css" rel="stylesheet">
  <link rel="stylesheet" href="./css/bootstrap.min.css">
  <link rel="stylesheet" href="./css/common.css">
Lee Munkyeong committed
14
  <link rel="stylesheet" href="./css/contact.css">
藤川諒 committed
15 16
  <link rel="stylesheet" href="./css/collaboration.css">
  <link rel="stylesheet" href="./css/footer.css">
Lee Munkyeong committed
17
  <link rel="stylesheet" href="./css/loading.css">
藤川諒 committed
18
  <link rel="stylesheet" href="./css/font-awesome.css">
Lee Munkyeong committed
19
  <link rel="stylesheet" href="./css/share.css">
藤川諒 committed
20
</head>
Kim Peace committed
21

藤川諒 committed
22
<body>
Kim Peace committed
23 24 25 26 27 28 29 30 31 32 33
  <!-- ナビメニュー -->
  <header id="collabo_header">
    <div class="d-flex align-items-center h-100">
      <div class="collabo_nav_l text-left w-100">
      </div>
      <div class="collabo_nav_r">
        <div class="text-right d-flex align-items-center">
          <button type="button" name="button" class="btn add_user_btn"></button>
          <button type="button" name="button" class="btn menu_btn"></button>
          <button type="button" name="button" class="btn start_pip_btn" onclick="startPipMode();"></button>
        </div>
Lee Munkyeong committed
34
      </div>
藤川諒 committed
35
    </div>
Kim Peace committed
36
  </header><!-- header -->
藤川諒 committed
37

Kim Peace committed
38 39 40 41 42
  <!-- コンテンツ -->
  <main id="collabo_main" class="none">
    <div class="document_wrap">
      <div class="coview_share_body coview_share_area" id="coviewShare" style="z-index: 1;">
      </div>
藤川諒 committed
43
    </div>
Kim Peace committed
44
  </main>
Lee Munkyeong committed
45

Kim Peace committed
46 47 48 49 50 51
  <!-- オーバーレイ メニュー -->
  <div id="collaboration_voice_overlay_menu"></div>
  <!-- オーバーレイ ユーザーリスト -->
  <div id="overlay_user_list" class="overlay slidein" style="z-index: 3;">
    <div id="collaboration_overlay_user_list"></div>
  </div>
Lee Munkyeong committed
52

Kim Peace committed
53 54 55 56 57 58 59
  <!-- プロフィールモーダル -->
  <div id="userProfileModalInCollaboration"></div>
  <div id="modal_collabo_profile2"></div>
  <div id="add_user_list"></div>
  <div id="modal_add_user_confirm"></div>
  <!-- ホスト変更モーダル -->
  <div id="modal_collabo_change_host"></div>
Lee Munkyeong committed
60

Kim Peace committed
61 62
  <!-- ホストリクエストモーダル -->
  <div id="modal_collabo_host_request"></div>
Lee Munkyeong committed
63

Kim Peace committed
64 65 66 67 68 69
  <!-- フッター -->
  <div id="footer_collabo"></div>
  <div id="loadingArea"></div>
  <div class="pip_indicator none" onclick="finishPipMode();">
    <div style="vertical-align: middle;display: table-cell;">協業中
    </div>
Lee Munkyeong committed
70
  </div>
Kim Peace committed
71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98
  <script src="./js/libs/jquery-3.3.1.min.js"></script>
  <script src="./js/libs/socket.io.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>
  <script src="./js/constant.js"></script>
  <script src="./js/collaboration.js"></script>
  <script src="./js/common.js"></script>
  <script src="./js/loading.js"></script>
  <script src="./js/chat.js"></script>
  <script src="./js/chat-ui.js"></script>
  <script src="./js/chat-util.js"></script>
  <script src="./js/chat-db.js"></script>
  <script src="./js/chat-db-foriOS.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/chat-websocket.js"></script>
  <script src="./js/chat-websocket-message.js"></script>
  <script src="./js/chat-websocket-refresh-group-list.js"></script>
  <script src="./js/chat-websocket-refresh-user-list-in-group.js"></script>
  <script src="https://biztaskyell.abookcloud.com/coview_api.js"></script>
  <script src="./js/share.js"></script>
  <script>
Lee Munkyeong committed
99 100 101 102
    $("#footer_collabo").load("./footer_collabo.html");
    $("#modal_collabo_host_request").load("./modal_collabo_host_request.html");
    $("#modal_collabo_change_host").load("./modal_collabo_change_host.html");
    $("#modal_collabo_capture").load("./modal_collabo_capture.html");
Lee Munkyeong committed
103 104 105 106
    $("#modal_collabo_profile2").load("./modal_collabo_profile2.html");
    $("#loadingArea").load("./loading.html");
    $("#collaboration_voice_overlay_menu").load("./collaboration_voice_overlay_menu.html");
    $("#add_user_list").load("./modal_add_user_list.html");
Lee Munkyeong committed
107 108 109 110 111 112 113 114 115

    let CHAT_SERVER_URL = '';
    let CMS_SERVER_URL = '';
    let ASSET_PATH = './';
    let PLATFORM = '';
    let IS_MOBILE = true;
    let IS_ONLINE = false;
    let collaborationJoinFlg = 0;

Kim Peace committed
116
    if (typeof (android) != "undefined") {
Lee Munkyeong committed
117 118 119
      android.getLoginParameter();
      android.getGlobalParameter();
    } else {
Takatoshi Miura committed
120 121
      webkit.messageHandlers.loginInfoRequestMessageHandlerId.postMessage({});
      webkit.messageHandlers.getGlobalParameter.postMessage({});
Lee Munkyeong committed
122 123
    }

Lee Munkyeong committed
124
    function startPipMode() {
Kim Peace committed
125
      if (typeof (android) != "undefined") {
Lee Munkyeong committed
126
        android.startPipMode();
127 128
      } else if (CHAT_UTIL.isIOS()) {
        webkit.messageHandlers.startPipMode.postMessage({});
Lee Munkyeong committed
129 130 131
      }
    }

132 133 134 135 136 137
    function finishPipMode() {
      if (CHAT_UTIL.isIOS()) {
        webkit.messageHandlers.finishPipMode.postMessage({});
      }
    }

Lee Munkyeong committed
138 139 140 141 142 143 144
    async function getGlobalParam(chatServerUrl, cmsServerUrl, platform, isMobile, isOnline) {
      CHAT_SERVER_URL = chatServerUrl;
      CMS_SERVER_URL = cmsServerUrl;
      PLATFORM = platform;
      IS_MOBILE = isMobile;
      IS_ONLINE = isOnline;
      if (CHAT_UTIL.isIOS()) {
Takatoshi Miura committed
145
        collaborationJoinFlg = CHAT_DB.getCollaborationJoinFlg();
Lee Munkyeong committed
146 147 148
      } else if (CHAT_UTIL.isAndroid()) {
        collaborationJoinFlg = android.getCollaborationJoinFlg();
      }
Kim Peace committed
149
      globalUserInfo.coWorkType = CollaborationTypeKey.DOCUMENT;
Lee Munkyeong committed
150
      CHAT_SOCKET.connectSocket();
Kim Peace committed
151
      socket.emit('join', CHAT.globalLoginParameter, function () {
Lee Munkyeong committed
152
      });
Lee Munkyeong committed
153

Lee Munkyeong committed
154
    };
Lee Munkyeong committed
155
  </script>
藤川諒 committed
156
</body>
Kim Peace committed
157

Lee Munkyeong committed
158

Kim Peace committed
159
</html>