Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
chat_webview
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abookCommunication
chat_webview
Commits
29d6b7b0
Commit
29d6b7b0
authored
Sep 07, 2021
by
Kim Peace
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed to display picutre select dialog
parent
18ae1836
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
61 additions
and
785 deletions
+61
-785
public_new/collaboration_documents.html
+0
-125
public_new/collaboration_picture.html
+0
-182
public_new/collaboration_video.html
+0
-174
public_new/collaboration_voice.html
+0
-126
public_new/collaboration_whiteboard.html
+0
-174
public_new/js/common/native-bridge-delegate.js
+6
-0
public_new/js/views/collaboration/fermi-web-socket-message-handler.js
+3
-1
public_new/js/views/collaboration/share-event-listener.js
+52
-3
No files found.
public_new/collaboration_documents.html
deleted
100644 → 0
View file @
18ae1836
<!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/contact.css"
>
<link
rel=
"stylesheet"
href=
"./css/collaboration.css"
>
<link
rel=
"stylesheet"
href=
"./css/footer.css"
>
<link
rel=
"stylesheet"
href=
"./css/loading.css"
>
<link
rel=
"stylesheet"
href=
"./css/font-awesome.css"
>
<link
rel=
"stylesheet"
href=
"./css/share.css"
>
</head>
<body>
<!-- ナビメニュー -->
<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=
"NativeBridgeDelegate.startPIPMode();"
></button>
</div>
</div>
</div>
</header>
<!-- header -->
<!-- コンテンツ -->
<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>
</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
class=
"pip_indicator none"
onclick=
"NativeBridgeDelegate.finishPIPMode();"
>
<div
style=
"vertical-align: middle;display: table-cell;"
>
協業中
</div>
</div>
<!-- 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>
<script
src=
"./js/libs/socket.io.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>
<script
src=
"./js/Models/socket-joininfo.js"
></script>
<!-- Socket -->
<script
src=
"./js/sockets/chat-websocket.js"
></script>
<script
src=
"./js/sockets/chat-websocket-message.js"
></script>
<!-- View -->
<script
src=
"./js/views/chats/management/chat-management-common.js"
></script>
<script
src=
"./js/views/collaboration/collaboration.js"
></script>
<script
src=
"./js/views/collaboration/collaboration-add-user.js"
></script>
<script
src=
"./js/views/contact/namecard.js"
></script>
<script>
$
(
"#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"
);
$
(
"#modal_collabo_profile2"
).
load
(
"./modal_collabo_profile2.html"
);
$
(
"#collaboration_voice_overlay_menu"
).
load
(
"./collaboration_voice_overlay_menu.html"
);
$
(
"#add_user_list"
).
load
(
"./modal_add_user_list.html"
);
globalUserInfo
.
collaborationType
=
COLLABORATION_TYPE
.
DOCUMENT
;
CHAT_SOCKET
.
initialJoin
();
function
finishPipMode
()
{
NativeBridgeDelegate
.
finishPIPMode
();
}
</script>
</body>
</html>
\ No newline at end of file
public_new/collaboration_picture.html
deleted
100644 → 0
View file @
18ae1836
<!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/collaboration.css"
>
<link
rel=
"stylesheet"
href=
"./css/footer.css"
>
<link
rel=
"stylesheet"
href=
"./css/font-awesome.css"
>
<link
rel=
"stylesheet"
href=
"./css/share.css"
>
</head>
<body>
<!-- ナビメニュー -->
<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 user_btn"
></button>
<button
type=
"button"
name=
"button"
class=
"btn menu_btn"
></button>
<button
type=
"button"
name=
"button"
class=
"btn add_user_btn none"
></button>
</div>
</div>
</div>
</header>
<!-- header -->
<!-- 拡大縮小機能 -->
<div
id=
"zoom"
></div>
<!-- コンテンツ -->
<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>
</div>
</main>
<!-- ユーザー追加オーバーレイ -->
<div
id=
"add_user_list"
></div>
<div
id=
"modal_add_user_confirm"
></div>
<!-- オーバーレイ メニュー -->
<div
id=
"collaboration_picture_overlay_menu"
></div>
<!-- オーバーレイ ユーザーリスト -->
<div
id=
"overlay_user_list"
class=
"overlay noscroll"
>
<div
id=
"collaboration_overlay_user_list"
></div>
</div>
<!-- キャプチャ モーダル -->
<div
id=
"modal_collabo_capture"
></div>
<!-- プロフィールモーダル -->
<div
id=
"userProfileModalInCollaboration"
></div>
<div
id=
"modal_collabo_profile2"
></div>
<!-- ホスト変更モーダル -->
<div
id=
"modal_collabo_change_host"
></div>
<!-- ホストリクエストモーダル -->
<div
id=
"modal_collabo_host_request"
></div>
<!-- フッター -->
<footer
id=
"collabo_footer_menu"
class=
"active"
>
<button
type=
"button"
name=
"button"
class=
"footer_menu_btn"
></button>
<div
class=
"footer_menu-wrap d-flex justify-content-around h-100"
>
<div
class=
"d-flex align-items-center h-100"
>
<div
class=
"footer_menu_item photo_select_button host_contents"
>
<a
href=
"#"
>
<div
class=
"img_wrap bg_blue"
id=
"photo_open_place_holder"
>
<img
src=
"icon/icon_collabo_picture.svg"
alt=
"写真"
>
</div>
</a>
</div>
<div
class=
"footer_menu_item"
>
<a
href=
"#"
>
<div
class=
"img_wrap bg_red"
id=
"penBtn"
>
<img
src=
"icon/icon_collabo_pen_white.svg"
alt=
"ペン"
>
</div>
</a>
</div>
<div
class=
"footer_menu_item none"
>
<a
href=
"#"
>
<div
class=
"img_wrap bg_blue"
>
<img
src=
"icon/icon_collabo_place_white.svg"
alt=
"場所"
>
</div>
</a>
</div>
<div
class=
"footer_menu_item"
>
<a
href=
"#"
>
<div
class=
"img_wrap bg_blue"
id=
"eraserBtn"
>
<img
src=
"icon/icon_collabo_delete_white.svg"
alt=
"削除"
>
</div>
</a>
</div>
</div>
<div
class=
"d-flex align-items-center h-100 none"
>
<div
class=
"footer_menu_item"
>
<a
href=
"#"
>
<div
class=
"img_wrap bg_gray"
>
<img
src=
"icon/icon_collabo_rewind_white.svg"
alt=
"戻る"
>
</div>
</a>
</div>
<div
class=
"footer_menu_item"
>
<a
href=
"#"
>
<div
class=
"img_wrap bg_gray"
>
<img
src=
"icon/icon_collabo_forward_white.svg"
alt=
"進む"
>
</div>
</a>
</div>
</div>
</div>
</footer>
<!-- フッター -->
<div
id=
"footer_collabo"
></div>
<!-- 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>
<script
src=
"./js/libs/socket.io.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>
<script
src=
"./js/Models/roominfo.js"
></script>
<script
src=
"./js/Models/socket-joininfo.js"
></script>
<!-- Socket -->
<script
src=
"./js/sockets/chat-websocket.js"
></script>
<script
src=
"./js/sockets/chat-websocket-message.js"
></script>
<!-- View -->
<script
src=
"./js/views/chats/management/chat-management-common.js"
></script>
<script
src=
"./js/views/collaboration/collaboration.js"
></script>
<script
src=
"./js/views/collaboration/collaboration-add-user.js"
></script>
<script
src=
"https://biztaskyell.abookcloud.com/coview_api.js"
></script>
<script
src=
"./js/views/collaboration/share.js"
></script>
<script
src=
"./js/views/collaboration/fermi-web-socket-message-handler.js"
></script>
<script
src=
"./js/views/collaboration/fermi-web-socket-bridge.js"
></script>
<script
src=
"./js/views/collaboration/share-bind-button-action.js"
></script>
<script
src=
"./js/views/collaboration/share-event-listener.js"
></script>
<script
src=
"./js/views/contact/namecard.js"
></script>
<script>
$
(
"#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"
);
$
(
"#modal_collabo_profile2"
).
load
(
"./modal_collabo_profile2.html"
);
$
(
"#collaboration_picture_overlay_menu"
).
load
(
"./collaboration_picture_overlay_menu.html"
);
$
(
"#add_user_list"
).
load
(
"./modal_add_user_list.html"
);
$
(
"#zoom"
).
load
(
"./zoom.html"
);
globalUserInfo
.
collaborationType
=
COLLABORATION_TYPE
.
CAMERA
;
if
(
globalUserInfo
.
joinType
!=
COLLABORATION_JOIN_TYPE
.
INVITED
)
{
CHAT_SOCKET
.
initialJoin
();
}
</script>
</body>
</html>
\ No newline at end of file
public_new/collaboration_video.html
deleted
100644 → 0
View file @
18ae1836
<!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/collaboration.css"
>
<link
rel=
"stylesheet"
href=
"./css/footer.css"
>
<link
rel=
"stylesheet"
href=
"./css/font-awesome.css"
>
<link
rel=
"stylesheet"
href=
"./css/share.css"
>
</head>
<body>
<!-- ナビメニュー -->
<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 user_btn"
></button>
<button
type=
"button"
name=
"button"
class=
"btn add_user_btn none"
></button>
<div
class=
"menu-icon menu_btn"
onclick=
"this.classList.toggle('hover');"
>
<div
class=
"menu-bar menu-bar1"
></div>
<div
class=
"menu-bar menu-bar2"
></div>
<div
class=
"menu-bar menu-bar3"
></div>
</div>
</div>
</div>
</div>
</header>
<!-- header -->
<!-- 拡大縮小機能 -->
<div
id=
"zoom"
></div>
<!-- コンテンツ -->
<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>
</div>
</main>
<!-- ユーザー追加オーバーレイ -->
<div
id=
"add_user_list"
></div>
<div
id=
"modal_add_user_confirm"
></div>
<!-- オーバーレイ メニュー -->
<div
id=
"collaboration_video_overlay_menu"
></div>
<!-- オーバーレイ ユーザーリスト -->
<div
id=
"overlay_user_list"
class=
"overlay noscroll"
>
<div
id=
"collaboration_overlay_user_list"
></div>
</div>
<!-- キャプチャ モーダル -->
<div
id=
"modal_collabo_capture"
></div>
<!-- プロフィールモーダル -->
<div
id=
"userProfileModalInCollaboration"
></div>
<div
id=
"modal_collabo_profile2"
></div>
<!-- ホスト変更モーダル -->
<div
id=
"modal_collabo_change_host"
></div>
<!-- ホストリクエストモーダル -->
<div
id=
"modal_collabo_host_request"
></div>
<!-- フッター -->
<footer
id=
"collabo_footer_menu"
class=
"active"
>
<div
class=
"footer_menu-wrap d-flex justify-content-around h-100"
>
<div
class=
"d-flex align-items-center h-100"
>
<div
class=
"footer_menu_item"
>
<a
href=
"#"
>
<div
class=
"img_wrap bg_red"
id=
"penBtn"
>
<img
src=
"icon/icon_collabo_pen_white.svg"
alt=
"ペン"
>
</div>
</a>
</div>
<div
class=
"footer_menu_item none"
>
<a
href=
"#"
>
<div
class=
"img_wrap bg_blue"
>
<img
src=
"icon/icon_collabo_place_white.svg"
alt=
"場所"
>
</div>
</a>
</div>
<div
class=
"footer_menu_item"
>
<a
href=
"#"
>
<div
class=
"img_wrap bg_blue"
id=
"eraserBtn"
>
<img
src=
"icon/icon_collabo_delete_white.svg"
alt=
"削除"
>
</div>
</a>
</div>
</div>
<div
class=
"d-flex align-items-center h-100"
>
<div
class=
"footer_menu_item"
>
<!-- <a href="#" data-toggle="modal" data-target="#captyaModal">-->
<a
href=
"#"
>
<div
class=
"img_wrap wide bg_blue"
id=
"captureBtn"
>
<img
src=
"icon/icon_collabo_capture.svg"
alt=
"キャプチャ"
>
<span>
キャプチャ
</span>
</div>
</a>
</div>
</div>
</div>
</footer>
<!-- フッター -->
<div
id=
"footer_collabo"
></div>
<!-- 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>
<script
src=
"./js/libs/socket.io.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>
<script
src=
"./js/Models/roominfo.js"
></script>
<script
src=
"./js/Models/socket-joininfo.js"
></script>
<!-- Socket -->
<script
src=
"./js/sockets/chat-websocket.js"
></script>
<script
src=
"./js/sockets/chat-websocket-message.js"
></script>
<!-- View -->
<script
src=
"./js/views/chats/management/chat-management-common.js"
></script>
<script
src=
"./js/views/collaboration/collaboration.js"
></script>
<script
src=
"./js/views/collaboration/collaboration-add-user.js"
></script>
<script
src=
"https://biztaskyell.abookcloud.com/coview_api.js"
></script>
<script
src=
"./js/views/collaboration/share.js"
></script>
<script
src=
"./js/views/collaboration/fermi-web-socket-message-handler.js"
></script>
<script
src=
"./js/views/collaboration/fermi-web-socket-bridge.js"
></script>
<script
src=
"./js/views/collaboration/share-bind-button-action.js"
></script>
<script
src=
"./js/views/collaboration/share-event-listener.js"
></script>
<script
src=
"./js/views/contact/namecard.js"
></script>
</body>
<script>
$
(
"#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"
);
$
(
"#modal_collabo_profile2"
).
load
(
"./modal_collabo_profile2.html"
);
$
(
"#collaboration_video_overlay_menu"
).
load
(
"./collaboration_video_overlay_menu.html"
);
$
(
"#add_user_list"
).
load
(
"./modal_add_user_list.html"
);
$
(
"#zoom"
).
load
(
"./zoom.html"
);
globalUserInfo
.
collaborationType
=
COLLABORATION_TYPE
.
VIDEO
;
if
(
globalUserInfo
.
joinType
!=
COLLABORATION_JOIN_TYPE
.
INVITED
)
{
CHAT_SOCKET
.
initialJoin
();
}
</script>
</html>
\ No newline at end of file
public_new/collaboration_voice.html
deleted
100644 → 0
View file @
18ae1836
<!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/contact.css"
>
<link
rel=
"stylesheet"
href=
"./css/collaboration.css"
>
<link
rel=
"stylesheet"
href=
"./css/footer.css"
>
<link
rel=
"stylesheet"
href=
"./css/loading.css"
>
<link
rel=
"stylesheet"
href=
"./css/font-awesome.css"
>
<link
rel=
"stylesheet"
href=
"./css/share.css"
>
</head>
<body>
<!-- ナビメニュー -->
<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 none"
></button>
<button
type=
"button"
name=
"button"
class=
"btn menu_btn"
></button>
<!--<button type="button" name="button" class="btn menu_btn"></button>-->
</div>
</div>
</div>
</header>
<!-- header -->
<!-- コンテンツ -->
<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>
</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>
<!-- 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>
<script
src=
"./js/libs/socket.io.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>
<script
src=
"./js/Models/roominfo.js"
></script>
<script
src=
"./js/Models/socket-joininfo.js"
></script>
<!-- Socket -->
<script
src=
"./js/sockets/chat-websocket.js"
></script>
<script
src=
"./js/sockets/chat-websocket-message.js"
></script>
<!-- View -->
<script
src=
"./js/views/chats/management/chat-management-common.js"
></script>
<script
src=
"./js/views/collaboration/collaboration.js"
></script>
<script
src=
"./js/views/collaboration/collaboration-add-user.js"
></script>
<script
src=
"https://biztaskyell.abookcloud.com/coview_api.js"
></script>
<script
src=
"./js/views/collaboration/share.js"
></script>
<script
src=
"./js/views/collaboration/fermi-web-socket-message-handler.js"
></script>
<script
src=
"./js/views/collaboration/fermi-web-socket-bridge.js"
></script>
<script
src=
"./js/views/collaboration/share-bind-button-action.js"
></script>
<script
src=
"./js/views/collaboration/share-event-listener.js"
></script>
<script
src=
"./js/views/contact/namecard.js"
></script>
<script>
$
(
"#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"
);
$
(
"#modal_collabo_profile2"
).
load
(
"./modal_collabo_profile2.html"
);
$
(
"#collaboration_voice_overlay_menu"
).
load
(
"./collaboration_voice_overlay_menu.html"
);
$
(
"#add_user_list"
).
load
(
"./modal_add_user_list.html"
);
globalUserInfo
.
collaborationType
=
COLLABORATION_TYPE
.
AUDIO
;
if
(
globalUserInfo
.
joinType
!=
COLLABORATION_JOIN_TYPE
.
INVITED
)
{
CHAT_SOCKET
.
initialJoin
();
}
</script>
</body>
</html>
\ No newline at end of file
public_new/collaboration_whiteboard.html
deleted
100644 → 0
View file @
18ae1836
<!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/collaboration.css"
>
<link
rel=
"stylesheet"
href=
"./css/footer.css"
>
<link
rel=
"stylesheet"
href=
"./css/font-awesome.css"
>
<link
rel=
"stylesheet"
href=
"./css/share.css"
>
</head>
<body>
<!-- ナビメニュー -->
<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 user_btn"
></button>
<button
type=
"button"
name=
"button"
class=
"btn add_user_btn none"
></button>
<button
type=
"button"
name=
"button"
class=
"btn menu_btn"
></button>
</div>
</div>
</div>
</header>
<!-- header -->
<!-- 拡大縮小機能 -->
<div
id=
"zoom"
></div>
<!-- コンテンツ -->
<main
id=
"collabo_main"
class=
"none white_board"
>
<div
class=
"document_wrap"
>
<div
class=
"coview_share_body coview_share_area"
id=
"coviewShare"
style=
"z-index: 1;"
>
</div>
</div>
</main>
<!-- ユーザー追加オーバーレイ -->
<div
id=
"add_user_list"
></div>
<div
id=
"modal_add_user_confirm"
></div>
<!-- オーバーレイ メニュー -->
<div
id=
"collaboration_picture_overlay_menu"
></div>
<!-- オーバーレイ ユーザーリスト -->
<div
id=
"overlay_user_list"
class=
"overlay noscroll"
>
<div
id=
"collaboration_overlay_user_list"
></div>
</div>
<!-- キャプチャ モーダル -->
<div
id=
"modal_collabo_capture"
></div>
<!-- プロフィールモーダル -->
<div
id=
"userProfileModalInCollaboration"
></div>
<div
id=
"modal_collabo_profile2"
></div>
<!-- ホスト変更モーダル -->
<div
id=
"modal_collabo_change_host"
></div>
<!-- ホストリクエストモーダル -->
<div
id=
"modal_collabo_host_request"
></div>
<!-- フッター -->
<footer
id=
"collabo_footer_menu"
class=
"active"
>
<button
type=
"button"
name=
"button"
class=
"footer_menu_btn"
></button>
<div
class=
"footer_menu-wrap d-flex justify-content-around h-100"
>
<div
class=
"d-flex align-items-center h-100"
>
<div
class=
"footer_menu_item"
>
<a
href=
"#"
>
<div
class=
"img_wrap bg_red"
id=
"penBtn"
>
<img
src=
"icon/icon_collabo_pen_white.svg"
alt=
"ペン"
>
</div>
</a>
</div>
<div
class=
"footer_menu_item none"
>
<a
href=
"#"
>
<div
class=
"img_wrap bg_blue"
>
<img
src=
"icon/icon_collabo_place_white.svg"
alt=
"場所"
>
</div>
</a>
</div>
<div
class=
"footer_menu_item"
>
<a
href=
"#"
>
<div
class=
"img_wrap bg_blue"
id=
"eraserBtn"
>
<img
src=
"icon/icon_collabo_delete_white.svg"
alt=
"削除"
>
</div>
</a>
</div>
</div>
<div
class=
"d-flex align-items-center h-100 none"
>
<div
class=
"footer_menu_item"
>
<a
href=
"#"
>
<div
class=
"img_wrap bg_gray"
>
<img
src=
"icon/icon_collabo_rewind_white.svg"
alt=
"戻る"
>
</div>
</a>
</div>
<div
class=
"footer_menu_item"
>
<a
href=
"#"
>
<div
class=
"img_wrap bg_gray"
>
<img
src=
"icon/icon_collabo_forward_white.svg"
alt=
"進む"
>
</div>
</a>
</div>
</div>
</div>
</footer>
<!-- フッター -->
<div
id=
"footer_collabo"
></div>
<!-- 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>
<script
src=
"./js/libs/socket.io.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>
<script
src=
"./js/Models/roominfo.js"
></script>
<script
src=
"./js/Models/socket-joininfo.js"
></script>
<!-- Socket -->
<script
src=
"./js/sockets/chat-websocket.js"
></script>
<script
src=
"./js/sockets/chat-websocket-message.js"
></script>
<!-- View -->
<script
src=
"./js/views/chats/management/chat-management-common.js"
></script>
<script
src=
"./js/views/collaboration/collaboration.js"
></script>
<script
src=
"./js/views/collaboration/collaboration-add-user.js"
></script>
<script
src=
"https://biztaskyell.abookcloud.com/coview_api.js"
></script>
<script
src=
"./js/views/collaboration/share.js"
></script>
<script
src=
"./js/views/collaboration/fermi-web-socket-message-handler.js"
></script>
<script
src=
"./js/views/collaboration/fermi-web-socket-bridge.js"
></script>
<script
src=
"./js/views/collaboration/share-bind-button-action.js"
></script>
<script
src=
"./js/views/collaboration/share-event-listener.js"
></script>
<script
src=
"./js/views/contact/namecard.js"
></script>
<script>
$
(
"#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"
);
$
(
"#modal_collabo_profile2"
).
load
(
"./modal_collabo_profile2.html"
);
$
(
"#collaboration_picture_overlay_menu"
).
load
(
"./collaboration_picture_overlay_menu.html"
);
$
(
"#add_user_list"
).
load
(
"./modal_add_user_list.html"
);
$
(
"#zoom"
).
load
(
"./zoom.html"
);
globalUserInfo
.
collaborationType
=
COLLABORATION_TYPE
.
BOARD
;
if
(
globalUserInfo
.
joinType
!=
COLLABORATION_JOIN_TYPE
.
INVITED
)
{
CHAT_SOCKET
.
initialJoin
();
}
</script>
</body>
</html>
\ No newline at end of file
public_new/js/common/native-bridge-delegate.js
View file @
29d6b7b0
...
@@ -388,6 +388,12 @@ NativeBridgeDelegate.hideLoadingIndicator = function () {
...
@@ -388,6 +388,12 @@ NativeBridgeDelegate.hideLoadingIndicator = function () {
}
}
};
};
NativeBridgeDelegate
.
showPhotoSelection
=
function
()
{
if
(
deviceInfo
.
isiOS
())
{
webkit
.
messageHandlers
.
showPhotoSelection
.
postMessage
({});
}
};
var
ReverseDelegate
=
{};
var
ReverseDelegate
=
{};
/* reverse delegates */
/* reverse delegates */
// for android native call
// for android native call
...
...
public_new/js/views/collaboration/fermi-web-socket-message-handler.js
View file @
29d6b7b0
...
@@ -64,8 +64,10 @@ FermiWebSocketMessageHandler.handleMessagesToAll = function (data) {
...
@@ -64,8 +64,10 @@ FermiWebSocketMessageHandler.handleMessagesToAll = function (data) {
FermiWebSocketMessageHandler
.
changeCollaboration
(
data
);
FermiWebSocketMessageHandler
.
changeCollaboration
(
data
);
break
;
break
;
case
"SHARE_FILE"
:
case
"SHARE_FILE"
:
if
(
globalUserInfo
.
collaborationType
!=
COLLABORATION_TYPE
.
CAMERA
)
{
if
(
globalUserInfo
.
collaborationType
!=
COLLABORATION_TYPE
.
CAMERA
)
{
FermiWebSocketMessageHandler
.
shareFile
();
FermiWebSocketMessageHandler
.
shareFile
();
}
else
{
FermiWebSocketBridge
.
shareFileHost
(
COLLABORATION_TYPE
.
CAMERA
);
}
}
break
;
break
;
case
"API_SEND_OWNER_CHANGE_COMPLETE"
:
case
"API_SEND_OWNER_CHANGE_COMPLETE"
:
...
...
public_new/js/views/collaboration/share-event-listener.js
View file @
29d6b7b0
...
@@ -167,10 +167,9 @@ CollaborationFeature.didReceiveLoginResponseMessage = async function () {
...
@@ -167,10 +167,9 @@ CollaborationFeature.didReceiveLoginResponseMessage = async function () {
await
navigator
.
mediaDevices
.
getUserMedia
({
audio
:
true
,
video
:
true
});
await
navigator
.
mediaDevices
.
getUserMedia
({
audio
:
true
,
video
:
true
});
if
(
globalUserInfo
.
collaborationType
==
COLLABORATION_TYPE
.
CAMERA
)
{
if
(
globalUserInfo
.
collaborationType
==
COLLABORATION_TYPE
.
CAMERA
)
{
setTimeout
(
function
()
{
setTimeout
(
function
()
{
togglePhotoOpenPlaceHolder
();
NativeBridgeDelegate
.
showPhotoSelection
();
},
80
00
);
},
1
00
);
}
}
}
catch
(
err
)
{
}
catch
(
err
)
{
if
(
err
.
name
==
"NotAllowedError"
)
{
if
(
err
.
name
==
"NotAllowedError"
)
{
CoviewBridge
.
exitCollaboration
();
CoviewBridge
.
exitCollaboration
();
...
@@ -286,6 +285,56 @@ CollaborationFeature.updateHost = function () {
...
@@ -286,6 +285,56 @@ CollaborationFeature.updateHost = function () {
$
(
".remoteVideoNameSpan"
).
addClass
(
"none"
);
$
(
".remoteVideoNameSpan"
).
addClass
(
"none"
);
};
};
const
b64toBlob
=
(
b64Data
,
contentType
=
""
,
sliceSize
=
512
)
=>
{
const
byteCharacters
=
atob
(
b64Data
);
const
byteArrays
=
[];
for
(
let
offset
=
0
;
offset
<
byteCharacters
.
length
;
offset
+=
sliceSize
)
{
const
slice
=
byteCharacters
.
slice
(
offset
,
offset
+
sliceSize
);
const
byteNumbers
=
new
Array
(
slice
.
length
);
for
(
let
i
=
0
;
i
<
slice
.
length
;
i
++
)
{
byteNumbers
[
i
]
=
slice
.
charCodeAt
(
i
);
}
const
byteArray
=
new
Uint8Array
(
byteNumbers
);
byteArrays
.
push
(
byteArray
);
}
const
blob
=
new
Blob
(
byteArrays
,
{
type
:
contentType
});
return
blob
;
};
CollaborationFeature
.
shareImage
=
function
(
imageData
)
{
const
blob
=
b64toBlob
(
imageData
,
"image/png"
);
canvasRemote
.
style
.
backgroundImage
=
"url('data:image/png;base64,"
+
imageData
+
"')"
;
canvasRemote
.
style
.
backgroundSize
=
"contain"
;
canvasRemote
.
style
.
backgroundRepeat
=
"no-repeat"
;
canvasRemote
.
style
.
backgroundPosition
=
"center"
;
$
(
".canvas_wrap"
).
css
(
"background-color"
,
"#000"
);
const
formData
=
new
FormData
();
const
uploadFileName
=
"capture_share_"
+
g_webroom
+
"_"
+
g_shareCount
+
".png"
;
g_shareCount
++
;
formData
.
append
(
"imgFile"
,
blob
,
uploadFileName
);
$
.
ajax
({
type
:
"post"
,
url
:
g_coviewapiserverADDR
+
"/upload/create"
,
data
:
formData
,
processData
:
false
,
contentType
:
false
,
success
:
function
(
res
)
{
setTimeout
(
function
()
{
SendFileShare
(
uploadFileName
);
},
500
);
},
error
:
function
(
err
)
{},
});
};
CollaborationUI
.
showHostButtons
=
function
()
{
CollaborationUI
.
showHostButtons
=
function
()
{
$
(
".host_contents"
).
removeClass
(
"none"
);
$
(
".host_contents"
).
removeClass
(
"none"
);
if
(
globalUserInfo
.
collaborationType
==
COLLABORATION_TYPE
.
CAMERA
)
{
if
(
globalUserInfo
.
collaborationType
==
COLLABORATION_TYPE
.
CAMERA
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment