1
0
Fork 0
mirror of https://github.com/Sonarr/Sonarr synced 2024-12-30 19:56:54 +00:00

New: Progress bar will be yellow if series is not monitored, but epsiodes are missing

This commit is contained in:
Mark McDowall 2014-08-12 16:56:21 -07:00
parent 1464a5d391
commit 457e585300
3 changed files with 10 additions and 18 deletions

View file

@ -29,17 +29,4 @@
}
}
}
.progress-primary {
#gradient > .vertical(#149bdf, #0480be);
.transition(width .6s ease);
}
.progress-success {
#gradient > .vertical(#62c462, #57a957);
}
.progress-danger {
#gradient > .vertical(#ee5f5b, #c43c35);
}
}
}

View file

@ -54,6 +54,10 @@ define(
return 'progress-bar-success';
}
return 'progress-bar-danger';
if (this.monitored) {
return 'progress-bar-danger';
}
return 'progress-bar-warning';
});
});

View file

@ -1,9 +1,10 @@
<div class="row">
<div class="series-legend legend col-xs-6 col-sm-4">
<ul class='legend-labels'>
<li><span class="progress-primary"></span>Continuing (All Episodes downloaded)</li>
<li><span class="progress-success"></span>Ended (All Episodes downloaded)</li>
<li><span class="progress-danger"></span>Missing Episodes</li>
<li><span class="progress-bar"></span>Continuing (All episodes downloaded)</li>
<li><span class="progress-bar-success"></span>Ended (All episodes downloaded)</li>
<li><span class="progress-bar-danger"></span>Missing Episodes (Series monitored)</li>
<li><span class="progress-bar-warning"></span>Missing Episodes (Series not monitored)</li>
</ul>
</div>
<div class="col-xs-5 col-sm-7">