mirror of https://github.com/grafana/grafana
parent
cdcf88cbdf
commit
979349388c
@ -0,0 +1,22 @@ |
|||||||
|
define([ |
||||||
|
'angular', |
||||||
|
'app', |
||||||
|
'lodash' |
||||||
|
], |
||||||
|
function (angular) { |
||||||
|
'use strict'; |
||||||
|
|
||||||
|
var module = angular.module('grafana.controllers'); |
||||||
|
|
||||||
|
module.controller('ErrorCtrl', function($scope) { |
||||||
|
|
||||||
|
var showSideMenu = $scope.grafana.sidemenu; |
||||||
|
$scope.grafana.sidemenu = false; |
||||||
|
|
||||||
|
$scope.$on('$destroy', function() { |
||||||
|
$scope.grafana.sidemenu = showSideMenu; |
||||||
|
}); |
||||||
|
|
||||||
|
}); |
||||||
|
|
||||||
|
}); |
@ -0,0 +1,11 @@ |
|||||||
|
|
||||||
|
<div class="row-fluid" style="margin-top: 100px;"> |
||||||
|
<div class="span2"></div> |
||||||
|
|
||||||
|
<div class="grafana-info-box span8 text-center"> |
||||||
|
<h3>Page not found (404)</h3> |
||||||
|
</div> |
||||||
|
|
||||||
|
<div class="span2"></div> |
||||||
|
|
||||||
|
</div> |
Loading…
Reference in new issue