29
This commit is contained in:
@@ -1,9 +1,18 @@
|
|||||||
|
<script lang="ts">
|
||||||
|
import { browser } from '$app/environment';
|
||||||
|
|
||||||
|
let firstname = browser ? window.sessionStorage.getItem('firstName') ?? '' : '';
|
||||||
|
let lastname = browser ? window.sessionStorage.getItem('lastName') ?? '' : '';
|
||||||
|
let email = browser ? window.sessionStorage.getItem('email') ?? '' : '';
|
||||||
|
let password = browser ? window.sessionStorage.getItem('password') ?? '' : '';
|
||||||
|
</script>
|
||||||
|
|
||||||
<header>
|
<header>
|
||||||
<h1>Faculty Admin Panel</h1>
|
<h1>Faculty Admin Panel</h1>
|
||||||
</header>
|
</header>
|
||||||
<main>
|
<main>
|
||||||
<section class="admin-options">
|
<section class="admin-options">
|
||||||
<h2>Welcome, [Faculty Name]!</h2>
|
<h2>Welcome, {firstname} {lastname}!</h2>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="/faculty/schedule">View Class Schedule</a></li>
|
<li><a href="/faculty/schedule">View Class Schedule</a></li>
|
||||||
<li><a href="/faculty/attendance">Take Attendance</a></li>
|
<li><a href="/faculty/attendance">Take Attendance</a></li>
|
||||||
|
Reference in New Issue
Block a user