diff --git a/README.md b/README.md index dd5884d..d9c8953 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ -![Statusmap sample panel](https://raw.githubusercontent.com/flant/grafana-statusmap/master/src/img/grafana-statusmap-panel.png) +![Statusmap sample panel](https://raw.githubusercontent.com/flant/grafana-statusmap/master/src/img/flant-statusmap-panel.png) ## Features diff --git a/src/img/color-mapping.png b/src/img/color-mapping.png new file mode 100644 index 0000000..d516267 Binary files /dev/null and b/src/img/color-mapping.png differ diff --git a/src/img/flant-statusmap-panel.png b/src/img/flant-statusmap-panel.png new file mode 100644 index 0000000..8404b38 Binary files /dev/null and b/src/img/flant-statusmap-panel.png differ diff --git a/src/img/grafana-statusmap-panel.png b/src/img/grafana-statusmap-panel.png deleted file mode 100644 index 705b7d5..0000000 Binary files a/src/img/grafana-statusmap-panel.png and /dev/null differ diff --git a/src/img/logo.svg b/src/img/logo.svg index 54e5f5d..2bedb4c 100644 --- a/src/img/logo.svg +++ b/src/img/logo.svg @@ -1,88 +1,3 @@ - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + diff --git a/src/img/queries-example.png b/src/img/queries-example.png new file mode 100644 index 0000000..1115ee2 Binary files /dev/null and b/src/img/queries-example.png differ diff --git a/src/options_editor.js b/src/options_editor.js index e020298..c3d6128 100644 --- a/src/options_editor.js +++ b/src/options_editor.js @@ -21,7 +21,7 @@ export function statusHeatmapOptionsEditor() { return { restrict: 'E', scope: true, - templateUrl: 'public/plugins/status-heatmap-panel/options_editor.html', + templateUrl: 'public/plugins/status-heatmap-panel/partials/options_editor.html', controller: StatusHeatmapOptionsEditorCtrl, }; } diff --git a/src/options_editor.html b/src/partials/options_editor.html similarity index 100% rename from src/options_editor.html rename to src/partials/options_editor.html diff --git a/src/plugin.json b/src/plugin.json index 91a8b88..715acc8 100644 --- a/src/plugin.json +++ b/src/plugin.json @@ -1,21 +1,31 @@ { "type": "panel", - "name": "Status Heatmap", - "id": "status-heatmap-panel", + "name": "Statusmap", + "id": "flant-statusmap-panel", "info": { - "description": "Status Heatmap panel plugin for grafana", + "description": "Statusmap panel for grafana", "author": { "name": "Flant JSC", "url": "http://flant.com" }, "keywords": ["status", "heatmap", "panel"], - "version": "0.0.1", - "updated": "2017-11-01", "logos": { "small": "img/logo.svg", "large": "img/logo.svg" - } + }, + "links": [ + {"name": "Github", "url": "https://github.com/flant/grafana-statusmap"}, + {"name": "MIT Licence", "url": "https://github.com/flant/grafana-statusmap/blob/master/LICENSE"} + + ], + "screenshots": [ + {"name": "Panel", "path": "img/flant-statusmap-panel.png"}, + {"name": "Color mapping", "path": "img/color-mapping.png"}, + {"name": "Queries example", "path": "img/queries-example.png"} + ], + "version": "0.0.1", + "updated": "2018-09-17" }, "dependencies": {