Rashid Khan 12 лет назад
Родитель
Сommit
0f14d54584
2 измененных файлов с 1 добавлено и 9 удалено
  1. 1 1
      index.html
  2. 0 8
      js/controllers.js

+ 1 - 1
index.html

@@ -28,7 +28,7 @@
 
   <body ng-controller="DashCtrl" ng-cloak>
 
-    <link rel="stylesheet" ng-href="common/css/bootstrap.{{dashboard.current.style}}.min.css">
+    <link rel="stylesheet" ng-href="common/css/bootstrap.{{dashboard.current.style||'dark'}}.min.css">
     <link rel="stylesheet" href="common/css/bootstrap-responsive.min.css">
     <link rel="stylesheet" href="common/css/font-awesome.min.css">
 

+ 0 - 8
js/controllers.js

@@ -6,14 +6,6 @@ angular.module('kibana.controllers', [])
 .controller('DashCtrl', function($scope, $rootScope, $http, $timeout, $route, ejsResource, 
   fields, dashboard) {
 
-  var _d = {
-    title: "",
-    editable: true,
-    rows: [],
-    last: null,
-    style: 'dark'
-  };
-
   $scope.editor = {
     index: 0
   };