diff --git a/app/templates/ajax/bin_bout.html b/app/templates/ajax/bin_bout.html new file mode 100644 index 00000000..dde6befb --- /dev/null +++ b/app/templates/ajax/bin_bout.html @@ -0,0 +1,53 @@ +
+
+ Bytes in + + + + + +
+
+ {% set total = bin_bout.0|int / 1024 %} + {% set metric = 'Kb' %} + {% if total > 1000 %} + {% set total = total / 1024 %} + {% set metric = 'Mb' %} + {% endif %} + {% if total > 1000 %} + {% set total = total / 1024 %} + {% set metric = 'Gb' %} + {% endif %} + {{total|round(2)}} {{metric}} +
+
+ Bytes Out +
+
+ {% set total = bin_bout.1|int / 1024 %} + {% set metric = 'Kb' %} + {% if total > 1000 %} + {% set total = total / 1024 %} + {% set metric = 'Mb' %} + {% endif %} + {% if total > 1000 %} + {% set total = total / 1024 %} + {% set metric = 'Gb' %} + {% endif %} + {{total|round(2)}} {{metric}} +
+
+
+
+ Current ses +
+
+ {{bin_bout.2}} +
+
+ Total ses +
+
+ {{bin_bout.3}} +
+
\ No newline at end of file