templates: Styling fixes
parent
478843186b
commit
4694e06dbc
|
@ -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 %}
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue