diff options
| author | Mitchell Riedstra <mitch@riedstra.dev> | 2023-01-03 19:29:58 -0500 |
|---|---|---|
| committer | Mitchell Riedstra <mitch@riedstra.dev> | 2023-01-03 19:29:58 -0500 |
| commit | 5ee149d5279408c0a0ee3e7e91e88241b2fb17ff (patch) | |
| tree | f0120f1a55039c3ec08b6524c505632174cf7674 /ui/src/routes/+layout.svelte | |
| parent | 7c01e12341f79a7bdf085a141e303d209fd8b3c5 (diff) | |
| download | paste-5ee149d5279408c0a0ee3e7e91e88241b2fb17ff.tar.gz paste-5ee149d5279408c0a0ee3e7e91e88241b2fb17ff.tar.xz | |
Creating new pastes from the UI works. As does the login page.
Still need to redirect to login page automatically.
Also need to show only one of Logout or Login at a time.
Diffstat (limited to 'ui/src/routes/+layout.svelte')
| -rw-r--r-- | ui/src/routes/+layout.svelte | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ui/src/routes/+layout.svelte b/ui/src/routes/+layout.svelte index 6539952..e9fd192 100644 --- a/ui/src/routes/+layout.svelte +++ b/ui/src/routes/+layout.svelte @@ -4,6 +4,8 @@ | <a href="/new">New</a> <a href="/login" class="nav-right">Login</a> + <span class="nav-right">|</span> + <a href="/api/v1/logout" class="nav-right">Logout</a> </nav> |
