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
4ceb72e2
Commit
4ceb72e2
authored
Sep 05, 2022
by
Kang Donghun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#49577 loginJs対応
parent
f417d2e1
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
166 additions
and
10 deletions
+166
-10
abvw/common/js/common.js
+42
-7
abvw/common/json/lang/lang-en.json
+2
-1
abvw/common/json/lang/lang-ko.json
+2
-1
abvw/css/layout/common.css
+111
-0
abvw/js/settings.js
+8
-0
login.html
+1
-1
No files found.
abvw/common/js/common.js
View file @
4ceb72e2
...
...
@@ -1754,7 +1754,7 @@ var ClientData = {
return
SessionStorageUtils
.
get
(
COMMON
.
Keys
.
storeUrl
);
}
},
siteUrl
:
function
(
data
)
{
if
(
arguments
.
length
>
0
)
{
SessionStorageUtils
.
set
(
COMMON
.
Keys
.
siteUrl
,
data
);
...
...
@@ -2203,6 +2203,41 @@ var ValidationUtil = {
IsPasswordAlphabetOrNumerOrSymbol
:
function
(
value
)
{
var
reg
=
new
RegExp
(
"
\
u005b
\
u005e
\
u0061
\
u002d
\
u007a
\
u0041
\
u002d
\
u005a
\
u0030
\
u002d
\
u0039
\
u0027
\
u0023
\
u0027
\
u002b
\
u005c
\
u002d
\
u0027
\
u002e
\
u0027
\
u002f
\
u0027
\
u003a
\
u0027
\
u005f
\
u005d"
);
return
!
reg
.
test
(
value
);
},
HasSeqChar
:
function
(
value
,
num
)
{
var
count
=
0
;
var
prev
=
0
;
for
(
var
i
=
0
;
i
<
str
.
length
();
i
++
)
{
var
c
=
str
.
charAt
(
i
);
if
(
i
>
0
&&
prev
==
c
)
{
count
++
;
if
(
count
==
num
-
1
)
{
return
true
;
}
}
else
{
count
=
0
;
}
prev
=
c
;
}
return
false
;
},
ContainSameSeqChar
:
function
(
str1
,
str2
,
num
)
{
if
(
str2
.
length
<
num
||
str1
.
length
<
num
)
{
return
false
;
}
for
(
var
i
=
0
;
i
<=
str2
.
length
-
num
;
i
++
)
{
var
target
=
str2
.
substring
(
i
,
i
+
num
);
if
(
str1
.
contains
(
target
))
{
return
true
;
}
}
return
false
;
}
};
...
...
@@ -2449,8 +2484,8 @@ COMMON.SetStartLog = function(strContentId) {
log
.
longitude
=
ClientData
.
longitude
();
// PageLog 1ページ目セット(1レコードは必須)
if
(
CONTENTVIEW_GENERAL
.
contentType
==
COMMON
.
ContentTypeKeys
.
Type_PDF
||
CONTENTVIEW_GENERAL
.
contentType
==
COMMON
.
ContentTypeKeys
.
Type_NoFile
||
if
(
CONTENTVIEW_GENERAL
.
contentType
==
COMMON
.
ContentTypeKeys
.
Type_PDF
||
CONTENTVIEW_GENERAL
.
contentType
==
COMMON
.
ContentTypeKeys
.
Type_NoFile
||
CONTENTVIEW_GENERAL
.
contentType
==
COMMON
.
ContentTypeKeys
.
Type_PanoImage
){
var
pageLog
=
new
PageLogEntity
();
pageLog
.
contentid
=
strContentId
;
...
...
@@ -2507,7 +2542,7 @@ COMMON.SetEndLog = function(strContentId) {
// 1ページ分のページ閲覧ログを作成
COMMON
.
SetPageLog
=
function
(
strContentId
,
strPageNo
)
{
var
arrContentLogs
=
ClientData
.
ContentLogData
();
for
(
var
nIndex
=
0
;
nIndex
<
arrContentLogs
.
length
;
nIndex
++
)
{
...
...
@@ -2516,13 +2551,13 @@ COMMON.SetPageLog = function(strContentId, strPageNo) {
// PageLog追加
var
pageLog
=
new
PageLogEntity
();
pageLog
.
contentid
=
strContentId
;
if
(
CONTENTVIEW_GENERAL
.
contentType
==
COMMON
.
ContentTypeKeys
.
Type_PanoImage
||
CONTENTVIEW_GENERAL
.
contentType
==
COMMON
.
ContentTypeKeys
.
Type_PanoMovie
||
if
(
CONTENTVIEW_GENERAL
.
contentType
==
COMMON
.
ContentTypeKeys
.
Type_PanoImage
||
CONTENTVIEW_GENERAL
.
contentType
==
COMMON
.
ContentTypeKeys
.
Type_PanoMovie
||
CONTENTVIEW_GENERAL
.
contentType
==
COMMON
.
ContentTypeKeys
.
Type_ObjectVR
){
pageLog
.
pageNo
=
strPageNo
;
}
else
{
pageLog
.
pageNo
=
strPageNo
+
1
;
// 0始まりのページ番号
}
}
arrContentLogs
[
nIndex
].
pageLogArray
.
push
(
pageLog
);
}
...
...
abvw/common/json/lang/lang-en.json
View file @
4ceb72e2
...
...
@@ -34,5 +34,5 @@
"sysLockScrPwdInput"
:
"Input password"
,
"msgPWDNeedChange"
:
"Change password is required. Please back Setting view."
,
"msgAnonymousLoginErr"
:
"Can not login. (Error code: {0})"
,
"msgAnonymousLoginErr2"
:
"Can not login. "
,
"msgAnonymousLoginErr2"
:
"Can not login. "
}
\ No newline at end of file
abvw/common/json/lang/lang-ko.json
View file @
4ceb72e2
...
...
@@ -34,5 +34,5 @@
"sysLockScrPwdInput"
:
"패스워드를 입력해 주십시오."
,
"msgPWDNeedChange"
:
"패스워드를 변경해야 합니다. 환경설정에서 패스워드를 변경해 주십시오."
,
"msgAnonymousLoginErr"
:
"로그인할 수 없습니다. (에러코드 : {0})"
,
"msgAnonymousLoginErr2"
:
"로그인할 수 없습니다."
,
"msgAnonymousLoginErr2"
:
"로그인할 수 없습니다."
}
\ No newline at end of file
abvw/css/layout/common.css
0 → 100644
View file @
4ceb72e2
@charset
"utf-8"
;
/* Latest Update
2012.11.5 write */
body
{
margin
:
0
;
padding
:
0
;
}
.wrapper
{
}
form
,
ul
{
margin
:
0
;
padding
:
0
;}
li
{
list-style-type
:
none
;}
img
{
display
:
block
;
border
:
none
;}
#main-ws
{
width
:
960px
;
padding-top
:
20px
;
overflow
:
hidden
;
margin-top
:
0
;
margin-right
:
auto
;
margin-left
:
auto
;
}
p
.go_top
{
clear
:
both
;
height
:
115px
;
width
:
90px
;
position
:
fixed
;
bottom
:
-45px
;
right
:
20px
;
}
.focus
{
}
#user_change
footer
.border
.cnt_footer
img
{
display
:
inline
;}
/*2013*/
.PageTop
{
float
:
right
;
width
:
100px
;
}
/*CLEARFIX*/
.clearfix
:after
{
content
:
"."
;
display
:
block
;
height
:
0
;
clear
:
both
;
visibility
:
hidden
;
}
.clearfix
{
display
:
inline-block
;
}
/*\*/
*
html
.clearfix
{
height
:
1%
;
}
.clearfix
{
display
:
block
;
}
/**/
.clearboth
{
clear
:
both
;}
br
.clear
{
clear
:
both
;
margin
:
0
;
padding
:
0
;
font-size
:
0
;
line-height
:
0
;
}
.floatL
{
float
:
left
;}
.floatR
{
float
:
right
;}
@charset
"utf-8"
;
/* Latest Update
2012.11.5 write */
body
{
background
:
#f4f4f4
;
font-family
:
"メイリオ"
,
"Meiryo"
,
"ヒラギノ角ゴ Pro W3"
,
"Hiragino Kaku Gothic Pro"
,
"MS Pゴシック"
,
"MS P Gothic"
,
"Osaka"
,
Verdana
,
Arial
,
Helvetica
,
sans-serif
;
}
.wrapper
{
background-color
:
#EDF2F2
;
}
form
,
ul
{
}
li
{
}
img
{
}
#main-ws
{
}
p
.go_top
{
}
.focus
{
color
:
#969696
;}
#user_change
footer
.border
.cnt_footer
img
{
}
/*2013*/
.PageTop
{
}
/*CLEARFIX*/
.clearfix
:after
{
}
.clearfix
{
}
/*\*/
*
html
.clearfix
{
}
.clearfix
{
}
/**/
.clearboth
{}
br
.clear
{
}
.floatL
{
}
.floatR
{
}
#avw-auth-error
{
color
:
#fff
;
background
:
#ccc
;
}
abvw/js/settings.js
View file @
4ceb72e2
...
...
@@ -784,6 +784,14 @@ SETTINGS.dspPwdUpd1_Click = function(e) {
if
(
!
ValidationUtil
.
IsAlphabetOrNumberOrSymbol
(
SETTINGS
.
getNewPasswordRe
()))
{
isOK
=
false
;
}
// 連続3文字以上チェック
if
(
!
ValidationUtil
.
HasSeqChar
(
SETTINGS
.
getNewPassword
()))
{
isOK
=
false
;
}
// 前回と4文字連続一致
if
(
!
ValidationUtil
.
ContainSameSeqChar
(
SETTINGS
.
getCurrentPassword
(),
SETTINGS
.
getNewPassword
(),
4
))
{
isOK
=
false
;
}
var
str
=
SETTINGS
.
getCurrentPassword
()
+
""
;
}
...
...
login.html
View file @
4ceb72e2
...
...
@@ -23,7 +23,7 @@
<script
type=
"text/javascript"
src=
"./abvw/common/js/jquery-3.6.0.min.js?__UPDATEID__"
></script>
<script
type=
"text/javascript"
src=
"./abvw/common/js/jquery-ui.min.js?__UPDATEID__"
></script>
<!-- <script type="text/javascript" src="./abvw/common/js/jquery-1.8.1.min.js?__UPDATEID__"></script>
-->
<!-- <script type="text/javascript" src="./abvw/common/js/jquery-1.8.1.min.js?__UPDATEID__"></script>
<!-- <script type="text/javascript" src="./abvw/common/js/jquery-ui-1.8.23.custom.min.js?__UPDATEID__"></script> -->
<!-- <script type="text/javascript" src="./abvw/common/js/jquery.toastmessage.js?__UPDATEID__"></script> -->
<!-- <script type="text/javascript" src="./abvw/common/js/screenLock.js?__UPDATEID__" ></script> -->
...
...
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