Converted sample project into an almost working Svelte / Meteor project. Needs to fix the login/logout code, the camera code, and add Chromebook history when the QR Code is scanned.

This commit is contained in:
2022-04-02 10:29:35 -07:00
parent 9e0e231152
commit 038c68f618
34 changed files with 3997 additions and 101 deletions

View File

@@ -0,0 +1,34 @@
<style>
nav {
font-size: 2rem;
}
a {
display: block;
color: green;
text-decoration: none;
}
</style>
<script>
import {Route} from 'tinro';
import ChromebookScan from './ChromebookScan.svelte';
</script>
<Route path="/">
<div className="container">
<div class="row">
<nav class="col-12 center">
<h1>Chromebook Management</h1>
<a href="chromebooks/scan">Scan A Chromebook</a>
<a href="chromebooks/byStudent">Chromebook History By Student</a>
<a href="chromebooks/byChromebook">Chromebook History By Chromebook</a>
</nav>
</div>
</div>
</Route>
<Route path="/scan">
<ChromebookScan/>
</Route>
<Route path="/byStudent">TODO: Use student email to look up Chromebook history</Route>
<Route path="/byChromebook">TODO: Use chromebook ID (or picture of ID) to look up Chromebook history</Route>