mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
remove paper-progress
This commit is contained in:
parent
4848adf508
commit
faf5fe7af6
4 changed files with 25 additions and 21 deletions
|
@ -654,21 +654,6 @@ a[data-role='button'], .type-interior button:not([data-role='none']):not(.clearB
|
||||||
outline: none !important;
|
outline: none !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.scheduledTaskPaperIconItem #progressContainer {
|
|
||||||
height: 8px !important;
|
|
||||||
border-radius: 5px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.scheduledTaskPaperIconItem #primaryProgress {
|
|
||||||
border-bottom-left-radius: 5px;
|
|
||||||
border-top-left-radius: 5px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.scheduledTaskPaperIconItem paper-progress {
|
|
||||||
display: inline-block;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
@media all and (min-width: 420px) {
|
@media all and (min-width: 420px) {
|
||||||
|
|
||||||
.activeSession {
|
.activeSession {
|
||||||
|
|
|
@ -1,4 +1,18 @@
|
||||||
<div id="scheduledTasksPage" data-role="page" class="page type-interior scheduledTasksConfigurationPage" data-helpurl="https://github.com/MediaBrowser/Wiki/wiki/Scheduled%20tasks" data-require="scripts/scheduledtaskspage,humanedate">
|
<div id="scheduledTasksPage" data-role="page" class="page type-interior scheduledTasksConfigurationPage" data-helpurl="https://github.com/MediaBrowser/Wiki/wiki/Scheduled%20tasks" data-require="scripts/scheduledtaskspage,humanedate">
|
||||||
|
|
||||||
|
<style>
|
||||||
|
.taskProgressOuter {
|
||||||
|
height: 6px;
|
||||||
|
background: #eee;
|
||||||
|
border-radius: 2px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.taskProgressInner {
|
||||||
|
border-radius: 2px;
|
||||||
|
height: 100%;
|
||||||
|
background: #52B54B;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
<div data-role="content">
|
<div data-role="content">
|
||||||
<div class="content-primary">
|
<div class="content-primary">
|
||||||
|
|
||||||
|
|
|
@ -99,7 +99,8 @@
|
||||||
preferThumb: true,
|
preferThumb: true,
|
||||||
context: 'movies',
|
context: 'movies',
|
||||||
lazy: true,
|
lazy: true,
|
||||||
overlayPlayButton: true
|
overlayPlayButton: true,
|
||||||
|
showTitle: true
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
else if (viewStyle == "ThumbCard") {
|
else if (viewStyle == "ThumbCard") {
|
||||||
|
@ -155,7 +156,8 @@
|
||||||
context: 'movies',
|
context: 'movies',
|
||||||
centerText: true,
|
centerText: true,
|
||||||
lazy: true,
|
lazy: true,
|
||||||
overlayPlayButton: true
|
overlayPlayButton: true,
|
||||||
|
showTitle: true
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
define(['jQuery', 'listViewStyle', 'paper-progress'], function ($) {
|
define(['jQuery', 'listViewStyle'], function ($) {
|
||||||
|
|
||||||
function reloadList(page) {
|
function reloadList(page) {
|
||||||
|
|
||||||
|
@ -141,11 +141,14 @@
|
||||||
|
|
||||||
var progress = (task.CurrentProgressPercentage || 0).toFixed(1);
|
var progress = (task.CurrentProgressPercentage || 0).toFixed(1);
|
||||||
|
|
||||||
html += '<paper-progress max="100" value="' + progress + '" title="' + progress + '%">';
|
html += '<div style="display:flex;align-items:center;">';
|
||||||
html += '' + progress + '%';
|
html += '<div class="taskProgressOuter" title="' + progress + '%" style="flex-grow:1;">';
|
||||||
html += '</paper-progress>';
|
html += '<div class="taskProgressInner" style="width:' + progress + '%;">';
|
||||||
|
html += '</div>';
|
||||||
|
html += '</div>';
|
||||||
|
|
||||||
html += "<span style='color:#009F00;margin-left:5px;'>" + progress + "%</span>";
|
html += "<span style='color:#009F00;margin-left:5px;'>" + progress + "%</span>";
|
||||||
|
html += '</div>';
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue