[TASK] Unicode instead of utf8 icons
This commit is contained in:
parent
b510dda006
commit
d367bf58bf
|
@ -18,7 +18,8 @@ define(function () {
|
|||
}
|
||||
a1.textContent = unknown ? d.source.id : d.source.node.nodeinfo.hostname;
|
||||
h2.appendChild(a1);
|
||||
h2.appendChild(document.createTextNode(" → "));
|
||||
h2.appendChild(document.createTextNode(" \uF3D6 "));
|
||||
h2.className = 'ion-inside';
|
||||
var a2 = document.createElement("a");
|
||||
a2.href = "#";
|
||||
a2.onclick = router.node(d.target.node);
|
||||
|
|
|
@ -156,12 +156,12 @@ define(["moment", "numeral", "tablesort", "tablesort.number", "moment.de"],
|
|||
|
||||
var span = document.createElement("span");
|
||||
span.classList.add("clients");
|
||||
span.textContent = " ".repeat(d.statistics.clients);
|
||||
span.textContent = "\uF47E ".repeat(d.statistics.clients);
|
||||
el.appendChild(span);
|
||||
|
||||
var spanmesh = document.createElement("span");
|
||||
spanmesh.classList.add("clientsMesh");
|
||||
spanmesh.textContent = " ".repeat(meshclients - d.statistics.clients);
|
||||
spanmesh.textContent = "\uF47E ".repeat(meshclients - d.statistics.clients);
|
||||
el.appendChild(spanmesh);
|
||||
};
|
||||
}
|
||||
|
@ -577,7 +577,8 @@ define(["moment", "numeral", "tablesort", "tablesort.number", "moment.de"],
|
|||
var tr = document.createElement("tr");
|
||||
|
||||
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);
|
||||
|
||||
var td2 = document.createElement("td");
|
||||
|
|
Loading…
Reference in a new issue