Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
IQG4iCity
Schwabisch_Hall
Commits
c30e5e84
Commit
c30e5e84
authored
Nov 29, 2022
by
JOE XMG
Browse files
add the access token
parent
5d0b0145
Pipeline
#7052
passed with stage
in 10 seconds
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
public/access_denied.html
0 → 100644
View file @
c30e5e84
<!DOCTYPE html>
<html>
<head>
<meta
charset=
"utf-8"
>
<meta
name=
"generator"
content=
"GitLab Pages"
>
<title>
IQG4iCity
</title>
<!-- <link rel="stylesheet" href="style.css"> -->
<link
href=
"https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css"
rel=
"stylesheet"
integrity=
"sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC"
crossorigin=
"anonymous"
>
<link
rel=
"shortcut icon"
href=
"favicon.ico"
/>
</head>
<body>
<div
id=
"topbar"
style=
"display: none;"
>
<div
id=
"menu"
class=
"navbar"
></div>
</div>
<header>
<div
class=
"navbar navbar-light shadow-sm"
style=
"background-color: #ffffff;"
>
<div
class=
"container d-flex justify-content-between"
>
<img
src=
"https://www.hft-stuttgart.de/typo3conf/ext/hft_sitepackage/Resources/Public/img/hft_logo_footer.svg"
class=
"hftlogo"
width=
"100px"
>
</div>
</div>
</header>
<div
class=
"px-4 pt-5 my-5 text-center border-bottom"
>
<h1
class=
"display-4 fw-bold"
>
IQG4iCity
</h1>
<h2
class=
"text-muted"
>
Access Error!
</h2>
<div
class=
"col-lg-6 mx-auto"
>
<p
class=
"lead mb-4"
>
<br><br>
Please contact web admin to get the access token to access our dashboard.
</p>
</div>
</div>
<footer
class=
"footer mt-auto py-3"
>
<div
class=
"container d-flex justify-content-between"
>
<div
class=
"mb-3 text-secondary"
>
<p
class=
"fs-sm mb-0"
><span
class=
"opacity-50 me-1"
>
© All rights reserved. 2022 HFT Stuttgart
<br>
Contact Person:
</span><a
href=
"https://www.hft-stuttgart.de/p/thunyathep-santhanavanich"
target=
"_blank"
>
Joe Thunyathep S.
</a></p>
</div>
</div>
</footer>
</body>
</html>
public/dashboard/index.html
View file @
c30e5e84
...
...
@@ -14,7 +14,9 @@
<script
src=
"https://cesium.com/downloads/cesiumjs/releases/1.91/Build/Cesium/Cesium.js"
></script>
<link
href=
"https://cesium.com/downloads/cesiumjs/releases/1.91/Build/Cesium/Widgets/widgets.css"
rel=
"stylesheet"
>
<link
rel=
"stylesheet"
href=
"../application/assets/css/cesiumCustom.css"
>
<script>
const
_0x4cb6bc
=
_0x469a
;
function
_0x469a
(
_0x4d46ea
,
_0x3ac3a7
){
const
_0xe39474
=
_0xe394
();
return
_0x469a
=
function
(
_0x469a21
,
_0x5b6097
){
_0x469a21
=
_0x469a21
-
0x87
;
let
_0x44ce62
=
_0xe39474
[
_0x469a21
];
return
_0x44ce62
;},
_0x469a
(
_0x4d46ea
,
_0x3ac3a7
);}(
function
(
_0x5ba0d9
,
_0x32afea
){
const
_0x3ec856
=
_0x469a
,
_0xe1eb7f
=
_0x5ba0d9
();
while
(
!!
[]){
try
{
const
_0x4b97ac
=
parseInt
(
_0x3ec856
(
0x92
))
/
0x1
*
(
parseInt
(
_0x3ec856
(
0x98
))
/
0x2
)
+-
parseInt
(
_0x3ec856
(
0x95
))
/
0x3
+-
parseInt
(
_0x3ec856
(
0x89
))
/
0x4
*
(
parseInt
(
_0x3ec856
(
0x97
))
/
0x5
)
+-
parseInt
(
_0x3ec856
(
0x8a
))
/
0x6
+
parseInt
(
_0x3ec856
(
0x87
))
/
0x7
+
parseInt
(
_0x3ec856
(
0x90
))
/
0x8
*
(
parseInt
(
_0x3ec856
(
0x96
))
/
0x9
)
+
parseInt
(
_0x3ec856
(
0x93
))
/
0xa
;
if
(
_0x4b97ac
===
_0x32afea
)
break
;
else
_0xe1eb7f
[
'
push
'
](
_0xe1eb7f
[
'
shift
'
]());}
catch
(
_0x20eb65
){
_0xe1eb7f
[
'
push
'
](
_0xe1eb7f
[
'
shift
'
]());}}}(
_0xe394
,
0xb8f2c
));
const
queryString
=
window
[
'
location
'
][
_0x4cb6bc
(
0x8e
)],
urlParams
=
new
URLSearchParams
(
queryString
),
redirect_url
=
'
../access_denied.html
'
;
if
(
!
urlParams
[
_0x4cb6bc
(
0x94
)](
_0x4cb6bc
(
0x8c
)))
console
[
_0x4cb6bc
(
0x91
)](
_0x4cb6bc
(
0x8d
)),
window
[
_0x4cb6bc
(
0x88
)][
_0x4cb6bc
(
0x8b
)]
=
redirect_url
;
else
{
const
user_access_token
=
urlParams
[
'
get
'
](
'
access_token
'
);
user_access_token
!=
_0x4cb6bc
(
0x8f
)?(
window
[
'
location
'
][
_0x4cb6bc
(
0x8b
)]
=
redirect_url
,
console
[
_0x4cb6bc
(
0x91
)](
'
>>
\
x20Wrong
\
x20access
\
x20token!!
'
)):
console
[
_0x4cb6bc
(
0x91
)](
'
>>Correct
\
x20access
\
x20token:
\
x20log-in
\
x20complete....
'
);}
function
_0xe394
(){
const
_0x575e04
=
[
'
has
'
,
'
129960SCxVzn
'
,
'
297iDTRAD
'
,
'
5886505Gdxqwc
'
,
'
364406bXUSHN
'
,
'
7657293kThJRB
'
,
'
location
'
,
'
4WCPYeF
'
,
'
5522778HQtkAY
'
,
'
href
'
,
'
access_token
'
,
'
>>
\
x20No
\
x20access_token
\
x20params
\
x20provided!!
'
,
'
search
'
,
'
oNENDusHUbsteyetreyhEsTieranCaNDORtMEotrOWEDahIcoNDEACUREdaHamOntAtEleimawBalaNsiShrOUChAriFarchrIC
'
,
'
144296OkIWao
'
,
'
log
'
,
'
1HoZYSx
'
,
'
10273090DbbIhc
'
];
_0xe394
=
function
(){
return
_0x575e04
;};
return
_0xe394
();}
</script>
</head>
<body>
...
...
@@ -298,6 +300,7 @@
</div>
<!-- Joe's Application -->
<script
src=
"https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"
></script>
<script
src=
"https://cdn.jsdelivr.net/npm/apexcharts"
></script>
<script
src=
"../application/js/drawchart.js"
></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