mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
removed dead code
This commit is contained in:
parent
c6c6ec116a
commit
3c1565e47d
7 changed files with 11 additions and 87 deletions
|
@ -1,4 +1,4 @@
|
||||||
define(['datetime', 'imageLoader', 'connectionManager'], function (datetime, imageLoader, connectionManager) {
|
define(['datetime', 'imageLoader', 'connectionManager', 'itemShortcuts'], function (datetime, imageLoader, connectionManager, itemShortcuts) {
|
||||||
|
|
||||||
function buildChapterCardsHtml(item, chapters, options) {
|
function buildChapterCardsHtml(item, chapters, options) {
|
||||||
|
|
||||||
|
@ -121,6 +121,9 @@ define(['datetime', 'imageLoader', 'connectionManager'], function (datetime, ima
|
||||||
options.itemsContainer.innerHTML = html;
|
options.itemsContainer.innerHTML = html;
|
||||||
|
|
||||||
imageLoader.lazyChildren(options.itemsContainer);
|
imageLoader.lazyChildren(options.itemsContainer);
|
||||||
|
|
||||||
|
itemShortcuts.off(options.itemsContainer);
|
||||||
|
itemShortcuts.on(options.itemsContainer);
|
||||||
}
|
}
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
|
|
@ -121,7 +121,9 @@
|
||||||
searchImages[i].addEventListener('click', onSearchImageClick);
|
searchImages[i].addEventListener('click', onSearchImageClick);
|
||||||
}
|
}
|
||||||
|
|
||||||
focusManager.autoFocus(identificationSearchResults);
|
if (layoutManager.tv) {
|
||||||
|
focusManager.autoFocus(identificationSearchResults);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function finishFindNewDialog(dlg, identifyResult) {
|
function finishFindNewDialog(dlg, identifyResult) {
|
||||||
|
|
|
@ -30,7 +30,7 @@
|
||||||
<div class="identificationSearchResults hide">
|
<div class="identificationSearchResults hide">
|
||||||
|
|
||||||
<h1>${SearchResults}</h1>
|
<h1>${SearchResults}</h1>
|
||||||
<div class="identificationSearchResultList itemsContainer vertical-wrap centered"></div>
|
<div class="identificationSearchResultList itemsContainer vertical-wrap"></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<form class="identifyOptionsForm hide" style="margin:auto;">
|
<form class="identifyOptionsForm hide" style="margin:auto;">
|
||||||
|
|
|
@ -1,80 +0,0 @@
|
||||||
.tileItem {
|
|
||||||
padding: 5px 7px 5px 0;
|
|
||||||
font-weight: normal !important;
|
|
||||||
display: block;
|
|
||||||
position: relative;
|
|
||||||
-webkit-transition: all 500ms ease;
|
|
||||||
-moz-transition: all 500ms ease;
|
|
||||||
-o-transition: all 500ms ease;
|
|
||||||
-ms-transition: all 500ms ease;
|
|
||||||
transition: all 500ms ease;
|
|
||||||
color: inherit!important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tileItem .starRating {
|
|
||||||
width: 16px;
|
|
||||||
height: 14px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tileItem .rottentomatoesicon {
|
|
||||||
height: 14px;
|
|
||||||
width: 14px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tileItem .criticRating {
|
|
||||||
position: relative;
|
|
||||||
top: -2px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tileImage {
|
|
||||||
display: inline-block;
|
|
||||||
background-size: contain;
|
|
||||||
background-repeat: no-repeat;
|
|
||||||
background-position: center top;
|
|
||||||
}
|
|
||||||
|
|
||||||
.defaultTileImage {
|
|
||||||
background-color: #555;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tileItem p {
|
|
||||||
margin: 1em 0 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tileContent {
|
|
||||||
display: inline-block;
|
|
||||||
padding-left: 10px;
|
|
||||||
text-align: left;
|
|
||||||
vertical-align: top;
|
|
||||||
overflow: hidden;
|
|
||||||
}
|
|
||||||
|
|
||||||
.smallPosterTileItem .tileImage {
|
|
||||||
height: 150px;
|
|
||||||
width: 35%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.smallPosterTileItem .tileContent {
|
|
||||||
width: 60%;
|
|
||||||
}
|
|
||||||
|
|
||||||
@media all and (min-width: 540px) {
|
|
||||||
|
|
||||||
.tileItem {
|
|
||||||
display: inline-block;
|
|
||||||
margin-left: 3px;
|
|
||||||
margin-right: 3px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.smallPosterTileItem {
|
|
||||||
width: 46%;
|
|
||||||
display: inline-block;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@media all and (min-width: 750px) {
|
|
||||||
|
|
||||||
.smallPosterTileItem {
|
|
||||||
width: 30.5%;
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -154,7 +154,7 @@
|
||||||
<button is="paper-icon-button-light" class="autoSize"><i class="md-icon">settings</i></button>
|
<button is="paper-icon-button-light" class="autoSize"><i class="md-icon">settings</i></button>
|
||||||
</a>
|
</a>
|
||||||
</h1>
|
</h1>
|
||||||
<div is="emby-itemscontainer" id="scenesContent" class="itemsContainer"></div>
|
<div id="scenesContent" class="itemsContainer"></div>
|
||||||
<button is="emby-button" type="button" class="raised more moreScenes hide">${ButtonMore}</button>
|
<button is="emby-button" type="button" class="raised more moreScenes hide">${ButtonMore}</button>
|
||||||
</div>
|
</div>
|
||||||
<div id="themeSongsCollapsible" class="detailSection hide">
|
<div id="themeSongsCollapsible" class="detailSection hide">
|
||||||
|
|
|
@ -1856,7 +1856,6 @@ var AppInfo = {};
|
||||||
|
|
||||||
define("livetvcss", ['css!css/livetv.css']);
|
define("livetvcss", ['css!css/livetv.css']);
|
||||||
define("detailtablecss", ['css!css/detailtable.css']);
|
define("detailtablecss", ['css!css/detailtable.css']);
|
||||||
define("tileitemcss", ['css!css/tileitem.css']);
|
|
||||||
|
|
||||||
define("buttonenabled", ["legacy/buttonenabled"]);
|
define("buttonenabled", ["legacy/buttonenabled"]);
|
||||||
|
|
||||||
|
@ -2204,7 +2203,7 @@ var AppInfo = {};
|
||||||
|
|
||||||
defineRoute({
|
defineRoute({
|
||||||
path: '/itemdetails.html',
|
path: '/itemdetails.html',
|
||||||
dependencies: ['emby-button', 'tileitemcss', 'scripts/livetvcomponents', 'paper-icon-button-light', 'emby-itemscontainer'],
|
dependencies: ['emby-button', 'scripts/livetvcomponents', 'paper-icon-button-light', 'emby-itemscontainer'],
|
||||||
controller: 'scripts/itemdetailpage',
|
controller: 'scripts/itemdetailpage',
|
||||||
autoFocus: false,
|
autoFocus: false,
|
||||||
transition: 'fade'
|
transition: 'fade'
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
<div id="publicSharedItemPage" data-role="page" class="page standalonePage noSecondaryNavPage" data-theme="b" data-require="scripts/shared,scripts/itemdetailpage,tileitemcss,scripts/livetvcomponents">
|
<div id="publicSharedItemPage" data-role="page" class="page standalonePage noSecondaryNavPage" data-theme="b" data-require="scripts/shared,scripts/itemdetailpage,scripts/livetvcomponents">
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
#publicSharedItemPage .header {
|
#publicSharedItemPage .header {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue