Home
last modified time | relevance | path

Searched refs:dataService (Results 1 – 24 of 24) sorted by relevance

/openbmc/phosphor-webui/app/common/directives/
H A Dapp-header.js15 $rootScope, $cookies, $scope, dataService, userModel, $location,
17 $scope.dataService = dataService;
26 'wss://' + dataService.server_id + '/subscribe', [token]);
72 dataService.updateServerHealth(result.data);
84 dataService.setPowerOffState();
88 dataService.setPowerOnState();
90 dataService.setErrorState();
103 dataService.setNetworkInfo(data);
112 dataService.setSystemName(res);
124 $scope.username = dataService.getUser();
H A Dsyslog-filter.js12 function($rootScope, $scope, dataService, $location) {
13 $scope.dataService = dataService;
H A Dfirmware-list.js14 function($rootScope, $scope, dataService, $location, $timeout) {
15 $scope.dataService = dataService;
H A Dlog-search-control.js12 function($rootScope, $scope, dataService, $location) {
13 $scope.dataService = dataService;
H A Dapp-navigation.js12 function($scope, $location, dataService) {
17 $scope.dataService = dataService;
H A Dlog-filter.js12 function($rootScope, $scope, dataService, $location) {
13 $scope.dataService = dataService;
H A Dlog-event.js13 function($rootScope, $scope, dataService, $location, $timeout) {
14 $scope.dataService = dataService;
H A Dserial-console.js133 function($scope, $cookies, $window, dataService, $element) {
134 $scope.dataService = dataService;
161 var hostname = dataService.getHost().replace('https://', '');
/openbmc/phosphor-webui/app/server-control/controllers/
H A Dserver-led-controller.js14 function($scope, $window, $route, APIUtils, dataService, toastService) { argument
15 $scope.dataService = dataService;
23 dataService.LED_state = APIUtils.LED_STATE_TEXT.on;
25 dataService.LED_state = APIUtils.LED_STATE_TEXT.off;
31 (dataService.LED_state == APIUtils.LED_STATE_TEXT.on) ?
34 dataService.LED_state =
35 (dataService.LED_state == APIUtils.LED_STATE_TEXT.on) ?
H A Dremote-console-window-controller.js15 function($scope, $window, dataService) { argument
16 $scope.dataService = dataService;
17 dataService.showNavigation = false;
18 dataService.bodyStyle = {'background': 'white'};
H A Dkvm-window-controller.js13 function($scope, $window, dataService) { argument
14 $scope.dataService = dataService;
15 dataService.showNavigation = false;
16 dataService.bodyStyle = {background: 'white'};
H A Dpower-operations-controller.js16 $scope, APIUtils, dataService, Constants, $interval, $q, toastService, argument
18 $scope.dataService = dataService;
60 if (dataService.server_state === statusType) {
74 dataService.setUnreachableState();
104 dataService.setUnreachableState();
138 dataService.setUnreachableState();
162 dataService.setUnreachableState();
172 dataService.setPowerOffState();
189 dataService.setUnreachableState();
H A Dbmc-reboot-controller.js14 function($scope, $window, APIUtils, dataService, toastService) { argument
15 $scope.dataService = dataService;
H A Dvirtual-media-controller.js16 $scope, $cookies, APIUtils, toastService, dataService, argument
36 var host = dataService.getHost().replace('https://', '');
/openbmc/phosphor-webui/app/overview/controllers/
H A Dsystem-overview-controller.js14 function($scope, $window, APIUtils, dataService, Constants, $q) { argument
15 $scope.dataService = dataService;
56 dataService.LED_state = APIUtils.LED_STATE_TEXT.on;
58 dataService.LED_state = APIUtils.LED_STATE_TEXT.off;
131 (dataService.LED_state == APIUtils.LED_STATE_TEXT.on) ?
134 dataService.LED_state =
135 (dataService.LED_state == APIUtils.LED_STATE_TEXT.on) ?
147 dataService.setNetworkInfo(data);
/openbmc/phosphor-webui/app/login/controllers/
H A Dlogin-controller.js18 function($scope, $window, dataService, userModel, $location) { argument
19 $scope.dataService = dataService;
22 $scope.host = $scope.dataService.host.replace(/^https?\:\/\//ig, '');
38 $scope.dataService.setHost(host);
/openbmc/phosphor-webui/app/common/services/
H A DapiInterceptor.js15 function($q, $rootScope, dataService, $location) { argument
18 dataService.loading = true;
26 dataService.loading = false;
/openbmc/phosphor-webui/app/server-health/controllers/
H A Dinventory-overview-controller.js14 function($scope, $window, APIUtils, dataService) { argument
15 $scope.dataService = dataService;
H A Dlog-controller.js23 $scope, $window, APIUtils, dataService, Constants, $routeParams, argument
25 $scope.dataService = dataService;
69 dataService.updateServerHealth(result.data);
H A Dsensors-overview-controller.js13 function($scope, $log, $window, APIUtils, dataService, Constants) { argument
14 $scope.dataService = dataService;
/openbmc/phosphor-webui/app/configuration/controllers/
H A Dnetwork-controller.js16 $scope, $window, APIUtils, dataService, $timeout, $route, $q, argument
18 $scope.dataService = dataService;
70 dataService.mac_address.toLowerCase()) {
73 if ($scope.defaultGateway != dataService.defaultgateway) {
76 if ($scope.hostname != dataService.hostname) {
286 dataService.setNetworkInfo(data);
H A Dfirmware-controller.js16 $scope, $window, APIUtils, dataService, $location, $anchorScroll, argument
18 $scope.dataService = dataService;
144 dataService.setUnreachableState();
159 dataService.setUnreachableState();
174 return dataService.server_state === Constants.HOST_STATE_TEXT.off;
/openbmc/phosphor-webui/app/profile-settings/controllers/
H A Dprofile-settings-controller.js15 function($scope, APIUtils, dataService, toastService) { argument
71 $scope.username = dataService.getUser();
/openbmc/phosphor-webui/app/
H A Dindex.js37 import dataService from './common/services/dataService.js';
190 '$rootScope', '$location', 'dataService', 'userModel', '$cookies',