Rename templates into views. Fix paths to static files.

This commit is contained in:
Alexis Lahouze 2016-02-17 08:54:44 +01:00
parent b4f1bd854a
commit bc95db6f47
5 changed files with 7 additions and 7 deletions

View File

@ -6,7 +6,7 @@
], ],
"license": "AGPL", "license": "AGPL",
"main": [ "main": [
"accountant/frontend/templates/layout.html", "accountant/frontend/static/index.html",
"accountant/frontend/static/js/app.js" "accountant/frontend/static/js/app.js"
], ],
"ignore": [ "ignore": [

View File

@ -9,8 +9,8 @@ module.exports = {
'indent-width': 2 'indent-width': 2
}, },
src: [ src: [
'accountant/frontend/templates/**/*.html', 'accountant/frontend/static/*.html',
'accountant/frontend/static/templates/**/*.html' 'accountant/frontend/static/views/*.html'
] ]
} }
}; };

View File

@ -7,7 +7,7 @@ module.exports = {
}, },
index: { index: {
files: { files: {
'accountant/frontend/templates/layout.html': 'accountant/frontend/templates/layout.html' 'accountant/frontend/static/index.html': 'accountant/frontend/static/index.html'
} }
} }
}; };

View File

@ -18,8 +18,8 @@ module.exports = {
}, },
html: { html: {
files: [ files: [
'accountant/frontend/templates/**/*.html', 'accountant/frontend/static/*.html',
'accountant/frontend/static/templates/**/*.html' 'accountant/frontend/static/views/*.html'
], ],
tasks: ['htmldev'] tasks: ['htmldev']
}, },

View File

@ -1,6 +1,6 @@
module.exports = { module.exports = {
app: { app: {
src: ['accountant/frontend/templates/layout.html'], src: ['accountant/frontend/static/index.html'],
ignorePath: /\.\.\// ignorePath: /\.\.\//
} }
}; };