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

add methods to media source manager

This commit is contained in:
Luke Pulverenti 2015-03-07 17:43:53 -05:00
parent 27b1ce1889
commit 692c7d1943
3 changed files with 29 additions and 21 deletions

View file

@ -669,13 +669,16 @@ span.itemCommunityRating:not(:empty) + .userDataIcons {
} }
.ui-page-theme-a .detailSectionHeader { .ui-page-theme-a .detailSectionHeader {
background-color: #ddd; background-color: transparent;
border: 1px solid #ddd; border: 1px solid #ddd;
border-radius: 2px; border-width: 0 0 1px 0;
border-radius: 0;
padding: 0 0 .25em .25em;
margin-bottom: .5em;
} }
.ui-page-theme-a .detailSectionHeader, .ui-page-theme-a .detailSectionHeader h3 { .ui-page-theme-a .detailSectionHeader, .ui-page-theme-a .detailSectionHeader h3 {
font-weight: 500; font-size: 22px;
} }
.ui-page-theme-b .detailSectionHeader { .ui-page-theme-b .detailSectionHeader {
@ -1447,4 +1450,4 @@ span.itemCommunityRating:not(:empty) + .userDataIcons {
.smallDetailImageContainer { .smallDetailImageContainer {
padding-left: 1em; padding-left: 1em;
} }
} }

View file

@ -14,30 +14,35 @@
</div> </div>
<br /> <br />
<fieldset data-role="controlgroup" data-type="horizontal"> <div>
<legend>${LabelDisplayPluginsFor}</legend> <div style="display:inline-block;vertical-align:middle;">
<input type="radio" name="radioPackageTypes" class="radioPackageTypes" id="radioServer" value="Server" data-mini="true"> <fieldset data-role="controlgroup" data-type="horizontal">
<label for="radioServer">${TabServer}</label> <legend>${LabelDisplayPluginsFor}</legend>
<input type="radio" name="radioPackageTypes" class="radioPackageTypes" id="radioClassic" value="MBClassic" data-mini="true"> <input type="radio" name="radioPackageTypes" class="radioPackageTypes" id="radioServer" value="Server" data-mini="true">
<label for="radioClassic">${PluginTabMediaBrowserClassic}</label> <label for="radioServer">${TabServer}</label>
<input type="radio" name="radioPackageTypes" class="radioPackageTypes" id="radopTheater" value="MBTheater" data-mini="true"> <input type="radio" name="radioPackageTypes" class="radioPackageTypes" id="radioClassic" value="MBClassic" data-mini="true">
<label for="radopTheater">${PluginTabMediaBrowserTheater}</label> <label for="radioClassic">${PluginTabMediaBrowserClassic}</label>
</fieldset> <input type="radio" name="radioPackageTypes" class="radioPackageTypes" id="radopTheater" value="MBTheater" data-mini="true">
<label for="radopTheater">${PluginTabMediaBrowserTheater}</label>
</fieldset>
</div>
<div style="display:inline-block;vertical-align:bottom;">
<div style="margin-left:1em;">
<label for="chkAdult">${OptionDisplayAdultContent}</label>
<input id="chkAdult" type="checkbox" data-mini="true" data-inline="true" />
</div>
</div>
</div>
<br />
<br />
<p style="display: none;"> <p style="display: none;">
<input class="chkPremiumFilter" type="checkbox" data-mini="true" data-inline="true" name="chkPremium" id="chkPremium" data-filter="IsPremium" /> <input class="chkPremiumFilter" type="checkbox" data-mini="true" data-inline="true" name="chkPremium" id="chkPremium" data-filter="IsPremium" />
<label for="chkPremium">Free Only</label> <label for="chkPremium">Free Only</label>
</p> </p>
<br />
<p style="max-width: 300px;">
<label for="chkAdult">${OptionDisplayAdultContent}</label>
<input id="chkAdult" type="checkbox" data-mini="true" />
</p>
<br />
<div id="noPlugins" class="hide"> <div id="noPlugins" class="hide">
<div style="text-align: center; margin: 10px;">${MessageNoAvailablePlugins}</div> <div style="text-align: center; margin: 10px;">${MessageNoAvailablePlugins}</div>
</div> </div>
<div id="pluginTiles" style="text-align:left;"></div> <div id="pluginTiles" style="text-align:left;"></div>
</div> </div>

View file

@ -173,7 +173,7 @@
lastTargetName = targetName; lastTargetName = targetName;
html += '<div class="detailSectionHeader" style="padding: .85em 0 .85em 1em;">'; html += '<div class="detailSectionHeader">';
html += '<div style="display:inline-block;vertical-align:middle;">' + targetName + '</div>'; html += '<div style="display:inline-block;vertical-align:middle;">' + targetName + '</div>';