Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
SimStadt
3DClient4SimStadtAPI
Commits
4d77ad0a
Commit
4d77ad0a
authored
Jan 12, 2022
by
Boehmer
Browse files
check for hash on pageload
parent
47071eb3
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
public/js/connectToAPI.js
View file @
4d77ad0a
This diff is collapsed.
Click to expand it.
public/main.html
View file @
4d77ad0a
...
...
@@ -36,6 +36,7 @@
</style>
<script
src=
"https://code.jquery.com/jquery-3.3.1.min.js"
></script>
<script
src=
"https://cdnjs.cloudflare.com/ajax/libs/sweetalert/2.1.2/sweetalert.min.js"
integrity=
"sha512-AA1Bzp5Q0K1KanKKmvN/4d3IRKVlv9PYgwFPvm32nPO6QS8yH1HO7LbgB1pgiOxPtfeg5zEn2ba64MUcqJx6CA=="
crossorigin=
"anonymous"
referrerpolicy=
"no-referrer"
></script>
<!-- TODO: maybe add this to a external js file -->
<script
type=
"text/javascript"
>
var
arrLang
=
{
'
en
'
:
{
...
...
@@ -124,7 +125,7 @@
</script>
</head>
<body>
<body
onload=
"pageLoad()"
>
<a
href=
"https://www.hft-stuttgart.de/"
target=
"_blank"
>
<div
class=
"credit"
></div>
</a>
...
...
@@ -211,7 +212,7 @@
</div>
<div
class=
"hilfe"
>
<p>
<a
href=
"/pdf/Benutzerhandbuch.pdf"
target=
"_blank"
><button
class=
"lang"
id=
"Handbuch"
key=
"userguide"
>
User Guide
</button></a></p>
<p>
<a
href=
"/
3dclient4simstadtapi/public/
pdf/Benutzerhandbuch.pdf"
target=
"_blank"
><button
class=
"lang"
id=
"Handbuch"
key=
"userguide"
>
User Guide
</button></a></p>
</div>
<!--Sidebar-->
...
...
@@ -241,9 +242,15 @@
<input
id=
"building"
type=
"radio"
name=
"credit-card"
value=
"building"
checked
>
<div
class=
"lang"
key=
"buildingview"
>
Building-View
</div>
<label
class=
"drinkcard-cc building"
for=
"building"
></label>
<input
id=
"surface"
type=
"radio"
name=
"credit-card"
value=
"surface"
>
<div
class=
"lang"
key=
"surfaceview"
>
Surface-View
</div>
<label
class=
"drinkcard-cc surface"
for=
"surface"
></label>
<input
id=
"roof"
type=
"radio"
name=
"credit-card"
value=
"roof"
>
<div
class=
"lang"
key=
"roofview"
>
Roof-View
</div>
<label
class=
"drinkcard-cc surface"
for=
"roof"
></label>
</div>
</div>
<!--Chartbutton-->
...
...
@@ -336,6 +343,9 @@
<script
src=
"https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.min.js"
integrity=
"sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy"
crossorigin=
"anonymous"
>
</script>
<script
type=
"text/javascript"
src=
"js/shadowPalette.js"
></script>
<script
type=
"text/javascript"
src=
"js/sidebar.js"
></script>
<script
type=
"text/javascript"
src=
"js/globe.js"
></script>
<script
type=
"text/javascript"
src=
"js/areaCharts.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