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
b46562b0
Commit
b46562b0
authored
Nov 15, 2022
by
Takumi Imai
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature/1.0_check_web_dev' into feature/1.0_check_web_dev_imai
parents
0350dbf1
4447a725
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
67 additions
and
54 deletions
+67
-54
abweb/common/html/confirmModal.html
+1
-1
abweb/common/json/lang/lang-ko.json
+32
-32
abweb/html/login.html
+1
-0
abweb/js/dashboard/dashboard.js
+1
-0
abweb/js/login/login.js
+4
-0
abweb/js/operationList/operationList.js
+25
-21
abweb/js/reportList/reportList.js
+3
-0
No files found.
abweb/common/html/confirmModal.html
View file @
b46562b0
...
...
@@ -2,7 +2,7 @@
<div
class=
"modal-dialog modal-dialog-centered"
role=
"document"
>
<div
class=
"modal-content"
>
<div
class=
"modal-header bg-dark10"
>
<h5
class=
"modal-title lang"
lang=
"confirmation"
></h5>
<h5
class=
"modal-title lang"
lang=
"confirmation"
id=
"modalTitle"
></h5>
<button
type=
"button"
class=
"close"
data-dismiss=
"modal"
aria-label=
"Close"
>
<span
aria-hidden=
"true"
>
×
</span>
</button>
...
...
abweb/common/json/lang/lang-ko.json
View file @
b46562b0
...
...
@@ -79,38 +79,38 @@
"sendDate"
:
"송신일시"
,
"sender"
:
"송신자"
,
"content"
:
"내용"
,
"buttonOperationSelect"
:
"
Operation
"
,
"labelSendTypeTitle"
:
"
Type
"
,
"labelSendTypeGroup"
:
"
Group
"
,
"labelSendTypeAll"
:
"
All
"
,
"txtMessageContent"
:
"
Message
"
,
"buttonTemplateSelection"
:
"
Template
"
,
"buttonSend"
:
"
Send
"
,
"msgContentRequired"
:
"
Content is required
"
,
"msgContentInvalidLength"
:
"
The content length exceeds the maximum of {0} characters
"
,
"msgOperationRequired"
:
"
Operation is required
"
,
"msgSendTypeRequired"
:
"
Send type is required
"
,
"operationSelection"
:
"
Operation select
"
,
"selection"
:
"
Selection
"
,
"templateSelection"
:
"
Template selection
"
,
"logo"
:
"
logo
"
,
"listDisplay"
:
"
list display
"
,
"gridDisplay"
:
"
Grid display
"
,
"operationListSearchPlacehoder"
:
"
Operation Name
"
,
"searchIcon"
:
"
Search Icon
"
,
"category"
:
"
Category
"
,
"term"
:
"
Term
"
,
"searchClear"
:
"
Search Clear
"
,
"calendar"
:
"
Calendar
"
,
"startDate"
:
"
Start Date
"
,
"endDate"
:
"
End Date
"
,
"sortBy"
:
"
Sort By
"
,
"sortByName"
:
"
Name
"
,
"sortByStartDate"
:
"
Start Date
"
,
"sortByEndDate"
:
"
End Date
"
,
"sortByLastEdit"
:
"
Last Edit
"
,
"categorySelection"
:
"
Category Selection
"
,
"categoryAll"
:
"
All
"
,
"buttonOperationSelect"
:
"
작업
"
,
"labelSendTypeTitle"
:
"
타입
"
,
"labelSendTypeGroup"
:
"
그룹
"
,
"labelSendTypeAll"
:
"
전체
"
,
"txtMessageContent"
:
"
메시지
"
,
"buttonTemplateSelection"
:
"
정형문
"
,
"buttonSend"
:
"
전송
"
,
"msgContentRequired"
:
"
전송할 내용이 없습니다.
"
,
"msgContentInvalidLength"
:
"
최대 전송 가능한 메시지 글자 수는 {0} 자입니다.
"
,
"msgOperationRequired"
:
"
작업을 선택되지 않았습니다.
"
,
"msgSendTypeRequired"
:
"
전송할 타입이 선택되지 않았습니다.
"
,
"operationSelection"
:
"
작업 선택
"
,
"selection"
:
"
선택
"
,
"templateSelection"
:
"
정형문 선택
"
,
"logo"
:
"
로고
"
,
"listDisplay"
:
"
일람 표시
"
,
"gridDisplay"
:
"
그리드 표시
"
,
"operationListSearchPlacehoder"
:
"
작업명
"
,
"searchIcon"
:
"
검색
"
,
"category"
:
"
카테고리
"
,
"term"
:
"
기간
"
,
"searchClear"
:
"
검색 초기화
"
,
"calendar"
:
"
달력
"
,
"startDate"
:
"
개시일
"
,
"endDate"
:
"
종료일
"
,
"sortBy"
:
"
정렬
"
,
"sortByName"
:
"
작업명
"
,
"sortByStartDate"
:
"
개시일
"
,
"sortByEndDate"
:
"
종료일
"
,
"sortByLastEdit"
:
"
최근 수정일
"
,
"categorySelection"
:
"
카테고리 선택
"
,
"categoryAll"
:
"
전체
"
,
"reportForm"
:
"보고서"
,
"periodicInspectionPeriod"
:
"정기점검기간"
,
"msgSendPushMessageSuccess"
:
"푸시메시지를 보냈습니다."
,
...
...
abweb/html/login.html
View file @
b46562b0
...
...
@@ -93,6 +93,7 @@
<label
for=
"confirm"
class=
"lang"
lang=
"txtPwdNewRe"
>
新しいパスワード(確認)
</label>
<input
type=
"password"
class=
"form-control"
id=
"txtConfirmNew"
aria-describedby=
"confirm"
maxlength=
"16"
>
</div>
<input
type=
"hidden"
id=
"getToken"
>
</form>
<span
id=
"dialog-error-message"
class=
"alertTxtDialog lang"
></span>
</div>
...
...
abweb/js/dashboard/dashboard.js
View file @
b46562b0
...
...
@@ -129,6 +129,7 @@ DASHBOARD.init = function () {
sessionStorage
.
activeHomePage
=
CONSTANT
.
PAGE_TAB
.
DASHBOARD
;
sessionStorage
.
removeItem
(
"operationId"
);
sessionStorage
.
removeItem
(
"RL_searchWord"
);
DASHBOARD
.
loadCommon
();
DashboardSetting
.
getSettingData
(
function
(
settings
)
{
DASHBOARD
.
getDashboardData
(
function
(
dataDashboard
)
{
...
...
abweb/js/login/login.js
View file @
b46562b0
...
...
@@ -216,6 +216,7 @@ LOGIN.processLogin = function () {
// move to home.html page
COMMON
.
avwScreenMove
(
'index.html'
);
}
else
if
(
data
.
requirePasswordChange
==
1
)
{
$
(
'#getToken'
).
val
(
data
.
token
);
if
(
LOGIN
.
force_pw_change_on_login
==
2
)
{
// force to change
// password
...
...
@@ -257,6 +258,7 @@ LOGIN.processLogin = function () {
COMMON
.
avwScreenMove
(
'index.html'
);
}
}
else
if
(
data
.
requirePasswordChange
==
2
)
{
$
(
'#getToken'
).
val
(
data
.
token
);
if
(
LOGIN
.
force_pw_change_periodically
==
1
)
{
// recommend to
// change
...
...
@@ -325,6 +327,7 @@ LOGIN.changePasswordProcess = function () {
var
loginId
=
$
(
'#txtAccId'
).
val
();
var
password
=
$
(
'#txtCurrentPass'
).
val
();
var
confirmPass
=
$
(
'#txtConfirmNew'
).
val
();
var
tokenVal
=
$
(
'#getToken'
).
val
();
var
params
=
{
sid
:
sid
,
...
...
@@ -332,6 +335,7 @@ LOGIN.changePasswordProcess = function () {
password
:
password
,
newPassword
:
confirmPass
,
appId
:
4
,
token
:
tokenVal
,
};
if
(
I18N
.
getCurrentLanguage
())
{
...
...
abweb/js/operationList/operationList.js
View file @
b46562b0
...
...
@@ -24,6 +24,7 @@ OL.init = function () {
console
.
log
(
'OperationList start'
);
sessionStorage
.
activeHomePage
=
CONSTANT
.
PAGE_TAB
.
OPERATION_LIST
;
sessionStorage
.
removeItem
(
"operationId"
);
sessionStorage
.
removeItem
(
"RL_searchWord"
);
TEMPLATE
.
loadHeader
(
'#includedHeader'
);
TEMPLATE
.
loadMainNavsTitle
(
'#includedMainTitle'
,
'workList'
,
true
,
null
);
...
...
@@ -300,18 +301,18 @@ OL.createCategoryList = function () {
//Create a side menu category structure
var
categoryListElement
=
$
(
'#categoryListMenu'
);
categoryListElement
.
empty
();
//sort group master list by level low to hight
OL
.
operationGroupMaster
.
sort
(
function
(
a
,
b
)
{
if
(
a
.
operationGroupMasterLevel
<
b
.
operationGroupMasterLevel
)
return
-
1
;
if
(
a
.
operationGroupMasterLevel
>
b
.
operationGroupMasterLevel
)
return
1
;
return
1
;
});
let
allChecked
=
''
;
if
(
typeof
OL
.
operationGroupMasterId
===
'undefined'
||
OL
.
operationGroupMasterId
==
0
)
{
allChecked
=
' checked'
;
}
const
allCategory
=
$
(
'<ul><li><label><input type="radio" name="category" value="0"'
+
allChecked
+
'>
<span class="lang" lang="categoryAll"
>'
+
I18N
.
i18nText
(
'categoryAll'
)
+
'</span></label></li></ul>'
,
'<ul><li><label><input type="radio" name="category" value="0"'
+
allChecked
+
'>
<span
>'
+
I18N
.
i18nText
(
'categoryAll'
)
+
'</span></label></li></ul>'
,
);
categoryListElement
.
append
(
allCategory
);
//create category(operationGroupMaster) structure
...
...
@@ -326,12 +327,22 @@ OL.createCategoryList = function () {
}
let
groupSpan
=
$
(
'<span>'
+
item
.
operationGroupMasterName
+
'</span>'
);
inputLabel
.
append
(
inputRadio
);
inputLabel
.
append
(
' '
);
inputLabel
.
append
(
groupSpan
);
if
(
item
.
operationGroupMasterLevel
==
0
)
{
const
isParent
=
OL
.
operationGroupMaster
.
find
(
function
(
child
)
{
return
item
.
operationGroupMasterId
==
child
.
parentOperationGroupMasterId
;
});
let
parentElement
=
categoryListElement
;
if
(
item
.
parentOperationGroupMasterId
!=
0
)
{
parentElement
=
$
(
'#collapse'
+
item
.
parentOperationGroupMasterId
+
' > ul'
);
}
if
(
isParent
)
{
//accordion
const
accordionId
=
'accordion'
+
item
.
operationGroupMasterId
;
const
headingId
=
'heading'
+
item
.
operationGroupMasterId
;
const
collapseId
=
'collapse'
+
item
.
operationGroupMasterId
;
let
categoryParentElm
=
$
(
'<li class="accordion" id="'
+
accordionId
+
'" />'
);
let
accordionElm
=
$
(
'<li class="accordion" id="'
+
accordionId
+
'" />'
);
//heading
let
headingDiv
=
$
(
'<div id="'
+
headingId
+
'" />'
);
let
linkA
=
$
(
'<a class="list-menu-link" />'
);
let
collapseButton
=
$
(
'<button type="button" class="collapsed" data-toggle="collapse" aria-expanded="true" />'
);
...
...
@@ -341,26 +352,19 @@ OL.createCategoryList = function () {
linkA
.
append
(
collapseButton
);
linkA
.
append
(
inputLabel
);
headingDiv
.
append
(
linkA
);
categoryParentElm
.
append
(
headingDiv
);
categoryListElement
.
append
(
categoryParentElm
);
//collapse
let
collapseElm
=
$
(
'<div id="'
+
collapseId
+
'" class="collapse">'
);
collapseElm
.
attr
(
'data-parent'
,
'#'
+
accordionId
);
collapseElm
.
attr
(
'aria-labelledby'
,
headingId
);
let
ul
=
$
(
'<ul>'
);
collapseElm
.
append
(
ul
);
accordionElm
.
append
(
headingDiv
);
accordionElm
.
append
(
collapseElm
);
parentElement
.
append
(
accordionElm
);
}
else
{
let
li
=
$
(
'<li>'
);
li
.
append
(
inputLabel
);
let
parentElm
=
$
(
'#collapse'
+
item
.
parentOperationGroupMasterId
+
' > ul'
);
if
(
typeof
parentElm
===
'undefined'
||
!
parentElm
||
parentElm
.
length
<
1
)
{
const
accordionParentId
=
'accordion'
+
item
.
parentOperationGroupMasterId
;
const
headingParentId
=
'heading'
+
item
.
parentOperationGroupMasterId
;
const
collapseParentId
=
'collapse'
+
item
.
parentOperationGroupMasterId
;
parentElm
=
$
(
'<div id="'
+
collapseParentId
+
'" class="collapse">'
);
parentElm
.
attr
(
'data-parent'
,
'#'
+
accordionParentId
);
parentElm
.
attr
(
'aria-labelledby'
,
headingParentId
);
let
ul
=
$
(
'<ul>'
);
ul
.
append
(
li
);
parentElm
.
append
(
ul
);
$
(
'#'
+
accordionParentId
).
append
(
parentElm
);
}
else
{
parentElm
.
append
(
li
);
}
parentElement
.
append
(
li
);
}
}
};
...
...
abweb/js/reportList/reportList.js
View file @
b46562b0
...
...
@@ -29,6 +29,9 @@ RL.loadCommon = function () {
};
/**
* create breadcrumb menu on ReportList
*/
RL
.
initBreadcrumb
=
function
()
{
if
(
sessionStorage
.
activeHomePage
==
CONSTANT
.
PAGE_TAB
.
DASHBOARD
)
{
navs
=
[
...
...
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