Toggle navigation
Bootsnipp
Bootstrap
For
CSS Frameworks
Bootstrap
Foundation
Semantic UI
Materialize
Pure
Bulma
References
CSS Reference
Tools
Community
Page Builder
Form Builder
Button Builder
Icon Search
Dan's Tools
Diff / Merge
Color Picker
Keyword Tool
Web Fonts
.htaccess Generator
Favicon Generator
Site Speed Test
Snippets
Featured
Tags
By Bootstrap Version
4.1.1
4.0.0
3.3.0
3.2.0
3.1.0
3.0.3
3.0.1
3.0.0
2.3.2
Register
Login
"Validation Rules "
Bootstrap 2.3.2 Snippet by
episcore
2.3.2
Preview
HTML
CSS
View Full Screen
Fork
Fork this
2.8K
 
0 Fav
Post to Facebook
Tweet this
<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 ----------> <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 / API Validation Rules--> <div class="accordion-group"> <!-- Area / Validation Rule --> <div class="accordion-heading area"> <a class="accordion-toggle" data-toggle="collapse" href="#area1">API Validation Rules</a> <div class="dropdown edit"> <a class="dropdown-toggle icon-pencil" data-toggle= "dropdown" href="#" style="font-style: italic"></a> <ul class="dropdown-menu"> <!-- Adicionar equipamento --> <li> <a href="../equipamento/add.php"><i class= "icon-plus"></i> Adicionar equipamento</a> </li> <li class="divider"></li><!-- Editar área --> <li> <a href="../area/edit.php"><i class= "icon-pencil"></i> Editar área</a> </li> <li class="divider"></li><!-- Remover área --> <li> <a class="danger" href="#remove"><i class= "icon-remove"></i> Remover área</a> </li> </ul> </div> </div><!-- /Área /API Validation Rules--> <div class="accordion-body collapse" id="area1"> <div class="accordion-inner"> <div class="accordion" id="equipamento1"> <!-- Equipamentos --> <div class="accordion-group"> <div class="accordion-heading equipamento"> <a class="accordion-toggle" data-parent= "#equipamento1-1" data-toggle="collapse" href= "#ponto1-1">Equipamento #1-1</a> <div class="dropdown edit"> <a class="dropdown-toggle icon-pencil" data-toggle="dropdown" href="#" style= "font-style: italic"></a> <ul class="dropdown-menu"> <!-- Adicionar ponto --> <li> <a href= "../ponto/add.php"><i class="icon-plus"> </i> Adicionar ponto</a> </li> <li class="divider"></li> <!-- Editar equipamento --> <li> <a href= "../equipamento/edit.php"><i class= "icon-pencil"></i> Editar equipamento</a> </li> <li class="divider"></li> <!-- Remover equipamento --> <li> <a class="danger" href= "#remove"><i class= "icon-remove"></i> Remover equipamento</a> </li> </ul> </div> </div> <!-- Pontos --> <div class="accordion-body collapse" id="ponto1-1"> <div class="accordion-inner"> <div class="accordion" id="servico1"> <div class="accordion-group"> <div class= "accordion-heading ponto"> <a class="accordion-toggle" data-parent="#servico1-1-1" data-toggle="collapse" href= "#servico1-1-1">Ponto #1-1-1</a> <div class="dropdown edit"> <a class= "dropdown-toggle icon-pencil" data-toggle="dropdown" href="#" style= "font-style: italic"></a> <ul class="dropdown-menu"> <!-- Adicionar servico --> <li> <a href= "../servico/add.php"> <i class= "icon-plus"></i> Adicionar servico</a> </li> <li class="divider"> </li><!-- Editar ponto --> <li> <a href= "../ponto/edit.php"> <i class= "icon-pencil"></i> Editar ponto</a> </li> <li class="divider"> </li><!-- Remover ponto --> <li> <a class="danger" href= "#remove"><i class= "icon-remove"></i> Remover ponto</a> </li> </ul> </div> </div><!-- Serviços --> <div class= "accordion-body collapse" id= "servico1-1-1"> <div class="accordion-inner"> <ul class="nav nav-list"> <li> <a href= "#"><i class= "icon-chevron-right"> </i> Serviço #1-1-1-1</a> </li> <li> <a href= "#"><i class= "icon-chevron-right"> </i> Serviço #1-1-1-2</a> </li> <li> <a href= "#"><i class= "icon-chevron-right"> </i> Serviço #1-1-1-3</a> </li> </ul> </div> </div><!-- /Serviços --> </div> </div> </div> </div><!-- /Pontos --> <div class="accordion-heading equipamento"> <a class="accordion-toggle" data-parent= "#equipamento1-2" data-toggle="collapse" href= "#ponto1-2">Equipamento #1-2</a> <div class="dropdown edit"> <a class="dropdown-toggle icon-pencil" data-toggle="dropdown" href="#" style= "font-style: italic"></a> <ul class="dropdown-menu"> <!-- Adicionar ponto --> <li> <a href= "../ponto/add.php"><i class="icon-plus"> </i> Adicionar ponto</a> </li> <li class="divider"></li> <!-- Editar equipamento --> <li> <a href= "../equipamento/edit.php"><i class= "icon-pencil"></i> Editar equipamento</a> </li> <li class="divider"></li> <!-- Remover equipamento --> <li> <a class="danger" href= "#remove"><i class= "icon-remove"></i> Remover equipamento</a> </li> </ul> </div> </div> </div><!-- /Equipamentos --> </div> </div> </div> </div> </div><!-- /accordion --> </div> </div> </div> </div>
.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; } .validation .rules { border-left: 4px solid #f38787; }
Questions / Comments:
Post
Posting Guidelines
Formatting
- Now
×
Close
Donate
BTC: 12JxYMYi6Vt3mx3hcmP3B2oyFiCSF3FhYT
ETH: 0xCD715b2E3549c54A40e6ecAaFeB82138148a6c76