mirror of https://github.com/grafana/grafana
parent
7a8b3c419b
commit
3bb20dbf2e
@ -1,18 +0,0 @@ |
||||
define([ |
||||
'angular', |
||||
], |
||||
function (angular) { |
||||
'use strict'; |
||||
|
||||
var module = angular.module('grafana.services'); |
||||
|
||||
module.factory('SqlDatasource', function() { |
||||
|
||||
function SqlDatasource() { |
||||
} |
||||
|
||||
return SqlDatasource; |
||||
|
||||
}); |
||||
|
||||
}); |
@ -1,53 +0,0 @@ |
||||
<h2>SQL Options</h2> |
||||
|
||||
<div class="tight-form"> |
||||
<ul class="tight-form-list"> |
||||
<li class="tight-form-item" style="width: 80px"> |
||||
DB Type |
||||
</li> |
||||
<li> |
||||
<select class="input-medium tight-form-input" ng-model="current.jsonData.dbType" ng-options="f for f in ['sqlite3','mysql','postgres']"></select> |
||||
</li> |
||||
<li class="tight-form-item" style="width: 80px"> |
||||
Host |
||||
</li> |
||||
<li> |
||||
<input type="text" class="tight-form-input input-medium" ng-model='current.jsonData.host' placeholder="localhost:3306"> |
||||
</li> |
||||
<li class="tight-form-item" ng-if="current.jsonData.dbType === 'postgres'"> |
||||
SSL |
||||
<input class="cr1" id="jsonData.ssl" type="checkbox" ng-model="current.jsonData.ssl" ng-checked="current.jsonData.ssl"> |
||||
<label for="jsonData.ssl" class="cr1"></label> |
||||
</li> |
||||
</ul> |
||||
<div class="clearfix"></div> |
||||
</div> |
||||
<div class="tight-form"> |
||||
<ul class="tight-form-list"> |
||||
<li class="tight-form-item" style="width: 80px"> |
||||
Database |
||||
</li> |
||||
<li> |
||||
<input type="text" class="tight-form-input input-medium" ng-model='current.database' placeholder=""> |
||||
</li> |
||||
</ul> |
||||
<div class="clearfix"></div> |
||||
</div> |
||||
<div class="tight-form"> |
||||
<ul class="tight-form-list"> |
||||
<li class="tight-form-item" style="width: 80px"> |
||||
User |
||||
</li> |
||||
<li> |
||||
<input type="text" class="tight-form-input input-medium" ng-model='current.user' placeholder=""> |
||||
</li> |
||||
<li class="tight-form-item" style="width: 80px"> |
||||
Password |
||||
</li> |
||||
<li> |
||||
<input type="password" class="tight-form-input input-medium" ng-model='current.password' placeholder=""> |
||||
</li> |
||||
</ul> |
||||
<div class="clearfix"></div> |
||||
</div> |
||||
|
@ -1,17 +0,0 @@ |
||||
|
||||
<div class="fluid-row" style="margin-top: 20px"> |
||||
<div class="span2"></div> |
||||
<div class="grafana-info-box span8"> |
||||
<h5>Test graph</h5> |
||||
|
||||
<p> |
||||
This is just a test data source that generates random walk series. If this is your only data source |
||||
open the left side menu and navigate to the data sources admin screen and add your data sources. You can change |
||||
data source using the button to the left of the <strong>Add query</strong> button. |
||||
</p> |
||||
</div> |
||||
<div class="span2"></div> |
||||
|
||||
<div class="clearfix"></div> |
||||
</div> |
||||
|
@ -1,16 +0,0 @@ |
||||
{ |
||||
"pluginType": "datasource", |
||||
"name": "Generic SQL (prototype)", |
||||
|
||||
"type": "generic_sql", |
||||
"serviceName": "SqlDatasource", |
||||
|
||||
"module": "app/plugins/datasource/sql/datasource", |
||||
|
||||
"partials": { |
||||
"config": "app/plugins/datasource/sql/partials/config.html", |
||||
"query": "app/plugins/datasource/sql/partials/query.editor.html" |
||||
}, |
||||
|
||||
"metrics": true |
||||
} |
@ -1,8 +1,7 @@ |
||||
{ |
||||
"pluginType": "panel", |
||||
|
||||
"type": "panel", |
||||
"name": "Dashboard list", |
||||
"type": "dashlist", |
||||
"id": "dashlist", |
||||
|
||||
"module": "app/plugins/panels/dashlist/module" |
||||
} |
||||
|
@ -1,8 +1,7 @@ |
||||
{ |
||||
"pluginType": "panel", |
||||
|
||||
"type": "panel", |
||||
"name": "Graph", |
||||
"type": "graph", |
||||
"id": "graph", |
||||
|
||||
"module": "app/plugins/panels/graph/module" |
||||
} |
||||
|
@ -1,8 +1,7 @@ |
||||
{ |
||||
"pluginType": "panel", |
||||
|
||||
"type": "panel", |
||||
"name": "Singlestat", |
||||
"type": "singlestat", |
||||
"id": "singlestat", |
||||
|
||||
"module": "app/plugins/panels/singlestat/module" |
||||
} |
||||
|
@ -1,8 +1,7 @@ |
||||
{ |
||||
"pluginType": "panel", |
||||
|
||||
"type": "panel", |
||||
"name": "Table", |
||||
"type": "table", |
||||
"id": "table", |
||||
|
||||
"module": "app/plugins/panels/table/module" |
||||
} |
||||
|
@ -1,8 +1,7 @@ |
||||
{ |
||||
"pluginType": "panel", |
||||
|
||||
"type": "panel", |
||||
"name": "Text", |
||||
"type": "text", |
||||
"id": "text", |
||||
|
||||
"module": "app/plugins/panels/text/module" |
||||
} |
||||
|
Loading…
Reference in new issue