40 lines
1.1 KiB
Plaintext
40 lines
1.1 KiB
Plaintext
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<script>
|
|
import { createUser } from "../database.js";
|
|
|
|
window.history.pushState({}, "", "<%= newLink %>");
|
|
</script>
|
|
<meta charset="utf-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
<title>Dashboard</title>
|
|
<link
|
|
href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.7/dist/css/bootstrap.min.css"
|
|
rel="stylesheet"
|
|
integrity="sha384-LN+7fdVzj6u52u30Kp6M/trliBMCMKTyK833zpbD+pXdCLuTusPj697FH4R/5mcr"
|
|
crossorigin="anonymous"
|
|
/>
|
|
</head>
|
|
<body>
|
|
<div class="row">
|
|
<div class="column">
|
|
<h1>Hello, <%= sqlResult.user.first_name %>.</h1>
|
|
</div>
|
|
<div class="column">
|
|
<h1>Welcome to your dashboard.</h1>
|
|
</div>
|
|
<div class="column">
|
|
<button class="btn btn-danger">Logout</button>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<script
|
|
src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.7/dist/js/bootstrap.bundle.min.js"
|
|
integrity="sha384-ndDqU0Gzau9qJ1lfW4pNLlhNTkCfHzAVBReH9diLvGRem5+R9g2FzA8ZGN954O5Q"
|
|
crossorigin="anonymous"
|
|
></script>
|
|
</body>
|
|
</html>
|