Bootstrap

   1 cd /tmp
   2 wget https://github.com/twbs/bootstrap/releases/download/v3.3.6/bootstrap-3.3.6-dist.zip
   3 wget http://code.jquery.com/jquery-1.12.0.min.js
   4 unzip bootstrap-3.3.6-dist.zip
   5 cd /tmp/bootstrap-3.3.6-dist
   6 cp * -r /var/www/labs.bitarus.allowed.org/static/

Check CSS styles in http://getbootstrap.com/css/

Bootstrap Table

Bootstrap table displays data in a tabular format and offers rich support to radio, checkbox, sort, pagination and so on.

https://github.com/wenzhixin/bootstrap-table/archive/master.zip

        jQuery.noConflict();
        $('#table-pagination-data').bootstrapTable({   url: baseUrl + '/xyz/getData' });
        $('#modalDiv').modal('show');

http://getbootstrap.com/components/#input-groups

$('.dropdown-menu li').click(function(event) {
    event.stopPropagation();
    event.preventDefault();
    var selValue = $(this).children('a').html();
    $(this).parent().parent().removeClass('open');
    $(this).parent().parent().parent().children('input').val(selValue);
});

Javascript/Bootstrap (last edited 2023-05-29 09:13:40 by 127)