diff --git a/.bowerrc b/.bowerrc deleted file mode 100644 index e67e2ef..0000000 --- a/.bowerrc +++ /dev/null @@ -1 +0,0 @@ -{ "directory": "stackviz/static/components/" } diff --git a/.eslintignore b/.eslintignore deleted file mode 100644 index 4e8851f..0000000 --- a/.eslintignore +++ /dev/null @@ -1 +0,0 @@ -stackviz/static/components/ diff --git a/.eslintrc b/.eslintrc deleted file mode 100644 index 4712870..0000000 --- a/.eslintrc +++ /dev/null @@ -1,21 +0,0 @@ -# Set up globals -globals: - d3: false - -extends: openstack - -# Most environment options are not explicitly enabled or disabled, only -# included here for completeness' sake. They are commented out, because the -# global updates.py script would otherwise override them during a global -# requirements synchronization. -# -# Individual projects should choose which platforms they deploy to. - -env: - # browser global variables. - browser: true - - # Adds all of the Jasmine testing global variables for version 1.3 and 2.0. - jasmine: true - - jquery: true diff --git a/.gitignore b/.gitignore index 1c8fe82..f18c395 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,5 @@ # Project-specific ignores .idea -stackviz/static/components/* node_modules build app/js/templates.js diff --git a/app/images/angular.png b/app/images/angular.png deleted file mode 100644 index d1dfc01..0000000 Binary files a/app/images/angular.png and /dev/null differ diff --git a/app/images/browserify.png b/app/images/browserify.png deleted file mode 100644 index b77ba45..0000000 Binary files a/app/images/browserify.png and /dev/null differ diff --git a/app/images/gulp.png b/app/images/gulp.png deleted file mode 100644 index 7994592..0000000 Binary files a/app/images/gulp.png and /dev/null differ diff --git a/app/js/controllers/example.js b/app/js/controllers/example.js deleted file mode 100644 index d74059a..0000000 --- a/app/js/controllers/example.js +++ /dev/null @@ -1,18 +0,0 @@ -'use strict'; - -var controllersModule = require('./_index'); - -/** - * @ngInject - */ -function ExampleCtrl() { - - // ViewModel - var vm = this; - - vm.title = 'AngularJS, Gulp, and Browserify!'; - vm.number = 1234; - -} - -controllersModule.controller('ExampleCtrl', ExampleCtrl); \ No newline at end of file diff --git a/app/js/directives/example.js b/app/js/directives/example.js deleted file mode 100644 index fafd0ae..0000000 --- a/app/js/directives/example.js +++ /dev/null @@ -1,21 +0,0 @@ -'use strict'; - -var directivesModule = require('./_index.js'); - -/** - * @ngInject - */ -function exampleDirective() { - - return { - restrict: 'EA', - link: function(scope, element) { - element.on('click', function() { - console.log('element clicked'); - }); - } - }; - -} - -directivesModule.directive('exampleDirective', exampleDirective); \ No newline at end of file diff --git a/app/js/services/example.js b/app/js/services/example.js deleted file mode 100644 index 310ce12..0000000 --- a/app/js/services/example.js +++ /dev/null @@ -1,28 +0,0 @@ -'use strict'; - -var servicesModule = require('./_index.js'); - -/** - * @ngInject - */ -function ExampleService($q, $http) { - - var service = {}; - - service.get = function() { - var deferred = $q.defer(); - - $http.get('apiPath').success(function(data) { - deferred.resolve(data); - }).error(function(err, status) { - deferred.reject(err, status); - }); - - return deferred.promise; - }; - - return service; - -} - -servicesModule.service('ExampleService', ExampleService); \ No newline at end of file diff --git a/bower.json b/bower.json deleted file mode 100644 index a29b56d..0000000 --- a/bower.json +++ /dev/null @@ -1,34 +0,0 @@ -{ - "name": "stackviz", - "version": "0.0.0", - "authors": [ - "Tim Buckley <timothy.jas.buckley@hp.com>", - "Austin Clark <austin.clark@hp.com>" - ], - "description": "A performance visualization utility for DevStack and Tempest", - "license": "Apache 2.0", - "ignore": [ - "**/.*", - "node_modules", - "bower_components", - "test", - "tests" - ], - "dependencies": { - "bootstrap": "~3.3.1", - "datatables": "~1.10.4", - "datatables-plugins": "~1.0.1", - "flot": "~0.8.3", - "font-awesome": "~4.2.0", - "holderjs": "~2.4.1", - "metisMenu": "~1.1.3", - "morrisjs": "~0.5.1", - "datatables-responsive": "~1.0.3", - "bootstrap-social": "~4.8.0", - "flot.tooltip": "~0.8.4", - "d3": "~3.5.6" - }, - "devDependencies": { - "jquery-ui": "~1.11.4" - } -} diff --git a/karma.conf.js b/karma.conf.js deleted file mode 100644 index fec1688..0000000 --- a/karma.conf.js +++ /dev/null @@ -1,70 +0,0 @@ -// Karma configuration -// Generated on Mon Aug 03 2015 11:39:58 GMT-0600 (MDT) - -module.exports = function(config) { - config.set({ - // base path that will be used to resolve all patterns (eg. files, exclude) - basePath: 'stackviz/static/', - - - // frameworks to use - // available frameworks: https://npmjs.org/browse/keyword/karma-adapter - frameworks: ['jasmine'], - - - // list of files / patterns to load in the browser - files: [ - 'components/jquery/dist/jquery.js', - 'components/datatables/media/js/jquery.dataTables.js', - 'components/bootstrap/dist/js/bootstrap.js', - 'components/metisMenu/dist/metisMenu.js', - 'components/d3/d3.js', - 'js/**/*.js', - 'tests/**/*.js' - ], - - - // list of files to exclude - exclude: [ - ], - - - // preprocess matching files before serving them to the browser - // available preprocessors: https://npmjs.org/browse/keyword/karma-preprocessor - preprocessors: { - }, - - - // test results reporter to use - // possible values: 'dots', 'progress' - // available reporters: https://npmjs.org/browse/keyword/karma-reporter - reporters: ['progress'], - - - // web server port - port: 9876, - - - // enable / disable colors in the output (reporters and logs) - colors: true, - - - // level of logging - // possible values: config.LOG_DISABLE || config.LOG_ERROR || config.LOG_WARN || config.LOG_INFO || config.LOG_DEBUG - logLevel: config.LOG_INFO, - - - // enable / disable watching file and executing tests whenever any file changes - autoWatch: true, - - - // start these browsers - // available browser launchers: https://npmjs.org/browse/keyword/karma-launcher - browsers: ['PhantomJS'], - - - // Continuous Integration mode - // if true, Karma captures browsers, runs the tests and exits -singleRun: false - }); -};