mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
fix icon changing on scheduled task page
This commit is contained in:
parent
77ea8e1dfe
commit
92b1ccb529
3 changed files with 12 additions and 15 deletions
|
@ -50,7 +50,7 @@
|
|||
|
||||
.viewMenuLink {
|
||||
text-decoration: none;
|
||||
color: #ccc;
|
||||
color: #ccc!important;
|
||||
padding: 7px .5em 6px;
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
|
@ -79,11 +79,8 @@
|
|||
height: 20px;
|
||||
padding-top: 9px;
|
||||
text-transform: uppercase;
|
||||
color: #fff!important;
|
||||
}
|
||||
|
||||
|
||||
|
||||
.viewMenuTextLink {
|
||||
display: inline-block;
|
||||
}
|
||||
|
@ -108,7 +105,7 @@
|
|||
}
|
||||
|
||||
.libraryPage > .ui-content {
|
||||
padding: 10px 0px;
|
||||
padding: 10px 0 100px;
|
||||
}
|
||||
|
||||
.libraryPage .currentUsername {
|
||||
|
|
|
@ -155,21 +155,21 @@
|
|||
|
||||
if (state == "Idle") {
|
||||
|
||||
elem = btnTask.addClass('btnStartTask').removeClass('btnStopTask').show().data("icon", "play").attr("title", "Start").buttonMarkup("refresh");
|
||||
elem = btnTask.addClass('btnStartTask').removeClass('btnStopTask').show().data("icon", "play").attr("title", "Start");
|
||||
|
||||
$('.ui-icon-stop', elem).removeClass('ui-icon-stop').addClass('ui-icon-play');
|
||||
elem.removeClass('ui-icon-stop').addClass('ui-icon-play');
|
||||
}
|
||||
else if (state == "Running") {
|
||||
|
||||
elem = btnTask.addClass('btnStopTask').removeClass('btnStartTask').show().data("icon", "stop").attr("title", "Stop").buttonMarkup("refresh");
|
||||
elem = btnTask.addClass('btnStopTask').removeClass('btnStartTask').show().data("icon", "stop").attr("title", "Stop");
|
||||
|
||||
$('.ui-icon-play', elem).removeClass('ui-icon-play').addClass('ui-icon-stop');
|
||||
elem.removeClass('ui-icon-play').addClass('ui-icon-stop');
|
||||
|
||||
} else {
|
||||
|
||||
elem = btnTask.addClass('btnStartTask').removeClass('btnStopTask').hide().data("icon", "play").attr("title", "Start").buttonMarkup("refresh");
|
||||
elem = btnTask.addClass('btnStartTask').removeClass('btnStopTask').hide().data("icon", "play").attr("title", "Start");
|
||||
|
||||
$('.ui-icon-stop', elem).removeClass('ui-icon-stop').addClass('ui-icon-play');
|
||||
elem.removeClass('ui-icon-stop').addClass('ui-icon-play');
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
|
||||
<div class="wizardNavigation">
|
||||
<button type="button" data-iconpos="left" data-icon="arrow-l" data-inline="true" onclick="history.back();">Previous</button>
|
||||
<button type="button" data-iconpos="right" data-icon="dashboard" data-inline="true" onclick="WizardFinishPage.onFinish();" data-theme="b">Finish</button>
|
||||
<button type="button" data-iconpos="right" data-icon="check" data-inline="true" onclick="WizardFinishPage.onFinish();" data-theme="b">Finish</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue