summaryrefslogtreecommitdiffstats
path: root/app/server-control/controllers/remote-console-window-controller.js
blob: 01874d600f40171c5453063671eb3e3c1ce2746b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/**
 * Controller for server
 *
 * @module app/serverControl
 * @exports remoteConsoleWindowController
 * @name remoteConsoleController
 */

window.angular && (function(angular) {
  'use strict';

  angular.module('app.serverControl')
      .controller('remoteConsoleWindowController', [
        '$scope', '$window', 'dataService',
        function($scope, $window, dataService) {
          $scope.dataService = dataService;
          dataService.showNavigation = false;
          dataService.bodyStyle = {'background': 'white'};

          $scope.close = function() {
            $window.close();
          };
        }
      ]);
})(angular);
OpenPOWER on IntegriCloud