diff --git a/ffmap/web/static/js/graph.js b/ffmap/web/static/js/graph.js
index f70ce72..f276ec1 100644
--- a/ffmap/web/static/js/graph.js
+++ b/ffmap/web/static/js/graph.js
@@ -1,6 +1,7 @@
var points_per_px = 0.3;
var controls_container = "
";
var reset_button = "Reset
";
+timezoneJS.timezone.zoneFileBasePath = '/static/tz';
function labelFormatter(label, series) {
@@ -13,8 +14,8 @@ function labelFormatter(label, series) {
}
function legendFormatter(label, series) {
- var append_dots = (label.length > 18);
- label = label.substr(0, 17);
+ var append_dots = (label.length > 28);
+ label = label.substr(0, 27);
if (append_dots) {
label += "…";
}
@@ -104,6 +105,15 @@ function neighbour_graph(neighbours) {
var pdata = [];
for (j=0; j
Last contact |
{{ router.last_contact|utc2local|format_dt }}
- ({{ router.last_contact|format_dt_ago }})
+ ({{ router.last_contact|format_dt_ago }}){{- "" -}}
|
{%- if router.description %}
Description | {{ router.description }} |
@@ -190,16 +190,6 @@
{%- endfor %}
{%- endif %}
-
@@ -241,7 +231,7 @@
{{ netif.name }}
-
{{ netif.mac|upper }}
+
{{ netif.mac }}