Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
check
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
abook_web
check
Commits
3f8dd190
Commit
3f8dd190
authored
Sep 26, 2013
by
Vo Duc Thang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
9/26 リリース
parent
ba8996da
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
90 additions
and
46 deletions
+90
-46
abvw/bookmark.html
+1
-1
abvw/common/json/lang/lang-en.json
+1
-1
abvw/common/json/lang/lang-ja.json
+1
-1
abvw/common/json/lang/lang-ko.json
+1
-1
abvw/css/theme/viewer.css
+5
-0
abvw/history.html
+1
-1
abvw/home.html
+1
-1
abvw/js/contentview.js
+43
-25
abvw/js/contentview_CreateObjects.js
+27
-9
abvw/js/contentview_Events.js
+1
-1
abvw/js/contentview_GetData.js
+7
-4
abvw/settings.html
+1
-1
No files found.
abvw/bookmark.html
View file @
3f8dd190
...
@@ -69,7 +69,7 @@
...
@@ -69,7 +69,7 @@
<div
class=
"menu_language"
>
<div
class=
"menu_language"
>
<div
class=
"clearfix"
>
<div
class=
"clearfix"
>
<ul
class=
"floatL"
>
<ul
class=
"floatL"
>
<li
class=
"floatR"
>
<li
class=
"floatR"
id=
"li-login-username"
style=
"display:none;"
>
<label
class=
"lang"
lang=
"txtLoginUser"
>
こんにちは
</label>
<label
class=
"lang"
lang=
"txtLoginUser"
>
こんにちは
</label>
<label
id=
"login-username"
>
</label>
<label
id=
"login-username"
>
</label>
</li>
</li>
...
...
abvw/common/json/lang/lang-en.json
View file @
3f8dd190
...
@@ -64,7 +64,7 @@
...
@@ -64,7 +64,7 @@
"dspBkCancel"
:
"Logout"
,
"dspBkCancel"
:
"Logout"
,
"txtSearchResult"
:
"Result"
,
"txtSearchResult"
:
"Result"
,
"dspHome"
:
"Home"
,
"dspHome"
:
"Home"
,
"txtLoginUser"
:
"(Ver.2013092
5
)User:"
,
"txtLoginUser"
:
"(Ver.2013092
6
)User:"
,
"txtAll"
:
"All"
,
"txtAll"
:
"All"
,
"txtMkgSize"
:
"Size"
,
"txtMkgSize"
:
"Size"
,
"txtMkgS"
:
"S"
,
"txtMkgS"
:
"S"
,
...
...
abvw/common/json/lang/lang-ja.json
View file @
3f8dd190
...
@@ -64,7 +64,7 @@
...
@@ -64,7 +64,7 @@
"dspBkCancel"
:
"バックアップせずにログアウト"
,
"dspBkCancel"
:
"バックアップせずにログアウト"
,
"txtSearchResult"
:
"検索結果"
,
"txtSearchResult"
:
"検索結果"
,
"dspHome"
:
"ホーム"
,
"dspHome"
:
"ホーム"
,
"txtLoginUser"
:
"(Ver.2013092
5
)ログイン中:"
,
"txtLoginUser"
:
"(Ver.2013092
6
)ログイン中:"
,
"txtAll"
:
"すべて"
,
"txtAll"
:
"すべて"
,
"txtMkgSize"
:
"太さ"
,
"txtMkgSize"
:
"太さ"
,
"txtMkgS"
:
"小"
,
"txtMkgS"
:
"小"
,
...
...
abvw/common/json/lang/lang-ko.json
View file @
3f8dd190
...
@@ -64,7 +64,7 @@
...
@@ -64,7 +64,7 @@
"dspBkCancel"
:
"로그아웃"
,
"dspBkCancel"
:
"로그아웃"
,
"txtSearchResult"
:
"검색 결과"
,
"txtSearchResult"
:
"검색 결과"
,
"dspHome"
:
"홈"
,
"dspHome"
:
"홈"
,
"txtLoginUser"
:
"(Ver.2013092
5
)로그인 중:"
,
"txtLoginUser"
:
"(Ver.2013092
6
)로그인 중:"
,
"txtAll"
:
"전체"
,
"txtAll"
:
"전체"
,
"txtMkgSize"
:
"두께"
,
"txtMkgSize"
:
"두께"
,
"txtMkgS"
:
"소"
,
"txtMkgS"
:
"소"
,
...
...
abvw/css/theme/viewer.css
View file @
3f8dd190
...
@@ -1396,6 +1396,10 @@ div .ui-slider-range, .ui-widget-header, .ui-slider-range-max {
...
@@ -1396,6 +1396,10 @@ div .ui-slider-range, .ui-widget-header, .ui-slider-range-max {
{
{
background-position
:
-414px
-92px
;
background-position
:
-414px
-92px
;
}
}
#control_screen_2
{
background-color
:
#898989
;
opacity
:
0.75
;
}
ul
#divSearchResult
li
:hover
{
background
:
#f4f4f4
;
cursor
:
pointer
;}
ul
#divSearchResult
li
:hover
{
background
:
#f4f4f4
;
cursor
:
pointer
;}
ul
#divListBookmark
li
:hover
{
background
:
#f4f4f4
;
cursor
:
pointer
;}
ul
#divListBookmark
li
:hover
{
background
:
#f4f4f4
;
cursor
:
pointer
;}
#divListIndex
span
:hover
{
color
:
red
;
cursor
:
pointer
}
#divListIndex
span
:hover
{
color
:
red
;
cursor
:
pointer
}
\ No newline at end of file
abvw/history.html
View file @
3f8dd190
...
@@ -69,7 +69,7 @@
...
@@ -69,7 +69,7 @@
<div
class=
"menu_language"
>
<div
class=
"menu_language"
>
<div
class=
"clearfix"
>
<div
class=
"clearfix"
>
<ul
class=
"floatL"
>
<ul
class=
"floatL"
>
<li
class=
"floatR"
>
<li
class=
"floatR"
id=
"li-login-username"
style=
"display:none;"
>
<label
class=
"lang"
lang=
"txtLoginUser"
>
こんにちは
</label>
<label
class=
"lang"
lang=
"txtLoginUser"
>
こんにちは
</label>
<label
id=
"login-username"
>
</label>
<label
id=
"login-username"
>
</label>
</li>
</li>
...
...
abvw/home.html
View file @
3f8dd190
...
@@ -80,7 +80,7 @@
...
@@ -80,7 +80,7 @@
<div
class=
"menu_language"
>
<div
class=
"menu_language"
>
<div
class=
"clearfix"
>
<div
class=
"clearfix"
>
<ul
class=
"floatL"
>
<ul
class=
"floatL"
>
<li
class=
"floatR"
>
<li
class=
"floatR"
id=
"li-login-username"
style=
"display:none;"
>
<label
class=
"lang"
lang=
"txtLoginUser"
>
こんにちは
</label>
<label
class=
"lang"
lang=
"txtLoginUser"
>
こんにちは
</label>
<label
id=
"login-username"
>
</label>
<label
id=
"login-username"
>
</label>
</li>
</li>
...
...
abvw/js/contentview.js
View file @
3f8dd190
...
@@ -2125,6 +2125,7 @@ function displayOverlayForSpecifyContentType(){
...
@@ -2125,6 +2125,7 @@ function displayOverlayForSpecifyContentType(){
$
(
"#footer_toolbar_2"
).
css
(
"top"
,
top
+
"px"
);
$
(
"#footer_toolbar_2"
).
css
(
"top"
,
top
+
"px"
);
sizingScreen
();
sizingScreen
();
}
}
}
}
/* window resize event */
/* window resize event */
...
@@ -2152,8 +2153,11 @@ function displayOverlayForSpecifyContentType(){
...
@@ -2152,8 +2153,11 @@ function displayOverlayForSpecifyContentType(){
}
}
}
}
}
}
//Start : TRB00082 - Editor : Long - Date : 09/25/2013 - Summary : For win 8 rotate handling.
setViewportForWin8
();
//End : TRB00082 - Editor : Long - Date : 09/25/2013 - Summary : For win 8 rotate handling.
resizeScreen
();
isChangeSizeScreen
=
false
;
isChangeSizeScreen
=
false
;
/* change position dialog */
/* change position dialog */
...
@@ -2174,19 +2178,13 @@ function handleForContentTypeVideo(resourceUrl){
...
@@ -2174,19 +2178,13 @@ function handleForContentTypeVideo(resourceUrl){
$container
.
html
(
''
);
$container
.
html
(
''
);
if
(
ClientData
.
userOpt_musicMode
()
==
"1"
)
{
if
(
ClientData
.
userOpt_musicMode
()
==
"1"
)
{
$container
.
html
(
$container
.
html
(
'<video id="content_video" autoplay="true" loop="true" preload="auto" controls style="position: absolute; width: 100%; height: 90%; bottom: 1% ">'
'<h1>'
+
'</h1>'
+
'<video id="content_video" autoplay="true" loop="true" preload="auto" controls style="position: absolute; width: 100%; height: 90%; bottom: 1% ">'
+
' <source src="'
+
resourceUrl
+
'" type="video/mp4"> '
+
' <source src="'
+
resourceUrl
+
'" type="video/mp4"> '
+
'</video>'
+
'</video>'
);
);
}
}
else
{
else
{
$container
.
html
(
$container
.
html
(
'<video id="content_video" autoplay="true" controls style="position: absolute; width: 100%; height: 90%; bottom: 1% ">'
'<h1>'
+
'</h1>'
+
'<video id="content_video" autoplay="true" controls style="position: absolute; width: 100%; height: 90%; bottom: 1% ">'
+
' <source src="'
+
resourceUrl
+
'" type="video/mp4"> '
+
' <source src="'
+
resourceUrl
+
'" type="video/mp4"> '
+
'</video>'
+
'</video>'
);
);
...
@@ -2251,19 +2249,13 @@ function handleForContentTypeMusic(resourceUrl){
...
@@ -2251,19 +2249,13 @@ function handleForContentTypeMusic(resourceUrl){
//$container.css('background-attachment', 'fixed');
//$container.css('background-attachment', 'fixed');
if
(
ClientData
.
userOpt_musicMode
()
==
"1"
)
{
if
(
ClientData
.
userOpt_musicMode
()
==
"1"
)
{
$container
.
html
(
$container
.
html
(
'<audio autoplay="true" loop="true" controls style="position: absolute; width: 100%; bottom: 1%;">'
'<h1>'
+
'</h1>'
+
'<audio autoplay="true" loop="true" controls style="position: absolute; width: 100%; bottom: 1%;">'
+
' <source src="'
+
resourceUrl
+
'" type="audio/mpeg"> '
+
' <source src="'
+
resourceUrl
+
'" type="audio/mpeg"> '
+
'</audio>'
+
'</audio>'
);
);
}
}
else
{
else
{
$container
.
html
(
$container
.
html
(
'<audio autoplay="true" controls style="position: absolute; width: 100%; bottom: 1%;">'
'<h1>'
+
'</h1>'
+
'<audio autoplay="true" controls style="position: absolute; width: 100%; bottom: 1%;">'
+
' <source src="'
+
resourceUrl
+
'" type="audio/mpeg"> '
+
' <source src="'
+
resourceUrl
+
'" type="audio/mpeg"> '
+
'</audio>'
+
'</audio>'
);
);
...
@@ -2302,12 +2294,20 @@ function handleForContentTypeHTML(resourceUrl){
...
@@ -2302,12 +2294,20 @@ function handleForContentTypeHTML(resourceUrl){
$container
.
css
(
'left'
,
'0%'
);
$container
.
css
(
'left'
,
'0%'
);
$container
.
css
(
'width'
,
'100%'
);
$container
.
css
(
'width'
,
'100%'
);
$container
.
css
(
'background-color'
,
'white'
);
$container
.
css
(
'background-color'
,
'white'
);
$container
.
html
(
'<h1 ></h1>'
+
'<iframe src="'
+
resourceUrl
+
'" style="position: absolute; width: 100%; height: 95%; ">'
+
'</iframe>'
//START TRB00076 - EDITOR : Long - Date : 09/24/2013 - Summary : Fix for scrolling on ipad
);
if
(
avwUserEnvObj
.
os
==
"ipad"
){
$container
.
html
(
'<iframe src="'
+
resourceUrl
+
'" style="position: absolute; width: 100%;"></iframe>'
);
$container
.
show
();
$container
.
css
(
'overflow'
,
'scroll'
);
$container
.
css
(
'-webkit-overflow-scrolling'
,
'touch'
);
}
else
{
$container
.
html
(
'<iframe src="'
+
resourceUrl
+
'" style="position: absolute; width: 100%; height: 100%; "> </iframe>'
);
}
//END TRB00076 - EDITOR : Long - Date : 09/24/2013 - Summary : Fix for scrolling on ipad
$container
.
show
();
};
};
//Check type of content
//Check type of content
...
@@ -2410,6 +2410,10 @@ function fullScreenForNotPdfType(){
...
@@ -2410,6 +2410,10 @@ function fullScreenForNotPdfType(){
var
w
=
$
(
"#wrapper"
).
width
();
var
w
=
$
(
"#wrapper"
).
width
();
var
h
=
$
(
"#wrapper"
).
height
();
var
h
=
$
(
"#wrapper"
).
height
();
if
(
contentType
==
ContentTypeKeys
.
Type_Video
){
$
(
'#content_video'
).
removeAttr
(
'controls'
);
}
var
$container
=
$
(
'#dialog'
);
var
$container
=
$
(
'#dialog'
);
$
(
'#header_toolbar'
).
hide
();
$
(
'#header_toolbar'
).
hide
();
...
@@ -2436,6 +2440,9 @@ function originalScreenForNotPdfType(){
...
@@ -2436,6 +2440,9 @@ function originalScreenForNotPdfType(){
$
(
'#control_screen_2'
).
hide
();
$
(
'#control_screen_2'
).
hide
();
$
(
'#header_toolbar'
).
show
();
$
(
'#header_toolbar'
).
show
();
var
$container
=
$
(
'#dialog'
);
var
$container
=
$
(
'#dialog'
);
$container
.
removeAttr
(
'style'
);
$container
.
removeAttr
(
'style'
);
...
@@ -2445,13 +2452,19 @@ function originalScreenForNotPdfType(){
...
@@ -2445,13 +2452,19 @@ function originalScreenForNotPdfType(){
}
}
else
if
(
contentType
==
ContentTypeKeys
.
Type_Html
){
else
if
(
contentType
==
ContentTypeKeys
.
Type_Html
){
$container
.
css
(
'left'
,
'0%'
);
$container
.
css
(
'left'
,
'0%'
);
$container
.
css
(
'position'
,
'absolute'
);
//$container.css('height','100%');
$container
.
css
(
'width'
,
'100%'
);
$container
.
css
(
'width'
,
'100%'
);
$container
.
css
(
'background-color'
,
'white'
);
$container
.
css
(
'background-color'
,
'white'
);
$container
.
css
(
'overflow'
,
'scroll'
);
$container
.
css
(
'-webkit-overflow-scrolling'
,
'touch'
);
}
}
//START TRB00068
//START TRB00068
if
(
avwUserEnvObj
.
os
==
"ipad"
)
{
if
(
avwUserEnvObj
.
os
==
"ipad"
)
{
if
(
contentType
==
ContentTypeKeys
.
Type_Video
){
if
(
contentType
==
ContentTypeKeys
.
Type_Video
){
$
(
'#content_video'
).
attr
(
'controls'
,
'controls'
);
if
(
isShowVideoContent
){
if
(
isShowVideoContent
){
$container
.
show
();
$container
.
show
();
}
}
...
@@ -3453,8 +3466,13 @@ function setDefaultEvent() {
...
@@ -3453,8 +3466,13 @@ function setDefaultEvent() {
//document.getElementById('wrapper').addEventListener('touchstart', function(event){event.preventDefault();}, false);
//document.getElementById('wrapper').addEventListener('touchstart', function(event){event.preventDefault();}, false);
//document.getElementById('wrapper').addEventListener('touchmove', function(event){event.preventDefault();}, false);
//document.getElementById('wrapper').addEventListener('touchmove', function(event){event.preventDefault();}, false);
//document.getElementById('wrapper').addEventListener('touchend', function(event){event.preventDefault();}, false);
//document.getElementById('wrapper').addEventListener('touchend', function(event){event.preventDefault();}, false);
//START TRB00075 - Editor: Long - Date - 24/09/2013 - Summary : Fix for prevent moving page when display dialog
document
.
getElementById
(
'overlay'
).
addEventListener
(
'touchstart'
,
function
(
event
){
event
.
preventDefault
();
return
false
;},
false
);
document
.
getElementById
(
'overlay'
).
addEventListener
(
'touchmove'
,
function
(
event
){
event
.
preventDefault
();
return
false
;},
false
);
document
.
getElementById
(
'overlay'
).
addEventListener
(
'touchend'
,
function
(
event
){
event
.
preventDefault
();
return
false
;},
false
);
//END TRB00075 - Editor: Long - Date - 24/09/2013 - Summary : Fix for prevent moving page when display dialog
}
}
$
(
'#main'
).
mouseout
(
function
(
event
)
{
$
(
'#main'
).
mouseout
(
function
(
event
)
{
...
...
abvw/js/contentview_CreateObjects.js
View file @
3f8dd190
...
@@ -568,16 +568,34 @@ function showHtml(url){
...
@@ -568,16 +568,34 @@ function showHtml(url){
var
$container
=
$
(
'#dialog'
);
var
$container
=
$
(
'#dialog'
);
$container
.
html
(
''
);
$container
.
html
(
''
);
$container
.
attr
(
'style'
,
'background-color: white; width:100%; left:0% !important'
);
$container
.
attr
(
'style'
,
'background-color: white; width:100%; left:0% !important'
);
//START TRB00076 - EDITOR : Long - Date : 09/24/2013 - Summary : Fix for scrolling on ipad
if
(
avwUserEnvObj
.
os
==
"ipad"
){
$container
.
html
(
'<h1>'
+
'<img src="img/viewer/x.png" style="margin:3px 3px 0px 21px" id="btnClose" class="align_right" ></img>'
+
'</h1>'
+
'<div id="html-wrap" style="height: 95%; position: absolute; width: 100%;">'
+
'<iframe src="'
+
url
+
'" style="position: absolute; width: 100%; height: 100%; ">'
+
'</iframe>'
+
'</div>'
);
$
(
'#html-wrap'
).
css
(
'overflow'
,
'scroll'
);
$
(
'#html-wrap'
).
css
(
'-webkit-overflow-scrolling'
,
'touch'
);
}
else
{
$container
.
html
(
'<h1>'
+
'<img src="img/viewer/x.png" style="margin:3px 3px 0px 21px" id="btnClose" class="align_right" ></img>'
+
'</h1>'
+
'<iframe src="'
+
url
+
'" style="position: absolute; width: 100%; height: 95%; ">'
+
'</iframe>'
);
}
//END TRB00076 - EDITOR : Long - Date : 09/24/2013 - Summary : Fix for scrolling on ipad
$container
.
html
(
'<h1>'
+
'<img src="img/viewer/x.png" style="margin:3px 3px 0px 21px" id="btnClose" class="align_right" ></img>'
+
'</h1>'
+
'<iframe src="'
+
url
+
'" style="position: absolute; width: 100%; height: 95%; ">'
+
'</iframe>'
);
$
(
'#dialog h1 img'
).
click
(
function
(){
$
(
'#dialog h1 img'
).
click
(
function
(){
$container
.
removeAttr
(
'style'
);
$container
.
removeAttr
(
'style'
);
hideDialog
();
hideDialog
();
...
...
abvw/js/contentview_Events.js
View file @
3f8dd190
...
@@ -460,7 +460,7 @@ function createLockLayout(opt){
...
@@ -460,7 +460,7 @@ function createLockLayout(opt){
if
(
opt
==
true
){
if
(
opt
==
true
){
if
(
!
$
(
'#locking'
).
size
()){
if
(
!
$
(
'#locking'
).
size
()){
var
$html
=
$
(
'<div id="locking" style="z-index: 100; position: absolute; height: 100%; width: 100%; "></div>'
);
var
$html
=
$
(
'<div id="locking" style="z-index: 100; position: absolute; height: 100%; width: 100%;
background: white; opacity: 0
"></div>'
);
$
(
'#wrapper'
).
append
(
$html
);
$
(
'#wrapper'
).
append
(
$html
);
$html
.
show
();
$html
.
show
();
...
...
abvw/js/contentview_GetData.js
View file @
3f8dd190
...
@@ -231,10 +231,13 @@ function getMediaType1(iValueObj) {
...
@@ -231,10 +231,13 @@ function getMediaType1(iValueObj) {
/*get Image Preview */
/*get Image Preview */
var
dataResourceImage
=
iValueObj
.
action
.
preview
;
var
dataResourceImage
=
iValueObj
.
action
.
preview
;
var
dataImageFromResource
=
[];
var
dataImageFromResource
=
[];
//START TRB00077 - Editor : Long - Date: 09/24/2013- Summary : Display image preview no image
for
(
var
nIndex
=
0
;
nIndex
<
dataResourceImage
.
length
;
nIndex
++
)
{
if
(
dataResourceImage
){
dataImageFromResource
.
push
(
getURL
(
"webResourceDownload"
)
+
"/?sid="
+
ClientData
.
userInfo_sid
()
+
"&resourceName="
+
removeExt
(
dataResourceImage
[
nIndex
]));
for
(
var
nIndex
=
0
;
nIndex
<
dataResourceImage
.
length
;
nIndex
++
)
{
}
dataImageFromResource
.
push
(
getURL
(
"webResourceDownload"
)
+
"/?sid="
+
ClientData
.
userInfo_sid
()
+
"&resourceName="
+
removeExt
(
dataResourceImage
[
nIndex
]));
}
}
//END TRB00077 - Editor : Long - Date: 09/24/2013- Summary : Display image preview no image
pageObject
[
'imagePreview'
]
=
dataImageFromResource
;
pageObject
[
'imagePreview'
]
=
dataImageFromResource
;
...
...
abvw/settings.html
View file @
3f8dd190
...
@@ -77,7 +77,7 @@
...
@@ -77,7 +77,7 @@
<div
class=
"menu_language"
>
<div
class=
"menu_language"
>
<div
class=
"clearfix"
>
<div
class=
"clearfix"
>
<ul
class=
"floatL"
>
<ul
class=
"floatL"
>
<li
class=
"floatR"
>
<li
class=
"floatR"
id=
"li-login-username"
style=
"display:none;"
>
<label
class=
"lang"
lang=
"txtLoginUser"
>
こんにちは
</label>
<label
class=
"lang"
lang=
"txtLoginUser"
>
こんにちは
</label>
<label
id=
"login-username"
>
</label>
<label
id=
"login-username"
>
</label>
</li>
</li>
...
...
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