login and register designed

This commit is contained in:
2023-07-21 12:25:06 +02:00
parent 8f3df6f97b
commit 201fa55d9f
8 changed files with 157 additions and 117 deletions

View File

@@ -0,0 +1,38 @@
<script>
export let data
const admin = data.user?.access.includes('admin') ?? false
</script>
<style>
form label,
form label input
{
display: block;
}
</style>
<section>
<h2>Change Profile pictures</h2>
</section>
<section>
<h2>Change password</h2>
<form>
<label>
Altes Passwort:
<input type="password" >
</label>
<label>
Neues Passwort:
<input type="password" >
</label>
<label>
Neues Passwort wiederholen:
<input type="password" >
</label>
</form>
</section>
{#if admin}
<section>
<h2>Change user permissions</h2>
</section>
{/if}