collaboration_documents.html 5.54 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"
Lee Munkyeong 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>
Lee Munkyeong committed
23 24 25 26
<!-- ナビメニュー -->
<header id="collabo_header">
  <div class="d-flex align-items-center h-100">
    <div class="collabo_nav_l text-left w-100">
藤川諒 committed
27
    </div>
Lee Munkyeong committed
28 29 30
    <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>
31
        <button type="button" name="button" class="btn menu_btn"></button>
Lee Munkyeong committed
32
        <button type="button" name="button" class="btn start_pip_btn" onclick="startPipMode();"></button>
Lee Munkyeong committed
33
      </div>
藤川諒 committed
34 35
    </div>
  </div>
Lee Munkyeong committed
36
</header><!-- header -->
藤川諒 committed
37

Lee Munkyeong committed
38 39 40 41
<!-- コンテンツ -->
<main id="collabo_main" class="none">
  <div class="document_wrap">
    <div class="coview_share_body coview_share_area" id="coviewShare" style="z-index: 1;">
藤川諒 committed
42
    </div>
Lee Munkyeong committed
43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66
  </div>
</main>

<!-- オーバーレイ メニュー -->
<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>

<!-- プロフィールモーダル -->
<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>

<!-- ホストリクエストモーダル -->
<div id="modal_collabo_host_request"></div>

<!-- フッター -->
<div id="footer_collabo"></div>
<div id="loadingArea"></div>
67
<div class="pip_indicator none" onclick="finishPipMode();">
Lee Munkyeong committed
68 69 70
  <div style="vertical-align: middle;display: table-cell;">協業中
  </div>
</div>
Lee Munkyeong committed
71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91
<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/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>
Lee Munkyeong committed
92
<script src="https://biztaskyell.abookcloud.com/coview_api.js"></script>
Lee Munkyeong committed
93 94
<script src="./js/share.js"></script>
<script>
Lee Munkyeong committed
95 96 97 98
    $("#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
99 100 101 102
    $("#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
103 104 105 106 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;

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

Lee Munkyeong committed
120 121 122
    function startPipMode() {
      if (typeof(android) != "undefined") {
        android.startPipMode();
123 124
      } else if (CHAT_UTIL.isIOS()) {
        webkit.messageHandlers.startPipMode.postMessage({});
Lee Munkyeong committed
125 126 127
      }
    }

128 129 130 131 132 133
    function finishPipMode() {
      if (CHAT_UTIL.isIOS()) {
        webkit.messageHandlers.finishPipMode.postMessage({});
      }
    }

Lee Munkyeong committed
134 135 136 137 138 139 140
    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
141
        collaborationJoinFlg = CHAT_DB.getCollaborationJoinFlg();
Lee Munkyeong committed
142 143 144
      } else if (CHAT_UTIL.isAndroid()) {
        collaborationJoinFlg = android.getCollaborationJoinFlg();
      }
Lee Munkyeong committed
145
      globalUserInfo.coWorkType = collaborationTypeKey.DOCUMENT;
Lee Munkyeong committed
146 147 148
      CHAT_SOCKET.connectSocket();
      socket.emit('join', CHAT.globalLoginParameter, function() {
      });
Lee Munkyeong committed
149

Lee Munkyeong committed
150
    };
Lee Munkyeong committed
151
  </script>
藤川諒 committed
152
</body>
Kim Peace committed
153

Lee Munkyeong committed
154

Kim Peace committed
155
</html>