Permalink
Browse files

Aded supporting test files and chisel ui files

  • Loading branch information...
jalleyne committed Nov 22, 2013
1 parent 421f74a commit c90b0621550a2bda0095b71deb7e654156e4ccdc
Showing with 39,243 additions and 3 deletions.
  1. +25 −0 Gruntfile.js
  2. +204 −0 bin/roq
  3. +1 −0 lib/chisel/client/css/bootstrap.min.css
  4. +14 −0 lib/chisel/client/css/chisel.min.css
  5. +4 −0 lib/chisel/client/css/fontawesome.min.css
  6. +406 −0 lib/chisel/client/css/normalize.css
  7. +39 −0 lib/chisel/client/edit.hbs
  8. BIN lib/chisel/client/fonts/fontawsome/FontAwesome.otf
  9. BIN lib/chisel/client/fonts/fontawsome/fontawesome-webfont.eot
  10. +414 −0 lib/chisel/client/fonts/fontawsome/fontawesome-webfont.svg
  11. BIN lib/chisel/client/fonts/fontawsome/fontawesome-webfont.ttf
  12. BIN lib/chisel/client/fonts/fontawsome/fontawesome-webfont.woff
  13. BIN lib/chisel/client/fonts/yanonekaffeesatz-bold-webfont.eot
  14. +6,087 −0 lib/chisel/client/fonts/yanonekaffeesatz-bold-webfont.svg
  15. BIN lib/chisel/client/fonts/yanonekaffeesatz-bold-webfont.ttf
  16. BIN lib/chisel/client/fonts/yanonekaffeesatz-bold-webfont.woff
  17. +612 −0 lib/chisel/client/fonts/yanonekaffeesatz-extralight-demo.html
  18. BIN lib/chisel/client/fonts/yanonekaffeesatz-extralight-webfont.eot
  19. +6,675 −0 lib/chisel/client/fonts/yanonekaffeesatz-extralight-webfont.svg
  20. BIN lib/chisel/client/fonts/yanonekaffeesatz-extralight-webfont.ttf
  21. BIN lib/chisel/client/fonts/yanonekaffeesatz-extralight-webfont.woff
  22. +612 −0 lib/chisel/client/fonts/yanonekaffeesatz-light-demo.html
  23. BIN lib/chisel/client/fonts/yanonekaffeesatz-light-webfont.eot
  24. +6,683 −0 lib/chisel/client/fonts/yanonekaffeesatz-light-webfont.svg
  25. BIN lib/chisel/client/fonts/yanonekaffeesatz-light-webfont.ttf
  26. BIN lib/chisel/client/fonts/yanonekaffeesatz-light-webfont.woff
  27. +612 −0 lib/chisel/client/fonts/yanonekaffeesatz-regular-demo.html
  28. BIN lib/chisel/client/fonts/yanonekaffeesatz-regular-webfont.eot
  29. +6,732 −0 lib/chisel/client/fonts/yanonekaffeesatz-regular-webfont.svg
  30. BIN lib/chisel/client/fonts/yanonekaffeesatz-regular-webfont.ttf
  31. BIN lib/chisel/client/fonts/yanonekaffeesatz-regular-webfont.woff
  32. +53 −0 lib/chisel/client/js/chisel.js
  33. +126 −0 lib/chisel/client/js/vendor/bootstrap/affix.js
  34. +98 −0 lib/chisel/client/js/vendor/bootstrap/alert.js
  35. +109 −0 lib/chisel/client/js/vendor/bootstrap/button.js
  36. +217 −0 lib/chisel/client/js/vendor/bootstrap/carousel.js
  37. +179 −0 lib/chisel/client/js/vendor/bootstrap/collapse.js
  38. +154 −0 lib/chisel/client/js/vendor/bootstrap/dropdown.js
  39. +246 −0 lib/chisel/client/js/vendor/bootstrap/modal.js
  40. +117 −0 lib/chisel/client/js/vendor/bootstrap/popover.js
  41. +158 −0 lib/chisel/client/js/vendor/bootstrap/scrollspy.js
  42. +135 −0 lib/chisel/client/js/vendor/bootstrap/tab.js
  43. +386 −0 lib/chisel/client/js/vendor/bootstrap/tooltip.js
  44. +56 −0 lib/chisel/client/js/vendor/bootstrap/transition.js
  45. +6 −0 lib/chisel/client/js/vendor/jquery-1.10.2.min.js
  46. +4 −0 lib/chisel/client/js/vendor/modernizr-2.7.0.min.js
  47. +25 −0 lib/chisel/client/less/base.less
  48. +67 −0 lib/chisel/client/less/bootstrap/alerts.less
  49. +51 −0 lib/chisel/client/less/bootstrap/badges.less
  50. +48 −0 lib/chisel/client/less/bootstrap/bootstrap.less
  51. +23 −0 lib/chisel/client/less/bootstrap/breadcrumbs.less
  52. +253 −0 lib/chisel/client/less/bootstrap/button-groups.less
  53. +158 −0 lib/chisel/client/less/bootstrap/buttons.less
  54. +231 −0 lib/chisel/client/less/bootstrap/carousel.less
  55. +33 −0 lib/chisel/client/less/bootstrap/close.less
  56. +53 −0 lib/chisel/client/less/bootstrap/code.less
  57. +29 −0 lib/chisel/client/less/bootstrap/component-animations.less
  58. +192 −0 lib/chisel/client/less/bootstrap/dropdowns.less
  59. +364 −0 lib/chisel/client/less/bootstrap/forms.less
  60. +93 −0 lib/chisel/client/less/bootstrap/grid.less
  61. +136 −0 lib/chisel/client/less/bootstrap/input-groups.less
  62. +40 −0 lib/chisel/client/less/bootstrap/jumbotron.less
  63. +58 −0 lib/chisel/client/less/bootstrap/labels.less
  64. +88 −0 lib/chisel/client/less/bootstrap/list-group.less
  65. +56 −0 lib/chisel/client/less/bootstrap/media.less
  66. +858 −0 lib/chisel/client/less/bootstrap/mixins.less
  67. +132 −0 lib/chisel/client/less/bootstrap/modals.less
  68. +624 −0 lib/chisel/client/less/bootstrap/navbar.less
  69. +262 −0 lib/chisel/client/less/bootstrap/navs.less
  70. +406 −0 lib/chisel/client/less/bootstrap/normalize.less
  71. +55 −0 lib/chisel/client/less/bootstrap/pager.less
  72. +85 −0 lib/chisel/client/less/bootstrap/pagination.less
  73. +172 −0 lib/chisel/client/less/bootstrap/panels.less
  74. +133 −0 lib/chisel/client/less/bootstrap/popovers.less
  75. +105 −0 lib/chisel/client/less/bootstrap/print.less
  76. +92 −0 lib/chisel/client/less/bootstrap/progress-bars.less
  77. +209 −0 lib/chisel/client/less/bootstrap/responsive-utilities.less
  78. +119 −0 lib/chisel/client/less/bootstrap/scaffolding.less
  79. +236 −0 lib/chisel/client/less/bootstrap/tables.less
  80. +247 −0 lib/chisel/client/less/bootstrap/theme.less
  81. +30 −0 lib/chisel/client/less/bootstrap/thumbnails.less
  82. +95 −0 lib/chisel/client/less/bootstrap/tooltip.less
  83. +279 −0 lib/chisel/client/less/bootstrap/type.less
  84. +56 −0 lib/chisel/client/less/bootstrap/utilities.less
  85. +637 −0 lib/chisel/client/less/bootstrap/variables.less
  86. +29 −0 lib/chisel/client/less/bootstrap/wells.less
  87. +49 −0 lib/chisel/client/less/chisel.less
  88. +16 −0 lib/chisel/client/less/fontawesome/bordered-pulled.less
  89. +12 −0 lib/chisel/client/less/fontawesome/core.less
  90. +6 −0 lib/chisel/client/less/fontawesome/fixed-width.less
  91. +17 −0 lib/chisel/client/less/fontawesome/font-awesome.less
  92. +412 −0 lib/chisel/client/less/fontawesome/icons.less
  93. +13 −0 lib/chisel/client/less/fontawesome/larger.less
  94. +19 −0 lib/chisel/client/less/fontawesome/list.less
  95. +20 −0 lib/chisel/client/less/fontawesome/mixins.less
  96. +14 −0 lib/chisel/client/less/fontawesome/path.less
  97. +9 −0 lib/chisel/client/less/fontawesome/rotated-flipped.less
  98. +30 −0 lib/chisel/client/less/fontawesome/spinning.less
  99. +20 −0 lib/chisel/client/less/fontawesome/stacked.less
  100. +381 −0 lib/chisel/client/less/fontawesome/variables.less
  101. +56 −0 lib/chisel/client/less/fonts.less
  102. +5 −0 lib/chisel/client/less/mixins.less
  103. +56 −0 lib/chisel/index.js
  104. +6 −0 lib/roq.js
  105. +2 −1 package.json
  106. +1 −1 roq-app-template
  107. +28 −0 test/app.config.js
  108. +47 −0 test/fixtures/config.js
  109. +1 −1 test_app
View
@@ -0,0 +1,25 @@
module.exports = function(grunt) {
grunt.initConfig({
// running `grunt less` will compile once
less: {
development: {
options: {
paths: ["./lib/chisel/client/css"],
yuicompress: true
},
files: {
"./lib/chisel/client/css/chisel.min.css" : "./lib/chisel/client/less/chisel.less",
"./lib/chisel/client/css/fontawesome.min.css" : "./lib/chisel/client/less/fontawesome/font-awesome.less",
"./lib/chisel/client/css/bootstrap.min.css" : "./lib/chisel/client/less/bootstrap/bootstrap.less"
}
}
},
// running `grunt watch` will watch for changes
watch: {
files: "./lib/chisel/client/less/*.less",
tasks: ["less"]
}
});
grunt.loadNpmTasks('grunt-contrib-less');
grunt.loadNpmTasks('grunt-contrib-watch');
};
View
204 bin/roq
@@ -0,0 +1,204 @@
#!/usr/bin/env node
/**
* Module dependencies.
*/
var fs = require('fs')
, os = require('os')
, path = require('path');
, program = require('commander')
, pkg = require('../package.json')
, version = pkg.version
, colors = require('colors')
, gruntinit = require('grunt-init')
;
//
colors.setTheme({
input : 'grey',
verbose : 'cyan',
prompt : 'grey',
info : 'green',
data : 'grey',
help : 'cyan',
warn : 'yellow',
debug : 'blue',
error : 'red'
});
/**
* command to create application stub.
*
*/
program
.command('create')
.description('create roq application structure')
.option('-d, --appdir [dir]', 'destination directory', process.cwd())
.option('-n, --name [domain]', 'domain name')
.action(function(options){
//
/*var exec = require('child_process').exec;
var config = {
domains : [
'myroqapp.com',
'www.myroqapp.com'
],
app_name : 'myroqapp',
app_port : 8080,
ignore : [
'.DS_Store',
'node_modules'
]
};
// normalize directory property
options.appdir = path.resolve( options.appdir);
function appInit(){
createAppStructure();
gitInit();
npmInit();
}
// create application structure
function createAppStructure(){
console.log(('[info] creating app @ '+options.appdir).info);
// create folders
files.mkdir( options.appdir+'/app/routes');
files.mkdir( options.appdir+'/app/views');
files.mkdir( options.appdir+'/app/models');
files.mkdir( options.appdir+'/app/static/css');
files.mkdir( options.appdir+'/app/static/fonts');
files.mkdir( options.appdir+'/app/static/img');
files.mkdir( options.appdir+'/app/static/js/vendor');
// create app file
files.render(
__dirname+'/app.js',
options.appdir+'/app.js',
config
);
// create package definition
files.render(
__dirname+'/package.json',
options.appdir+'/package.json',
config
);
// create nginx config
files.render(
__dirname+'/nginx.conf',
options.appdir+'/'+config.domains[0]+'.conf',
config
);
// write gitignore file
files.write(
config.ignore.join(os.EOL),
options.appdir+'/.gitignore'
);
*/
/*
http://www.initializr.com/builder?boot-hero&jquerymin&h5bp-iecond&h5bp-chromeframe&h5bp-analytics&h5bp-favicon&h5bp-appletouchicons&modernizrrespond&izr-emptyscript&boot-css&boot-scripts
*/
}
/*
// init git repo
function gitInit(){
console.log('[info] initializing git repo'.info);
exec('git init '+options.appdir, function(err, stdout, stderr){
console.log(stdout.debug);
if (err !== null) console.log(('[error] '+err).error);
});
}
// init npm
function npmInit(){
console.log('[info] installing npm packages'.info);
exec('cd '+options.appdir+'&&npm install', function(err, stdout, stderr){
console.log(stdout.debug);
if (err !== null) console.log(('[error] '+err).error);
});
}
// create application root
files.mkdir(
options.appdir,
appInit
);*/
});
/**
* command to deploy application accross server environments.
*
*/
program
.command('deploy [env]')
.description('deploy application to configured environments')
.action(function(options){
});
/**
* Process application vars
*/
program
.version(version)
.parse(process.argv);

Large diffs are not rendered by default.

Oops, something went wrong.

Large diffs are not rendered by default.

Oops, something went wrong.

Large diffs are not rendered by default.

Oops, something went wrong.
Oops, something went wrong.

0 comments on commit c90b062

Please sign in to comment.