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
"Passo a passo captura"
Bootstrap 3.0.0 Snippet by
samanthasilva
3.0.0
jQuery
Preview
HTML
CSS
JS
View Full Screen
Fork
Fork this
1.1K
 
1 Fav
Post to Facebook
Tweet this
<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 ----------> <div class="container"> <div class="stepwizard col-md-offset-3"> <div class="stepwizard-row setup-panel"> <div class="stepwizard-step"> <a href="#step-1" type="button" class="btn btn-primary btn-circle">1</a> <p>Primeiro Passo</p> </div> <div class="stepwizard-step"> <a href="#step-2" type="button" class="btn btn-default btn-circle" disabled="disabled">2</a> <p>Segundo Passo</p> </div> <div class="stepwizard-step"> <a href="#step-3" type="button" class="btn btn-default btn-circle" disabled="disabled">3</a> <p>Terceiro Passo</p> </div> </div> </div> <form role="form" action="" method="post"> <div class="row setup-content" id="step-1"> <div class="col-xs-6 col-md-offset-3"> <div class="col-md-12"> <h3></h3> <div class="form-group"> <label class="control-label">Digite a senha pré autorizada</label> <input maxlength="100" type="text" required="required" class="form-control" placeholder="Digite a senha" /> </div> <button class="btn btn-primary nextBtn btn-lg pull-right" type="button" >Próximo</button> </div> </div> </div> <div class="row setup-content" id="step-2"> <div class="col-xs-6 col-md-offset-3"> <div class="col-md-12"> <h3> </h3> <table class="table table-striped"> <thead> <tr> <th>Nr Guia</th> <th>Beneficiário</th> <th>Senha</th> <th>Status</th> </tr> </thead> <tbody> <tr> <th>1056584</th> <td>João das Couves</td> <td>123456</td> <td>Em análise</td> </tr> </tbody> </table> <button class="btn btn-primary nextBtn btn-lg pull-right" type="button" >Próximo</button> </div> </div> </div> <div class="row setup-content" id="step-3" style="display: block;"> <div class=" col-xs-12"> <div class=" col-md-14"> <h3> </h3> <div _ngcontent-c11="" class="row"> <hr _ngcontent-c11=""> <div _ngcontent-c11="" class="row"> <span _ngcontent-c11="" class="elegivel"> <span>Beneficiário Elegível <i class="fa fa-check-square-o iconElegivel"></i> </i> <br> </span> <br> </span> </span><div _ngcontent-c11="" class=" rows col-md-12"> <div _ngcontent-c11="" class=" col-md-20"> <div _ngcontent-c11="" class="form-group col-md-4"> <span _ngcontent-c11="" class="bold">Data de Nascimento</span>: 08/05/1987 </div> <div _ngcontent-c11="" class="form-group col-md-4"> <span _ngcontent-c11="" class="bold">Sexo</span>: M </div> <div _ngcontent-c11="" class="form-group col-md-4"> <span _ngcontent-c11="" class="bold">Idade</span>: 30 anos </div> <div _ngcontent-c11="" class="form-group col-md-4"> <span _ngcontent-c11="" class="bold">Plano</span>: GOLD - Apartamento</div> <div _ngcontent-c11="" class="form-group col-md-4"> <span _ngcontent-c11="" class="bold">Abrangência</span>: Nacional </div> <div _ngcontent-c11="" class="form-group col-md-4"> <span _ngcontent-c11="" class="bold">Acomodação</span>: Apartamento </div> <div _ngcontent-c11="" class="form-group col-md-4"> <span _ngcontent-c11="" class="bold">Data Validade:</span>: 2017-12-06 </div> <div _ngcontent-c11="" class="form-group col-md-4"> <span _ngcontent-c11="" class="bold">Data Vencimento:</span>: 2017-03-06 </div> <div _ngcontent-c11="" class="form-group col-md-4"> <span _ngcontent-c11="" class="bold">Status Financeiro:</span>: Em dia </div> </div> </div> </div> </div> <button class="botao btn btn-success btn-lg pull-right" type="submit">Capturar</button> </div> </div> </div>
body { margin-top:40px; } .stepwizard-step p { margin-top: 10px; } .stepwizard-row { display: table-row; } .stepwizard { display: table; width: 50%; position: relative; } .stepwizard-step button[disabled] { opacity: 1 !important; filter: alpha(opacity=100) !important; } .stepwizard-row:before { top: 14px; bottom: 0; position: absolute; content: " "; width: 100%; height: 1px; background-color: #ccc; z-order: 0; } .stepwizard-step { display: table-cell; text-align: center; position: relative; } .btn-circle { width: 30px; height: 30px; text-align: center; padding: 6px 0; font-size: 12px; line-height: 1.428571429; border-radius: 15px; } .rows { background: #e2f7e2; border-radius: 15px; padding: 2%; margin-left: 272px; margin-top: -7px; width: 64%; box-shadow: 0 2px 15px rgba(0,0,0,0.1); } .botao { margin-left: 272px; margin-top: 16px; } .rows { background: #e2f7e2; border-radius: 15px; padding: 2%; margin-left: 272px; margin-top: -7px; width: 64%; } .elegivel { margin-left: 314px; margin-top: 16px; color: green; font-size: 19px; }
$(document).ready(function () { var navListItems = $('div.setup-panel div a'), allWells = $('.setup-content'), allNextBtn = $('.nextBtn'); allWells.hide(); navListItems.click(function (e) { e.preventDefault(); var $target = $($(this).attr('href')), $item = $(this); if (!$item.hasClass('disabled')) { navListItems.removeClass('btn-primary').addClass('btn-default'); $item.addClass('btn-primary'); allWells.hide(); $target.show(); $target.find('input:eq(0)').focus(); } }); allNextBtn.click(function(){ var curStep = $(this).closest(".setup-content"), curStepBtn = curStep.attr("id"), nextStepWizard = $('div.setup-panel div a[href="#' + curStepBtn + '"]').parent().next().children("a"), curInputs = curStep.find("input[type='text'],input[type='url']"), isValid = true; $(".form-group").removeClass("has-error"); for(var i=0; i<curInputs.length; i++){ if (!curInputs[i].validity.valid){ isValid = false; $(curInputs[i]).closest(".form-group").addClass("has-error"); } } if (isValid) nextStepWizard.removeAttr('disabled').trigger('click'); }); $('div.setup-panel div a.btn-primary').trigger('click'); });
Related:
See More
Template
Light Bootstrap Dashboard PRO React
Questions / Comments:
Post
Posting Guidelines
Formatting
- Now
×
Close
Donate
BTC: 12JxYMYi6Vt3mx3hcmP3B2oyFiCSF3FhYT
ETH: 0xCD715b2E3549c54A40e6ecAaFeB82138148a6c76