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
143f4938
Commit
143f4938
authored
Nov 02, 2022
by
NGO THI HONG
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature/1.0_check_web_dev_50272' into feature/1.0_check_web_dev_50265
parents
cb1e2145
78751f40
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
58 additions
and
38 deletions
+58
-38
abvw/common/header.html
+6
-6
abvw/common/js/web/i18n.js
+9
-1
abvw/common/json/lang/lang-en.json
+5
-1
abvw/common/json/lang/lang-ja.json
+5
-1
abvw/common/json/lang/lang-ko.json
+5
-1
abvw/html/display-menu.html
+10
-0
abvw/html/pickup.html
+4
-25
abvw/js/pickup/pickup.js
+7
-3
abvw/js/template/template.js
+7
-0
No files found.
abvw/common/header.html
View file @
143f4938
...
@@ -2,35 +2,35 @@
...
@@ -2,35 +2,35 @@
<nav
class=
"navbar navbar-dark shadow-sm px-sm-auto px-0"
>
<nav
class=
"navbar navbar-dark shadow-sm px-sm-auto px-0"
>
<div
class=
"container"
>
<div
class=
"container"
>
<a
href=
"dashboard.html"
class=
"navbar-brand"
>
<a
href=
"dashboard.html"
class=
"navbar-brand"
>
<img
src=
"../common/img/logo.svg"
alt=
"ロゴ"
class=
"img-fluid
"
>
<img
src=
"../common/img/logo.svg"
type=
"image"
alt=
""
class=
"img-fluid lang"
lang=
"logo
"
>
</a>
</a>
<ul
class=
"mr-sm-auto ml-sm-0 ml-auto mb-0 pl-0 d-flex"
>
<ul
class=
"mr-sm-auto ml-sm-0 ml-auto mb-0 pl-0 d-flex"
>
<li
class=
"active nav-link"
>
<li
class=
"active nav-link"
>
<a
href=
"dashboard.html"
class=
"d-block text-center text-decoration-none"
>
<a
href=
"dashboard.html"
class=
"d-block text-center text-decoration-none"
>
<img
src=
"../common/img/nav_icon_dashboard.svg"
alt=
"ダッシュボード"
class=
"p-sm-1 p-0 img-flui
d"
>
<img
src=
"../common/img/nav_icon_dashboard.svg"
type=
"image"
alt=
""
class=
"p-sm-1 p-0 img-fluid lang"
lang=
"dashboar
d"
>
<div
class=
"fs-7 d-sm-block d-none lang"
lang=
"dashboard"
></div>
<div
class=
"fs-7 d-sm-block d-none lang"
lang=
"dashboard"
></div>
</a>
</a>
</li>
</li>
<li
class=
"nav-link"
>
<li
class=
"nav-link"
>
<a
href=
"task-list.html"
class=
"d-block text-center text-decoration-none"
>
<a
href=
"task-list.html"
class=
"d-block text-center text-decoration-none"
>
<img
src=
"../common/img/nav_icon_task.svg"
alt=
"作業一覧"
class=
"p-sm-1 p-0 img-fluid
"
>
<img
src=
"../common/img/nav_icon_task.svg"
type=
"image"
alt=
""
class=
"p-sm-1 p-0 img-fluid lang"
lang=
"workList
"
>
<div
class=
"fs-7 d-sm-block d-none lang"
lang=
"workList"
></div>
<div
class=
"fs-7 d-sm-block d-none lang"
lang=
"workList"
></div>
</a>
</a>
</li>
</li>
</ul>
</ul>
<div
class=
"dropdown"
>
<div
class=
"dropdown"
>
<a
href=
"#"
class=
"nav-link text-center"
id=
"dropdown-profile"
data-toggle=
"dropdown"
aria-haspopup=
"true"
aria-expanded=
"false"
>
<a
href=
"#"
class=
"nav-link text-center"
id=
"dropdown-profile"
data-toggle=
"dropdown"
aria-haspopup=
"true"
aria-expanded=
"false"
>
<img
src=
"../common/img/nav_icon_profile.svg"
alt=
"プロフィール"
class=
"p-sm-1 p-0 img-fluid profile-img
"
>
<img
src=
"../common/img/nav_icon_profile.svg"
type=
"image"
alt=
""
class=
"p-sm-1 p-0 img-fluid profile-img lang"
lang=
"profile
"
>
<div
class=
"fs-7 d-sm-block d-none lang"
lang=
"profile"
></div>
<div
class=
"fs-7 d-sm-block d-none lang"
lang=
"profile"
></div>
</a>
</a>
<div
class=
"dropdown-menu dropdown-menu-right"
data-animation=
"true"
aria-labelledby=
"dropdown-profile"
>
<div
class=
"dropdown-menu dropdown-menu-right"
data-animation=
"true"
aria-labelledby=
"dropdown-profile"
>
<h6
class=
"dropdown-header lang"
lang=
"dspLogin"
></h6>
<h6
class=
"dropdown-header lang"
lang=
"dspLogin"
></h6>
<a
class=
"dropdown-item "
href=
"account-setting.html"
>
<a
class=
"dropdown-item "
href=
"account-setting.html"
>
<img
src=
"../common/img/menu_icon_account_setting.svg"
alt=
"アカウント設定"
class=
"navbar-dropdown-icon
"
>
<img
src=
"../common/img/menu_icon_account_setting.svg"
type=
"image"
alt=
""
class=
"navbar-dropdown-icon lang"
lang=
"account_setting
"
>
<span
class=
"lang"
style=
" color: #6c757d;"
lang=
"account_setting"
></span>
<span
class=
"lang"
style=
" color: #6c757d;"
lang=
"account_setting"
></span>
</a>
</a>
<a
class=
"dropdown-item "
href=
"#"
data-toggle=
"modal"
data-target=
"#confirm-modal"
>
<a
class=
"dropdown-item "
href=
"#"
data-toggle=
"modal"
data-target=
"#confirm-modal"
>
<img
src=
"../common/img/menu_icon_logout.svg"
alt=
"ログアウト"
class=
"navbar-dropdown-icon
"
>
<img
src=
"../common/img/menu_icon_logout.svg"
type=
"image"
alt=
""
class=
"navbar-dropdown-icon lang"
lang=
"dspLogout
"
>
<span
class=
"lang"
style=
" color: #6c757d;"
lang=
"dspLogout"
></span>
<span
class=
"lang"
style=
" color: #6c757d;"
lang=
"dspLogout"
></span>
</a>
</a>
</div>
</div>
...
...
abvw/common/js/web/i18n.js
View file @
143f4938
...
@@ -123,12 +123,20 @@ I18N.replaceText = function(jsonLangData) {
...
@@ -123,12 +123,20 @@ I18N.replaceText = function(jsonLangData) {
if
(
tn
==
'input'
)
{
if
(
tn
==
'input'
)
{
if
(
obj
.
attr
(
'type'
)
==
'button'
||
obj
.
attr
(
'type'
)
==
'submit'
)
{
if
(
obj
.
attr
(
'type'
)
==
'button'
||
obj
.
attr
(
'type'
)
==
'submit'
)
{
obj
.
val
(
langText
);
obj
.
val
(
langText
);
}
else
{
}
else
{
obj
.
text
(
langText
);
obj
.
text
(
langText
);
}
}
}
else
{
}
else
{
if
(
obj
.
attr
(
'type'
)
==
'image'
)
{
obj
.
attr
(
'alt'
,
langText
);
obj
.
attr
(
'title'
,
langText
);
}
else
{
obj
.
text
(
langText
);
obj
.
text
(
langText
);
}
}
}
}
}
}
}
}
}
...
...
abvw/common/json/lang/lang-en.json
View file @
143f4938
...
@@ -73,6 +73,9 @@
...
@@ -73,6 +73,9 @@
"sender"
:
"Sender"
,
"sender"
:
"Sender"
,
"content"
:
"Content"
,
"content"
:
"Content"
,
"operationSelection"
:
"Operation select"
,
"operationSelection"
:
"Operation select"
,
"selection"
:
"Selection"
"selection"
:
"Selection"
,
"logo"
:
"logo"
,
"listDisplay"
:
"List display"
,
"gridDisplay"
:
"Grid display"
}
}
\ No newline at end of file
abvw/common/json/lang/lang-ja.json
View file @
143f4938
...
@@ -73,5 +73,8 @@
...
@@ -73,5 +73,8 @@
"sender"
:
"送信者"
,
"sender"
:
"送信者"
,
"content"
:
"内容"
,
"content"
:
"内容"
,
"operationSelection"
:
"作業選択"
,
"operationSelection"
:
"作業選択"
,
"selection"
:
"選択"
"selection"
:
"選択"
,
"logo"
:
"ロゴ"
,
"listDisplay"
:
"リスト表示"
,
"gridDisplay"
:
"グリッド表示"
}
}
\ No newline at end of file
abvw/common/json/lang/lang-ko.json
View file @
143f4938
...
@@ -73,5 +73,8 @@
...
@@ -73,5 +73,8 @@
"sender"
:
"Sender"
,
"sender"
:
"Sender"
,
"content"
:
"Content"
,
"content"
:
"Content"
,
"operationSelection"
:
"Operation select"
,
"operationSelection"
:
"Operation select"
,
"selection"
:
"Selection"
"selection"
:
"Selection"
,
"logo"
:
"logo"
,
"listDisplay"
:
"list display"
,
"gridDisplay"
:
"Grid display"
}
}
\ No newline at end of file
abvw/html/display-menu.html
0 → 100644
View file @
143f4938
<!-- view display type menu -->
<div
class=
"view"
>
<a
href=
"#"
class=
"text-decoration-none view-btn view-list-btn"
>
<img
src=
"../common/img/icon_view_list.svg"
alt=
""
class=
"list-block-icon mx-1 lang"
lang=
"listDisplay"
type=
"image"
data-toggle=
"tooltip"
data-placement=
"bottom"
title=
""
>
</a>
<a
href=
"#"
class=
"text-decoration-none view-btn view-block-btn active"
>
<img
src=
"../common/img/icon_view_block.svg"
alt=
""
class=
"list-block-icon mx-1 lang"
lang=
"gridDisplay"
type=
"image"
data-toggle=
"tooltip"
data-placement=
"bottom"
title=
""
>
</a>
</div>
\ No newline at end of file
abvw/html/pickup.html
View file @
143f4938
...
@@ -76,14 +76,7 @@
...
@@ -76,14 +76,7 @@
<nav
aria-label=
"view"
class=
"view-menu mt-2"
id=
"viewMenuNewReport"
>
<nav
aria-label=
"view"
class=
"view-menu mt-2"
id=
"viewMenuNewReport"
>
<div
class=
"d-flex justify-content-between align-items-center"
>
<div
class=
"d-flex justify-content-between align-items-center"
>
<div
class=
"fs-9"
id=
"count-NewReport"
></div>
<div
class=
"fs-9"
id=
"count-NewReport"
></div>
<div
class=
"view"
>
<div
id=
"includedNewReportMenuDisplay"
></div>
<a
href=
"#"
class=
"text-decoration-none view-btn view-list-btn"
>
<img
src=
"../common/img/icon_view_list.svg"
alt=
"リスト表示"
class=
"list-block-icon mx-1"
data-toggle=
"tooltip"
data-placement=
"bottom"
title=
"リスト表示"
>
</a>
<a
href=
"#"
class=
"text-decoration-none view-btn view-block-btn active"
>
<img
src=
"../common/img/icon_view_block.svg"
alt=
"グリッド表示"
class=
"list-block-icon mx-1"
data-toggle=
"tooltip"
data-placement=
"bottom"
title=
"グリッド表示"
>
</a>
</div>
</div>
</div>
</nav>
</nav>
<!-- task list -->
<!-- task list -->
...
@@ -96,14 +89,7 @@
...
@@ -96,14 +89,7 @@
<nav
aria-label=
"view"
class=
"view-menu mt-2"
id=
"viewMenuContinuousWork"
>
<nav
aria-label=
"view"
class=
"view-menu mt-2"
id=
"viewMenuContinuousWork"
>
<div
class=
"d-flex justify-content-between align-items-center"
>
<div
class=
"d-flex justify-content-between align-items-center"
>
<div
class=
"fs-9"
id=
"count-ContinuousWork"
></div>
<div
class=
"fs-9"
id=
"count-ContinuousWork"
></div>
<div
class=
"view"
>
<div
id=
"includedContinuousWorkMenuDisplay"
></div>
<a
href=
"#"
class=
"text-decoration-none view-btn view-list-btn"
>
<img
src=
"../common/img/icon_view_list.svg"
alt=
"リスト表示"
class=
"list-block-icon mx-1"
data-toggle=
"tooltip"
data-placement=
"bottom"
title=
"リスト表示"
>
</a>
<a
href=
"#"
class=
"text-decoration-none view-btn view-block-btn active"
>
<img
src=
"../common/img/icon_view_block.svg"
alt=
"グリッド表示"
class=
"list-block-icon mx-1"
data-toggle=
"tooltip"
data-placement=
"bottom"
title=
"グリッド表示"
>
</a>
</div>
</div>
</div>
</nav>
</nav>
<!-- task list -->
<!-- task list -->
...
@@ -115,15 +101,8 @@
...
@@ -115,15 +101,8 @@
<!-- view menu -->
<!-- view menu -->
<nav
aria-label=
"view"
class=
"view-menu mt-2"
id=
"viewMenuReportWithWarnings"
>
<nav
aria-label=
"view"
class=
"view-menu mt-2"
id=
"viewMenuReportWithWarnings"
>
<div
class=
"d-flex justify-content-between align-items-center"
>
<div
class=
"d-flex justify-content-between align-items-center"
>
<div
class=
"fs-9"
d=
"count-ReportWithWarnings"
></div>
<div
class=
"fs-9"
id=
"count-ReportWithWarnings"
></div>
<div
class=
"view"
>
<div
id=
"includedReportWithWarningsMenuDisplay"
></div>
<a
href=
"#"
class=
"text-decoration-none view-btn view-list-btn"
>
<img
src=
"../common/img/icon_view_list.svg"
alt=
"リスト表示"
class=
"list-block-icon mx-1"
data-toggle=
"tooltip"
data-placement=
"bottom"
title=
"リスト表示"
>
</a>
<a
href=
"#"
class=
"text-decoration-none view-btn view-block-btn active"
>
<img
src=
"../common/img/icon_view_block.svg"
alt=
"グリッド表示"
class=
"list-block-icon mx-1"
data-toggle=
"tooltip"
data-placement=
"bottom"
title=
"グリッド表示"
>
</a>
</div>
</div>
</div>
</nav>
</nav>
<!-- task list -->
<!-- task list -->
...
...
abvw/js/pickup/pickup.js
View file @
143f4938
...
@@ -47,7 +47,7 @@ PICKUP.defaultPickupList = {
...
@@ -47,7 +47,7 @@ PICKUP.defaultPickupList = {
operationList
:[]
operationList
:[]
}
}
PICKUP
.
baseApiUrl
=
CONSTANT
.
URL
.
CMS
.
BASE
+
ClientData
.
userInfo_accountPath
()
+
CONSTANT
.
URL
.
CMS
.
API
.
BASE
+
'pickup/'
;
PICKUP
.
baseApiUrl
=
CONSTANT
.
URL
.
CMS
.
BASE
+
ClientData
.
userInfo_accountPath
()
+
CONSTANT
.
URL
.
CMS
.
API
.
BASE
;
PICKUP
.
getNewReportListApiUrl
=
PICKUP
.
baseApiUrl
+
'newReport'
;
PICKUP
.
getNewReportListApiUrl
=
PICKUP
.
baseApiUrl
+
'newReport'
;
PICKUP
.
getContinuousWorkListApiUrl
=
PICKUP
.
baseApiUrl
+
'workingFlow'
;
PICKUP
.
getContinuousWorkListApiUrl
=
PICKUP
.
baseApiUrl
+
'workingFlow'
;
PICKUP
.
getReportWithWarningsListApiUrl
=
PICKUP
.
baseApiUrl
+
'warningWithReport'
;
PICKUP
.
getReportWithWarningsListApiUrl
=
PICKUP
.
baseApiUrl
+
'warningWithReport'
;
...
@@ -116,6 +116,10 @@ PICKUP.init = function() {
...
@@ -116,6 +116,10 @@ PICKUP.init = function() {
console
.
log
(
"PICKUP.init"
);
console
.
log
(
"PICKUP.init"
);
TEMPLATE
.
loadHearder
(
"#includedHeader"
);
TEMPLATE
.
loadHearder
(
"#includedHeader"
);
TEMPLATE
.
loadConfirmModal
(
"#includedConfirmModal"
);
TEMPLATE
.
loadConfirmModal
(
"#includedConfirmModal"
);
TEMPLATE
.
loadDisplaymenu
(
"#includedNewReportMenuDisplay"
);
TEMPLATE
.
loadDisplaymenu
(
"#includedContinuousWorkMenuDisplay"
);
TEMPLATE
.
loadDisplaymenu
(
"#includedReportWithWarningsMenuDisplay"
);
PICKUP
.
initSettingActivePickup
();
PICKUP
.
initSettingActivePickup
();
PICKUP
.
settingPickup
();
PICKUP
.
settingPickup
();
}
}
...
@@ -135,12 +139,12 @@ PICKUP.settingPickup = function() {
...
@@ -135,12 +139,12 @@ PICKUP.settingPickup = function() {
if
(
settings
.
continousWork
)
if
(
settings
.
continousWork
)
{
{
$
(
"#liTabContinousWork"
).
removeClass
(
'd-none'
);
$
(
"#liTabContinousWork"
).
removeClass
(
'd-none'
);
PICKUP
.
initContinuosWorkTab
();
//
PICKUP.initContinuosWorkTab();
}
}
if
(
settings
.
reportWarning
)
if
(
settings
.
reportWarning
)
{
{
$
(
"#liTabReportWithWarning"
).
removeClass
(
'd-none'
);
$
(
"#liTabReportWithWarning"
).
removeClass
(
'd-none'
);
PICKUP
.
initReportWithWarningsTab
();
//
PICKUP.initReportWithWarningsTab();
}
}
});
});
}
}
...
...
abvw/js/template/template.js
View file @
143f4938
...
@@ -38,6 +38,13 @@ TEMPLATE.loadOperationSelect = function(elmentId) {
...
@@ -38,6 +38,13 @@ TEMPLATE.loadOperationSelect = function(elmentId) {
});
});
}
}
/** Template load display menu */
TEMPLATE
.
loadDisplaymenu
=
function
(
elmentId
)
{
$
(
elmentId
).
load
(
"display-menu.html"
,
function
()
{
I18N
.
initi18n
();
});
}
/**
/**
* show confirm model
* show confirm model
*/
*/
...
...
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