"Collapsible tree menu with accordion"
Bootstrap 2.3.2 Snippet by Davidbayo10

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<link href="//netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2/css/bootstrap-combined.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2/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="span12">
<div class="menu">
<div class="accordion">
<!-- Áreas -->
<div class="accordion-group">
<!-- Área -->
<div class="accordion-heading area">
<a class="accordion-toggle" data-toggle="collapse" href=
"#area1">Área #1</a>
</div><!-- /Área -->
<div class="accordion-body collapse" id="area1">
<div class="accordion-inner">
<div class="accordion" id="equipamento1">
<table class="table table-striped table-condensed">
<thead id="cabecera">
<tr>
<th class="col-lg-3 col-md-3 col-lg-2">Nombre</th>
<th class="col-lg-3 col-md-3 col-lg-2" style = "text-align: center;">Fecha de publicación</th>
<th class="col-lg-3 col-md-3 col-lg-2" style = "text-align: center;">Cuota</th>
<th class="col-lg-3 col-md-3 col-lg-2" style = "text-align: center;">Stake</th>
</tr>
</thead>
<tbody>
<tr class="<?php echo $estado; ?>">
<td class="col-md-2 col-lg-2">Nombre</td>
<td class="col-md-2 col-lg-2" style = "text-align: center;">Fecha</td>
<td class="col-md-2 col-lg-2" style = "text-align: center;">Fecha</td>
<td class="col-md-2 col-lg-2" style = "text-align: center;">Fecha</td>
</tr>
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
2
3
4
5
6
7
8
9
10
.menu .accordion-heading { position: relative; }
.menu .accordion-heading .edit {
position: absolute;
top: 8px;
right: 30px;
}
.menu .area { border-left: 4px solid #f38787; }
.menu .equipamento { border-left: 4px solid #65c465; }
.menu .ponto { border-left: 4px solid #98b3fa; }
.menu .collapse.in { overflow: visible; }
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Related: See More


Questions / Comments: