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
6865932b
Commit
6865932b
authored
Dec 18, 2012
by
Motohisa Nakano
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
20121217-3
parent
5224d11b
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
93 additions
and
51 deletions
+93
-51
abvw/common/js/common.js
+2
-6
abvw/common/json/lang/lang-en.json
+3
-2
abvw/common/json/lang/lang-ja.json
+3
-2
abvw/common/json/lang/lang-ko.json
+3
-2
abvw/contentview.html
+0
-0
abvw/contentview_textcopy.html
+38
-0
abvw/css/contentview.css
+1
-0
abvw/css/viewer.css
+17
-17
abvw/js/bookmark.js
+2
-1
abvw/js/contentview.js
+20
-17
abvw/js/contentview_PopupText.js
+2
-2
abvw/js/history.js
+0
-0
abvw/settings.html
+2
-2
No files found.
abvw/common/js/common.js
View file @
6865932b
...
...
@@ -1857,15 +1857,11 @@ function unlockFunction(inputPass) {
errorCode
=
JSON
.
parse
(
xhr
.
responseText
);
}
else
{
// System error
showSystemError
();
errorCode
=
{
errorMessage
:
"E001"
};
}
});
// Check error
if
(
avwHasError
())
{
return
;
}
if
(
result
==
true
)
{
if
(
window
.
onUnlock
)
{
onUnlock
();
...
...
abvw/common/json/lang/lang-en.json
View file @
6865932b
...
...
@@ -64,7 +64,7 @@
"dspBkCancel"
:
"Logout"
,
"txtSearchResult"
:
"Result"
,
"dspHome"
:
"Home"
,
"txtLoginUser"
:
"(Ver.2012121
4-1
)User:"
,
"txtLoginUser"
:
"(Ver.2012121
7-3
)User:"
,
"txtAll"
:
"All"
,
"txtMkgSize"
:
"Size"
,
"txtMkgS"
:
"S"
,
...
...
@@ -119,5 +119,6 @@
"txtMemoNew"
:
"New"
,
"txtMemoPaste"
:
"Paste"
,
"txtMemoClear"
:
"Clear"
,
"txtMemo"
:
"Memo"
"txtMemo"
:
"Memo"
,
"msgBGMPlayConfirm"
:
"EN:このコンテンツはBGMが流れるようになっています。BGMを再生してもよろしいですか?"
}
abvw/common/json/lang/lang-ja.json
View file @
6865932b
...
...
@@ -64,7 +64,7 @@
"dspBkCancel"
:
"バックアップせずにログアウト"
,
"txtSearchResult"
:
"検索結果"
,
"dspHome"
:
"ホーム"
,
"txtLoginUser"
:
"(Ver.2012121
4-1
)ログイン中:"
,
"txtLoginUser"
:
"(Ver.2012121
7-3
)ログイン中:"
,
"txtAll"
:
"すべて"
,
"txtMkgSize"
:
"太さ"
,
"txtMkgS"
:
"小"
,
...
...
@@ -119,5 +119,6 @@
"txtMemoNew"
:
"新規"
,
"txtMemoPaste"
:
"貼り付け"
,
"txtMemoClear"
:
"クリア"
,
"txtMemo"
:
"メモ"
"txtMemo"
:
"メモ"
,
"msgBGMPlayConfirm"
:
"このコンテンツはBGMが流れるようになっています。BGMを再生してもよろしいですか?"
}
abvw/common/json/lang/lang-ko.json
View file @
6865932b
...
...
@@ -64,7 +64,7 @@
"dspBkCancel"
:
"로그아웃"
,
"txtSearchResult"
:
"검색 결과"
,
"dspHome"
:
"홈"
,
"txtLoginUser"
:
"(Ver.2012121
4-1
)로그인 중:"
,
"txtLoginUser"
:
"(Ver.2012121
7-3
)로그인 중:"
,
"txtAll"
:
"전체"
,
"txtMkgSize"
:
"두께"
,
"txtMkgS"
:
"소"
,
...
...
@@ -119,5 +119,6 @@
"txtMemoNew"
:
"신규"
,
"txtMemoPaste"
:
"붙여 넣기"
,
"txtMemoClear"
:
"클리어"
,
"txtMemo"
:
"메모"
"txtMemo"
:
"메모"
,
"msgBGMPlayConfirm"
:
"KO:このコンテンツはBGMが流れるようになっています。BGMを再生してもよろしいですか?"
}
abvw/contentview.html
View file @
6865932b
This diff is collapsed.
Click to expand it.
abvw/contentview_textcopy.html
0 → 100644
View file @
6865932b
<!DOCTYPE html>
<html>
<head>
<meta
charset=
"UTF-8"
/>
<title>
テキストコピー | ABook閲覧ウェブ版 (言語対応)
</title>
<script
src=
"common/js/jquery-1.8.1.min.js"
type=
"text/javascript"
></script>
<script>
$
(
document
).
ready
(
function
()
{
var
data
=
window
.
opener
.
getText
();
$
(
'#result'
).
html
(
data
.
text
);
document
.
title
=
data
.
title
;
});
</script>
<style>
#result
{
-webkit-box-shadow
:
3px
3px
8px
rgba
(
50
,
50
,
50
,
0.4
);
-moz-box-shadow
:
3px
3px
8px
rgba
(
50
,
50
,
50
,
0.4
);
box-shadow
:
3px
3px
8px
rgba
(
50
,
50
,
50
,
0.4
);
background
:
#FFFFFF
;
border
:
solid
1px
#cfd0d0
;
border-top
:
1px
solid
#cfd0d0
;
vertical-align
:
middle
;
word-wrap
:
break-word
;
padding
:
5px
;
line-height
:
25px
;
margin
:
30px
20px
20px
20px
;
min-height
:
300px
;
}
</style>
</head>
<body>
<div
id=
"result"
></div>
</body>
</html>
abvw/css/contentview.css
View file @
6865932b
...
...
@@ -419,6 +419,7 @@ div .ui-slider-range, .ui-widget-header, .ui-slider-range-max {
font-family
:
Verdana
;
font-size
:
10pt
;
border-radius
:
10px
;
z-index
:
101
;
}
.popuptext_arrow
{
...
...
abvw/css/viewer.css
View file @
6865932b
...
...
@@ -38,6 +38,7 @@
html
,
body
{
width
:
100%
;
height
:
100%
;
}
body
{
...
...
@@ -52,7 +53,6 @@ body{
#wrapper
{
max-width
:
none
;
min-width
:
1000px
;
height
:
100%
;
}
...
...
@@ -74,8 +74,7 @@ header{
max-width
:
none
;
min-width
:
1000px
;
height
:
60px
;
position
:
absolute
;
width
:
100%
;
/*position:absolute;*/
}
/*ヘッダー左カラム*/
...
...
@@ -944,6 +943,7 @@ aside.bookmarkBox li .imgbox{
border
:
solid
1px
#444
;
background
:
#ccc
;
margin
:
0
4px
0
0
;
}
aside
.bookmarkBox
li
.mdltext
{
...
...
@@ -1067,15 +1067,15 @@ aside.bookmarkBox .last{
.transition
.last
{
width
:
56px
;
background-position
:
-174px
0
;}
.transition
a
:hover
.last
{
background-position
:
-174px
-33px
;}
.transition
.begin_device
{
width
:
59px
;
background-position
:
0
-33px
;}
.transition
.prev_device
{
width
:
57px
;
background-position
:
-59px
-33px
;}
.transition
.next_device
{
width
:
58px
;
background-position
:
-116px
-33px
;}
.transition
.last_device
{
width
:
56px
;
background-position
:
-174px
-33px
;}
.transition
.begin_device
{
width
:
59px
;
background-position
:
0
0
;}
.transition
.prev_device
{
width
:
57px
;
background-position
:
-59px
0
;}
.transition
.next_device
{
width
:
58px
;
background-position
:
-116px
0
;}
.transition
.last_device
{
width
:
56px
;
background-position
:
-174px
0
;}
.transition
.begin_off
{
width
:
59px
;
background-position
:
0
0
;}
.transition
.prev_off
{
width
:
57px
;
background-position
:
-59px
0
;}
.transition
.next_off
{
width
:
58px
;
background-position
:
-116px
0
;}
.transition
.last_off
{
width
:
56px
;
background-position
:
-174px
0
;}
.transition
.begin_off
{
width
:
59px
;
background-position
:
0
-66px
;}
.transition
.prev_off
{
width
:
57px
;
background-position
:
-59px
-66px
;}
.transition
.next_off
{
width
:
58px
;
background-position
:
-116px
-66px
;}
.transition
.last_off
{
width
:
56px
;
background-position
:
-174px
-66px
;}
/*----------------------------*/
...
...
@@ -1111,13 +1111,13 @@ aside.bookmarkBox .last{
.sizing
.reduction
{
width
:
56px
;
background-position
:
-117px
0
;}
.sizing
a
:hover
.reduction
{
background-position
:
-117px
-33px
;}
.sizing
.expansion_device
{
width
:
59px
;
background-position
:
0
-33px
;}
.sizing
.fit_device
{
width
:
58px
;
background-position
:
-59px
-33px
;}
.sizing
.reduction_device
{
width
:
56px
;
background-position
:
-117px
-33px
;}
.sizing
.expansion_device
{
width
:
59px
;
background-position
:
0
0
;}
.sizing
.fit_device
{
width
:
58px
;
background-position
:
-59px
0
;}
.sizing
.reduction_device
{
width
:
56px
;
background-position
:
-117px
0
;}
.sizing
.expansion_off
{
width
:
59px
;
background-position
:
0
0
;}
.sizing
.fit_off
{
width
:
58px
;
background-position
:
-59px
0
;}
.sizing
.reduction_off
{
width
:
56px
;
background-position
:
-117px
0
;}
.sizing
.expansion_off
{
width
:
59px
;
background-position
:
0
-66px
;}
.sizing
.fit_off
{
width
:
58px
;
background-position
:
-59px
-66px
;}
.sizing
.reduction_off
{
width
:
56px
;
background-position
:
-117px
-66px
;}
/*----------------------------*/
/* 14. toolbar setting */
/*----------------------------*/
...
...
abvw/js/bookmark.js
View file @
6865932b
...
...
@@ -842,7 +842,8 @@ function SyncContent() {
}
}
else
{
// Skip this case
arrBookmarks
.
splice
(
nIndex
,
1
);
ClientData
.
isChangedBookmark
(
true
);
}
}
...
...
abvw/js/contentview.js
View file @
6865932b
...
...
@@ -837,6 +837,7 @@ Transition.prototype.flipNextPage = function() {
removeObject
();
if
(
getContent
().
hasNextPage
())
{
context_main
.
clearRect
(
0
,
0
,
canvas_main
.
width
,
canvas_main
.
height
);
$
(
'#main'
).
animate
(
{
left
:
'-'
+
w
+
'px'
},
{
...
...
@@ -886,6 +887,7 @@ Transition.prototype.flipPreviousPage = function() {
removeObject
();
if
(
getContent
().
hasPreviousPage
())
{
context_main
.
clearRect
(
0
,
0
,
canvas_main
.
width
,
canvas_main
.
height
);
$
(
'#main'
).
animate
(
{
left
:
w
+
'px'
},
{
...
...
@@ -934,6 +936,7 @@ Transition.prototype.flipToPage = function(index) {
/* init image had draw */
initDisplayMarking
();
}
else
if
(
index
<
getContent
().
pageIndex
){
context_main
.
clearRect
(
0
,
0
,
canvas_main
.
width
,
canvas_main
.
height
);
removeObject
();
$
(
'#main'
).
animate
(
{
left
:
w
+
'px'
},
...
...
@@ -972,6 +975,7 @@ Transition.prototype.flipToPage = function(index) {
}
);
}
else
{
context_main
.
clearRect
(
0
,
0
,
canvas_main
.
width
,
canvas_main
.
height
);
removeObject
();
$
(
'#main'
).
animate
(
{
left
:
'-'
+
w
+
'px'
},
...
...
@@ -1026,6 +1030,7 @@ function removeObject(){
$
(
"#boxIndex"
).
hide
();
$
(
"#boxBookMark"
).
hide
();
$
(
'#pop_up_memo'
).
hide
();
isSendingData
=
false
;
isDisplayBookMarkList
=
false
;
...
...
@@ -1146,16 +1151,6 @@ function onClick_CanvasMain(event){
posYPopupMemo
=
event
.
pageY
;
if
((
event
.
pageX
-
marginX
)
>=
destRect
.
left
&&
(
event
.
pageX
-
marginX
)
<=
destRect
.
right
){
if
(
isCopyMemo
==
true
){
CopyMemo
(
objEditMemo
.
text
,
contentID
,
changePageIndex
(
getPageIndex
()),
$
(
'#divDialogMemo'
),
event
.
pageX
,
event
.
pageY
,
function
(){
//set flag change memo
ClientData
.
isChangedMemo
(
true
);
/* refresh draw memo */
drawMemoOnScreen
();
});
}
else
{
/* click add memo */
if
(
ClientData
.
IsAddingMemo
()
==
true
){
...
...
@@ -1292,7 +1287,7 @@ function onClick_CanvasMain(event){
}
}
}
}
}
else
{
if
(
ClientData
.
IsAddingMarking
()
==
false
&&
isCopyMemo
==
false
){
var
cwMain
=
$
(
'#main'
).
width
();
...
...
@@ -1579,9 +1574,17 @@ function disableControlsCopyMemo(){
$
(
'#imgmarkingtoolbar'
).
addClass
(
'markingToolbar_off'
);
$
(
'#firstpage'
).
unbind
(
'click'
);
$
(
'#firstpage'
).
removeClass
();
$
(
'#firstpage'
).
addClass
(
'begin_off'
);
$
(
'#prevpage'
).
unbind
(
'click'
);
$
(
'#prevpage'
).
removeClass
();
$
(
'#prevpage'
).
addClass
(
'prev_off'
);
$
(
'#nextpage'
).
unbind
(
'click'
);
$
(
'#nextpage'
).
removeClass
();
$
(
'#nextpage'
).
addClass
(
'next_off'
);
$
(
'#lastpage'
).
unbind
(
'click'
);
$
(
'#lastpage'
).
removeClass
();
$
(
'#lastpage'
).
addClass
(
'last_off'
);
if
(
avwUserEnvObj
.
os
!=
"android"
){
$
(
"#slider_page"
).
slider
(
"option"
,
"disabled"
,
true
);
...
...
@@ -2161,13 +2164,13 @@ function flip() {
$
(
"#draw_canvas"
).
attr
(
'height'
,
destRect
.
bottom
-
destRect
.
top
)
.
attr
(
'width'
,
destRect
.
right
-
destRect
.
left
)
.
css
(
'top'
,
destRect
.
top
+
marginY
-
1
)
.
css
(
'left'
,
destRect
.
left
+
marginX
-
1
);
.
css
(
'top'
,
destRect
.
top
+
marginY
)
.
css
(
'left'
,
destRect
.
left
+
marginX
);
$
(
"#marker_canvas"
).
attr
(
'height'
,
destRect
.
bottom
-
destRect
.
top
)
.
attr
(
'width'
,
destRect
.
right
-
destRect
.
left
)
.
css
(
'top'
,
destRect
.
top
+
marginY
-
1
)
.
css
(
'left'
,
destRect
.
left
+
marginX
-
1
);
.
css
(
'top'
,
destRect
.
top
+
marginY
)
.
css
(
'left'
,
destRect
.
left
+
marginX
);
isFirstLoad
=
false
;
}
...
...
@@ -3264,9 +3267,9 @@ function showEditMemo(){
/*click copyMemo() */
function
copyMemo
(){
isCopyMemo
=
true
;
//
isCopyMemo = true;
ClientData
.
memo_copyText
(
objEditMemo
.
text
);
disableControlsCopyMemo
();
//
disableControlsCopyMemo();
$
(
"#pop_up_memo"
).
hide
();
}
...
...
abvw/js/contentview_PopupText.js
View file @
6865932b
...
...
@@ -70,7 +70,7 @@ function OpenPopupText(posX, posY, content, dialogDiv, arrowDiv) {
dialogDiv
.
css
(
"-webkit-box-shadow"
,
"-3px 3px 3px #777"
);
dialogDiv
.
css
(
"box-shadow"
,
"-3px 3px 3px #777"
);
break
;
case
2
:
left_dialog
=
left_arrow
+
40
;
case
2
:
left_dialog
=
left_arrow
+
24
;
top_dialog
=
top_arrow
-
20
;
arrowDiv
.
css
(
"border-color"
,
"transparent #ccd transparent transparent"
);
...
...
@@ -78,7 +78,7 @@ function OpenPopupText(posX, posY, content, dialogDiv, arrowDiv) {
dialogDiv
.
css
(
"-webkit-box-shadow"
,
"3px 3px 3px #777"
);
dialogDiv
.
css
(
"box-shadow"
,
"3px 3px 3px #777"
);
break
;
case
3
:
left_dialog
=
left_arrow
+
40
;
case
3
:
left_dialog
=
left_arrow
+
24
;
top_dialog
=
top_arrow
-
dialogDiv
.
height
()
+
30
;
arrowDiv
.
css
(
"border-color"
,
"transparent #ccd transparent transparent"
);
...
...
abvw/js/history.js
View file @
6865932b
This diff is collapsed.
Click to expand it.
abvw/settings.html
View file @
6865932b
...
...
@@ -102,9 +102,9 @@
<label><input
type=
radio
name=
"firstview"
id=
"rdoOpt001"
checked=
"checked"
value=
"bookshelf"
checked
><label
for=
"rdoOpt001"
id=
"Label1"
lang=
"txtHondana"
class=
"lang"
>
本棚
</label></label>
<label><input
type=
radio
name=
"firstview"
id=
"rdoOpt0011"
value=
"booklist"
><label
for=
"rdoOpt0011"
id=
"Label2"
lang=
"txtList"
class=
"lang"
>
リスト
</label></label>
</li>
<li><label><input
type=
checkbox
name=
"repeat"
value=
"repeat"
class=
"chkbx"
id=
"chkOpt002"
checked=
"checked"
/><label
for=
"chk
1
"
id=
"txtOpt002"
lang=
"txtOpt002"
class=
"lang"
>
動画、音楽繰り返し
</label></label></li>
<li><label><input
type=
checkbox
name=
"repeat"
value=
"repeat"
class=
"chkbx"
id=
"chkOpt002"
checked=
"checked"
/><label
for=
"chk
Opt002
"
id=
"txtOpt002"
lang=
"txtOpt002"
class=
"lang"
>
動画、音楽繰り返し
</label></label></li>
<li><label><input
type=
checkbox
name=
"marking"
value=
"marking"
class=
"chkbx"
id=
"chkOpt003"
checked=
"checked"
/><label
id=
"lblOpt003"
for=
"chkOpt003"
lang=
"txtOpt003"
class=
"lang"
>
マーキング(コンテンツを開いた時に表示する)
</label></label><span
class=
"notice lang"
lang=
"txtOpt004"
>
※コンテンツを開いた時に表示する
</span></li>
<li><label><input
type=
checkbox
name=
"confirmClose"
value=
"confirmClose"
class=
"chkbx"
id=
"chkOpt005"
checked=
"checked"
/><label
for=
"chk
1
"
id=
"txtOpt005"
lang=
"txtOpt005"
class=
"lang"
>
タブ・ブラウザ終了・F5時のアラートが表示する
</label></label></li>
<li><label><input
type=
checkbox
name=
"confirmClose"
value=
"confirmClose"
class=
"chkbx"
id=
"chkOpt005"
checked=
"checked"
/><label
for=
"chk
Opt005
"
id=
"txtOpt005"
lang=
"txtOpt005"
class=
"lang"
>
タブ・ブラウザ終了・F5時のアラートが表示する
</label></label></li>
</ul>
<h3
id=
"txtBkResCap"
lang=
"txtBkResCap"
class=
"lang"
>
サーバにバックアップ/リストア
</h3>
<p
class=
"logout_backup"
><label><input
type=
checkbox
name=
"backup"
value=
"backup"
id=
"chkOptBkCfm"
checked=
"checked"
><label
id=
"txtOptBkCfm"
for=
"chkOptBkCfm"
lang=
"txtOptBkCfm"
class=
"lang"
>
毎回ログアウトの時、バックアップするかどうかは必ず確認する
</label></label></p>
...
...
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