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 {
|
.viewMenuLink {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
color: #ccc;
|
color: #ccc!important;
|
||||||
padding: 7px .5em 6px;
|
padding: 7px .5em 6px;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
|
@ -79,11 +79,8 @@
|
||||||
height: 20px;
|
height: 20px;
|
||||||
padding-top: 9px;
|
padding-top: 9px;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
color: #fff!important;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
.viewMenuTextLink {
|
.viewMenuTextLink {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
}
|
}
|
||||||
|
@ -108,12 +105,12 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.libraryPage > .ui-content {
|
.libraryPage > .ui-content {
|
||||||
padding: 10px 0px;
|
padding: 10px 0 100px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.libraryPage .currentUsername {
|
.libraryPage .currentUsername {
|
||||||
color: #fff;
|
color: #fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
.listHeader {
|
.listHeader {
|
||||||
margin-top: .5em;
|
margin-top: .5em;
|
||||||
|
|
|
@ -155,21 +155,21 @@
|
||||||
|
|
||||||
if (state == "Idle") {
|
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") {
|
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 {
|
} 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">
|
<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="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>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue