Browse Source

Merge branch 'main' into lang_de

lang_de
Stephan Richter 6 months ago
parent
commit
22e0138dd8
  1. 1
      static/templates/login.st
  2. 7
      static/templates/navigation.st

1
static/templates/login.st

@ -19,6 +19,5 @@
<button type="submit">Einloggen</button> <button type="submit">Einloggen</button>
</fieldset> </fieldset>
</form> </form>
<a href="reset-pw«if(data.email)»?email=«data.email»«endif»">Forgot password?</a>
</body> </body>
</html> </html>

7
static/templates/navigation.st

@ -1,7 +1,12 @@
<nav> <nav>
«if(data.user)»<a class="button logout" href="logout" />Logout</a>«endif» «if(data.user)»
<a class="button logout" href="logout" />Logout</a>
«endif»
<a href="index">Home</a> <a href="index">Home</a>
<a href="admin">Administration</a> <a href="admin">Administration</a>
«if(!data.user)»
<a class="button" href="reset-pw" />Passwort vergessen?</a>
«endif»
<script type="text/javascript"> <script type="text/javascript">
if ('«data.user.permissions»'.includes('admin')){ if ('«data.user.permissions»'.includes('admin')){

Loading…
Cancel
Save