ux: More style (bulma / fork-awesome) for logged in users
This commit is contained in:
parent
1d09019875
commit
a60434e662
14 changed files with 275 additions and 62 deletions
38
templates/domains.html
Normal file
38
templates/domains.html
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
{% extends 'app.html' %}
|
||||
{% block main %}
|
||||
<main>
|
||||
<section class="section">
|
||||
{% if can_create_domain %}
|
||||
{% include 'partials/create_domain_form.html' %}
|
||||
{% endif %}
|
||||
<div class="container is-widescreen mt-5">
|
||||
<article class="message is-info">
|
||||
<header class="message-header">
|
||||
{% if can_create_domain %}
|
||||
<p class="card-header-title">List of all domains on this server</p>
|
||||
{% else %}
|
||||
<p class="card-header-title">List of your domains</p>
|
||||
{% endif %}
|
||||
</header>
|
||||
<div class="message-body">
|
||||
<table class="table is-fullwidth is-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Domain</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for domain in domains %}
|
||||
<tr>
|
||||
<td><a href="/domain/{{ domain.name }}">{{ domain.name }}</a></td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</article>
|
||||
</div>
|
||||
</section>
|
||||
</main>
|
||||
{% endblock %}
|
||||
|
||||
Loading…
Reference in a new issue