dev-master
9999999-dev(yet another) bundle to easily integrate twitter bootstrap css/js libraries. It is based on the phiamo/MopaBootstrapBundle (but meant to be simpler)
MIT
by Kevin Saliou
css bootstrap js twitter
(yet another) bundle to easily integrate twitter bootstrap css/js libraries. It is based on the phiamo/MopaBootstrapBundle (but meant to be simpler)
This bundle provides the assets from the twitter bootstrap and the twig theme for forms using the twitter bootstrap., (*1)
Include this repository in your app/deps
file:, (*2)
``` php [PaellaTwitterBootstrapBundle] git=http://github.com/Paella/TwitterBootstrapBundle.git target=/bundles/Paella/Bundle/TwitterBootstrapBundle, (*3)
Register the Namespace in the `app/autoload.php` file : ``` php $loader->registerNamespaces(array( 'Paella' => __DIR__.'/../vendor/bundles', ));
Register the bundle in app/AppKernel.php
, (*4)
``` php public function registerBundles() { $bundles = array( new Paella\TwitterBootstrapBundle\PaellaTwitterBootstrapBundle(), );, (*5)
## Usage Publish the assets of your application : ``` php app/console assets:install ``` Add the assets in you template (available version 1.4.0, 2.0.0, 2.0.2) : ```html+jinja {% block stylesheets %} <link rel="stylesheet" media="all" href="{{ asset('bundles/paellatwitterbootstrap/[VERSION]/css/bootstrap.[min.]css') }}"> <link rel="stylesheet" media="all" href="{{ asset('bundles/paellatwitterbootstrap/[VERSION]/css/bootstrap-responsive.[min.]css') }}"> {% endblock %} {% block javascripts %} {% endblock %}
(yet another) bundle to easily integrate twitter bootstrap css/js libraries. It is based on the phiamo/MopaBootstrapBundle (but meant to be simpler)
MIT
css bootstrap js twitter