"Simple User Profile "
Bootstrap 3.1.0 Snippet by utsthapa

<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 ----------> <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"> <br> </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"> <span class="panel-title">Utsav Thapa</span> <span class="float-right">9/19/2018</span> </div> <div class="panel-body"> <div class="row"> <div class="col-md-3 col-lg-3 " align="center"> <img id = "profile" alt="User Pic" src="https://pbs.twimg.com/profile_images/624059505/tommytrojanicon_400x400.jpg"> </div> <div class=" col-md-9 col-lg-9 "> <table class="table table-user-information"> <tbody> <tr> <td>Major:</td> <td>Computer Science</td> </tr> <tr> <td>Minor:</td> <td>N/A</td> </tr> <tr> <td>USC ID#</td> <td>9717428024</td> </tr> <tr> <tr> <td>Email</td> <td>thapa@usc.edu</td> </tr> <tr> <td>Country of Interest</td> <td>UK</td> </tr> <tr> <td>Program Name</td> <td>Edinburgh</td> </tr> <tr> <td>Expected Graduation Date</td> <td> May 2019 </td> </tr> <tr> <td>Term Abroad</td> <td>Spring 2018 </td> </tr> <tr> <td>Preparation</td> <td>-Checked out our website <br/> -Checked out the program binders <br/>-Met with an advisor before <br/> -Researched the Country of Interest</td> </tr> <tr> <td>Questions/Concerns/Reasons</td> <td>Not sure about what classes to take abroad</td> </tr> </tbody> </table> </div> </div> </div> <div class="panel-heading"> <h3 class="panel-title">Comments</h3> </div> <div class="panel-body"> <div class="row"> <div class=" col-md-9 col-lg-9 "> <table class="table table-user-information"> <tbody> <tr> <td>Emily Moon</td> <td>9/15/2018</td> <td>Student is considering between Edinburgh and Galway</td> </tr> <tr> <td>Melissa</td> <td>9/10/2018</td> <td>Considering going to Melbourne</td> </tr> <tr> <td>Vito </td> <td>9/07/2018</td> <td>Wants to go to Mainland Europe, but doesn't speak French or Spanish or Italian. </td> </tr> </tbody> </table> </div> </div> </div> <div class="panel-heading"> <h3 class="panel-title">Previous Visits</h3> </div> <div class="panel-body"> <div class="row"> <div class=" col-md-9 col-lg-9 "> <table class="table table-user-information"> <tbody> <tr> <td>9/15/2018</td> </tr> <tr><td>9/10/2018</td> </tr> <tr><td>9/07/2018</td> </tr> </tbody> </table> </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; } #profile{ width : 100px; height : 100px; } .active-cyan-4 input[type=text]:focus:not([readonly]) { border: 1px solid #4dd0e1; box-shadow: 0 0 0 1px #4dd0e1; width : 50px; } .active-cyan-3 input[type=text] { border: 1px solid #4dd0e1; box-shadow: 0 0 0 1px #4dd0e1; }
$(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: