Giter Site home page Giter Site logo

kharhamel / html.template.bootstrap Goto Github PK

View Code? Open in Web Editor NEW

This project forked from thecodingmachine/html.template.bootstrap

0.0 2.0 0.0 73 KB

This package contains a Mouf template based on the Twitter Bootstrap HTML/CSS/JS library, along a Mouf installer file to add the template easily in your Mouf project.

License: MIT License

PHP 80.66% HTML 19.34%

html.template.bootstrap's Introduction

What is this package?

This package contains a base Mouf template based on the Twitter Bootstrap library.

Bootstrap template

The Bootstrap template is a classical 1-2-3 column layout with a header and a footer. It adapts automatically, so if you put nothing in the left column, it will disappear. Using the template instance, you can customize the width of the columns, etc...

Template vs Bootstrap version

Below is a simple table matching template versions and Bootstrap versions:

Bootstrap version Template version
2.1 2.1.*
2.3 2.3.*
3.0 3.0
3.1 3.1
3.2 3.2
3.3 3.3
3.* 4.0
3.* 4.1

Bootstrap menu rendererer

So basically, if you are declaring your menus in Mouf, and if you use Bootstrap, this help you render the menus. The renderer is making extensive use of objects declared in the mouf\html.widgets.menu package.

Mouf package

This package is part of Mouf (http://mouf-php.com), an effort to ensure good developing practices by providing a graphical dependency injection framework. Using Mouf's user interface, you can create your menu graphically, by creating instances of Menu and MenuItem.

In practice

A menu is defined using the Menu class. The Menu class can contain many MenuItem. Each menuitem can contain many MenuItem. You pass a Menu instance to the BootstrapMenuRenderer::toHtml and it will render the menu.

html.template.bootstrap's People

Contributors

moufmouf avatar nguyenk avatar npeguin avatar vaidiep avatar cbalda avatar lenafaure avatar

Watchers

James Cloos avatar Arthmaël Poly avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.