aboutsummaryrefslogtreecommitdiffstats
path: root/torouterui/templates/home.html
diff options
context:
space:
mode:
authorficus <ficus@robocracy.org>2012-09-25 15:59:18 +0200
committerficus <ficus@robocracy.org>2012-09-25 15:59:18 +0200
commit79b260db495e94430d499906f321dc022c68fec1 (patch)
tree71b33694a9b9f7fc7f43b611191dc2cd5d1e1fc5 /torouterui/templates/home.html
parentfe4b8a01fc87d1a76fca8e8733270a260aa23cc0 (diff)
downloadtui-79b260db495e94430d499906f321dc022c68fec1.tar.gz
tui-79b260db495e94430d499906f321dc022c68fec1.zip
basic tor control (needs testing)
Diffstat (limited to 'torouterui/templates/home.html')
-rw-r--r--torouterui/templates/home.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/torouterui/templates/home.html b/torouterui/templates/home.html
index 58ed2f2..fa9900c 100644
--- a/torouterui/templates/home.html
+++ b/torouterui/templates/home.html
@@ -71,11 +71,11 @@
<th>Version
<td style="font-family: monospace;">{% if status.tor.version %}{{ status.tor.version }} ({{ status.tor.version_current }}){% endif %}
<tr>
- <th>Traffic TX
- <td style="font-family: monospace;">{% if status.tor.traffic_written_bytes %}{{ status.tor.traffic_written_bytes }} bytes{% endif %}
+ <th>Total TX Data
+ <td style="font-family: monospace;">{% if status.tor.traffic_written_bytes != None %}{{ status.tor.traffic_written_bytes }} bytes{% endif %}
<tr>
- <th>Traffic RX
- <td style="font-family: monospace;">{% if status.tor.traffic_read_bytes %}{{ status.tor.traffic_read_bytes }} bytes{% endif %}
+ <th>Total RX Data
+ <td style="font-family: monospace;">{% if status.tor.traffic_read_bytes != None %}{{ status.tor.traffic_read_bytes }} bytes{% endif %}
</table>
</div>
</div>