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

update search

This commit is contained in:
Luke Pulverenti 2016-07-12 13:17:15 -04:00
parent b90d8515b1
commit 6d832b2699
4 changed files with 21 additions and 11 deletions

View file

@ -45,14 +45,14 @@ body:not(.dashboardDocument) .mainDrawerButton {
box-shadow: none !important; box-shadow: none !important;
} }
.viewMenuBar.semiTransparent { .viewMenuBar.semiTransparent {
background-color: #000; background-color: #000;
} }
.libraryViewNav .pageTabButton { .libraryViewNav .pageTabButton {
font-weight: 400; font-weight: 400;
text-transform: none; text-transform: none;
} }
.pageTabButton.is-active .pageTabButtonSelectionBar { .pageTabButton.is-active .pageTabButtonSelectionBar {
display: none !important; display: none !important;
@ -163,3 +163,7 @@ h1, h1 a {
.searchBackButton { .searchBackButton {
display: none !important; display: none !important;
} }
.searchPageSearchButton {
display: inline-flex!important;
}

View file

@ -184,6 +184,7 @@
var haspw = cardContent.getAttribute('data-haspw'); var haspw = cardContent.getAttribute('data-haspw');
if (id == 'manual') { if (id == 'manual') {
context.querySelector('#txtManualName').value = '';
showManualForm(context, true); showManualForm(context, true);
} }
else if (haspw == 'false') { else if (haspw == 'false') {
@ -216,6 +217,7 @@
}); });
view.querySelector('.btnManual').addEventListener('click', function () { view.querySelector('.btnManual').addEventListener('click', function () {
view.querySelector('#txtManualName').value = '';
showManualForm(view, true); showManualForm(view, true);
}); });
@ -227,6 +229,7 @@
if (!users.length) { if (!users.length) {
view.querySelector('#txtManualName').value = '';
showManualForm(view, false, false); showManualForm(view, false, false);
} else { } else {

View file

@ -1523,10 +1523,6 @@ var AppInfo = {};
} }
else { else {
AppInfo.enableSupporterMembership = true; AppInfo.enableSupporterMembership = true;
if (!isAndroid && !isIOS) {
AppInfo.enableAppLayouts = true;
}
} }
// This doesn't perform well on iOS // This doesn't perform well on iOS

View file

@ -22,11 +22,18 @@
text-indent: 12.5%; text-indent: 12.5%;
} }
} }
.searchPageSearchButton {
display: none;
}
</style> </style>
<button is="paper-icon-button-light" style="position: absolute; top: .6em; left: 0; z-index: 1;" tabindex="-1" class="btnBack autoSize searchBackButton"> <button is="paper-icon-button-light" style="position: absolute; top: .6em; left: 0; z-index: 1;" tabindex="-1" class="btnBack autoSize searchBackButton">
<i class="md-icon">&#xE5C4;</i> <i class="md-icon">&#xE5C4;</i>
</button> </button>
<button is="paper-icon-button-light" style="position: absolute; top: .6em; left: 0; z-index: 1;" tabindex="-1" class="btnBack autoSize searchPageSearchButton">
<i class="md-icon">search</i>
</button>
<div data-role="content" style="padding-top:0!important;padding-left:0!important;padding-right:0!important;"> <div data-role="content" style="padding-top:0!important;padding-left:0!important;padding-right:0!important;">
<div class="readOnlyContent" style="text-align: center;margin: 0 auto;"> <div class="readOnlyContent" style="text-align: center;margin: 0 auto;">