Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
sh-ds
Project
Project
Details
Activity
Releases
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
李良停
sh-ds
Commits
b1f02ac2
Commit
b1f02ac2
authored
Mar 18, 2021
by
喻春霖
Browse files
Options
Browse Files
Download
Plain Diff
fixed
parents
5cf15ea5
eea6cfc5
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
103 additions
and
49 deletions
+103
-49
loginSuccess.css
...nter-agent/src/main/resources/static/css/loginSuccess.css
+35
-0
msg-bg-dp.jpg
...hcenter-agent/src/main/resources/static/img/msg-bg-dp.jpg
+0
-0
msg-bg-xp.jpg
...hcenter-agent/src/main/resources/static/img/msg-bg-xp.jpg
+0
-0
loginsuccess.html
...nter-agent/src/main/resources/templates/loginsuccess.html
+68
-49
No files found.
eden-authcenter-agent/src/main/resources/static/css/loginSuccess.css
0 → 100644
View file @
b1f02ac2
#showMessage
{
height
:
100%
;
background
:
url('../img/msg-bg-xp.jpg')
center
no-repeat
;
background-size
:
auto
100%
;
}
.login-success
{
padding
:
14%
12%
;
font-size
:
26px
;
color
:
white
;
letter-spacing
:
8px
;
font-weight
:
900
;
}
@media
screen
and
(
min-width
:
1025px
)
and
(
max-width
:
1280px
)
{
.login-success
{
font-size
:
22px
;
}
}
@media
screen
and
(
min-width
:
768px
)
and
(
max-width
:
1024px
)
{
.login-success
{
font-size
:
18px
;
}
}
@media
screen
and
(
max-width
:
767px
)
{
.login-success
{
font-size
:
14px
;
}
}
@media
screen
and
(
min-width
:
1921px
)
and
(
max-width
:
3000px
)
{
.login-success
{
font-size
:
32px
;
}
}
eden-authcenter-agent/src/main/resources/static/img/msg-bg-dp.jpg
0 → 100644
View file @
b1f02ac2
343 KB
eden-authcenter-agent/src/main/resources/static/img/msg-bg-xp.jpg
0 → 100644
View file @
b1f02ac2
253 KB
eden-authcenter-agent/src/main/resources/templates/loginsuccess.html
View file @
b1f02ac2
...
...
@@ -3,7 +3,9 @@
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
<html
class=
"no-js"
xmlns:th=
"http://www.w3.org/1999/xhtml"
>
<!--<![endif]-->
<html
class=
"no-js"
xmlns:th=
"http://www.w3.org/1999/xhtml"
>
<!--<![endif]-->
<head>
<meta
charset=
"utf-8"
/>
<!--<meta http-equiv="X-UA-Compatible" content="IE=edge">-->
...
...
@@ -12,10 +14,12 @@
<title>
上海数字教材运营管理中心
</title>
<script
type=
"text/javascript"
th:src=
"@{/static/js/jquery-1.10.2.min.js}"
></script>
<link
rel=
"stylesheet"
th:href=
"@{/static/css/loginSuccess.css}"
/>
<!--<script src="../js/vendor/modernizr-2.6.2.min.js"></script>-->
</head>
<body>
<div>
<body
style=
"height: 100vh; margin: 0;"
>
<div
style=
"height: 100%;"
>
<form
th:action=
"${successPostUrl}"
method=
"post"
th:object=
"${clientDataInfo}"
>
<input
type=
"hidden"
th:value=
"${clientDataInfo.authUserInfo.id}"
name=
"authUserInfo.id"
/>
<input
type=
"hidden"
th:value=
"${clientDataInfo.authUserInfo.realName}"
name=
"authUserInfo.realName"
/>
...
...
@@ -49,17 +53,31 @@
<input
type=
"hidden"
th:value=
"${clientDataInfo.oauthType}"
name=
"oauthType"
/>
</form>
<p
id=
"showMessage"
style=
"font-size: 26px; text-align:center;display: none"
>
尊敬的
<div
id=
"showMessage"
>
<div
class=
"login-success"
>
<p>
您好,来自
<span
th:if=
"${clientDataInfo.authUserInfo.source} == 'edenoperation'"
>
上海数字教材
</span>
<span
th:if=
"${clientDataInfo.authUserInfo.source} == 'dianjiaoguan'"
>
上海基础教育
</span>
<span
th:if=
"${clientDataInfo.authUserInfo.source} == 'qpjy'"
>
青浦教育
</span>
的
<span
th:text=
"${clientDataInfo.authUserInfo.realName}"
></span>
<span
th:if=
"${clientDataInfo.authUserInfo.userType} == 'teacher'"
>
(教师)
</span>
<span
th:if=
"${clientDataInfo.authUserInfo.userType} == 'student'"
>
(学生)
</span>
</p>
<p>
欢迎使用“发现服务·速享之旅”
</p>
<p>
统一身份认证服务
</p>
</div>
</div>
<!-- <p id="showMessage" style="font-size: 26px; text-align:center;display: none">尊敬的
<span th:text="${clientDataInfo.authUserInfo.realName}"></span>(id:
<span th:text="${clientDataInfo.authUserInfo.id}"></span>),恭喜您通过
<span th:if="${clientDataInfo.authUserInfo.source} == 'edenoperation'">上海数字教材</span>
<span th:if="${clientDataInfo.authUserInfo.source} == 'dianjiaoguan'">上海基础教育</span>
<span th:if="${clientDataInfo.authUserInfo.source} == 'qpjy'">青浦教育</span>
登录成功!
</p>
</p>
-->
</div>
<script
th:inline=
"javascript"
>
</div>
<script
th:inline=
"javascript"
>
var
formSubmitUrl
=
[[
$
{
successPostUrl
}]];
if
(
formSubmitUrl
&&
formSubmitUrl
.
length
>
0
){
...
...
@@ -70,8 +88,9 @@
}
else
{
$
(
"#showMessage"
).
show
();
}
</script>
</script>
</body>
</body></html>
\ No newline at end of file
</html>
\ No newline at end of file
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