Skip to content
Snippets Groups Projects
Commit 35395ba8 authored by faras's avatar faras
Browse files

Fix column ordering

parent 307c0894
Branches
No related tags found
No related merge requests found
......@@ -31,8 +31,8 @@
<thead>
<tr>
<th>URL</th>
<th>Velocidad</th>
<th>Respuesta (HTTP HEAD)</th>
<th>Velocidad, kbps</th>
<th>Respuesta, ms</th>
<th>País</th>
<th>Privacidad STUN</th>
<th>Privacidad Host</th>
......
......@@ -8,8 +8,8 @@ $(document).ready(function() {
"paging": false,
"columns": [
{ "data": "domain", render: function(value) { return "<a href='https://"+value+"'>"+value+"</a>"; } },
{ "data": "download", defaultContent: "-", render: function(value) { return (value) ? value+" kbps" : "-"; } },
{ "data": "rtt", defaultContent: "-", render: function(value) { return (value) ? value+" ms" : "-"; } },
{ "data": "download", type: "num-fmt", defaultContent: "-"},
{ "data": "rtt", type: "num-fmt", defaultContent: "-" },
{ "data": "countryCode" },
{ "data": "bad", render: function(value) { return (value === true) ? "Corporativo :(" : "Es privado :)"; } },
{ "data": "hosterBad", render: function(value) { return (value === true) ? "Corporativo :(" : "Es privado :)"; } },
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment