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;
|
||||
}
|
||||
|
||||
.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) {
|
||||
|
||||
.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">
|
||||
|
||||
<style>
|
||||
.taskProgressOuter {
|
||||
height: 6px;
|
||||
background: #eee;
|
||||
border-radius: 2px;
|
||||
}
|
||||
|
||||
.taskProgressInner {
|
||||
border-radius: 2px;
|
||||
height: 100%;
|
||||
background: #52B54B;
|
||||
}
|
||||
</style>
|
||||
<div data-role="content">
|
||||
<div class="content-primary">
|
||||
|
||||
|
|
|
@ -99,7 +99,8 @@
|
|||
preferThumb: true,
|
||||
context: 'movies',
|
||||
lazy: true,
|
||||
overlayPlayButton: true
|
||||
overlayPlayButton: true,
|
||||
showTitle: true
|
||||
});
|
||||
}
|
||||
else if (viewStyle == "ThumbCard") {
|
||||
|
@ -155,7 +156,8 @@
|
|||
context: 'movies',
|
||||
centerText: 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) {
|
||||
|
||||
|
@ -141,11 +141,14 @@
|
|||
|
||||
var progress = (task.CurrentProgressPercentage || 0).toFixed(1);
|
||||
|
||||
html += '<paper-progress max="100" value="' + progress + '" title="' + progress + '%">';
|
||||
html += '' + progress + '%';
|
||||
html += '</paper-progress>';
|
||||
html += '<div style="display:flex;align-items:center;">';
|
||||
html += '<div class="taskProgressOuter" title="' + progress + '%" style="flex-grow:1;">';
|
||||
html += '<div class="taskProgressInner" style="width:' + progress + '%;">';
|
||||
html += '</div>';
|
||||
html += '</div>';
|
||||
|
||||
html += "<span style='color:#009F00;margin-left:5px;'>" + progress + "%</span>";
|
||||
html += '</div>';
|
||||
|
||||
} else {
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue