[TASK] Unicode instead of utf8 icons
This commit is contained in:
parent
c5e3ae7ce7
commit
ba15956bb7
@ -16,7 +16,8 @@ define(function () {
|
|||||||
}
|
}
|
||||||
a1.textContent = unknown ? d.source.id : d.source.node.nodeinfo.hostname;
|
a1.textContent = unknown ? d.source.id : d.source.node.nodeinfo.hostname;
|
||||||
h2.appendChild(a1);
|
h2.appendChild(a1);
|
||||||
h2.appendChild(document.createTextNode(" → "));
|
h2.appendChild(document.createTextNode(" \uF3D6 "));
|
||||||
|
h2.className = 'ion-inside';
|
||||||
var a2 = document.createElement("a");
|
var a2 = document.createElement("a");
|
||||||
a2.href = "#";
|
a2.href = "#";
|
||||||
a2.onclick = router.node(d.target.node);
|
a2.onclick = router.node(d.target.node);
|
||||||
|
@ -99,7 +99,7 @@ define(["moment", "numeral", "tablesort", "tablesort.number", "moment.de"],
|
|||||||
|
|
||||||
var span = document.createElement("span");
|
var span = document.createElement("span");
|
||||||
span.classList.add("clients");
|
span.classList.add("clients");
|
||||||
span.textContent = " ".repeat(d.statistics.clients);
|
span.textContent = "\uF47E ".repeat(d.statistics.clients);
|
||||||
el.appendChild(span);
|
el.appendChild(span);
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
@ -324,7 +324,8 @@ define(["moment", "numeral", "tablesort", "tablesort.number", "moment.de"],
|
|||||||
var tr = document.createElement("tr");
|
var tr = document.createElement("tr");
|
||||||
|
|
||||||
var td1 = document.createElement("td");
|
var td1 = document.createElement("td");
|
||||||
td1.appendChild(document.createTextNode(d.incoming ? " ← " : " → "));
|
td1.className = 'ion-inside';
|
||||||
|
td1.appendChild(document.createTextNode(d.incoming ? " \uF3D5 " : " \uF3D6 "));
|
||||||
tr.appendChild(td1);
|
tr.appendChild(td1);
|
||||||
|
|
||||||
var td2 = document.createElement("td");
|
var td2 = document.createElement("td");
|
||||||
|
Loading…
Reference in New Issue
Block a user