| 1 |
{% extends "base.html" %} |
| 2 |
|
| 3 |
{% block title %}Admin: Signups - Makenot.work{% endblock %} |
| 4 |
{% block body_attrs %} class="padded-page admin-page"{% endblock %} |
| 5 |
|
| 6 |
{% block content %} |
| 7 |
{% include "partials/site_header.html" %} |
| 8 |
|
| 9 |
<div class="container"> |
| 10 |
{% include "partials/admin_nav.html" %} |
| 11 |
|
| 12 |
<h1 class="page-title">Email Signups</h1> |
| 13 |
<p class="section-mono-meta">{{ total }} total signups from landing page</p> |
| 14 |
|
| 15 |
{% if signups.is_empty() %} |
| 16 |
<p>No email signups yet.</p> |
| 17 |
{% else %} |
| 18 |
<div class="table-scroll"> |
| 19 |
<table class="admin-table"> |
| 20 |
<thead> |
| 21 |
<tr> |
| 22 |
<th>Email</th> |
| 23 |
<th>Source</th> |
| 24 |
<th>Date</th> |
| 25 |
</tr> |
| 26 |
</thead> |
| 27 |
<tbody> |
| 28 |
{% for s in signups %} |
| 29 |
<tr> |
| 30 |
<td>{{ s.email }}</td> |
| 31 |
<td>{{ s.source }}</td> |
| 32 |
<td>{{ s.created_at }}</td> |
| 33 |
</tr> |
| 34 |
{% endfor %} |
| 35 |
</tbody> |
| 36 |
</table> |
| 37 |
</div> |
| 38 |
{% endif %} |
| 39 |
</div> |
| 40 |
{% endblock %} |
| 41 |
|