diff gpp/templates/messages/usage_graph.html @ 568:7cec8d6f9581

For bitbucket issue #7, provide a bar graph indication of inbox and outbox usage.
author Brian Neal <bgneal@gmail.com>
date Sat, 10 Mar 2012 15:24:46 -0600
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/gpp/templates/messages/usage_graph.html	Sat Mar 10 15:24:46 2012 -0600
@@ -0,0 +1,6 @@
+<div>
+You are using {{ pct_used }}% of your {{ box_name }}.
+<div style="width: 200px; height: 20px; border: 1px solid black;">
+   <div style="width: {{ pct_used }}%; height: 100%; background-color: #87b6d9;"></div>
+</div>
+</div>