|
|
@ -1,5 +1,6 @@ |
|
|
|
{% extends "layout.html" %} |
|
|
|
{% extends "layout.html" %} |
|
|
|
{% block body %} |
|
|
|
{% block body %} |
|
|
|
|
|
|
|
<a href="/logout" class="pull-right">Log out</a> |
|
|
|
<h1>Fosspay Admin</h1> |
|
|
|
<h1>Fosspay Admin</h1> |
|
|
|
{% if first %} |
|
|
|
{% if first %} |
|
|
|
<div class="well"> |
|
|
|
<div class="well"> |
|
|
@ -32,11 +33,24 @@ |
|
|
|
<table class="table"> |
|
|
|
<table class="table"> |
|
|
|
<thead> |
|
|
|
<thead> |
|
|
|
<tr> |
|
|
|
<tr> |
|
|
|
|
|
|
|
<th style="width: 10%"></th> |
|
|
|
<th>Project Name</th> |
|
|
|
<th>Project Name</th> |
|
|
|
<th>One-off donations</th> |
|
|
|
<th>One-time</th> |
|
|
|
<th>Recurring donations</th> |
|
|
|
<th>Recurring</th> |
|
|
|
|
|
|
|
<th>README Button</th> |
|
|
|
</tr> |
|
|
|
</tr> |
|
|
|
</thead> |
|
|
|
</thead> |
|
|
|
|
|
|
|
<tbody> |
|
|
|
|
|
|
|
{% for project in projects %} |
|
|
|
|
|
|
|
<tr> |
|
|
|
|
|
|
|
<td><button type="button" class="close">×</button></td> |
|
|
|
|
|
|
|
<td>{{ project.name }}</td> |
|
|
|
|
|
|
|
<td>${{ one_times(project) }}</td> |
|
|
|
|
|
|
|
<td>${{ recurring(project) }}</td> |
|
|
|
|
|
|
|
<td><a href="#" class="btn btn-primary btn-sm">Get Markdown</a></td> |
|
|
|
|
|
|
|
</tr> |
|
|
|
|
|
|
|
{% endfor %} |
|
|
|
|
|
|
|
</tbody> |
|
|
|
</table> |
|
|
|
</table> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="col-md-6"> |
|
|
|
<div class="col-md-6"> |
|
|
@ -45,7 +59,7 @@ |
|
|
|
<div class="form-group"> |
|
|
|
<div class="form-group"> |
|
|
|
<input class="form-control" type="text" placeholder="Project name" name="name" /> |
|
|
|
<input class="form-control" type="text" placeholder="Project name" name="name" /> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<input type="submit" value="Add" /> |
|
|
|
<input type="submit" value="Add" class="btn btn-default pull-right" /> |
|
|
|
</form> |
|
|
|
</form> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|