"PRUEBA"
Bootstrap 3.0.0 Snippet by yugidavid02

<link href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//netdna.bootstrapcdn.com/bootstrap/3.0.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 ----------> <section clas="main-container"> <div class="container"> <div class="row"> <div class="header-content text-center"> <h1 class="header-title">Formulario silabo</h1> <h4 class="header-motto">Docente</h4> </div> </div> </div> <div class="panel panel-default"> <div class="panel-heading">Registro de datos</div> <div class="panel-body"> <!-- TREEVIEW CODE --> <div class="col-md-2"> <ul class="treeview"> <li><a href="#">Menu</a> <ul> <li><a href="#">Branch</a></li> <li><a href="#">Branch</a> <ul> <li><a href="#">Stick</a></li> <li><a href="#">Stick</a></li> <li><a href="#">Stick</a> <ul> <li><a href="#">Twig</a></li> <li><a href="#">Twig</a></li> <li><a href="#">Twig</a></li> <li><a href="#">Twig</a> <ul> <li><a href="#">Leaf</a></li> <li><a href="#">Leaf</a></li> <li><a href="#">Leaf</a></li> <li><a href="#">Leaf</a></li> <li><a href="#">Leaf</a></li> <li><a href="#">Leaf</a></li> <li><a href="#">Leaf</a></li> <li><a href="#">Leaf</a></li> <li><a href="#">Leaf</a></li> </ul> </li> <li><a href="#">Twig</a></li> <li><a href="#">Twig</a></li> </ul> </li> <li><a href="#">Stick</a></li> </ul> </li> <li><a href="#">Branch</a></li> <li><a href="#">Branch</a></li> </ul> </li> </ul> </div> <div class="col-md-8"> <div class="form-block"> <h2>GUÍA PRÁCTICA DE LABORATORIO / TALLERE / CENTRO DE SIMULACIÓN</h2> <div class="form"> <form action="/action_page.php"> <div class="form-group"> <!-- edicion - diseño - menu --> <h4>Parctica</h4> <input type="text" class="col-xs-6 col-md-5 form-group" placeholder="Nº practica" name="first-name" required> <h4>Parctica</h4> <input type="text" class="form-control2" placeholder="Nº practica" name="first-name" required> </div> <div class="form-group"> <input type="text" class="form-control" placeholder="Enter Last Name" name="last-name" required> </div> <div class="form-group"> <input type="email" class="form-control" placeholder="Enter email" name="email" required> </div> <div class="form-group"> <input type="password" class="form-control" placeholder="Enter Password" name="password" required> </div> <div class="form-group"> <input type="password" class="form-control" placeholder="Enter Repeat Password" name="repeat-password" required> </div> <button type="submit" class="btn btn-default custom-btn">Submit</button> </form> </div> </div> </div> <!-- TREEVIEW CODE --> </div> </div> <!-- <div class="container"> <div class="row"> <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12"> <div class="header-content text-center"> <h1 class="header-title">Formulario silabo</h1> <h4 class="header-motto">Docente</h4> </div> </div> </div> <div class="row"> <div class="col-md-9"> <div class="form-block"> <h2>Register</h2> <div class="form"> <form action="/action_page.php"> <div class="form-group"> <input type="text" class="form-control" placeholder="Enter First Name" name="first-name" required> </div> <div class="form-group"> <input type="text" class="form-control" placeholder="Enter Last Name" name="last-name" required> </div> <div class="form-group"> <input type="email" class="form-control" placeholder="Enter email" name="email" required> </div> <div class="form-group"> <input type="password" class="form-control" placeholder="Enter Password" name="password" required> </div> <div class="form-group"> <input type="password" class="form-control" placeholder="Enter Repeat Password" name="repeat-password" required> </div> <button type="submit" class="btn btn-default custom-btn">Submit</button> </form> </div> </div> </div> <div class="col-md-9"> <div class="form-block"> <h2>Login</h2> <div class="form"> <form action="/action_page.php"> <div class="form-group"> <input type="email" class="form-control" id="email" placeholder="Enter email" name="email"> </div> <div class="form-group"> <input type="password" class="form-control" id="pwd" placeholder="Enter password" name="pwd"> </div> <button type="submit" class="btn btn-default custom-btn">Submit</button> </form> </div> </div> </div> </div> </div> </section> -->
/*============== sticky-wrapper =============**/ .header-content { padding: 50px 0; } .header-title { color: #88c724; display: block; font-size: 48px; font-weight: 600; line-height: 50px; text-transform: uppercase; } .header-motto { color: #88c724; font-size: 18px; font-weight: 400; line-height: 22px; } .form-block { background: #f9f9f9 none repeat scroll 0 0; border-radius: 1px; box-shadow: 2px 3px 8px #a7a7a7; color: gray; display: block; min-height:460px; overflow: hidden; padding:30px; margin-bottom:20px; } .form-block h2 { border-bottom: 1px solid #88c724; color: #88c724; display: block; font-size: 24px; font-weight: 300; line-height: 28px; margin-bottom: 20px; padding-bottom: 8px; } .form .form-control { border-radius: 0; color: #999; height: 42px; } /* from-control2 editado */ .form .form-control2 { border-radius: 0; color: #999; height: 42px; } .form-control:focus { border-color: #88c724; box-shadow: none; } .custom-btn:hover, .custom-btn { background-color: #88c724; border-color: #88c724; color: #fff; font-size: 20px; height: 40px; width: 100%; font-weight: 500; } /*============== menu =============**/ div.panel:first-child { margin-top:20px; } div.treeview { min-width: 100px; min-height: 100px; max-height: 256px; overflow:auto; padding: 4px; margin-bottom: 20px; color: #369; border: solid 1px; border-radius: 4px; } div.treeview ul:first-child:before { display: none; } .treeview, .treeview ul { margin:0; padding:0; list-style:none; color: #369; } .treeview ul { margin-left:1em; position:relative } .treeview ul ul { margin-left:.5em } .treeview ul:before { content:""; display:block; width:0; position:absolute; top:0; left:0; border-left:1px solid; /* creates a more theme-ready standard for the bootstrap themes */ bottom:15px; } .treeview li { margin:0; padding:0 1em; line-height:2em; font-weight:700; position:relative } .treeview ul li:before { content:""; display:block; width:10px; height:0; border-top:1px solid; margin-top:-1px; position:absolute; top:1em; left:0 } .tree-indicator { margin-right:5px; cursor:pointer; } .treeview li a { text-decoration: none; color:inherit; cursor:pointer; } .treeview li button, .treeview li button:active, .treeview li button:focus { text-decoration: none; color:inherit; border:none; background:transparent; margin:0px 0px 0px 0px; padding:0px 0px 0px 0px; outline: 0; }
/** menu */ $.fn.extend({ treeview: function() { return this.each(function() { // Initialize the top levels; var tree = $(this); tree.addClass('treeview-tree'); tree.find('li').each(function() { var stick = $(this); }); tree.find('li').has("ul").each(function () { var branch = $(this); //li with children ul branch.prepend("<i class='tree-indicator glyphicon glyphicon-chevron-right'></i>"); branch.addClass('tree-branch'); branch.on('click', function (e) { if (this == e.target) { var icon = $(this).children('i:first'); icon.toggleClass("glyphicon-chevron-down glyphicon-chevron-right"); $(this).children().children().toggle(); } }) branch.children().children().toggle(); /** * The following snippet of code enables the treeview to * function when a button, indicator or anchor is clicked. * * It also prevents the default function of an anchor and * a button from firing. */ branch.children('.tree-indicator, button, a').click(function(e) { branch.click(); e.preventDefault(); }); }); }); } }); /** * The following snippet of code automatically converst * any '.treeview' DOM elements into a treeview component. */ $(window).on('load', function () { $('.treeview').each(function () { var tree = $(this); tree.treeview(); }) })

Related: See More


Questions / Comments: