Git Product home page Git Product logo

fuel-bootstrap's Introduction

Fuel Bootstrap Package

A super simple Twitter Bootstrap package for Fuel.

About

  • Version: 1.0.0
  • License: MIT License
  • Author: Derek Myers

Installation

Git Submodule

If you are installing this as a submodule (recommended) in your git repo root, run this command:

$ git submodule add git://github.com/dmyers/fuel-bootstrap.git fuel/packages/bootstrap

Then you you need to initialize and update the submodule:

$ git submodule update --init --recursive fuel/packages/bootstrap/

Download

Alternatively you can download it and extract it into fuel/packages/bootstrap/.

Usage

Simply use Fuel's built in Assets (or Casset), Form, Pagination, and Validation Errors classes as usual and they will use Twitter Bootstrap's css classnames for the styling. We have also included our own Alerts and Breadcrumbs classes with examples below.

Alerts::success('Well done! You successfully read this important alert message.');
Alerts::danger('Oh snap! Change a few things up and try submitting again.');
Alerts::render();

Breadcrumbs::add('/', 'Home');
Breadcrumbs::add('library', 'Library');
Breadcrumbs::active('Data');
Breadcrumbs::render();

Updates

In order to keep the package up to date simply run:

$ git submodule update --recursive fuel/packages/bootstrap/

fuel-bootstrap's People

Contributors

dmyers avatar austinw avatar

Watchers

Joël Gaujard avatar James Cloos 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.