|
|
|
@ -28,16 +28,26 @@ |
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
$("#tabs").on('click', 'button', function () { |
|
|
|
|
|
|
|
|
|
$(this).addClass('active'); |
|
|
|
|
$($(this).attr('href')).addClass('active show'); |
|
|
|
|
$($(this).attr('href')).siblings().removeClass('active show') |
|
|
|
|
$(this).siblings().removeClass('active'); |
|
|
|
|
$($(this).attr('href')).addClass('active show'); |
|
|
|
|
$($(this).attr('href')).siblings().removeClass('active show'); |
|
|
|
|
|
|
|
|
|
$("#menu"+$(this).data('id')).addClass('active show'); |
|
|
|
|
$("#menu"+$(this).data('id')).siblings().removeClass('active show'); |
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
$("#tabs").on('click', 'i', function () { |
|
|
|
|
$(this).parent().remove(); |
|
|
|
|
$($(this).parent().attr('href')).remove(); |
|
|
|
|
button=$(this).parent(); |
|
|
|
|
$(button.attr('href')).remove(); |
|
|
|
|
if(button.next().length==0){ |
|
|
|
|
button.prev().click(); |
|
|
|
|
}else{ |
|
|
|
|
button.next().click(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
button.remove(); |
|
|
|
|
}); |
|
|
|
|
}); |
|
|
|
|
</script> |
|
|
|
@ -61,22 +71,14 @@ |
|
|
|
|
<input class="form-control mr-sm-2" type="search" placeholder="Search" aria-label="Search"> |
|
|
|
|
<button class="btn btn-primary" type="submit">Search</button> |
|
|
|
|
</form> |
|
|
|
|
|
|
|
|
|
</nav> |
|
|
|
|
<div class="show" id="navbarNavDropdown"> |
|
|
|
|
<div class="row"> |
|
|
|
|
|
|
|
|
|
<div class="col-2"> |
|
|
|
|
<c:import url="/menu?firstResult=0&maxResults=0"></c:import> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
<div class="row-fluid tab-content" id="nav-tabContent"> |
|
|
|
|
<!-- 16:9 aspect ratio --> |
|
|
|
|
|
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div> |
|
|
|
|