Merge pull request #1168 from sn3akz/develop
Implementation for sickragetv/sickrage-issues#322 - Add extra progress-bar color for when show is fully downloaded
This commit is contained in:
commit
ffd4739230
|
@ -561,6 +561,16 @@ home.tmpl
|
|||
color: #fff;
|
||||
}
|
||||
|
||||
.progress-100 {
|
||||
background-image: -moz-linear-gradient(#395f07, #2a4705) !important;
|
||||
background-image: linear-gradient(#395f07, #2a4705) !important;
|
||||
background-image: -webkit-linear-gradient(#395f07, #2a4705) !important;
|
||||
background-image: -o-linear-gradient(#395f07, #2a4705) !important;
|
||||
-moz-border-radius: 3px;
|
||||
-webkit-border-radius: 3px;
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
.progress-80 {
|
||||
background-image: -moz-linear-gradient(#a6cf41, #5b990d) !important;
|
||||
background-image: linear-gradient(#a6cf41, #5b990d) !important;
|
||||
|
@ -3061,4 +3071,4 @@ jquery.confirm.css
|
|||
|
||||
#confirmBox .red:hover {
|
||||
background-color: #A13331;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -543,6 +543,16 @@ home.tmpl
|
|||
color: #000000;
|
||||
}
|
||||
|
||||
.progress-100 {
|
||||
background-image: -moz-linear-gradient(#395f07, #2a4705) !important;
|
||||
background-image: linear-gradient(#395f07, #2a4705) !important;
|
||||
background-image: -webkit-linear-gradient(#395f07, #2a4705) !important;
|
||||
background-image: -o-linear-gradient(#395f07, #2a4705) !important;
|
||||
-moz-border-radius: 3px;
|
||||
-webkit-border-radius: 3px;
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
.progress-80 {
|
||||
background-image: -moz-linear-gradient(#a6cf41, #5b990d) !important;
|
||||
background-image: linear-gradient(#a6cf41, #5b990d) !important;
|
||||
|
@ -2998,4 +3008,4 @@ jquery.confirm.css
|
|||
|
||||
#confirmBox .red:hover {
|
||||
background-color: #A13331;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -557,6 +557,16 @@ home.tmpl
|
|||
color: #000000;
|
||||
}
|
||||
|
||||
.progress-100 {
|
||||
background-image: -moz-linear-gradient(#395f07, #2a4705) !important;
|
||||
background-image: linear-gradient(#395f07, #2a4705) !important;
|
||||
background-image: -webkit-linear-gradient(#395f07, #2a4705) !important;
|
||||
background-image: -o-linear-gradient(#395f07, #2a4705) !important;
|
||||
-moz-border-radius: 3px;
|
||||
-webkit-border-radius: 3px;
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
.progress-80 {
|
||||
background-image: -moz-linear-gradient(#a6cf41, #5b990d) !important;
|
||||
background-image: linear-gradient(#a6cf41, #5b990d) !important;
|
||||
|
@ -3203,4 +3213,4 @@ login.css
|
|||
font-size: 25px;
|
||||
padding: 20px;
|
||||
float: right;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -356,15 +356,18 @@ $myShowList.sort(lambda x, y: cmp(x.name, y.name))
|
|||
if (classvalue<20) {
|
||||
classtoadd = "progress-20"
|
||||
}
|
||||
if (classvalue>20 && classvalue<60) {
|
||||
if (classvalue>=20 && classvalue<40) {
|
||||
classtoadd = "progress-40"
|
||||
}
|
||||
if (classvalue>40 && classvalue<80) {
|
||||
if (classvalue>=40 && classvalue<80) {
|
||||
classtoadd = "progress-60"
|
||||
}
|
||||
if (classvalue>80) {
|
||||
if (classvalue>=80 && classvalue<100) {
|
||||
classtoadd = "progress-80"
|
||||
}
|
||||
}
|
||||
if (classvalue==100) {
|
||||
classtoadd = "progress-100"
|
||||
}
|
||||
\$("\#progressbar$curShow.indexerid > .ui-progressbar-value").addClass(classtoadd);
|
||||
});
|
||||
//-->
|
||||
|
@ -586,15 +589,18 @@ $myShowList.sort(lambda x, y: cmp(x.name, y.name))
|
|||
if (classvalue<20) {
|
||||
classtoadd = "progress-20"
|
||||
}
|
||||
if (classvalue>20 && classvalue<60) {
|
||||
if (classvalue>=20 && classvalue<40) {
|
||||
classtoadd = "progress-40"
|
||||
}
|
||||
if (classvalue>40 && classvalue<80) {
|
||||
if (classvalue>=40 && classvalue<80) {
|
||||
classtoadd = "progress-60"
|
||||
}
|
||||
if (classvalue>80) {
|
||||
if (classvalue>=80 && classvalue<100) {
|
||||
classtoadd = "progress-80"
|
||||
}
|
||||
if (classvalue==100) {
|
||||
classtoadd = "progress-100"
|
||||
}
|
||||
\$("\#progressbar$curShow.indexerid > .ui-progressbar-value").addClass(classtoadd);
|
||||
});
|
||||
//-->
|
||||
|
|
Loading…
Reference in New Issue