MoinMoin Logo
  • Comments
  • Immutable Page
  • Menu
    • Navigation
    • RecentChanges
    • FindPage
    • Local Site Map
    • Help
    • HelpContents
    • HelpOnMoinWikiSyntax
    • Display
    • Attachments
    • Info
    • Raw Text
    • Print View
    • Edit
    • Load
    • Save
  • Login

Navigation

  • Start
  • Sitemap
Revision 9 as of 2016-01-25 00:00:48
  • Javascript
  • Bootstrap

Bootstrap

  • 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/

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);
});
  • MoinMoin Powered
  • Python Powered
  • GPL licensed
  • Valid HTML 4.01