templates: Styling fixes

refucktor
informatic 2018-03-13 11:11:51 +01:00
parent 478843186b
commit 4694e06dbc
2 changed files with 11 additions and 4 deletions

View File

@ -3,11 +3,15 @@
{% block title %}Admin Spam Mailing™{% endblock %}
{% block admin_content %}
<form method="post" action="/admin/spam/">
<button>Spam</button>
{{ form.dry_run() }} {{ form.dry_run.label }}
<form method="post" action="/admin/spam/" class="form-inline">
{{ form.hidden_tag() }}
<button class="btn btn-warning">Spam</button>
<div class="checkbox">
{{ form.dry_run() }} {{ form.dry_run.label }}
</div>
<p>
{{ form.members() }}
</p>
</form>
{% endblock %}

View File

@ -7,14 +7,17 @@
<div class="col-md-4">
<h1>Active Members</h1>
<p>Membership fees in order, has full access to the space and private mailing lists.</p>
<small>Total: {{ active_members|count }}</small>
</div>
<div class="col-md-8">
<table class="table">
<thead>
<tr>
<th>Name</th>
<th>Membership type</th>
<th>Member since</th>
</tr>
</thead>
{% for member in active_members %}
<tr>
<td>{{member['username']}}</td>