mirror of https://github.com/calzoneman/sync.git
Tweak index page and channellist
This commit is contained in:
parent
77261dcc7f
commit
486c6f7c8a
|
@ -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);
|
||||
|
||||
});
|
||||
}
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue