From d858e76a090cc0a6e3e91830145367cebd486b7a Mon Sep 17 00:00:00 2001 From: Rob Loach Date: Sun, 28 Apr 2013 01:05:31 -0400 Subject: [PATCH] Add use of require.css and require.js --- composer.json | 13 ++++++- composer.lock | 71 ++++++++++++++++++++++++++++++++------ source/_views/default.html | 44 +++++++++++------------ 3 files changed, 92 insertions(+), 36 deletions(-) diff --git a/composer.json b/composer.json index 44514e3..534a293 100644 --- a/composer.json +++ b/composer.json @@ -14,7 +14,7 @@ "require": { "sculpin/sculpin": "2.*@dev", - "components/bootstrap": "~2.3.1", + "components/bootstrap-default": "~2.3.1", "components/jquery": "~1.9.1", "components/highlightjs": "~7.3.0", "components/font-awesome": "~3.0.2@dev", @@ -23,6 +23,17 @@ "michelf/php-markdown": "@beta", "composer/composer": "@dev" }, + "extra": { + "component": { + "styles": [ + "source/css/style.css", + "vendor/components/highlightjs/styles/github.css" + ], + "files": [ + "source/css/stack-logo.png" + ] + } + }, "config": { "component-dir": "source/components" } diff --git a/composer.lock b/composer.lock index 3f13604..0644d18 100644 --- a/composer.lock +++ b/composer.lock @@ -3,7 +3,7 @@ "This file locks the dependencies of your project to a known state", "Read more about it at http://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file" ], - "hash": "57b53cd2585311edf325ca0a78a83ae5", + "hash": "9b7ec0cdf4ce5ba3043ef71a104149e5", "packages": [ { "name": "components/bootstrap", @@ -60,6 +60,58 @@ ], "time": "2013-04-24 18:00:29" }, + { + "name": "components/bootstrap-default", + "version": "2.3.1", + "source": { + "type": "git", + "url": "https://github.com/components/bootstrap-default.git", + "reference": "2.3.1" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/components/bootstrap-default/zipball/2.3.1", + "reference": "2.3.1", + "shasum": "" + }, + "require": { + "components/bootstrap": "*" + }, + "type": "component", + "extra": { + "component": { + "styles": [ + "css/bootstrap.css", + "css/bootstrap-responsive.css" + ], + "files": [ + "img/glyphicons-halflings.png", + "img/glyphicons-halflings-white.png" + ], + "shim": { + "deps": [ + "bootstrap" + ] + } + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "Apache-2.0" + ], + "authors": [ + { + "name": "Twitter, Inc" + } + ], + "description": "Shim repository for the default theme for Bootstrap.", + "homepage": "http://twitter.github.com/bootstrap/", + "keywords": [ + "bootstrap", + "css" + ], + "time": "2013-04-16 05:42:04" + }, { "name": "components/font-awesome", "version": "dev-master", @@ -193,16 +245,16 @@ }, { "name": "composer/composer", - "version": "dev-master", + "version": "1.0.0-alpha6", "source": { "type": "git", - "url": "https://github.com/composer/composer.git", - "reference": "3aa78431464a695f0c707e33413a0f81a9347a0b" + "url": "https://github.com/composer/composer", + "reference": "1.0.0-alpha6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/composer/zipball/3aa78431464a695f0c707e33413a0f81a9347a0b", - "reference": "3aa78431464a695f0c707e33413a0f81a9347a0b", + "url": "https://github.com/composer/composer/archive/1.0.0-alpha6.zip", + "reference": "1.0.0-alpha6", "shasum": "" }, "require": { @@ -213,9 +265,6 @@ "symfony/finder": ">=2.1,<3.0", "symfony/process": ">=2.1,<3.0" }, - "require-dev": { - "phpunit/phpunit": ">=3.7.10.0,<3.8" - }, "suggest": { "ext-openssl": "Enabling the openssl extension allows you to access https URLs for repositories and packages", "ext-zip": "Enabling the zip extension allows you to unzip archives, and allows gzip compression of all internet traffic" @@ -251,14 +300,14 @@ "homepage": "http://www.naderman.de" } ], - "description": "Dependency Manager", + "description": "Package Manager", "homepage": "http://getcomposer.org/", "keywords": [ "autoload", "dependency", "package" ], - "time": "2013-04-26 09:02:53" + "time": "2012-10-23 01:54:25" }, { "name": "dflydev/ant-path-matcher", diff --git a/source/_views/default.html b/source/_views/default.html index 47664e2..0b1825a 100644 --- a/source/_views/default.html +++ b/source/_views/default.html @@ -4,11 +4,7 @@ {% block full_title %}{% block title %}{{ page.title }}{% endblock %} — {{ site.title }} — {{ site.subtitle }}{% endblock %} - - - - - +