Commit 0a4bd071 by Rashid Khan

fixed 404 on stylesheet

parent a118cf42
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
<body ng-controller="DashCtrl" ng-cloak> <body ng-controller="DashCtrl" ng-cloak>
<link rel="stylesheet" href="common/css/bootstrap.{{dashboard.current.style}}.min.css"> <link rel="stylesheet" ng-href="common/css/bootstrap.{{dashboard.current.style}}.min.css">
<link rel="stylesheet" href="common/css/bootstrap-responsive.min.css"> <link rel="stylesheet" href="common/css/bootstrap-responsive.min.css">
<link rel="stylesheet" href="common/css/font-awesome.min.css"> <link rel="stylesheet" href="common/css/font-awesome.min.css">
......
...@@ -14,7 +14,6 @@ angular.module('kibana.controllers', []) ...@@ -14,7 +14,6 @@ angular.module('kibana.controllers', [])
style: 'dark' style: 'dark'
}; };
// For
$scope.editor = { $scope.editor = {
index: 0 index: 0
}; };
......
...@@ -454,7 +454,7 @@ angular.module('kibana.services', []) ...@@ -454,7 +454,7 @@ angular.module('kibana.services', [])
var self = this; var self = this;
var filterSrv,querySrv; var filterSrv,querySrv;
this.current = {}; this.current = _.clone(_dash);
this.last = {}; this.last = {};
$rootScope.$on('$routeChangeSuccess',function(){ $rootScope.$on('$routeChangeSuccess',function(){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment