[TASK] Unicode instead of utf8 icons

This commit is contained in:
Xaver Maierhofer 2016-05-24 00:22:34 +02:00
parent c5e3ae7ce7
commit ba15956bb7
2 changed files with 5 additions and 3 deletions

View File

@ -16,7 +16,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);

View File

@ -99,7 +99,7 @@ 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);
};
}
@ -324,7 +324,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");