Giter VIP home page Giter VIP logo

yiibootstrap's Introduction

Readme

The aim of the project is to transform all bootstrap components into Yii Widgets and apply the bootstrap style to the default Yii Widgets. Cause of HTML restrictions in the demo http://visualappeal.github.com/YiiBootstrap the forms does not work properly. Grab a copy of YiiBootstrap and try it on your (local) webserver to see the full functionality.

Requirements

  • PHP - Something over 5.1 I think

Installation

Grab a copy of YiiBootstrap and copy it into your document root. Open *http://127.0.0.1/YiiBootstrap/testapp/**.

Includes

License

See LICENCSE

yiibootstrap's People

Contributors

thelfensdrfer avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

yiibootstrap's Issues

Hero unit

Do not wrap hero unit with a p tag.

Shorthands

Would you consider to add shorthand methods to the form extension?
What I mean is instead of this:

       <?php echo $form->beginControlGroup($model, 'name'); ?>
        <?php echo $form->labelEx($model,'name'); ?>
        <?php echo $form->beginControls(); ?>
            <?php echo $form->textField($model,'name'); ?>
            <?php echo $form->error($model,'name'); ?>
        <?php echo $form->endControls(); ?>
    <?php echo $form->endControlGroup(); ?>

Would it make available to use something like this:

<?php echo $form->bootstrapTextField($model,'name'); ?>

And this would return the same as the above one.

Update components to bootstrap 2.1.0

  • Submenu support on dropdowns
  • Affix JavaScript plugin
  • Block level buttons
  • State classes on table rows
  • The navbar component is now white by default, with an optional class to darken it
  • Improved prepended and appended inputs
  • Added variable for navbar collapse trigger point

active form submit button

change line 211 of EBootstrapActiveForm to

return EBootstrap::submitButton($label,null,null,false,null,false, $htmlOptions);

or adjust submitButton funcion

PHPDoc

You should update the comments to begin with

/**

to be autoparseable for IDEs which look for PHPDoc comment blocks

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.