This commit is contained in:
MaysWind 2016-06-06 21:15:15 +08:00
parent 952dc1a0c8
commit 221eb72f7d
2 changed files with 13 additions and 3 deletions

View file

@ -26,7 +26,7 @@
if ($rootScope.taskContext.list) {
aria2TaskService.processDownloadTasks($rootScope.taskContext.list);
$rootScope.taskContext.enableSelectAll = $rootScope.taskContext.list.length > 1;
$rootScope.taskContext.enableSelectAll = $rootScope.taskContext.list.length > 0;
}
}, silent);
};

View file

@ -359,12 +359,22 @@ td {
color: #208fe5;
}
.skin-aria-ng .has-success .input-group .input-group-addon {
.skin-aria-ng .input-group .form-group.has-success + .input-group-addon {
border-color: #00a65a;
background-color: #00a65a;
color: #ffffff;
}
.skin-aria-ng .has-error .input-group .input-group-addon {
.skin-aria-ng .input-group .form-group.has-warning + .input-group-addon {
border-color: #f39c12;
background-color: #f39c12;
color: #ffffff;
}
.skin-aria-ng .input-group .form-group.has-error + .input-group-addon {
border-color: #dd4b39;
background-color: #dd4b39;
color: #ffffff;
}
/* font-awesome extend */