Initial UI cleanup

- added assets_shared submodule
- added support for grunt
- cleanup of layout.html
This commit is contained in:
2015-06-14 21:57:08 +02:00
parent 81a5274e7f
commit 96b04687a2
10 changed files with 268 additions and 2902 deletions

31
Gruntfile.js Normal file
View File

@@ -0,0 +1,31 @@
module.exports = function(grunt) {
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
sass: {
dist: {
options: {
style: 'compressed'
},
files: {
'public_html/assets/css/main.css': 'public_html/assets/sass/main.sass'
}
}
},
autoprefixer: {
no_dest: { src: 'public_html/assets/css/main.css' }
},
watch: {
files: ['public_html/assets/sass/main.sass'],
tasks: ['sass', 'autoprefixer'],
}
});
grunt.loadNpmTasks('grunt-contrib-sass');
grunt.loadNpmTasks('grunt-autoprefixer');
grunt.loadNpmTasks('grunt-contrib-watch');
grunt.registerTask('default', ['sass', 'autoprefixer', 'watch']);
};