"Patient Profile"
Bootstrap 3.3.0 Snippet by hossam

<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.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">Patient Profile</h3> </div> <div class="panel-body"> <div class="row"> <div class="col-md-3 col-lg-3 " align="center"> </div> <!--<div class="col-xs-10 col-sm-10 hidden-md hidden-lg"> <br> <dl> <dt>DEPARTMENT:</dt> <dd>Administrator</dd> <dt>HIRE DATE</dt> <dd>11/12/2013</dd> <dt>DATE OF BIRTH</dt> <dd>11/12/2013</dd> <dt>GENDER</dt> <dd>Male</dd> </dl> </div>--> <div class=" col-md-9 col-lg-9 "> <table class="table table-user-information"> <tbody> <tr> <td> <b>Personal Information: </b></td> <td></td> </tr> <tr> <td>patient name:</td> <td> Amir Mostafa</td> </tr> <tr> <td>Age:</td> <td>20</td> </tr> <tr> <tr> <td>Gender:</td> <td> M</td> </tr> <tr> <td>Address:</td> <td>cairo</td> </tr> <tr> <td>Mobile:</td> <td>555555</td> </tr> <td>Job:</td> <td> h </td> </tr> </tr> <td>Marital Status:</td> <td> s </td> </tr> </tr> <td> <b > Medical Information:</b></td> <td> </td> </tr> </tr> <td>latest surgery date:</td> <td> Yes: <input type="checkbox" name="yes" value="yes"> No:<input type="checkbox" name="no" value="no"> </td> </tr> </tr> <td>suffer from any kidney ,lungs , heart ,blood presure disease?</td> <td> Yes: <input type="checkbox" name="yes" value="yes"> No: <input type="checkbox" name="no" value="no"> </td> </tr> </tr> <td>had blood transfer befor?</td> <td> Yes: <input type="checkbox" name="yes" value="yes"> No: <input type="checkbox" name="no" value="no"> </td> </tr> </tr> <td>catch virus C or B before ?</td> <td> Yes: <input type="checkbox" name="yes" value="yes"> No: <input type="checkbox" name="no" value="no"> </td> </tr> </tr> <td>take any medicines or drugs now ?</td> <td> Yes: <input type="checkbox" name="yes" value="yes"> No: <input type="checkbox" name="no" value="no"> </td> </tr> </tr> <td>your latest visite to the dentist ?</td> <td> Yes: <input type="checkbox" name="yes" value="yes"> No: <input type="checkbox" name="no" value="no"> </td> </tr> </tr> <td>had a tooth filling before ?</td> <td> Yes: <input type="checkbox" name="yes" value="yes"> No: <input type="checkbox" name="no" value="no"> </td> </tr> </tbody> </table> <a href="#" class="btn btn-primary" style="width:140px">Edit</a> <a href="#" class="btn btn-primary" style="width:140px"> Homepage</a> </div> </div> </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; }
$(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: