indentation

This commit is contained in:
Minecon724 2024-09-28 19:37:04 +02:00
parent 66ead17348
commit 6d56e7b2a0
Signed by: Minecon724
GPG key ID: 3CCC4D267742C8E8

View file

@ -7,23 +7,27 @@
</form> </form>
<ul> <ul>
<li><a href="/edit">Create a page</a></li> <li>
<li><a href="/auth"> <a href="/edit">Create a page</a>
{#if user:loggedIn} </li>
Logged in as {user:name} <li>
{#else} <a href="/auth">
Login or register {#if user:loggedIn}
{/if} Logged in as {user:name}
</a></li> {#else}
Login or register
{/if}
</a>
</li>
<li> <li>
<form action="/theme"> <form action="/theme">
<label for="themePicker">Theme</label> <label for="themePicker">Theme</label>
<select id="themePicker" name="theme"> <select id="themePicker" name="theme">
{#for theme in themes} {#for theme in themes}
{#if theme.equals(currentTheme)} {#if theme.equals(currentTheme)}
<option value="{theme}" selected>{theme}</option> <option value="{theme}" selected>{theme}</option>
{#else} {#else}
<option value="{theme}">{theme}</option> <option value="{theme}">{theme}</option>
{/if} {/if}
{/for} {/for}
</select> </select>