"Simple User Profile "
Bootstrap 3.1.0 Snippet by krzysztof

<link href="//netdna.bootstrapcdn.com/bootstrap/3.1.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//netdna.bootstrapcdn.com/bootstrap/3.1.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-md-5 toppad pull-right col-md-offset-3 "> </div> <div class="col-xs-12 col-sm-12 col-md-6 col-lg-6 col-xs-offset-0 col-sm-offset-0 col-md-offset-3 col-lg-offset-3 toppad" > <div class="panel panel-info"> <div class="panel-heading"> <h3 class="panel-title">Dane adresowe</h3> </div> <div class="panel-body"> <div class="row"> <div class="col-md-3 col-lg-3 " align="center"> <img alt="User Pic" src="https://lh5.googleusercontent.com/-b0-k99FZlyE/AAAAAAAAAAI/AAAAAAAAAAA/eu7opA4byxI/photo.jpg?sz=100" class="img-circle"> </div> <div class=" col-md-9 col-lg-9 "> <table class="table table-user-information"> <tbody> <tr> <td>Adres:</td> <td>ul. Krzyckiego 6</td> </tr> <tr> <td></td> <td>02-052 Warszawa</td> </tr> <tr> <tr> <td>Email:</td> <td><a href="mailto:agent@ihouse.pl">agent@ihouse.pl</a></td> </tr> <td>Biuro obsługi klientów:</td> <td>697-634-816<br><br>733-849-479 </td> </tr> </tbody> </table> <form> <label for="subject"> Kontakt:</label> <br> <div class="row"> <div class="col-md-6"> <div class="form-group"> <div class="input-group"> <span class="input-group-addon"><span class="glyphicon glyphicon-envelope"></span> </span> <input type="email" class="form-control" id="email" placeholder="Adres email*" required="required" /></div> </div> <div class="form-group"> <input type="text" class="form-control" id="phone" placeholder="Numer telefonu" required="required" /> </div> </div> <div class="col-md-6"> <div class="form-group"> <input type="text" class="form-control" id="name" placeholder="Imie i nazwisko*" required="required" /> </div> <div class="form-group"> <select id="subject" name="subject" class="form-control" required="required"> <option value="na" selected="">Wybierz:</option> <option value="service">Problem techniczny</option> <option value="suggestions">Sugestia</option> <option value="product">Pytanie o produkt</option> </select> </div> </div> </div> </form> <div class="form-group"> <textarea name="message" id="message" class="form-control" rows="8" cols="25" required="required" placeholder="Treść wiadomości"></textarea> </div><div class="col-md-12"> <button type="submit" class="btn btn-primary pull-left btn-success btn-block" id="btnContactUs"> Wyślij wiadomość</button> </div> </div> </div> </div> <br> <div class="panel-footer"><span class="wymagane">* Pole wymagane</span> <br></br> <a href="#" class="btn btn-primary">Przejdź do iHouse.pl</a> <span class="pull-right"> <a href="#" class="btn btn-primary">Przejdź do Systemu Agenta</a> </span> </div> </div> </div> </div> </div>
.user-row { margin-bottom: 14px; } .user-row:last-child { margin-bottom: 0; } .dropdown-user { margin: 13px 0; padding: 5px; height: 100%; } .dropdown-user:hover { cursor: pointer; } .table-user-information > tbody > tr { border-top: 1px solid rgb(221, 221, 221); } .table-user-information > tbody > tr:first-child { border-top: 0; } .table-user-information > tbody > tr > td { border-top: 0; } .toppad {margin-top:20px; } .wymagane{font-size: 12px}
$(document).ready(function() { var panels = $('.user-infos'); var panelsButton = $('.dropdown-user'); panels.hide(); //Click dropdown panelsButton.click(function() { //get data-for attribute var dataFor = $(this).attr('data-for'); var idFor = $(dataFor); //current button var currentButton = $(this); idFor.slideToggle(400, function() { //Completed slidetoggle if(idFor.is(':visible')) { currentButton.html('<i class="glyphicon glyphicon-chevron-up text-muted"></i>'); } else { currentButton.html('<i class="glyphicon glyphicon-chevron-down text-muted"></i>'); } }) }); $('[data-toggle="tooltip"]').tooltip(); $('button').click(function(e) { e.preventDefault(); alert("This is a demo.\n :-)"); }); });

Related: See More


Questions / Comments: