forked from bton/matekasse
transaction list as template
This commit is contained in:
parent
efff31aa27
commit
a6dd6310b7
1 changed files with 10 additions and 0 deletions
10
Website/templates/transactionlist.html
Normal file
10
Website/templates/transactionlist.html
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
{% extends "base.html" %}
|
||||||
|
{% block title %}
|
||||||
|
Transactionlist
|
||||||
|
{% endblock %}
|
||||||
|
{% block content %}
|
||||||
|
{% for action in action_list%}
|
||||||
|
<form action="/api/change" method="post"><p style="display: inline;">{{action["statement"]}} userid:{{action["user_id"]}} {{action["before"]}} {{action["after"]}} {{action["change"]}}</p><input type="hidden" name="statement" value={{action["reverse_statement"]}}><input type="hidden" name="user_id" value={{action["reverse_user_id"]}}><input type="hidden" name="before" value={{action["reverse_before"]}}><input type="hidden" name="after" value={{action["reverse_after"]}}><input type="hidden" name="change" value={{action["reverse_change"]}}><button type="submit">rollback</button></form><br></br>
|
||||||
|
{% endfor %}
|
||||||
|
{% endblock %}
|
||||||
|
|
Loading…
Reference in a new issue