diff --git a/app/scripts/controllers/status.js b/app/scripts/controllers/status.js index bf64cca..25b89eb 100644 --- a/app/scripts/controllers/status.js +++ b/app/scripts/controllers/status.js @@ -3,8 +3,8 @@ angular.module('ariaNg').controller('Aria2StatusController', ['$rootScope', '$scope', 'ariaNgCommonService', 'aria2SettingService', function ($rootScope, $scope, ariaNgCommonService, aria2SettingService) { $rootScope.loadPromise = (function () { - return aria2SettingService.getServerStatus(function (result) { - $scope.serverStatus = result; + return aria2SettingService.getAria2Status(function (result) { + $scope.aria2Status = result; }); })(); diff --git a/app/scripts/services/aria2SettingService.js b/app/scripts/services/aria2SettingService.js index e58ee74..2500192 100644 --- a/app/scripts/services/aria2SettingService.js +++ b/app/scripts/services/aria2SettingService.js @@ -120,7 +120,7 @@ callback: callback }); }, - getServerStatus: function (callback) { + getAria2Status: function (callback) { return aria2RpcService.getVersion({ callback: callback }) diff --git a/app/views/status.html b/app/views/status.html index 9aabe33..0a8debe 100644 --- a/app/views/status.html +++ b/app/views/status.html @@ -5,7 +5,7 @@ Aria2 Version
- +
@@ -13,10 +13,10 @@ Enabled Features
- +
-
+
Functions