JSFiddle - React, Tailwind, and code Playground
by ktabarez
HTML
<link rel="stylesheet" href="http://wbpreview.com/previews/WB0PHMG9K/css/bootstrap.css">
<link rel="stylesheet" href="http://wbpreview.com/previews/WB0PHMG9K/css/bootstrap-responsive.css">
<link rel="stylesheet" href="http://wbpreview.com/previews/WB0PHMG9K/css/style.css">
<link rel="stylesheet" href="http://wbpreview.com/previews/WB0PHMG9K/css/style-responsive.css">
<script src="http://wbpreview.com/previews/WB0PHMG9K/js/jquery-1.7.2.min.js"></script>
<script src="http://wbpreview.com/previews/WB0PHMG9K/js/jquery-ui-1.8.21.custom.min.js"></script>
<script src="http://wbpreview.com/previews/WB0PHMG9K/js/bootstrap.js"></script>
<script src="http://wbpreview.com/previews/WB0PHMG9K/js/jquery.cookie.js"></script>
<script src="http://wbpreview.com/previews/WB0PHMG9K/js/fullcalendar.min.js"></script>
<script src="http://wbpreview.com/previews/WB0PHMG9K/js/jquery.dataTables.min.js"></script>
<script src="http://wbpreview.com/previews/WB0PHMG9K/js/excanvas.js"></script>
<script src="http://wbpreview.com/previews/WB0PHMG9K/js/jquery.flot.min.js"></script>
<script src="http://wbpreview.com/previews/WB0PHMG9K/js/jquery.flot.pie.min.js"></script>
<script src="http://wbpreview.com/previews/WB0PHMG9K/js/jquery.flot.stack.js"></script>
<script src="http://wbpreview.com/previews/WB0PHMG9K/js/jquery.flot.resize.min.js"></script>
<script src="http://wbpreview.com/previews/WB0PHMG9K/js/jquery.chosen.min.js"></script>
<script src="http://wbpreview.com/previews/WB0PHMG9K/js/jquery.uniform.min.js"></script>
<script src="http://wbpreview.com/previews/WB0PHMG9K/js/jquery.cleditor.min.js"></script>
<script src="http://wbpreview.com/previews/WB0PHMG9K/js/jquery.noty.js"></script>
<script src="http://wbpreview.com/previews/WB0PHMG9K/js/jquery.elfinder.min.js"></script>
<script src="http://wbpreview.com/previews/WB0PHMG9K/js/jquery.raty.min.js"></script>
<script src="http://wbpreview.com/previews/WB0PHMG9K/js/jquery.iphone.toggle.js"></script>
<script...
CSS
.nav-tab-item-spacing{
border-top-style:none;
border-bottom-style:none;
border-left-style:none;
border-right-style:none;
padding-bottom: .5px;
padding-top: .5px;
}
.nav-tab-item-notification
{
margin-left:5px;
}
.nav .nav-tab-group-spacing
{
padding: 0;
margin: 0 0 0;
}
.nav-toggable
{
}
.btn.input-append-to-select
{
padding: 1px 4px;
}
.btn.btn-mini.btn-xsmall
{
padding: 0px 0px;
margin-left: 2.5px;
}
.modal-show-new-shipper{}
.modal-show-new-consigne{}
.modal-show-new-handling-agent{}
.modal-show-new-place-of-receipt{}
.modal-show-new-place-of-delivery{}
.modal-show-new-sales-rep{}
.modal-show-new-carrier{}
.modal-show-new-vessel-voyage{}
.modal-show-new-port-of-loading{}
.modal-show-new-port-of-discharge{}
.modal-show-new-final-destination{}
.control-width
{
width: 50px;
}
.control-dropdown
{
width: 150px;
}
JavaScript
//--set active to all navs
/*
$('.nav li a').on('click', function() {
$(this).parent().parent().find('.active').removeClass('active');
$(this).parent().addClass('active').css('font-weight', 'bold');
});*/
//--set active to specific nav either by id or class name
$('.nav-toggable li a').on('click', function() {
$(this).parent().parent().find('.active').removeClass('active').css('font-weight', 'normal');
$(this).parent().addClass('active').css('font-weight', 'bold');
});
$('.modal-show-new-shipper').click(function(e){
e.preventDefault();
$('#modal-window-new-shipper').modal('show');
});
$('.modal-show-new-consigne').click(function(e){
e.preventDefault();
$('#modal-window-new-consigne').modal('show');
});
$('.modal-show-new-handling-agent').click(function(e){
e.preventDefault();
$('#modal-window-new-handling-agent').modal('show');
});
$('.modal-show-new-place-of-receipt').click(function(e){
e.preventDefault();
$('#modal-window-new-place-of-receipt').modal('show');
});
$('.modal-show-new-place-of-delivery').click(function(e){
e.preventDefault();
$('#modal-window-new-place-of-delivery').modal('show');
});
$('.modal-show-new-sales-rep').click(function(e){
e.preventDefault();
$('#modal-window-new-sales-rep').modal('show');
});
$('.modal-show-new-carrier').click(function(e){
e.preventDefault();
$('#modal-window-new-carrier').modal('show');
});
$('.modal-show-new-vessel-voyage').click(function(e){
e.preventDefault();
$('#modal-window-new-vessel-voyage').modal('show');
});
$('.modal-show-new-port-of-loading').click(function(e){
e.preventDefault();
$('#modal-window-new-port-of-loading').modal('show');
});
$('.modal-show-new-port-of-discharge').click(function(e){
e.preventDefault();
$('#modal-window-new-port-of-discharge').modal('show');
});$('.modal-show-new-final-destination').click(function(e){
e.preventDefault();
...