diff --git a/www/about/fraud/index.html b/www/about/fraud/index.html index ce6f324887..90379473bb 100644 --- a/www/about/fraud/index.html +++ b/www/about/fraud/index.html @@ -12,6 +12,7 @@ , balance FROM participants WHERE is_suspicious + ORDER BY ctime """) if _suspicious is None: @@ -49,17 +50,17 @@ , amount FROM transfers WHERE tipper=%s OR tippee=%s - ORDER BY timestamp DESC + ORDER BY timestamp """, (person['id'], person['id'])) person['exchanges'] = db.fetchall(""" - SELECT amount, fee + SELECT amount, fee, timestamp FROM exchanges WHERE participant_id=%s - ORDER BY timestamp DESC + ORDER BY timestamp """, (person['id'],)) @@ -80,9 +81,14 @@ } .amount { text-align: right; - padding-right: 1em; + padding-right: 6pt; font-family: Lucida Mono, monospace; - } + } + .date { + font-family: Lucida Mono, monospace; + font-size: smaller; + color: #999; + } .suspicious { font-weight: bold; color: red; @@ -97,7 +103,7 @@

Fraud, Grommit!

Suspicious Person Balance - Tips + Tip Graph Transfers Exchanges @@ -118,10 +124,12 @@

Fraud, Grommit!

{% for transfer in row['transfers'] %} {% if row['id'] == transfer['tipper'] %} {{ str(transfer['amount']).rjust(6).replace(' ', ' ') }}→ - {{ transfer['tippee'] }}
+ {{ transfer['tippee'] }}
{% else %} {{ str(transfer['amount']).rjust(6).replace(' ', ' ') }}← - {{ transfer['tipper'] }}
+ {{ transfer['tipper'] }}
{% end %} {% end %} @@ -130,7 +138,11 @@

Fraud, Grommit!

{{ str(exchange['amount']).rjust(7).replace(' ', ' ') }} {{ str(exchange['fee']).rjust(4).replace(' ', ' ') }} -
+ + + {{ str(exchange['timestamp'])[:10] }} + +
{% end %}