Skip to content

Commit

Permalink
Merge pull request nightscout#8 from peterhaldbaek/master
Browse files Browse the repository at this point in the history
Upgrade to Bootstrap 3.0.3 with Bower
  • Loading branch information
RobLoach committed Dec 19, 2013
2 parents ff25ba5 + bffece8 commit 6db1a6d
Show file tree
Hide file tree
Showing 18 changed files with 83 additions and 18,354 deletions.
3 changes: 3 additions & 0 deletions .bowerrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"directory": "src/files/vendor"
}
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,6 @@ out/
.idea/
.DS_Store
*.iml
src/files/vendor/components-bootstrap
src/files/vendor/jquery
.docpad.db
6 changes: 6 additions & 0 deletions bower.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"name": "twitter-bootstrap-jade.docpad",
"dependencies": {
"components-bootstrap": "~3.0.3"
}
}
2 changes: 1 addition & 1 deletion docpad.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ docpadConfig =
email: "[email protected]"

# Your company's name
copyright: "© Your Company 2012"
copyright: "© Your Company 2013"


# Helper Functions
Expand Down
96 changes: 50 additions & 46 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,49 +1,53 @@
{
"name": "twitter-bootstrap.docpad",
"version": "0.9.0",
"description": "Twitter Bootstrap skeleton for DocPad. Simple and flexible HTML, CSS, and Javascript for popular user interface components and interactions.",
"homepage": "https://github.com/bevry/twitter-bootstrap.docpad",
"keywords": [
"docpad-skeleton",
"docpad",
"website",
"bootstrap",
"twitter bootstrap"
],
"author": "Bevry Pty Ltd <[email protected]> (http://bevry.me)",
"maintainers": [
"Benjamin Lupton <[email protected]> (http://balupton.com)"
],
"contributors": [
"Benjamin Lupton <[email protected]> (http://balupton.com)"
],
"bugs": {
"url": "https://github.com/docpad/twitter-bootstrap.docpad/issues"
},
"repository" : {
"type" : "git",
"url" : "http://github.com/docpad/twitter-bootstrap.docpad.git"
},
"engines" : {
"node": "0.8.x",
"npm": "1.1.x"
},
"dependencies": {
"docpad": "6.x",
"docpad-plugin-cleanurls": "2.x",
"docpad-plugin-coffeescript": "2.x",
"docpad-plugin-eco": "2.x",
"docpad-plugin-less": "2.x",
"docpad-plugin-marked": "2.x",
"docpad-plugin-partials": "2.x",
"docpad-plugin-stylus": "2.x",
"docpad-plugin-text": "2.x",
"docpad-plugin-jade": "2.x",
"docpad-plugin-related": "2.x",
"name": "twitter-bootstrap.docpad",
"version": "0.9.0",
"description": "Twitter Bootstrap skeleton for DocPad. Simple and flexible HTML, CSS, and Javascript for popular user interface components and interactions.",
"homepage": "https://github.com/bevry/twitter-bootstrap.docpad",
"keywords": [
"docpad-skeleton",
"docpad",
"website",
"bootstrap",
"twitter bootstrap"
],
"author": "Bevry Pty Ltd <[email protected]> (http://bevry.me)",
"maintainers": [
"Benjamin Lupton <[email protected]> (http://balupton.com)"
],
"contributors": [
"Benjamin Lupton <[email protected]> (http://balupton.com)"
],
"bugs": {
"url": "https://github.com/docpad/twitter-bootstrap.docpad/issues"
},
"repository" : {
"type" : "git",
"url" : "http://github.com/docpad/twitter-bootstrap.docpad.git"
},
"engines" : {
"node": "0.8.x",
"npm": "1.1.x"
},
"dependencies": {
"docpad": "6.x",
"docpad-plugin-cleanurls": "2.x",
"docpad-plugin-coffeescript": "2.x",
"docpad-plugin-eco": "2.x",
"docpad-plugin-less": "2.x",
"docpad-plugin-marked": "2.x",
"docpad-plugin-partials": "2.x",
"docpad-plugin-stylus": "2.x",
"docpad-plugin-text": "2.x",
"docpad-plugin-jade": "2.x",
"docpad-plugin-related": "2.x",
"marked": "*"
},
"devDependencies": {
"docpad-plugin-livereload": "2.x"
},
"main": "node_modules/docpad/bin/docpad-server"
},
"devDependencies": {
"docpad-plugin-livereload": "2.x",
"bower": "~1"
},
"main": "node_modules/docpad/bin/docpad-server",
"scripts": {
"postinstall": "node node_modules/bower/bin/bower install"
}
}
2 changes: 1 addition & 1 deletion src/documents/404.html.jade
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: '404 Not Found'
dynamic: true
---

.hero-unit
.jumbotron
h1 404 Not Found
p
| Ooops! It looks like the document you requested at <code>#{req.url}</code> couldn't be found.
2 changes: 1 addition & 1 deletion src/documents/500.html.jade
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: '500 Internal Server Error'
dynamic: true
---

.hero-unit
.jumbotron
h1 500 Internal Server Error
p
| Ooops! Something went wrong while we were processing your request to <code>#{req.url}</code>. Here's the details:
Expand Down
10 changes: 5 additions & 5 deletions src/documents/index.html.jade
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: 'Home'
---

// Main hero unit for a primary marketing message or call to action.
.hero-unit
.jumbotron
h1 Welcome to your new site!
p: :markdown
We've copied over the [Twitter Bootstrap Skeleton](https://github.com/docpad/twitter-bootstrap.docpad) for you already, which is what you're currently viewing.
Expand All @@ -13,11 +13,11 @@ title: 'Home'

// Example row of columns.
.row
.span6
.col-md-6
h2 Docpad
p DocPad takes that good ol' simple approach of writing files and wraps it with the best modern innovations, providing an awesome intuitive, liberating and empowering solution for HTML5 web development.</p>
p: a.btn(href="https://github.com/bevry/docpad") Visit Website
.span6
p: a.btn.btn-default(href="https://github.com/bevry/docpad") Visit Website
.col-md-6
h2 Twitter Bootstrap
p Bootstrap is a toolkit from Twitter designed to kickstart development of webapps and sites. It includes base CSS and HTML for typography, forms, buttons, tables, grids, navigation, and more.</p>
p: a.btn(href="http://twitter.github.com/bootstrap/") Visit Website
p: a.btn.btn-default(href="http://twitter.github.com/bootstrap/") Visit Website
Loading

0 comments on commit 6db1a6d

Please sign in to comment.