Skip to content

Commit

Permalink
Base organization
Browse files Browse the repository at this point in the history
  • Loading branch information
SamyPesse committed Jun 27, 2014
0 parents commit 034b432
Show file tree
Hide file tree
Showing 8 changed files with 100 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
node_modules/
bower_components/
43 changes: 43 additions & 0 deletions Gruntfile.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@

module.exports = function (grunt) {
// Load NPM tasks
grunt.loadNpmTasks('grunt-contrib-less');
grunt.loadNpmTasks("grunt-bower-install-simple");

// Init GRUNT configuraton
grunt.initConfig({
'pkg': grunt.file.readJSON('package.json'),
'bower-install-simple': {
options: {
color: true,
production: false,
directory: "bower_components"
}
},
'less': {
development: {
options: {
compress: true,
yuicompress: true,
optimization: 2
},
files: {
"assets/css/style.css": "less/main.less"
}
}
}
});

grunt.registerTask("prepare", [
"bower-install-simple"
]);

grunt.registerTask('build', [
'less'
]);

grunt.registerTask('default', [
'prepare',
'build'
]);
};
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
reportr.github.io
=================

Homepage of the reportr website.
1 change: 1 addition & 0 deletions assets/css/style.css

Large diffs are not rendered by default.

8 changes: 8 additions & 0 deletions bower.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"name": "reportr-website",
"version": "1.0.0",
"dependencies": {
"bootstrap": "3.1.1",
"octicons": "2.0.2"
}
}
13 changes: 13 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Reportr</title>
<link rel="stylesheet" href="assets/css/style.css">
<link rel="icon" type="image/png" href="static/images/icon.png">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>

</body>
</html>
18 changes: 18 additions & 0 deletions less/main.less
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
@import (less) "../bower_components/bootstrap/less/bootstrap.less";
@import (less) "../bower_components/octicons/octicons/octicons.css";

* {
-webkit-overflow-scrolling: touch;
-webkit-tap-highlight-color: transparent;
-webkit-text-size-adjust: none;
-webkit-touch-callout: none;
-webkit-font-smoothing: antialiased;
}

body .octicon {
font-size: inherit;
}

html, body {
height: 100%;
}
11 changes: 11 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"name": "reportr-io",
"version": "0.0.0",
"dependencies": {},
"devDependencies": {
"grunt": "~0.4.2",
"grunt-cli": "0.1.11",
"grunt-contrib-less": "0.11.3",
"grunt-bower-install-simple": "0.9.2"
}
}

0 comments on commit 034b432

Please sign in to comment.