"2-level vertical menu for bootstrap"
Bootstrap 3.3.0 Snippet by TomasHalajcik

<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/js/bootstrap.min.js"></script> <script src="//code.jquery.com/jquery-1.11.1.min.js"></script> <!------ Include the above in your HEAD tag ----------> <div class="container"> <div class="row"> <div class="col-sm-3 col-md-3"> <div class="panel-group" id="accordion"> <div class="panel panel-default"> <div class="panel-heading"> <h4 class="panel-title"> <a data-toggle="collapse" data-parent="#accordion" href="#collapseOne">Item 1</a> </h4> </div> <div id="collapseOne" class="panel-collapse collapse in"> <div class="panel-body"> <table class="table"> <tr> <td> <a href="http://www.augustinbrno.cz">Sub-Item 1</a> </td> </tr> <tr> <td> <a href="http://www.augustinbrno.cz">Sub-Item 2</a> </td> </tr> <tr> <td> <a href="http://www.augustinbrno.cz">Sub-Item 3</a> </td> </tr> <tr> <td> <a href"http://www.augustinbrno.cz">Sub-Item 4</a> <span class="badge">55</span> </td> </tr> </table> </div> </div> </div> <div class="panel panel-default"> <div class="panel-heading"> <h4 class="panel-title"> <a data-toggle="collapse" data-parent="#accordion" href="#collapseTwo">Item 2</a> </h4> </div> <div id="collapseTwo" class="panel-collapse collapse"> <div class="panel-body"> <table class="table"> <tr> <td> <a href="http://www.augustinbrno.cz">Sub-Item 1</a> <span class="label label-success">$ 1320</span> </td> </tr> <tr> <td> <a href="http://www.augustinbrno.cz">Sub-Item 2</a> </td> </tr> <tr> <td> <a href="http://www.augustinbrno.cz">Sub-Item 1</a> </td> </tr> <tr> <td> <a href="http://www.augustinbrno.cz">Sub-Item 1</a> </td> </tr> </table> </div> </div> </div> <div class="panel panel-default"> <div class="panel-heading"> <h4 class="panel-title"> <a data-toggle="collapse" data-parent="#accordion" href="#collapseThree">Item 3</a> </h4> </div> <div id="collapseThree" class="panel-collapse collapse"> <div class="panel-body"> <table class="table"> <tr> <td> <a href="http://www.augustinbrno.cz">Sub-Item 1</a> </td> </tr> <tr> <td> <a href="http://www.augustinbrno.cz">Sub-Item 2</a> <span class="label label-info">5</span> </td> </tr> <tr> <td> <a href="http://www.augustinbrno.cz">Sub-Item 3</a> </td> </tr> <tr> <td> <a href="http://www.augustinbrno.cz" class="text-danger"> Sub-Item 4</a> </td> </tr> </table> </div> </div> </div> <div class="panel panel-default"> <div class="panel-heading"> <h4 class="panel-title"> <a data-toggle="collapse" data-parent="#accordion" href="#collapseFour">Item 4</a> </h4> </div> <div id="collapseFour" class="panel-collapse collapse"> <div class="panel-body"> <table class="table"> <tr> <td> <a href="http://www.augustinbrno.cz">Sub-Item 1</a> </td> </tr> <tr> <td> <a href="http://www.augustinbrno.cz">Sub-Item 2</a> </td> </tr> <tr> <td> <a href="http://www.augustinbrno.cz">Sub-Item 3</a> </td> </tr> <tr> <td> <a href="http://www.augustinbrno.cz">Sub-Item 4</a> </td> </tr> </table> </div> </div> </div> </div> </div> <div class="col-sm-9 col-md-9"> <div class="well"> <h1> Vertical menu</h1> with expandable sub-items </div> </div> </div> </div>
body{margin-top:50px;} .glyphicon { margin-right:10px; } .panel-body { padding:0px; } .panel-body table tr td { padding-left: 15px } .panel-body .table {margin-bottom: 0px; }

Related: See More


Questions / Comments: