mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
hide version selector on non-server plugins, align filter button
This commit is contained in:
parent
61b9aff305
commit
310456481f
3 changed files with 5 additions and 5 deletions
|
@ -19,9 +19,8 @@
|
||||||
|
|
||||||
<div data-role="collapsible" data-content-theme="c" data-collapsed="false" style="margin-top: 2em;" data-theme="a">
|
<div data-role="collapsible" data-content-theme="c" data-collapsed="false" style="margin-top: 2em;" data-theme="a">
|
||||||
<h3>Install</h3>
|
<h3>Install</h3>
|
||||||
<p id="pCurrentVersion">
|
<p id="pCurrentVersion"></p>
|
||||||
</p>
|
<p id="pSelectVersion" class="hide">
|
||||||
<p>
|
|
||||||
<label for="selectVersion">Select version to install:</label>
|
<label for="selectVersion">Select version to install:</label>
|
||||||
<select id="selectVersion" name="selectVersion"></select>
|
<select id="selectVersion" name="selectVersion"></select>
|
||||||
</p>
|
</p>
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
<a href="plugincatalog.html" data-role="button" class="ui-btn-active">Plugin Catalog</a>
|
<a href="plugincatalog.html" data-role="button" class="ui-btn-active">Plugin Catalog</a>
|
||||||
<a href="pluginupdates.html" data-role="button">Automatic Updates</a>
|
<a href="pluginupdates.html" data-role="button">Automatic Updates</a>
|
||||||
</div>
|
</div>
|
||||||
<div class="viewSettings" style="margin: .5em 0;">
|
<div class="viewSettings" style="margin: .5em 0;text-align:left;">
|
||||||
<button data-mini="true" data-icon="filter" data-inline="true" onclick="$('#filterPanel', $.mobile.activePage).panel( 'toggle' );">Filter</button>
|
<button data-mini="true" data-icon="filter" data-inline="true" onclick="$('#filterPanel', $.mobile.activePage).panel( 'toggle' );">Filter</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -34,7 +34,8 @@
|
||||||
$("#btnInstallDiv", page).show();
|
$("#btnInstallDiv", page).show();
|
||||||
$("#nonServerMsg", page).hide();
|
$("#nonServerMsg", page).hide();
|
||||||
}else {
|
}else {
|
||||||
$("#btnInstallDiv", page).hide();
|
$("#btnInstallDiv", page).hide();
|
||||||
|
$("#pSelectVersion", page).hide();
|
||||||
$("#nonServerMsg", page).html("This plugin must be installed from "+pkg.targetSystem).show();
|
$("#nonServerMsg", page).html("This plugin must be installed from "+pkg.targetSystem).show();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue