1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

add more device options

This commit is contained in:
Luke Pulverenti 2014-10-11 21:46:02 -04:00
parent 9ae5d347c1
commit 029b0d464f
6 changed files with 76 additions and 6 deletions

View file

@ -34,12 +34,18 @@
var deviceHtml = '';
deviceHtml += '<li>';
deviceHtml += '<a href="#">';
deviceHtml += '<a href="device.html?id=' + d.Id + '">';
deviceHtml += '<h3>';
deviceHtml += d.Name;
deviceHtml += '</h3>';
if (d.AppName) {
deviceHtml += '<p style="color:blue;">';
deviceHtml += d.AppName;
deviceHtml += '</p>';
}
if (d.LastUserName) {
deviceHtml += '<p style="color:green;">';
deviceHtml += Globalize.translate('DeviceLastUsedByUserName', d.LastUserName);