Skip to content

Commit

Permalink
return vs page
Browse files Browse the repository at this point in the history
  • Loading branch information
ForrestFire0 committed Sep 25, 2024
1 parent ece4eea commit 06520ac
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 5 deletions.
3 changes: 2 additions & 1 deletion src/lib/Header.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,8 @@
<div class="dropdown-content">
<a href="/tools/machinelearning">Machine Learning</a>
<a href="/tools/simulator">Simulator</a>
<a href="http://192.168.1.2:8080/">Vision System</a>
<!-- <a href="http://192.168.1.2:8080/">Vision System</a>-->
<a href="/tools/visionsystem">Vision System</a>
</div>
</div>
</li>
Expand Down
35 changes: 31 additions & 4 deletions src/routes/tools/visionsystem/+page.svelte
Original file line number Diff line number Diff line change
@@ -1,7 +1,34 @@
<script>
import FullPageLayout from "$lib/FullPageLayout.svelte";
import HeaderBar from "$lib/HeaderBar.svelte";
</script>

<FullPageLayout>
<iframe src="http://192.168.1.2:8080/" title="vision system"></iframe>
</FullPageLayout>
<style>
button {
border: 1px solid black;
border-radius: 20px;
background-color: #FFD200;
color: black;
font-size: 20px;
padding: 20px 30px;
cursor: pointer;
text-decoration: underline;
}
</style>


<div class="main_content">
<HeaderBar></HeaderBar>
<slot>
<div class="text">
The Vision System can be accessed when you connect to the Vision System wifi network. If you are on eduroam the below
link will not work. The wifi network is something like "VisionSystem-1120"
<div style="display: flex; justify-content: center; padding-top: 30px">
<a href="http://192.168.1.2:8080/">
<button>Go to the Vision System</button>
</a>
</div>
</div>
</slot>
</div>
<!-- <iframe src="http://192.168.1.2:8080/" title="vision system"></iframe>-->

0 comments on commit 06520ac

Please sign in to comment.