Tweak index page and channellist

This commit is contained in:
calzoneman 2013-05-24 13:13:07 -04:00
parent 77261dcc7f
commit 486c6f7c8a
2 changed files with 2 additions and 7 deletions

View file

@ -35,7 +35,6 @@
<thead>
<tr>
<th>Channel</th>
<th>Title</th>
<th>Connected</th>
<th>Playing</th>
</tr>
@ -134,9 +133,8 @@
var tr = $("<tr/>").appendTo($("#channeldata"));
var name = $("<td/>").appendTo(tr);
$("<a/>").attr("href", host + "/r/" + d.name)
.text(d.name)
.text(d.pagetitle + " (" + d.name + ")")
.appendTo(name);
$("<td/>").text(d.pagetitle).appendTo(tr);
$("<td/>").text(d.usercount || 0).appendTo(tr);
var title = $("<td/>").appendTo(tr);
if(d.media.id) {
@ -155,7 +153,6 @@
$("<td/>").text("Total").appendTo(tr);
$("<td/>").text(total).appendTo(tr);
$("<td/>").appendTo(tr);
$("<td/>").appendTo(tr);
});
}

View file

@ -52,7 +52,6 @@
<thead>
<tr>
<th>Channel</th>
<th>Title</th>
<th>Connected</th>
<th>Playing</th>
</tr>
@ -144,9 +143,8 @@
var tr = $("<tr/>").appendTo($("#channeldata"));
var name = $("<td/>").appendTo(tr);
$("<a/>").attr("href", host + "r/" + d.name)
.text(d.name)
.text(d.pagetitle + " (" + d.name + ")")
.appendTo(name);
$("<td/>").text(d.pagetitle).appendTo(tr);
$("<td/>").text(d.usercount || 0).appendTo(tr);
var title = $("<td/>").appendTo(tr);
if(d.media.id) {