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
ea557691
Commit
ea557691
authored
May 13, 2013
by
Motohisa Nakano
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'sbb' of gitlab.agentec.jp:abook_web/web-viewer into sbb
parents
1e54e170
66068e8c
Show whitespace changes
Inline
Side-by-side
Showing
16 changed files
with
118 additions
and
91 deletions
+118
-91
abvw/bookmark.html
+7
-5
abvw/common/js/i18n.js
+6
-0
abvw/contentsearch.html
+7
-5
abvw/contentview.html
+3
-3
abvw/css/common.css
+14
-8
abvw/css/home.css
+2
-2
abvw/css/login.css
+5
-0
abvw/css/viewer.css
+0
-2
abvw/history.html
+7
-5
abvw/home.html
+7
-5
abvw/img/list/pic_1.png
+0
-0
abvw/img/list/pic_2.png
+0
-0
abvw/js/header.js
+23
-24
abvw/js/login.js
+25
-20
abvw/settings.html
+7
-5
login.html
+5
-7
No files found.
abvw/bookmark.html
View file @
ea557691
...
...
@@ -36,11 +36,13 @@
<div
class=
"menu_language"
>
<ul>
<li><label
class=
"lang"
lang=
"txtLoginUser"
>
こんにちは
</label><label
id=
"login-username"
>
</label></li>
<li
class=
"jp"
id=
"language-jp"
><a
href=
"#"
>
日本語
</a></li>
<li
class=
"eng"
id=
"language-en"
><a
href=
"#"
>
English
</a></li>
<li
class=
"kor"
id=
"language-kr"
><a
href=
"#"
>
한글
</a></li>
<li
class=
"th"
id=
"language-th"
><a
href=
"#"
>
ภาษาไทย
</a></li>
<li
class=
"in"
id=
"language-in"
><a
href=
"#"
>
Indonesia
</a></li>
<li>
<select
id=
"changeLanguage"
>
<option
value=
"language-ja"
>
日本語
</option>
<option
value=
"language-en"
>
English
</option>
<option
value=
"language-ko"
>
한글
</option>
</select>
</li>
<li
style=
"padding-left:0;"
><input
id=
"searchbox-key"
type=
"text"
placeholder=
"キーワードを入力してください"
></li>
</ul>
<div
id=
"header-searchbox"
>
...
...
abvw/common/js/i18n.js
View file @
ea557691
...
...
@@ -80,6 +80,12 @@ function loadLanguage(lang) {
var
jsonLangData
=
data
;
replaceText
(
jsonLangData
);
// 20130508 change language selector
var
languageSelector
=
$
(
'#changeLanguage'
);
if
(
languageSelector
)
{
languageSelector
.
val
(
'language-'
+
lang
);
}
// 言語設定、言語データをストレージにキャッシュしておく
storeCurrentLanguage
(
lang
,
jsonLangData
);
},
...
...
abvw/contentsearch.html
View file @
ea557691
...
...
@@ -33,11 +33,13 @@
<div
class=
"menu_language"
>
<ul>
<li><label
class=
"lang"
lang=
"txtLoginUser"
>
こんにちは
</label><label
id=
"login-username"
>
</label></li>
<li
class=
"jp"
id=
"language-jp"
><a
href=
"#"
>
日本語
</a></li>
<li
class=
"eng"
id=
"language-en"
><a
href=
"#"
>
English
</a></li>
<li
class=
"kor"
id=
"language-kr"
><a
href=
"#"
>
한글
</a></li>
<li
class=
"th"
id=
"language-th"
><a
href=
"#"
>
ภาษาไทย
</a></li>
<li
class=
"in"
id=
"language-in"
><a
href=
"#"
>
Indonesia
</a></li>
<li>
<select
id=
"changeLanguage"
>
<option
value=
"language-ja"
>
日本語
</option>
<option
value=
"language-en"
>
English
</option>
<option
value=
"language-ko"
>
한글
</option>
</select>
</li>
<li
style=
"padding-left:0;"
><input
id=
"searchbox-key"
type=
"text"
placeholder=
"キーワードを入力してください"
></li>
</ul>
<div
id=
"header-searchbox"
>
...
...
abvw/contentview.html
View file @
ea557691
...
...
@@ -68,8 +68,8 @@
</div>
<header
id =
"header_toolbar"
class=
"header"
>
<div
class =
"wrapper_header"
style=
"min-width:1012px;"
>
<div
id =
"top_toolbar"
class=
"hdLcolumn fix"
style=
"min-width:1012px;"
>
<div
class =
"wrapper_header"
>
<div
id =
"top_toolbar"
class=
"hdLcolumn fix"
>
<div
style=
"float:left; width:302px;"
>
<span
class=
"gloupe"
style=
"border-left:none;"
>
<a
id=
"imgHome"
class=
"home"
title=
"ホーム"
lang=
"dspHome"
>
</a>
<a
id=
"imgBack"
class=
"back"
title=
"戻る"
lang=
"txtTooltipBack"
>
</a>
</span>
<!-- <img src="img/home.png" height="25" id="imgHome" class="toolbar_icon" />
...
...
@@ -137,7 +137,7 @@
</div>
<div
class=
"hdRcolumn"
>
<input
id=
"txtSearch"
type=
"text"
>
<input
id=
"txtSearch"
type=
"text"
/
>
<!--<a id="lblSearch" class="search lang" lang="txtSearch">検索</a>-->
<!-- <div id="divSearchResult" style="display: none; " title="Search Result"> </div> -->
...
...
abvw/css/common.css
View file @
ea557691
...
...
@@ -82,14 +82,6 @@ header{
background
:
url(../img/common/icon_kor.png)
no-repeat
left
center
;
margin-left
:
6px
;
}
.cnt_header
.menu_language
ul
li
.th
{
background
:
url(../img/common/icon_th.png)
no-repeat
left
center
;
margin-left
:
6px
;
}
.cnt_header
.menu_language
ul
li
.in
{
background
:
url(../img/common/icon_in.png)
no-repeat
left
center
;
margin-left
:
6px
;
}
.cnt_header
.black
,
.cnt_header
.blue
{
display
:
block
;
width
:
80px
;
...
...
@@ -377,3 +369,17 @@ footer{
}
.focus
{
color
:
#969696
}
select
{
-webkit-border-radius
:
4px
4px
4px
4px
;
-moz-border-radius
:
4px
4px
4px
4px
;
border-radius
:
4px
4px
4px
4px
;
padding
:
2px
;
border
:
1px
#000000
solid
;
}
option
{
}
abvw/css/home.css
View file @
ea557691
...
...
@@ -414,9 +414,9 @@ float:left;
margin-left
:
90px
;
}
.cnt_section_list
.text
ul
.pic
li
{
height
:
82
px
;
height
:
68
px
;
float
:
left
;
margin-left
:
1
7
px
;
margin-left
:
1
0
px
;
}
.cnt_section_list
.text
ul
.pic
li
img
{
position
:
relative
;
...
...
abvw/css/login.css
View file @
ea557691
...
...
@@ -47,6 +47,11 @@ a:hover
/* 3. header setting */
/*----------------------------*/
.cnt_header
.menu_language
{
margin-top
:
20px
;
margin-right
:
10px
;
}
/*----------------------------*/
/* 4. footer setting */
...
...
abvw/css/viewer.css
View file @
ea557691
...
...
@@ -71,8 +71,6 @@ header{
}
.wrapper_header
{
max-width
:
none
;
min-width
:
1000px
;
height
:
60px
;
/*position:absolute;*/
}
...
...
abvw/history.html
View file @
ea557691
...
...
@@ -32,11 +32,13 @@
<div
class=
"menu_language"
>
<ul>
<li><label
class=
"lang"
lang=
"txtLoginUser"
>
こんにちは
</label><label
id=
"login-username"
>
</label></li>
<li
class=
"jp"
id=
"language-jp"
><a
href=
"#"
>
日本語
</a></li>
<li
class=
"eng"
id=
"language-en"
><a
href=
"#"
>
English
</a></li>
<li
class=
"kor"
id=
"language-kr"
><a
href=
"#"
>
한글
</a></li>
<li
class=
"th"
id=
"language-th"
><a
href=
"#"
>
ภาษาไทย
</a></li>
<li
class=
"in"
id=
"language-in"
><a
href=
"#"
>
Indonesia
</a></li>
<li>
<select
id=
"changeLanguage"
>
<option
value=
"language-ja"
>
日本語
</option>
<option
value=
"language-en"
>
English
</option>
<option
value=
"language-ko"
>
한글
</option>
</select>
</li>
<li
style=
"padding-left:0;"
><input
id=
"searchbox-key"
type=
"text"
placeholder=
"キーワードを入力してください"
></li>
</ul>
<div
id=
"header-searchbox"
>
...
...
abvw/home.html
View file @
ea557691
...
...
@@ -37,11 +37,13 @@
<div
class=
"menu_language"
>
<ul>
<li><label
class=
"lang"
lang=
"txtLoginUser"
>
こんにちは
</label><label
id=
"login-username"
>
</label></li>
<li
class=
"jp"
id=
"language-jp"
><a
href=
"#"
>
日本語
</a></li>
<li
class=
"eng"
id=
"language-en"
><a
href=
"#"
>
English
</a></li>
<li
class=
"kor"
id=
"language-kr"
><a
href=
"#"
>
한글
</a></li>
<li
class=
"th"
id=
"language-th"
><a
href=
"#"
>
ภาษาไทย
</a></li>
<li
class=
"in"
id=
"language-in"
><a
href=
"#"
>
Indonesia
</a></li>
<li>
<select
id=
"changeLanguage"
>
<option
value=
"language-ja"
>
日本語
</option>
<option
value=
"language-en"
>
English
</option>
<option
value=
"language-ko"
>
한글
</option>
</select>
</li>
<li
style=
"padding-left:0;"
><input
id=
"searchbox-key"
type=
"text"
placeholder=
"キーワードを入力してください"
></li>
</ul>
<div
id=
"header-searchbox"
>
...
...
abvw/img/list/pic_1.png
View file @
ea557691
846 Bytes
|
W:
|
H:
53.4 KB
|
W:
|
H:
2-up
Swipe
Onion skin
abvw/img/list/pic_2.png
View file @
ea557691
970 Bytes
|
W:
|
H:
44.9 KB
|
W:
|
H:
2-up
Swipe
Onion skin
abvw/js/header.js
View file @
ea557691
...
...
@@ -25,6 +25,28 @@ $(document).ready(function () {
//Go to Search Page
$
(
'#searchbox-search'
).
click
(
searchHeaderButtonFunction
);
//Change language
$
(
'#changeLanguage'
).
change
(
function
()
{
switch
(
$
(
this
).
val
())
{
case
"language-ja"
:
changeLanguageJa
();
break
;
case
"language-ko"
:
changeLanguageKo
();
break
;
case
"language-en"
:
changeLanguageEn
();
break
;
default
:
changeLanguageJa
();
break
;
}
});
/*
//Change Language JP
$('#language-jp').click(changeLanguageJa);
...
...
@@ -33,12 +55,7 @@ $(document).ready(function () {
//Change Language EN
$('#language-en').click(changeLanguageEn);
//Change Language TH
$
(
'#language-th'
).
click
(
changeLanguageTh
);
//Change Language IN
$
(
'#language-in'
).
click
(
changeLanguageIn
);
*/
//Go To Bookmark Page
$
(
'#dspShiori'
).
click
(
bookmarkFunction
);
...
...
@@ -254,24 +271,6 @@ function changeLanguageKo(){
$
(
"#searchbox-key"
).
attr
(
'placeholder'
,
i18nText
(
'msgPlaceHolder'
));
};
//Change Language Thai function
function
changeLanguageTh
(){
changeLanguage
(
Consts
.
ConstLanguage_Th
);
if
(
window
.
changeLanguageCallBackFunction
){
changeLanguageCallBackFunction
();
}
$
(
"#searchbox-key"
).
attr
(
'placeholder'
,
i18nText
(
'msgPlaceHolder'
));
};
//Change Language Indonesia function
function
changeLanguageIn
(){
changeLanguage
(
Consts
.
ConstLanguage_In
);
if
(
window
.
changeLanguageCallBackFunction
){
changeLanguageCallBackFunction
();
}
$
(
"#searchbox-key"
).
attr
(
'placeholder'
,
i18nText
(
'msgPlaceHolder'
));
};
//Shiori function
function
bookmarkFunction
(){
//window.location = ScreenIds.BookmarkList;
...
...
abvw/js/login.js
View file @
ea557691
...
...
@@ -411,25 +411,7 @@ function changeLanguageEn(){
$
(
'#main-error-message'
).
html
(
format
(
i18nText
(
'msgLoginErrWrong'
),
login_errorMessage
).
toString
());
}
};
//Change Language Thai
function
changeLanguageTh
(){
changeLanguage
(
Consts
.
ConstLanguage_Th
);
document
.
title
=
i18nText
(
'dspLogin'
)
+
' | '
+
i18nText
(
'sysAppTitle'
);
//ClientData.userInfo_language(Consts.ConstLanguage_En);
if
(
login_errorMessage
!=
""
){
$
(
'#main-error-message'
).
html
(
format
(
i18nText
(
'msgLoginErrWrong'
),
login_errorMessage
).
toString
());
}
};
//Change Language Indonesia
function
changeLanguageIn
(){
changeLanguage
(
Consts
.
ConstLanguage_In
);
document
.
title
=
i18nText
(
'dspLogin'
)
+
' | '
+
i18nText
(
'sysAppTitle'
);
//ClientData.userInfo_language(Consts.ConstLanguage_En);
if
(
login_errorMessage
!=
""
){
$
(
'#main-error-message'
).
html
(
format
(
i18nText
(
'msgLoginErrWrong'
),
login_errorMessage
).
toString
());
}
};
//Login click function
function
loginFunction
(){
if
(
checkValidation
())
{
...
...
@@ -534,14 +516,37 @@ $(document).ready(function (e) {
//Initial Screen
initialScreen
();
//Change language
$
(
'#changeLanguage'
).
change
(
function
()
{
switch
(
$
(
this
).
val
())
{
case
"language-ja"
:
changeLanguageJa
();
break
;
case
"language-ko"
:
changeLanguageKo
();
break
;
case
"language-en"
:
changeLanguageEn
();
break
;
default
:
changeLanguageJa
();
break
;
}
});
/*
//Change language japanese
$('#language-ja').click(changeLanguageJa);
//Change language korean
$('#language-ko').click(changeLanguageKo);
//Change laguage english
$('#language-en').click(changeLanguageEn);
$
(
'#language-th'
).
click
(
changeLanguageTh
);
$
(
'#language-in'
).
click
(
changeLanguageIn
);
*/
//Button login click event
$
(
'#btnLogin'
).
click
(
loginFunction
);
//Button Change click event
...
...
abvw/settings.html
View file @
ea557691
...
...
@@ -36,11 +36,13 @@
<div
class=
"menu_language"
>
<ul>
<li><label
class=
"lang"
lang=
"txtLoginUser"
>
こんにちは
</label><label
id=
"login-username"
>
</label></li>
<li
class=
"jp"
id=
"language-jp"
><a
href=
"#"
>
日本語
</a></li>
<li
class=
"eng"
id=
"language-en"
><a
href=
"#"
>
English
</a></li>
<li
class=
"kor"
id=
"language-kr"
><a
href=
"#"
>
한글
</a></li>
<li
class=
"th"
id=
"language-th"
><a
href=
"#"
>
ภาษาไทย
</a></li>
<li
class=
"in"
id=
"language-in"
><a
href=
"#"
>
Indonesia
</a></li>
<li>
<select
id=
"changeLanguage"
>
<option
value=
"language-ja"
>
日本語
</option>
<option
value=
"language-en"
>
English
</option>
<option
value=
"language-ko"
>
한글
</option>
</select>
</li>
<li
style=
"padding-left:0;"
><input
id=
"searchbox-key"
type=
"text"
placeholder=
"キーワードを入力してください"
></li>
</ul>
<div
id=
"header-searchbox"
>
...
...
login.html
View file @
ea557691
...
...
@@ -37,13 +37,11 @@
<div
class=
"cnt_header"
>
<a
class=
"logo"
href=
"#"
>
</a>
<div
class=
"menu_language"
>
<ul>
<li
class=
"jp"
><a
id=
"language-ja"
>
日本語
</a></li>
<li
class=
"eng"
><a
id=
"language-en"
>
English
</a></li>
<li
class=
"kor"
><a
id=
"language-ko"
>
한국어
</a></li>
<li
class=
"th"
><a
id=
"language-th"
>
ภาษาไทย
</a></li>
<li
class=
"in"
><a
id=
"language-in"
>
Indonesia
</a></li>
</ul>
<select
id=
"changeLanguage"
>
<option
value=
"language-ja"
>
日本語
</option>
<option
value=
"language-en"
>
English
</option>
<option
value=
"language-ko"
>
한글
</option>
</select>
</div>
</div>
</header>
...
...
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