Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
Team6-Digital Insight for Health
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Chen Liang
Team6-Digital Insight for Health
Commits
7785affb
Commit
7785affb
authored
8 months ago
by
wyl
Browse files
Options
Downloads
Patches
Plain Diff
show personal detail on page
parent
d028df78
No related branches found
No related tags found
1 merge request
!67
show personal detail on page
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/main/resources/static/html/login.html
+2
-2
2 additions, 2 deletions
src/main/resources/static/html/login.html
src/main/resources/static/html/superAdminView.html
+16
-2
16 additions, 2 deletions
src/main/resources/static/html/superAdminView.html
with
18 additions
and
4 deletions
src/main/resources/static/html/login.html
+
2
−
2
View file @
7785affb
...
...
@@ -8,11 +8,11 @@
<script
src=
"https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"
></script>
</head>
<body
class=
"bg-gradient-to-r from-purple-300 to-blue-200 h-screen flex justify-center items-center"
class=
"bg-gradient-to-r from-purple-300 to-blue-200 h-screen flex justify-center items-center"
style=
"background: linear-gradient(to bottom, #4a90e2, #84b9db); "
>
<div
class=
"max-w-md w-full bg-white rounded-lg shadow-md p-8"
>
<h2
class=
"text-2xl font-bold text-center text-purple-800 mb-4"
>
Welcome back to
<span
class=
"text-purple-500"
>
System
?
</span>
Welcome back to
<span
class=
"text-purple-500"
>
System
</span>
</h2>
<p
class=
"text-sm text-center text-purple-800 mb-8"
>
Log in to your account
...
...
This diff is collapsed.
Click to expand it.
src/main/resources/static/html/superAdminView.html
+
16
−
2
View file @
7785affb
...
...
@@ -23,11 +23,16 @@
<div
id=
"container"
style=
"display: flex; flex-direction: column; height: 100vh;"
>
<!-- top area -->
<div
id=
"top"
style=
"border-radius: 15px;margin-bottom:5px;background-color: #2c3e50; height: 10vh; width: 100%; display: flex; align-items: center; justify-content: center; box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);"
>
<span
style=
"color: #ecf0f1; font-size: 1.5rem; font-weight: bold; font-family: 'Arial', sans-serif;"
>
Digital Insight for Health
</span>
<div
id=
"top"
style=
"border-radius: 15px; margin-bottom: 5px; background-color: #2c3e50; height: 10vh; width: 100%; position: relative; display: flex; align-items: center; box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);"
>
<span
style=
"color: #ecf0f1; font-size: 1.5rem; font-weight: bold; font-family: 'Arial', sans-serif; position: absolute; left: 50%; transform: translateX(-50%);"
>
Digital Insight for Health
</span>
<span
id=
"showSpan"
style=
"color: #ecf0f1; position: absolute; right: 20px; display: flex; flex-direction: column; align-items: flex-end;"
></span>
</div>
<!-- main block,left and right -->
<div
style=
"display: flex; height: 80vh;"
>
<!-- left area -->
...
...
@@ -45,6 +50,15 @@
</body>
<script>
$
(
document
).
ready
(
function
(){
//create show block
var
status
=
localStorage
.
getItem
(
"
type
"
);
var
name
=
localStorage
.
getItem
(
"
name
"
);
document
.
getElementById
(
"
showSpan
"
).
innerHTML
=
`
<span>name:
${
name
}
</span>
<span>role:
${
status
}
</span>
`
$
(
'
#leftview
'
).
load
(
"
/loadLeft
"
);
// Gets the parameters in the URL
const
urlParams
=
new
URLSearchParams
(
window
.
location
.
search
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment