-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
130 changed files
with
45,037 additions
and
6,558 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -217,4 +217,6 @@ pip-log.txt | |
WEB-INF | ||
plugins/**/* | ||
db/sql | ||
config/auth.cfm | ||
config/auth.cfm | ||
bower_components | ||
node_modules |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,158 @@ | ||
module.exports = function(grunt) { | ||
|
||
grunt.initConfig({ | ||
pkg: grunt.file.readJSON('package.json'), | ||
|
||
// Task configuration | ||
less: { | ||
css: { | ||
options: { | ||
compress: false, //minifying the result | ||
}, | ||
files: { | ||
"stylesheets/rbs.css":"stylesheets/less/core/rbs.less" | ||
} | ||
} | ||
}, | ||
|
||
cssmin: { | ||
options: { | ||
banner: "/*! <%= pkg.name %> minified CSS file generated @ <%= grunt.template.today('dd-mm-yyyy') %> */\n" | ||
}, | ||
css: { | ||
files: { | ||
"stylesheets/rbs.min.css": [ "stylesheets/rbs.css" ] | ||
} | ||
} | ||
}, | ||
|
||
clean : { | ||
css : { | ||
src: ["stylesheets/rbs.css", "stylesheets/rbs.min.css"] | ||
}, | ||
js: { | ||
src: ["javascripts/rbs.js","javascripts/rbs.min.js"] | ||
} | ||
}, | ||
|
||
concat : { | ||
options: { | ||
separator: ';', | ||
}, | ||
frontend: { | ||
src: [ | ||
// Bootstrap & JQuery | ||
'bower_components/jquery/dist/jquery.js', | ||
'bower_components/bootstrap/js/alert.js', | ||
'bower_components/bootstrap/js/button.js', | ||
'bower_components/bootstrap/js/carousel.js', | ||
'bower_components/bootstrap/js/collapse.js', | ||
'bower_components/bootstrap/js/dropdown.js', | ||
'bower_components/bootstrap/js/modal.js', | ||
'bower_components/bootstrap/js/tooltip.js', | ||
'bower_components/bootstrap/js/popover.js', | ||
'bower_components/bootstrap/js/tab.js', | ||
'bower_components/bootstrap/js/transition.js', | ||
// Calendar | ||
'bower_components/moment/moment.js', | ||
'bower_components/fullcalendar/dist/fullcalendar.js', | ||
'bower_components/eonasdan-bootstrap-datetimepicker/src/js/bootstrap-datetimepicker.js', | ||
'bower_components/bootstrapvalidator/dist/js/bootstrapValidator.js', | ||
'bower_components/minicolors/jquery.minicolors.js', | ||
// Main.js is any custom JS | ||
'javascripts/main.js' | ||
], | ||
dest: 'javascripts/rbs.js' | ||
} | ||
}, | ||
|
||
|
||
|
||
jshint: { | ||
options: { | ||
curly: true, | ||
eqeqeq: true, | ||
eqnull: true, | ||
browser: true, | ||
globals: { | ||
jQuery: true | ||
}, | ||
}, | ||
all: ['Gruntfile.js', 'javascripts/main.js'] | ||
}, | ||
|
||
uglify : { | ||
frontend: { | ||
files: { | ||
'javascripts/rbs.min.js' : [ 'javascripts/rbs.js' ] | ||
} | ||
} | ||
}, | ||
|
||
imagemin: { | ||
png: { | ||
options: { | ||
optimizationLevel: 7 | ||
}, | ||
files: [ | ||
{ | ||
// Set to true to enable the following options… | ||
expand: true, | ||
// cwd is 'current working directory' | ||
cwd: '/images/', | ||
src: ['**/*.png'], | ||
// Could also match cwd line above. i.e. project-directory/img/ | ||
dest: '/images/', | ||
ext: '.png' | ||
} | ||
] | ||
}, | ||
jpg: { | ||
options: { | ||
progressive: true | ||
}, | ||
files: [ | ||
{ | ||
// Set to true to enable the following options… | ||
expand: true, | ||
// cwd is 'current working directory' | ||
cwd: '/images/', | ||
src: ['**/*.jpg'], | ||
// Could also match cwd. i.e. project-directory/img/ | ||
dest: '/images/', | ||
ext: '.jpg' | ||
} | ||
] | ||
} | ||
} , | ||
|
||
watch: { | ||
js: { | ||
files: ['javascripts/main.js'], | ||
tasks: ['js'] | ||
}, | ||
css: { | ||
files: ['stylesheets/less/core/*.less', 'stylesheets/less/site/*.less'], | ||
tasks: ['css'] | ||
} | ||
} | ||
|
||
|
||
}); | ||
|
||
grunt.loadNpmTasks('grunt-contrib-concat'); | ||
grunt.loadNpmTasks('grunt-contrib-clean'); | ||
grunt.loadNpmTasks('grunt-contrib-cssmin'); | ||
grunt.loadNpmTasks('grunt-contrib-watch'); | ||
grunt.loadNpmTasks('grunt-contrib-jshint'); | ||
grunt.loadNpmTasks('grunt-contrib-uglify'); | ||
grunt.loadNpmTasks('grunt-contrib-imagemin'); | ||
grunt.loadNpmTasks('grunt-contrib-less'); | ||
grunt.loadNpmTasks('grunt-injector'); | ||
grunt.loadNpmTasks('grunt-rev'); | ||
|
||
grunt.registerTask('css', ['clean:css', 'less:css', 'cssmin:css']); | ||
grunt.registerTask('js', ['jshint', 'clean:js', 'concat', 'uglify']); | ||
grunt.registerTask('img', ['imagemin']); | ||
grunt.registerTask('default', ['watch']); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
{ | ||
"name": "Room Booking System", | ||
"version": "1.1.0", | ||
"homepage": "https://github.com/neokoenig/RoomBooking", | ||
"authors": [ | ||
"Tom King <[email protected]>" | ||
], | ||
"description": "Room Booking System", | ||
"license": "MIT", | ||
"private": true, | ||
"ignore": [ | ||
"**/.*", | ||
"node_modules", | ||
"bower_components", | ||
"source", | ||
"test", | ||
"tests" | ||
], | ||
"devDependencies": { | ||
"bootstrap": "~3.3.1", | ||
"moment": "~2.8.3", | ||
"fullcalendar": "~2.2.0", | ||
"eonasdan-bootstrap-datetimepicker": "~3.1.3", | ||
"bootstrapvalidator": "~0.5.3", | ||
"colorpicker": "~1.0.16", | ||
"minicolors": "~2.1.7" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.