Skip to content
GitLab
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
3 years ago
by
Boehmer
Browse files
Options
Download
Email Patches
Plain Diff
check for hash on pageload
parent
47071eb3
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
public/js/connectToAPI.js
+369
-179
public/js/connectToAPI.js
public/main.html
+12
-2
public/main.html
with
381 additions
and
181 deletions
+381
-181
public/js/connectToAPI.js
+
369
-
179
View file @
4d77ad0a
This diff is collapsed.
Click to expand it.
public/main.html
+
12
-
2
View file @
4d77ad0a
...
@@ -36,6 +36,7 @@
...
@@ -36,6 +36,7 @@
</style>
</style>
<script
src=
"https://code.jquery.com/jquery-3.3.1.min.js"
></script>
<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>
<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"
>
<script
type=
"text/javascript"
>
var
arrLang
=
{
var
arrLang
=
{
'
en
'
:
{
'
en
'
:
{
...
@@ -124,7 +125,7 @@
...
@@ -124,7 +125,7 @@
</script>
</script>
</head>
</head>
<body>
<body
onload=
"pageLoad()"
>
<a
href=
"https://www.hft-stuttgart.de/"
target=
"_blank"
>
<a
href=
"https://www.hft-stuttgart.de/"
target=
"_blank"
>
<div
class=
"credit"
></div>
<div
class=
"credit"
></div>
</a>
</a>
...
@@ -211,7 +212,7 @@
...
@@ -211,7 +212,7 @@
</div>
</div>
<div
class=
"hilfe"
>
<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>
</div>
<!--Sidebar-->
<!--Sidebar-->
...
@@ -241,9 +242,15 @@
...
@@ -241,9 +242,15 @@
<input
id=
"building"
type=
"radio"
name=
"credit-card"
value=
"building"
checked
>
<input
id=
"building"
type=
"radio"
name=
"credit-card"
value=
"building"
checked
>
<div
class=
"lang"
key=
"buildingview"
>
Building-View
</div>
<div
class=
"lang"
key=
"buildingview"
>
Building-View
</div>
<label
class=
"drinkcard-cc building"
for=
"building"
></label>
<label
class=
"drinkcard-cc building"
for=
"building"
></label>
<input
id=
"surface"
type=
"radio"
name=
"credit-card"
value=
"surface"
>
<input
id=
"surface"
type=
"radio"
name=
"credit-card"
value=
"surface"
>
<div
class=
"lang"
key=
"surfaceview"
>
Surface-View
</div>
<div
class=
"lang"
key=
"surfaceview"
>
Surface-View
</div>
<label
class=
"drinkcard-cc surface"
for=
"surface"
></label>
<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>
</div>
</div>
<!--Chartbutton-->
<!--Chartbutton-->
...
@@ -336,6 +343,9 @@
...
@@ -336,6 +343,9 @@
<script
src=
"https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.min.js"
<script
src=
"https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.min.js"
integrity=
"sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy"
crossorigin=
"anonymous"
>
integrity=
"sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy"
crossorigin=
"anonymous"
>
</script>
</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/sidebar.js"
></script>
<script
type=
"text/javascript"
src=
"js/globe.js"
></script>
<script
type=
"text/javascript"
src=
"js/globe.js"
></script>
<script
type=
"text/javascript"
src=
"js/areaCharts.js"
></script>
<script
type=
"text/javascript"
src=
"js/areaCharts.js"
></script>
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment