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
73b58bf1
Commit
73b58bf1
authored
Apr 21, 2021
by
Lee Munkyeong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
文書協業
parent
801b6e55
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
105 additions
and
1 deletions
+105
-1
public_new/collaboration_documents.html
+45
-1
public_new/js/chat-db.js
+9
-0
public_new/js/chat-ui.js
+16
-0
public_new/template/template_document_list.html
+35
-0
No files found.
public_new/collaboration_documents.html
View file @
73b58bf1
...
...
@@ -41,6 +41,8 @@
<!-- コンテンツ -->
<main
id=
"collabo_main"
>
<div
class=
"document_wrap"
>
<div
class=
"coview_share_body coview_share_area"
id=
"coviewShare"
style=
"z-index: 1;"
>
</div>
</div>
</main>
...
...
@@ -84,6 +86,8 @@
<div
id=
"collabotarion_overlay_user_list"
></div>
</div>
<div
id=
"modal_document_selector"
></div>
<!-- キャプチャ モーダル -->
<div
id=
"modal_collabo_capture"
></div>
<!-- プロフィールモーダル -->
...
...
@@ -173,8 +177,48 @@
$
(
"#collabotarion_overlay_user_list"
).
load
(
"./collabotarion_overlay_user_list.html"
);
$
(
"#collaboration_video_overlay_menu"
).
load
(
"./collaboration_video_overlay_menu.html"
);
$
(
"#zoom"
).
load
(
"./zoom.html"
);
$
(
"#modal_document_selector"
).
load
();
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
{
}
async
function
getGlobalParam
(
chatServerUrl
,
cmsServerUrl
,
platform
,
isMobile
,
isOnline
)
{
console
.
log
(
'-------------------------------------'
);
CHAT_SERVER_URL
=
chatServerUrl
;
CMS_SERVER_URL
=
cmsServerUrl
;
PLATFORM
=
platform
;
IS_MOBILE
=
isMobile
;
IS_ONLINE
=
isOnline
;
if
(
CHAT_UTIL
.
isIOS
())
{
}
else
if
(
CHAT_UTIL
.
isAndroid
())
{
collaborationJoinFlg
=
android
.
getCollaborationJoinFlg
();
console
.
log
(
collaborationJoinFlg
);
}
console
.
log
(
PLATFORM
);
globalUserInfo
.
coWorkType
=
collaborationTypeKey
.
AUDIO
;
CHAT_SOCKET
.
connectSocket
();
socket
.
emit
(
'join'
,
CHAT
.
globalLoginParameter
,
function
()
{
console
.
log
(
'join Chat Socket finishi'
);
});
CHAT_UI
.
displayDocumentSelectScreen
();
};
android
.
getContentList
();
</script>
</body>
...
...
public_new/js/chat-db.js
View file @
73b58bf1
...
...
@@ -300,3 +300,12 @@ CHAT_DB.addFavoriteGroup = function(groupId) {
}
}
};
CHAT_DB
.
getContentList
=
function
()
{
if
(
CHAT_UTIL
.
isIOS
())
{
//TODO ローカルDBからダウンロード済のコンテンツを取得
}
else
if
(
CHAT_UTIL
.
isAndroid
())
{
return
JSON
.
parse
(
android
.
getContentList
());
}
};
public_new/js/chat-ui.js
View file @
73b58bf1
...
...
@@ -2422,3 +2422,18 @@ CHAT_UI.startCollaboration = function(collaborationType) {
android
.
startCollaboration
(
collaborationType
);
}
}
CHAT_UI
.
displayDocumentSelectScreen
=
function
()
{
var
documentList
=
CHAT_DB
.
getContentList
();
var
documentTemplate
;
$
.
get
({
url
:
"./template/template_document_list.html"
,
async
:
false
}
,
function
(
text
)
{
documentTemplate
=
text
;
});
let
html
=
Mustache
.
render
(
documentTemplate
,
{
documentList
:
documentList
});
let
obj
=
jQuery
.
parseHTML
(
html
);
$
(
'#overlay_document_list'
).
append
(
obj
);
$
(
'#overlay_document_list'
).
removeClass
(
'none'
);
}
\ No newline at end of file
public_new/template/template_document_list.html
0 → 100644
View file @
73b58bf1
<div
class=
"modal fade capture_modal"
id=
"captyaModal"
tabindex=
"-1"
role=
"dialog"
aria-labelledby=
"captyaModal"
aria-hidden=
"true"
>
<div
class=
"modal-dialog modal-dialog-centered"
role=
"document"
>
<div
class=
"modal-content"
>
<div
class=
"modal-header border-0 pb-0"
>
<span>
スクリーンキャプチャー
</span>
</div>
<div
class=
"modal-body"
>
<div
class=
"img_wrap"
>
<img
src=
"img/capture.png"
alt=
"キャプチャ画像"
>
</div>
<p>
filename.jpg
</p>
</div>
<div
class=
"modal-footer border-0 justify-content-center"
>
<button
type=
"button"
class=
"profile_favorite_btn bg_white border_gray text_blue"
data-dismiss=
"modal"
aria-label=
"Close"
>
<div
class=
"d-flex flex-column"
>
<span>
キャンセル
</span>
</div>
</button>
<button
type=
"button"
class=
"profile_phone_btn border-0 bg_navy text_white"
>
<div
class=
"d-flex flex-column"
>
<span>
共有
</span>
</div>
</button>
<button
type=
"button"
class=
"profile_chat_btn border-0 bg_blue text_white"
>
<div
class=
"d-flex flex-column"
>
<span>
保存
</span>
</div>
</button>
</div>
</div>
</div>
</div>
\ No newline at end of file
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