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

   1 cp ~/Downloads/bootstrap-table-master.zip /tmp/
   2 cd /tmp/
   3 unzip bootstrap-table-master.zip 
   4 cd bootstrap-table-master
   5 cd dist
   6 cp bootstrap-table.min.* /dest/folder                        

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

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

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

Javascript/Bootstrap (last edited 2023-05-29 09:14:27 by 127)