Size: 437
Comment:
|
Size: 1311
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 2: | Line 2: |
* cd /tmp * wget https://github.com/twbs/bootstrap/releases/download/v3.3.6/bootstrap-3.3.6-dist.zip * wget http://code.jquery.com/jquery-1.12.0.min.js * unzip bootstrap-3.3.6-dist.zip * cd /tmp/bootstrap-3.3.6-dist * cp * -r /var/www/labs.bitarus.allowed.org/static/ Check CSS styles in http://getbootstrap.com/css/ |
|
Line 8: | Line 16: |
* cp ~/Downloads/bootstrap-table-master.zip /tmp/ * cd /tmp/ * unzip bootstrap-table-master.zip * cd bootstrap-table-master * cd dist * cp bootstrap-table.min.* /dest/folder |
* cp ~/Downloads/bootstrap-table-master.zip /tmp/ * cd /tmp/ * unzip bootstrap-table-master.zip * cd bootstrap-table-master * cd dist * cp bootstrap-table.min.* /dest/folder {{{ jQuery.noConflict(); $('#table-pagination-data').bootstrapTable({ url: baseUrl + '/xyz/getData' }); $('#modalDiv').modal('show'); }}} http://getbootstrap.com/components/#input-groups == Dropdown with textfield == {{{ $('.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); }); }}} |
Bootstrap
- cd /tmp
wget https://github.com/twbs/bootstrap/releases/download/v3.3.6/bootstrap-3.3.6-dist.zip
- unzip bootstrap-3.3.6-dist.zip
- cd /tmp/bootstrap-3.3.6-dist
- 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
- cp ~/Downloads/bootstrap-table-master.zip /tmp/
- cd /tmp/
- unzip bootstrap-table-master.zip
- cd bootstrap-table-master
- cd dist
- cp bootstrap-table.min.* /dest/folder
jQuery.noConflict(); $('#table-pagination-data').bootstrapTable({ url: baseUrl + '/xyz/getData' }); $('#modalDiv').modal('show');
http://getbootstrap.com/components/#input-groups
Dropdown with textfield
$('.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); });