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

added new image params & GameSystem constants

This commit is contained in:
Luke Pulverenti 2013-10-02 11:32:11 -04:00
parent b368226a95
commit 792382a113
4 changed files with 19 additions and 5 deletions

View file

@ -15,7 +15,7 @@
<input type="checkbox" id="chkRunAtStartup" name="chkRunAtStartup" />
<label for="chkRunAtStartup">Run server at startup</label>
<div id="windowsStartupDescription" class="fieldDescription warningFieldDescription" style="display: none;">
This will start the tray icon on windows startup. If you'd prefer to start the windows service instead, disable this and configure the service from the windows control panel.
This will start the tray icon on windows startup. If you'd prefer to start the windows service instead, disable this and configure the service from the windows control panel. Please note that you cannot run both at the same time, so you will need to exit the tray icon before starting the service.
</div>
</li>
<li>

View file

@ -179,7 +179,7 @@
<div id="additionalPartsContent" class="detailSectionContent"></div>
</div>
<div id="castCollapsible" style="display: none;" class="detailSection">
<div class="detailSectionHeader">
<div id="peopleHeader" class="detailSectionHeader">
Cast & Crew
</div>
<div id="castContent" class="detailSectionContent"></div>

View file

@ -48,6 +48,8 @@
$(".autoNumeric").autoNumeric('init');
setPeopleHeader(page, item);
if (ApiClient.isWebSocketOpen()) {
ApiClient.sendWebSocketMessage("Context", [item.Type, item.Id, item.Name, context].join('|'));
}
@ -56,6 +58,16 @@
});
}
function setPeopleHeader(page, item) {
if (item.Type == "Audio" || item.Type == "MusicAlbum" || item.MediaType == "Book" || item.MediaType == "Photo") {
$('#peopleHeader', page).html('People');
} else {
$('#peopleHeader', page).html('Cast & Crew');
}
}
function getContext(item) {
// should return either movies, tv, music or games
@ -260,9 +272,9 @@
$('.itemPath', page).hide();
}
}
function getArtistLinksHtml(artists) {
var html = [];
for (var i = 0, length = artists.length; i < length; i++) {
@ -274,7 +286,7 @@
}
html = html.join(' / ');
if (artists.length == 1) {
return 'Artist:&nbsp;&nbsp;' + html;
}

View file

@ -16,6 +16,8 @@
<p>Media Browser Server normally runs as a desktop application with a tray icon, but if you prefer to run it as a background service, it can be started from the windows services control panel instead.</p>
<p>If using the windows service, please note that it cannot be run at the same time as the tray icon, so you'll need to exit the tray in order to run the service. The service will also need to be configured with administrative privileges via the control panel.</p>
<div class="wizardNavigation">
<button type="button" data-iconpos="left" data-icon="arrow-left" data-inline="true" onclick="history.back();">Previous</button>
<button id="btnNextPage" type="button" data-iconpos="right" data-icon="arrow-right" data-inline="true">Next</button>