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:
parent
9ae5d347c1
commit
029b0d464f
6 changed files with 76 additions and 6 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue