mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
fix installed plugins
This commit is contained in:
parent
17547b019c
commit
cf4b3f13d9
2 changed files with 9 additions and 5 deletions
|
@ -27,6 +27,10 @@ paper-input + .fieldDescription {
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.ui-body-a .cardFooter .cardText + .cardText {
|
||||||
|
opacity: .8;
|
||||||
|
}
|
||||||
|
|
||||||
@media all and (min-width: 800px) {
|
@media all and (min-width: 800px) {
|
||||||
|
|
||||||
.type-interior > .ui-content, .type-interior > .ui-panel-content-wrap > .ui-content {
|
.type-interior > .ui-content, .type-interior > .ui-panel-content-wrap > .ui-content {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
define(['jQuery'], function ($) {
|
define(['jQuery', 'cardStyle'], function ($) {
|
||||||
|
|
||||||
function deletePlugin(page, uniqueid, name) {
|
function deletePlugin(page, uniqueid, name) {
|
||||||
|
|
||||||
|
@ -43,7 +43,7 @@
|
||||||
configPageUrl :
|
configPageUrl :
|
||||||
null;
|
null;
|
||||||
|
|
||||||
html += "<div data-id='" + plugin.Id + "' data-name='" + plugin.Name + "' class='card backdropCard bottomPaddedCard'>";
|
html += "<div data-id='" + plugin.Id + "' data-name='" + plugin.Name + "' class='card backdropCard bottomPaddedCard scalableCard'>";
|
||||||
|
|
||||||
html += '<div class="cardBox visualCardBox">';
|
html += '<div class="cardBox visualCardBox">';
|
||||||
html += '<div class="cardScalable">';
|
html += '<div class="cardScalable">';
|
||||||
|
@ -83,8 +83,8 @@
|
||||||
|
|
||||||
html += '<div class="cardFooter">';
|
html += '<div class="cardFooter">';
|
||||||
|
|
||||||
html += '<div class="cardText" style="text-align:right; float:right;padding-top:5px;">';
|
html += '<div style="text-align:right; float:right;padding-top:5px;">';
|
||||||
html += '<button type="button" is="paper-icon-button-light" class="btnCardMenu"><iron-icon icon="' + AppInfo.moreIcon + '"></iron-icon></button>';
|
html += '<button type="button" is="paper-icon-button-light" class="btnCardMenu autoSize"><i class="md-icon">more_vert</i></button>';
|
||||||
html += "</div>";
|
html += "</div>";
|
||||||
|
|
||||||
html += "<div class='cardText'>";
|
html += "<div class='cardText'>";
|
||||||
|
@ -149,7 +149,7 @@
|
||||||
$('.installedPlugins', page).html(html);
|
$('.installedPlugins', page).html(html);
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
var elem = $('.installedPlugins', page).html(html);
|
var elem = $('.installedPlugins', page).addClass('itemsContainer').addClass('vertical-wrap').html(html);
|
||||||
|
|
||||||
$('.noConfigPluginCard', elem).on('click', function () {
|
$('.noConfigPluginCard', elem).on('click', function () {
|
||||||
showNoConfigurationMessage();
|
showNoConfigurationMessage();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue