renamed public to src and moved views in it

pull/5/head
cubedro 10 years ago
parent a1f0145317
commit 7ae41cbe63
  1. 22
      Gruntfile.js
  2. 2
      app.js
  3. 0
      src/css/animation.css
  4. 0
      src/css/bootstrap.min.css
  5. 0
      src/css/minimal-icons-codes.css
  6. 0
      src/css/minimal-icons-embedded.css
  7. 0
      src/css/minimal-icons-ie7-codes.css
  8. 0
      src/css/minimal-icons-ie7.css
  9. 0
      src/css/minimal-icons.css
  10. 0
      src/css/style.css
  11. 0
      src/css/toastr.min.css
  12. 0
      src/fonts/Simple-Line-Icons.ttf
  13. 0
      src/fonts/minimal-icons.eot
  14. 0
      src/fonts/minimal-icons.svg
  15. 0
      src/fonts/minimal-icons.ttf
  16. 0
      src/fonts/minimal-icons.woff
  17. 0
      src/images/favicon.ico
  18. 0
      src/images/favicon.png
  19. 0
      src/images/screenshot-v0.0.1.jpg
  20. 0
      src/images/screenshot-v0.0.2.jpg
  21. 0
      src/images/screenshot-v0.0.5.jpg
  22. 0
      src/images/screenshot.jpg
  23. 0
      src/js/app.js
  24. 0
      src/js/controllers.js
  25. 0
      src/js/directives.js
  26. 0
      src/js/filters.js
  27. 0
      src/js/lib/angular.js
  28. 0
      src/js/lib/angular.min.js
  29. 0
      src/js/lib/angular.min.js.map
  30. 0
      src/js/lib/bootstrap.min.js
  31. 0
      src/js/lib/d3.js
  32. 0
      src/js/lib/d3.min.js
  33. 0
      src/js/lib/d3.tip.min.js
  34. 0
      src/js/lib/datamaps.min.js
  35. 0
      src/js/lib/jquery-1.11.3.js
  36. 0
      src/js/lib/jquery-1.11.3.min.js
  37. 0
      src/js/lib/jquery-1.11.3.min.js.map
  38. 0
      src/js/lib/jquery.sparkline.js
  39. 0
      src/js/lib/jquery.sparkline.min.js
  40. 0
      src/js/lib/lodash.js
  41. 0
      src/js/lib/lodash.min.js
  42. 0
      src/js/lib/moment.en.min.js
  43. 0
      src/js/lib/moment.js
  44. 0
      src/js/lib/moment.min.js
  45. 0
      src/js/lib/primus.min.js
  46. 0
      src/js/lib/toastr.min.js
  47. 0
      src/js/lib/topojson.min.js
  48. 0
      src/js/script.js
  49. 0
      src/views/error.jade
  50. 0
      src/views/index.jade
  51. 0
      src/views/layout.jade

@ -1,12 +1,12 @@
var src = 'public/';
var src = 'src/';
var dest = 'dist/';
var scripts = [
'public/js/app.js',
'public/js/controllers.js',
'public/js/filters.js',
'public/js/directives.js',
'public/js/script.js'
'src/js/app.js',
'src/js/controllers.js',
'src/js/filters.js',
'src/js/directives.js',
'src/js/script.js'
];
var vendor = [
@ -49,7 +49,7 @@ module.exports = function(grunt) {
}
},
files: {
'dist/index.html': 'views/index.jade'
'dist/index.html': 'src/views/index.jade'
}
}
},
@ -58,28 +58,28 @@ module.exports = function(grunt) {
files: [
{
expand: true,
cwd: 'public/fonts/',
cwd: 'src/fonts/',
src: ['minimal-*.*'],
dest: 'dist/fonts/',
filter: 'isFile'
},
{
expand: true,
cwd: 'public/images/',
cwd: 'src/images/',
src: ['*.ico'],
dest: 'dist/',
filter: 'isFile'
},
{
expand: true,
cwd: 'public/css/',
cwd: 'src/css/',
src: styles,
dest: 'dist/css/',
filter: 'isFile'
},
{
expand: true,
cwd: 'public/js/lib/',
cwd: 'src/js/lib/',
src: ['*.*'],
dest: 'dist/js/lib'
}

@ -23,7 +23,7 @@ if( process.env.NODE_ENV !== 'production' )
var bodyParser = require('body-parser');
// view engine setup
app.set('views', path.join(__dirname, 'views'));
app.set('views', path.join(__dirname, 'src/views'));
app.set('view engine', 'jade');
app.use(bodyParser.json());
app.use(bodyParser.urlencoded({ extended: false }));

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 14 KiB

Before

Width:  |  Height:  |  Size: 574 B

After

Width:  |  Height:  |  Size: 574 B

Before

Width:  |  Height:  |  Size: 574 B

After

Width:  |  Height:  |  Size: 574 B

Before

Width:  |  Height:  |  Size: 442 KiB

After

Width:  |  Height:  |  Size: 442 KiB

Before

Width:  |  Height:  |  Size: 722 KiB

After

Width:  |  Height:  |  Size: 722 KiB

Before

Width:  |  Height:  |  Size: 881 KiB

After

Width:  |  Height:  |  Size: 881 KiB

Before

Width:  |  Height:  |  Size: 1.1 MiB

After

Width:  |  Height:  |  Size: 1.1 MiB

Loading…
Cancel
Save