Working user and link list, (big)restructure

This is now a workspace consisting of:
  * the pslink app (a wasm frontend for the admin interface)
  * the pslink binary
  * shared - modules for communication between the two above.
This commit is contained in:
2021-08-12 15:48:02 +02:00
committed by dietrich
parent 1611cfb9a2
commit fc9b18141f
60 changed files with 2238 additions and 396 deletions
+29
View File
@@ -0,0 +1,29 @@
{% extends "admin.html" %}
{% block admin %}
<div class="center">
<h1>{{ fluent(key="edit-user-headline", lang=user.language, username=user.username) }}
</h1>
<form action="" method="POST">
<div>
<label for="username">{{ fluent(key="username", lang=user.language)
}}:</label>
<input type="text" name="username" value="{{ user.username }}">
</div>
<div>
<label for="email">{{ fluent(key="email", lang=user.language)
}}:</label>
<input type="email" name="email" value="{{ user.email }}">
</div>
<div>
<label for="password">{{ fluent(key="password", lang=user.language)
}}:</label>
<input type="password" name="password" placeholder='{{ fluent(key="password-placeholder", lang=user.language)
}}'>
</div>
<input type="submit" value='{{ fluent(key="save-user", lang=user.language)
}}'>
</form>
<h2>&nbsp;</h2>
</div>
{% endblock %}