Developed with love by KnpLabs Hire us for your project!
29

MopaBootstrapSandboxBundle

by phiamo

Sandbox Bundle used to seperate live doc from code

README bootstrap 3.x

For bootstrap 2.x use branch v2.x

Live Show

To see the bundle and its capabilities online just have a look on
MopaBootstrapBundle Live

Introduction

MopaBootstrapSandboxBundle is a demo case howto use the MopaBootstrapBundle.

Installation

To use this in any of your projects (e.g. to make changes in MopaBootstrapBundle and see if it affects the Sandbox)

For detailed installation instructions also have a look into MopaBoostrapBundle Documentation

just add this to your composer.json:

{
    "require": {
        "mopa/bootstrap-sandbox-bundle": "dev-master"
    }
}

and add to your AppKernel:

    // ...
            new Mopa\Bundle\BootstrapSandboxBundle\MopaBootstrapSandboxBundle(),
            new Liip\ThemeBundle\LiipThemeBundle(),
            new Knp\Bundle\MenuBundle\KnpMenuBundle(),
    // ...

if you are using sf 2.0.x have a look into the README of the v2.0.x branch:

https://github.com/phiamo/MopaBootstrapSandboxBundle/tree/v2.0.x

run

composer.phar update # --dev if you added it to require-dev

If you are not using the https://github.com/phiamo/symfony-bootstrap-sandbox
You have to configure your project a little bit further.

For this to work its required to have less installed:

config.yml:

# import example configs
imports:
    - { resource: @MopaBootstrapSandboxBundle/Resources/config/themes.yml }
    - { resource: @MopaBootstrapSandboxBundle/Resources/config/examples/example_menu.yml }

# Assetic Configuration
assetic:
    filters:
        less:
            node: /usr/bin/node
            node_paths: [/opt/lessc/lib, /usr/lib/node_modules]
            apply_to: "\.less$"

routing.yml:

MopaBootstrapSandbox:
    resource: "@MopaBootstrapSandboxBundle/Resources/config/routing.yml"

this imports the routes to be abled to access it in your browser via:

http://yourproject/mopa/bootstrap

Copyright (c) 2011 Mohrenweiser & Partner, Philipp A. Mohrenweiser
- http://www.mohrenweiserpartner.de

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is furnished
to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
  • removing wrappers wich are not needed anymore
    By phiamo, 2 years ago
  • fixed name
    By phiamo, 2 years ago
  • Example of TypeTestCase usage
    By molchanoviv, 2 years ago
  • Choice widget expanded "inline-btn". Examples
    By Strontium-90, 2 years ago
  • added label
    By phiamo, 2 years ago
  • Fixed #34
    By phiamo, 2 years ago
  • Fixed base template
    By phiamo, 2 years ago
  • fixed docs css name
    By phiamo, 3 years ago
  • Merge pull request #35 from rdohms/form-actions-example
    By phiamo, 3 years ago
  • Examples for Form Actions built-in to Symfony
    By rdohms, 3 years ago
  • Merge pull request #31 from Dudytz/master
    By phiamo, 3 years ago
  • Merge pull request #30 from jdespatis/patch-1
    By phiamo, 3 years ago
  • Merge pull request #32 from scasei/patch-1
    By phiamo, 3 years ago
  • fix / path for bootstrap assets css
    By scasei, 3 years ago
  • the docs-assets folder in twbs/bootstrap is divided in docs/assets
    By , 3 years ago
  • New github link for Bootstrap
    By jdespatis, 3 years ago
  • adapted master
    By phiamo, 3 years ago
  • Merge branch 'master' of git://github.com/phiamo/MopaBootstrapSandboxBundle
    By phiamo, 3 years ago
  • Added more examples
    By phiamo, 3 years ago
  • Upgraded navbar to show possibilities just added to master
    By phiamo, 3 years ago
  • Merge pull request #28 from bierdok/master
    By phiamo, 3 years ago
  • fix asset path
    By bierdok, 3 years ago
  • Merge branch 'master' of git://github.com/phiamo/MopaBootstrapSandboxBundle
    By phiamo, 3 years ago
  • Fixed Flashs
    By phiamo, 3 years ago
  • Merge pull request #24 from cordoval/master
    By phiamo, 3 years ago
  • Merge pull request #23 from cordoval/patch-2
    By phiamo, 3 years ago
  • Merge pull request #22 from cordoval/patch-1
    By phiamo, 3 years ago
  • Merge pull request #21 from sstok/patch-1
    By phiamo, 3 years ago
  • Merge pull request #25 from cordoval/patch-3
    By phiamo, 3 years ago
  • Update navbar.html.twig
    By cordoval, 3 years ago