From bc95db6f47ec0880b92bee2acbd7a3a3fbe38180 Mon Sep 17 00:00:00 2001 From: Alexis Lahouze Date: Wed, 17 Feb 2016 08:54:44 +0100 Subject: [PATCH] Rename templates into views. Fix paths to static files. --- bower.json | 2 +- grunt-config/htmllint.js | 4 ++-- grunt-config/includeSource.js | 2 +- grunt-config/watch.js | 4 ++-- grunt-config/wiredep.js | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/bower.json b/bower.json index 0f517cf..59db683 100644 --- a/bower.json +++ b/bower.json @@ -6,7 +6,7 @@ ], "license": "AGPL", "main": [ - "accountant/frontend/templates/layout.html", + "accountant/frontend/static/index.html", "accountant/frontend/static/js/app.js" ], "ignore": [ diff --git a/grunt-config/htmllint.js b/grunt-config/htmllint.js index 54c5ba5..d5ea36b 100644 --- a/grunt-config/htmllint.js +++ b/grunt-config/htmllint.js @@ -9,8 +9,8 @@ module.exports = { 'indent-width': 2 }, src: [ - 'accountant/frontend/templates/**/*.html', - 'accountant/frontend/static/templates/**/*.html' + 'accountant/frontend/static/*.html', + 'accountant/frontend/static/views/*.html' ] } }; diff --git a/grunt-config/includeSource.js b/grunt-config/includeSource.js index e845ac4..f72318d 100644 --- a/grunt-config/includeSource.js +++ b/grunt-config/includeSource.js @@ -7,7 +7,7 @@ module.exports = { }, index: { files: { - 'accountant/frontend/templates/layout.html': 'accountant/frontend/templates/layout.html' + 'accountant/frontend/static/index.html': 'accountant/frontend/static/index.html' } } }; diff --git a/grunt-config/watch.js b/grunt-config/watch.js index bb68c64..11b4d51 100644 --- a/grunt-config/watch.js +++ b/grunt-config/watch.js @@ -18,8 +18,8 @@ module.exports = { }, html: { files: [ - 'accountant/frontend/templates/**/*.html', - 'accountant/frontend/static/templates/**/*.html' + 'accountant/frontend/static/*.html', + 'accountant/frontend/static/views/*.html' ], tasks: ['htmldev'] }, diff --git a/grunt-config/wiredep.js b/grunt-config/wiredep.js index 18336a5..b376d79 100644 --- a/grunt-config/wiredep.js +++ b/grunt-config/wiredep.js @@ -1,6 +1,6 @@ module.exports = { app: { - src: ['accountant/frontend/templates/layout.html'], + src: ['accountant/frontend/static/index.html'], ignorePath: /\.\.\// } };