Accounts: Add edit and delete pages; implement forms (no real actions yet)
This commit is contained in:
parent
4e8d879008
commit
7859ef77ee
9 changed files with 258 additions and 23 deletions
|
|
@ -1,18 +1,21 @@
|
|||
{% extends "base.html.twig" %}
|
||||
|
||||
{% block title %}Accounts{% endblock %}
|
||||
{% block title %}View account{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<h2>Account: {{ accountUsername }}</h2>
|
||||
|
||||
<p>
|
||||
<b>Actions:</b>
|
||||
<span>View</span> |
|
||||
<a href="/accounts/{{ id }}/edit">Edit</a> |
|
||||
<a href="/accounts/{{ id }}/delete">Delete</a> |
|
||||
<a href="mailto:{{ accountUsername }}">Send mail</a>
|
||||
</p>
|
||||
|
||||
<table class="vertical_table_headers">
|
||||
<h3>View account details</h3>
|
||||
|
||||
<table class="bordered_table vertical_table_headers">
|
||||
<tr>
|
||||
<th style="min-width: 10em">User ID</th>
|
||||
<td style="min-width: 20em">{{ accountData['user_id'] }}</td>
|
||||
|
|
@ -62,7 +65,7 @@
|
|||
<h3>Aliases</h3>
|
||||
|
||||
{% if aliases %}
|
||||
<table>
|
||||
<table class="bordered_table">
|
||||
<tr>
|
||||
<th>Address</th>
|
||||
<th>Created at</th>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue