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
04e50e29
Commit
04e50e29
authored
9 years ago
by
Masaru Abe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ログイン画面ドトール対応
parent
97a5715f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
32 additions
and
29 deletions
+32
-29
abvw/js/login.js
+15
-16
login.html
+17
-13
No files found.
abvw/js/login.js
View file @
04e50e29
...
@@ -87,6 +87,12 @@ LOGIN.saveLoginInfo = function(paramLid, paramP, accountPath) {
...
@@ -87,6 +87,12 @@ LOGIN.saveLoginInfo = function(paramLid, paramP, accountPath) {
//Check validation
//Check validation
LOGIN
.
checkValidation
=
function
()
{
LOGIN
.
checkValidation
=
function
()
{
//暗号化モードならチェック無し
if
(
ClientData
.
serviceOpt_encryption
()
==
'Y'
)
{
return
true
;
}
var
accountPath
=
$
(
'#txtAccPath'
).
val
();
var
accountPath
=
$
(
'#txtAccPath'
).
val
();
var
loginId
=
$
(
'#txtAccId'
).
val
();
var
loginId
=
$
(
'#txtAccId'
).
val
();
var
password
=
$
(
'#txtPassword'
).
val
();
var
password
=
$
(
'#txtPassword'
).
val
();
...
@@ -172,10 +178,7 @@ LOGIN.processLogin = function(paramLid, paramP) {
...
@@ -172,10 +178,7 @@ LOGIN.processLogin = function(paramLid, paramP) {
password
=
$
(
'#txtPassword'
).
val
();
password
=
$
(
'#txtPassword'
).
val
();
}
}
//var accountPath = $('#txtAccPath').val();
accountPath
=
$
(
'#txtAccPath'
).
val
();
// var loginId = $('#txtAccId').val();
// var password = $('#txtPassword').val();
accountPath
=
"vietdh"
;
var
requireChangePassword
=
0
;
var
requireChangePassword
=
0
;
var
skipPwdDate
;
var
skipPwdDate
;
...
@@ -433,9 +436,9 @@ LOGIN.changeLanguageEn = function(){
...
@@ -433,9 +436,9 @@ LOGIN.changeLanguageEn = function(){
//Login click function
//Login click function
LOGIN
.
loginFunction
=
function
()
{
LOGIN
.
loginFunction
=
function
()
{
//
if (LOGIN.checkValidation()) {
if
(
LOGIN
.
checkValidation
())
{
LOGIN
.
processLogin
();
LOGIN
.
processLogin
();
//
}
}
};
};
//Change Password function
//Change Password function
...
@@ -967,19 +970,15 @@ LOGIN.ready = function(){
...
@@ -967,19 +970,15 @@ LOGIN.ready = function(){
//doutor
//doutor
var
paramLid
=
COMMON
.
getUrlParam
(
'lid'
,
''
);
var
paramLid
=
COMMON
.
getUrlParam
(
'lid'
,
''
);
var
paramP
=
COMMON
.
getUrlParam
(
'p'
,
''
);
var
paramP
=
COMMON
.
getUrlParam
(
'p'
,
''
);
$
(
'#normalUser'
).
show
();
$
(
'#normalUser'
).
show
();
$
(
'#formlogin'
).
hide
();
$
(
'#formlogin'
).
hide
();
$
(
'#logologin'
).
animate
({
"margin-top"
:
0
},
LOGIN
.
timeWaitSplashScreen
,
$
(
'#logologin'
).
animate
({
"margin-top"
:
0
},
LOGIN
.
timeWaitSplashScreen
,
function
()
{
function
()
{
if
(
paramLid
!=
''
&&
paramP
!=
''
){
$
(
'#formlogin'
).
show
();
$
(
'#formlogindoutor'
).
show
();
$
(
'#menu-language'
).
animate
({
opacity
:
1
},
LOGIN
.
timeWaitSplashScreen
);
$
(
'#formlogin'
).
hide
();
$
(
'#formlogin'
).
animate
({
opacity
:
1
},
LOGIN
.
timeWaitSplashScreen
);
}
else
{
$
(
'.cnt_footer'
).
animate
({
opacity
:
1
},
LOGIN
.
timeWaitSplashScreen
);
$
(
'#formlogin'
).
show
();
}
$
(
'#menu-language'
).
animate
({
opacity
:
1
},
LOGIN
.
timeWaitSplashScreen
);
$
(
'#formlogin'
).
animate
({
opacity
:
1
},
LOGIN
.
timeWaitSplashScreen
);
$
(
'.cnt_footer'
).
animate
({
opacity
:
1
},
LOGIN
.
timeWaitSplashScreen
);
}
}
);
);
...
...
This diff is collapsed.
Click to expand it.
login.html
View file @
04e50e29
...
@@ -77,31 +77,35 @@
...
@@ -77,31 +77,35 @@
<article>
<article>
<img
src=
"./abvw/img/login/logo_login.png"
width=
"200"
class=
"clearboth"
id=
"logologin"
>
<img
src=
"./abvw/img/login/logo_login.png"
width=
"200"
class=
"clearboth"
id=
"logologin"
>
<section
id=
"formlogin"
>
<section
id=
"formlogin"
>
<table
width=
"440"
border=
"0"
cellspacing=
"0"
>
<table
width=
"440"
border=
"0"
cellspacing=
"0"
>
<tr>
<tr>
<th
width=
"33%"
class=
"lang"
lang=
"txtLoginAccPath"
>
<!--アカウントパス-->
</th>
<th
width=
"100%"
>
ポータルサイトからログインしてください
</th>
</tr>
</table>
<input
type=
"hidden"
id=
"txtAccPath"
value=
"vietdh"
/>
<!--
<table width="440" border="0" cellspacing="0">
<tr>
<th width="33%" class="lang" lang="txtLoginAccPath">アカウントパス</th>
<td width="67%"><input type="text" id="txtAccPath" maxlength="60" /></td>
<td width="67%"><input type="text" id="txtAccPath" maxlength="60" /></td>
</tr>
</tr>
<tr>
<tr>
<th
class=
"lang"
lang=
"txtLoginId"
>
<!--ログインID-->
</th>
<th class="lang" lang="txtLoginId">
ログインID
</th>
<td><input type="text" id="txtAccId" maxlength="54" /></td>
<td><input type="text" id="txtAccId" maxlength="54" /></td>
</tr>
</tr>
<tr>
<tr>
<th
class=
"lang"
lang=
"txtLoginPwd"
>
<!--パスワード-->
</th>
<th class="lang" lang="txtLoginPwd">
パスワード
</th>
<td><input type="password" id="txtPassword"/></td>
<td><input type="password" id="txtPassword"/></td>
</tr>
</tr>
</table>
</table>
<p
class=
"error lang"
id=
"main-error-message"
style=
"display:none;"
>
<!--パスワードまたはIDに誤りがあります-->
</p>
<p class="error lang" id="main-error-message" style="display:none;">パスワードまたはIDに誤りがあります</p>
<p
class=
"memory"
><input
type=
"checkbox"
id=
"chkRemember"
/><label
class=
"lang"
lang=
"txtLoginPwdRbr"
for=
"chkRemember"
>
<!--アカウントパスとログインIDを記憶する-->
</label></p>
<p class="memory"><input type="checkbox" id="chkRemember" /><label class="lang" lang="txtLoginPwdRbr" for="chkRemember">アカウントパスとログインIDを記憶する</label></p>
<a
class=
"loginbtn lang"
id=
"btnLogin"
lang=
"dspLogin"
>
<!--ログイン-->
</a>
<a class="loginbtn lang" id="btnLogin" lang="dspLogin">ログイン</a>
</section>
-->
<section
id=
"formlogindoutor"
style=
"display:none;"
>
<table
width=
"440"
border=
"0"
cellspacing=
"0"
>
<tr>
<th
width=
"100%"
>
ポータルサイトからログインしてください
</th>
</tr>
</table>
</section>
</section>
</article>
</article>
</div>
</div>
</div>
</div>
...
...
This diff is collapsed.
Click to expand it.
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