thecodeholic / lobipanel

jQuery plugin for bootstrap panels. It extends panels with several common and useful functions.
MIT License
168 stars 75 forks source link

LobiPanel

CDNJS

jQuery plugin for bootstrap panels. It extends panels with several common and useful functions.

View Demo

Features

Installation and dependecies

LobiPanel is depended on jQuery, jQuery ui and bootstrap.

1. Include necessary css/js files

<!DOCTYPE html>
<html>
   <head>
        <!--Default installation-->
        <link rel="stylesheet" href="https://github.com/thecodeholic/lobipanel/blob/master/lib/jquery-ui.min.css"/>
        <link rel="stylesheet" href="https://github.com/thecodeholic/lobipanel/blob/master/bootstrap/css/bootstrap.min.css"/>
        <link rel="stylesheet" href="https://github.com/thecodeholic/lobipanel/blob/master/lib/font-awesome/css/font-awesome.min.css"/>

        <!--Installation using bower. Preferred!!! -->
        <!--<link rel="stylesheet" href="https://github.com/thecodeholic/lobipanel/blob/master/bower_components/bootstrap/dist/css/bootstrap.min.css"/>-->
        <!--<link rel="stylesheet" href="https://github.com/thecodeholic/lobipanel/blob/master/bower_components/jquery-ui/themes/ui-lightness/jquery-ui.min.css"/>-->
        <!--Run `bower install font-awesome` and uncomment this line to see font awesome examples-->
        <!--<link rel="stylesheet" href="https://github.com/thecodeholic/lobipanel/blob/master/bower_components/font-awesome/css/font-awesome.min.css"/>-->

        <link rel="stylesheet" href="https://github.com/thecodeholic/lobipanel/blob/master/dist/css/lobipanel.min.css"/>
   </head>

    <body>
        ...
        <!--Default installation-->
        <script src="https://github.com/thecodeholic/lobipanel/raw/master/lib/jquery.1.11.min.js"></script>
        <script src="https://github.com/thecodeholic/lobipanel/raw/master/lib/jquery-ui.min.js"></script>
        <script src="https://github.com/thecodeholic/lobipanel/raw/master/lib/jquery.ui.touch-punch.min.js"></script>
        <script src="https://github.com/thecodeholic/lobipanel/raw/master/bootstrap/js/bootstrap.min.js"></script>

        <!--Installation using bower. Preferred!!! -->
        <!--<script src="https://github.com/thecodeholic/lobipanel/raw/master/bower_components/jquery/dist/jquery.min.js"></script>-->
        <!--<script src="https://github.com/thecodeholic/lobipanel/raw/master/bower_components/jquery-ui/jquery-ui.min.js"></script>-->
        <!--<script src="https://github.com/thecodeholic/lobipanel/raw/master/bower_components/jquery-ui-touch-punch-improved/jquery.ui.touch-punch-improved.js"></script>-->
        <!--<script src="https://github.com/thecodeholic/lobipanel/raw/master/bower_components/bootstrap/dist/js/bootstrap.min.js"></script>-->

        <script src="https://github.com/thecodeholic/lobipanel/raw/master/dist/js/lobipanel.js"></script>

   </body>
</html>

2. Initialize plugin and use it

Stateful panels

In order stateful panels to works you need to:

For documentation and examples visit the plugin's home page