-
Notifications
You must be signed in to change notification settings - Fork 0
/
stats.html
70 lines (70 loc) · 2.71 KB
/
stats.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
<!DOCTYPE html>
{% autoescape true %}
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="initial-scale=1.0, user-scalable=no">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<title></title>
<link rel="stylesheet" href="static/css/soztradr.css">
<link rel="stylesheet" href="https://d10ajoocuyu32n.cloudfront.net/mobile/1.3.1/jquery.mobile-1.3.1.min.css">
<script src="https://d10ajoocuyu32n.cloudfront.net/jquery-1.9.1.min.js"></script>
<script src="static/js/soztradr.js"></script>
<script src="https://d10ajoocuyu32n.cloudfront.net/mobile/1.3.1/jquery.mobile-1.3.1.min.js"></script>
</head>
<body>
<div data-role="page" id="StatsPage">
<div data-theme="a" data-role="header">
<h3>
SoZ Tradr
</h3>
<a href="{{ logout_url|safe }}" rel="external">Logout</a>
</div>
<div data-role="footer" data-id="foo1" data-position="fixed">
<div data-role="navbar" data-iconpos="left">
<ul>
<li>
<a href="/" data-transition="fade" data-theme="" data-icon="plus">
Send
</a>
</li>
<li>
<a href="/recent" data-transition="fade" data-theme="" data-icon="grid" class="ui-btn-active ui-state-persist">
Recent
</a>
</li>
<li>
<a href="/mysoz" data-transition="fade" data-theme="" data-icon="bars">
My SoZ
</a>
</li>
</ul>
</div>
</div>
<div data-role="content">
<ul data-role="listview" data-inset="true" data-divider-theme="b">
<li data-role="list-divider">Transaction Summary - <a href="/recent" data-transition="pop"> view transactions </a>
</li>
{% for ud in userdetails %}
<li>
<p style="margin-top:1px;">
<span class="fieldlabelwide">owner:</span>
<span class="toemail">{{ud.owner.nickname()}} <span class="smallgrey">({{ud.owner.email()}})</span></span>
</p>
<p>
<span class="fieldlabelwide">owned:</span>
<span class="toemail">{{ud.qty}}</span>
</p>
<p>
<span class="fieldlabelwide">transactions:</span>
<span class="toemail">{{ud.received}}<span class="smallgrey">(received)</span> - {{ud.sent}}<span class="smallgrey">(sent)</span> = <span class="{% if (ud.received-ud.sent) < 0 %}to{% else %}from{% endif %}complete">{{ud.received-ud.sent}}</span></span>
</p>
</li>
{% endfor %}
</ul>
</div>
</div>
</body>
</html>
{% endautoescape %}