Skip to content

Commit

Permalink
load timeslider directive with bower instead of keeping local copy
Browse files Browse the repository at this point in the history
  • Loading branch information
nreese committed Mar 17, 2017
1 parent 4b73d7b commit 4d06e9f
Show file tree
Hide file tree
Showing 7 changed files with 21 additions and 329 deletions.
3 changes: 3 additions & 0 deletions .bowerrc
@@ -0,0 +1,3 @@
{
"directory": "public/bower_components"
}
1 change: 1 addition & 0 deletions .gitignore
@@ -1 +1,2 @@
.DS_Store
public/bower_components
2 changes: 2 additions & 0 deletions README.md
Expand Up @@ -16,6 +16,8 @@ Use this widget to view and edit the time range from within dashboards. Use the
```bash
cd KIBANA_HOME/plugins
git clone git@github.com:nreese/kibana-time-plugin.git
cd KIBANA_HOME/plugins/kibana-time-plugin
bower install
vi kibana-time-plugin/package.js //set version to match kibana version
```

Expand Down
13 changes: 13 additions & 0 deletions bower.json
@@ -0,0 +1,13 @@
{
"name": "kibana-time-plugin",
"description": "kibana plugin",
"authors": [
"nreese <reese.nathan@gmail.com>"
],
"license": "Apache License 2.0",
"homepage": "https://github.com/nreese/kibana-time-plugin",
"private": true,
"dependencies": {
"bootstrap-addons": "https://github.com/nreese/bootstrap-addons/files/851515/bootstrap-addons.zip"
}
}
20 changes: 0 additions & 20 deletions public/lib/bootstrap-addons/dist/css/bootstrap-addons.css

This file was deleted.

307 changes: 0 additions & 307 deletions public/lib/bootstrap-addons/dist/js/bootstrap-addons.js

This file was deleted.

4 changes: 2 additions & 2 deletions public/time.js
Expand Up @@ -2,8 +2,8 @@ import 'ui/angular-bootstrap';
import 'plugins/kibana-time-plugin/lib/angular-bootstrap/css/bootstrap-theme.css';
import 'plugins/kibana-time-plugin/lib/angular-bootstrap/css/carousel.css';
import 'plugins/kibana-time-plugin/lib/angular-bootstrap/js/carousel.js';
import 'plugins/kibana-time-plugin/lib/bootstrap-addons/dist/css/bootstrap-addons.css';
import 'plugins/kibana-time-plugin/lib/bootstrap-addons/dist/js/bootstrap-addons.js';
import 'plugins/kibana-time-plugin/bower_components/bootstrap-addons/dist/css/bootstrap-addons.css';
import 'plugins/kibana-time-plugin/bower_components/bootstrap-addons/dist/js/bootstrap-addons.js';
import 'plugins/kibana-time-plugin/time.less';
import 'plugins/kibana-time-plugin/timeController';
import TemplateVisTypeTemplateVisTypeProvider from 'ui/template_vis_type/template_vis_type';
Expand Down

0 comments on commit 4d06e9f

Please sign in to comment.