mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Fixed typo in elastic angular client, added dash loader panel, removed dashboards.js, replaced with default.json, added global alerts, add some display options for histogram
This commit is contained in:
@@ -40,6 +40,10 @@
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.popover {
|
||||
max-width: 500px;
|
||||
}
|
||||
|
||||
/*
|
||||
.row-header i.editlink {
|
||||
opacity: 0;
|
||||
|
||||
@@ -60,7 +60,7 @@ angular.module('elasticjs.service', [])
|
||||
},
|
||||
del: function (path, data, successcb, errorcb) {
|
||||
path = url + path;
|
||||
return promiseThen($http.delee(path, data), successcb, errorcb);
|
||||
return promiseThen($http.delete(path, data), successcb, errorcb);
|
||||
},
|
||||
head: function (path, data, successcb, errorcb) {
|
||||
path = url + path;
|
||||
|
||||
2
common/lib/elastic-angular-client.min.js
vendored
2
common/lib/elastic-angular-client.min.js
vendored
@@ -1,4 +1,4 @@
|
||||
/*! elastic.js - v1.0.0 - 2013-01-15
|
||||
* https://github.com/fullscale/elastic.js
|
||||
* Copyright (c) 2013 FullScale Labs, LLC; Licensed MIT */
|
||||
"use strict";angular.module("elasticjs.service",[]).factory("ejsResource",["$http",function(e){return function(t){var n=window.ejs||{},r=function(e,t,n){return e.then(function(e){return(t||angular.noop)(e.data),e.data},function(e){return(n||angular.noop)(undefined),undefined})};return t==null&&(t=""),n.client={server:function(e){return e==null?t:(t=e,this)},post:function(n,i,s,o){return n=t+n,r(e.post(n,i),s,o)},get:function(n,i,s,o){return n=t+n,r(e.get(n,i),s,o)},put:function(n,i,s,o){return n=t+n,r(e.put(n,i),s,o)},del:function(n,i,s,o){return n=t+n,r(e.delee(n,i),s,o)},head:function(n,r,i,s){return n=t+n,e.head(n,r).then(function(e){return(i||angular.noop)(e.headers()),e.headers()},function(e){return(s||angular.noop)(undefined),undefined})}},n}}]);
|
||||
"use strict";angular.module("elasticjs.service",[]).factory("ejsResource",["$http",function(e){return function(t){var n=window.ejs||{},r=function(e,t,n){return e.then(function(e){return(t||angular.noop)(e.data),e.data},function(e){return(n||angular.noop)(undefined),undefined})};return t==null&&(t=""),n.client={server:function(e){return e==null?t:(t=e,this)},post:function(n,i,s,o){return n=t+n,r(e.post(n,i),s,o)},get:function(n,i,s,o){return n=t+n,r(e.get(n,i),s,o)},put:function(n,i,s,o){return n=t+n,r(e.put(n,i),s,o)},del:function(n,i,s,o){return n=t+n,r(e.delete(n,i),s,o)},head:function(n,r,i,s){return n=t+n,e.head(n,r).then(function(e){return(i||angular.noop)(e.headers()),e.headers()},function(e){return(s||angular.noop)(undefined),undefined})}},n}}]);
|
||||
|
||||
Reference in New Issue
Block a user