"Contact List"
Bootstrap 3.1.0 Snippet by stest

<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="row"> <div class="col-xs-12 col-sm-offset-2 col-sm-8"> <div class="panel panel-default"> <div class="panel-heading c-list"> <span class="title"></span> <ul class="pull-right c-controls"> <li><a href="#" class="hide-search" data-toggle="tooltip" data-placement="top" title="My Calendaar"><i class="fa fa-calendar"></i></a></li> <li><a href="#" class="hide-search" data-toggle="tooltip" data-placement="top" title="My Settings"><i class="fa fa-cog"></i></a></li> <li><a href="#" class="hide-search" data-toggle="tooltip" data-placement="top" title="Add New Decisionsr"><i class="fa fa-plus"></i></a></li> <li><a href="#" class="hide-search" data-command="toggle-search" data-toggle="tooltip" data-placement="top" title="Toggle Search"><i class="fa fa-search"></i></a></li> </ul> </div> <div class="row" style="display: none;"> <div class="col-xs-12"> <div class="input-group c-search"> <input type="text" class="form-control" id="contact-list-search"> <span class="input-group-btn"> <button class="btn btn-default" type="button">< class="text-muted"><i class="fa fa-search"></i></span></button> </span> </div> </div> </div> <ul class="list-group" id="contact-list"> <li class="list-group-item"> <div class="col-xs-12 col-sm-3"> <span class="fa-stack fa-4x"> <i class="fa fa-circle fa-stack-2x text-success"></i> <i class="fa fa-lightbulb-o fa-stack-1x fa-inverse"></i> </span> </div> <div class="col-xs-12 col-sm-9"> <div class="name">What is the next best step for my career?</div> <div class="text-muted"><b>Started May 15, 2015</b></div> <div class="text-muted"><i class="fa fa-2x fa-book"></i> Read/Example Decision Guide</div> <div class="text-muted"><i class="fa fa-2x fa-laptop"></i> Access Example Web App and Decsion Report</div> <div class="text-muted"><i class="fa fa-2x fa-comments-o"></i> Book Free Consultation</div> <div class="text-muted"><i class="fa fa-2x fa-comments-o"></i> Book Appointment</div> <div class="text-muted"><i class="fa fa-2x fa-comments-o"></i> Appointment: March 3, 2015 at 3:00 pm</div> <div class="text-muted pull-right hide"><i class="fa fa-2x fa-plus-circle"></i> Additional Decision Support</div> </div> <div class="clearfix"></div> </li> </ul> </div> </div> </div> <div id="cant-do-all-the-work-for-you" class="modal fade bs-example-modal-sm" tabindex="-1" role="dialog" aria-labelledby="mySmallModalLabel" aria-hidden="true"> <div class="modal-dialog modal-sm"> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button> <h4 class="modal-title" id="mySmallModalLabel">Ooops!!!</h4> </div> <div class="modal-body"> <p>I am being lazy and do not want to program an "Add User" section into this snippet... So it looks like you'll have to do that for yourself.</p><br/> <p><strong>Sorry<br/> ~ Mouse0270</strong></p> </div> </div> </div> </div> <!-- JavaScrip Search Plugin --> <script src="//rawgithub.com/stidges/jquery-searchable/master/dist/jquery.searchable-1.0.0.min.js"></script> </div>
@import url(//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css); body { padding: 30px 0px 60px; } .panel > .list-group .list-group-item:first-child { /*border-top: 1px solid rgb(204, 204, 204);*/ } @media (max-width: 767px) { .visible-xs { display: inline-block !important; } .block { display: block !important; width: 100%; height: 1px !important; } } #back-to-bootsnipp { position: fixed; top: 10px; right: 10px; } .c-search > .form-control { border-radius: 0px; border-width: 0px; border-bottom-width: 1px; font-size: 1.3em; padding: 12px 12px; height: 44px; outline: none !important; } .c-search > .form-control:focus { outline:0px !important; -webkit-appearance:none; box-shadow: none; } .c-search > .input-group-btn .btn { border-radius: 0px; border-width: 0px; border-left-width: 1px; border-bottom-width: 1px; height: 44px; } .c-list { padding: 0px; min-height: 44px; } .title { display: inline-block; font-size: 1.7em; font-weight: bold; padding: 5px 15px; } ul.c-controls { list-style: none; margin: 0px; min-height: 44px; } ul.c-controls li { margin-top: 8px; float: left; } ul.c-controls li a { font-size: 1.7em; padding: 11px 10px 6px; } ul.c-controls li a i { min-width: 24px; text-align: center; } ul.c-controls li a:hover { background-color: rgba(51, 51, 51, 0.2); } .c-toggle { font-size: 1.7em; } .name { font-size: 1.7em; font-weight: 700; } .c-info { padding: 5px 10px; font-size: 1.25em; }
$(function () { /* BOOTSNIPP FULLSCREEN FIX */ if (window.location == window.parent.location) { $('#back-to-bootsnipp').removeClass('hide'); } $('[data-toggle="tooltip"]').tooltip(); $('#fullscreen').on('click', function(event) { event.preventDefault(); window.parent.location = "http://bootsnipp.com/iframe/4l0k2"; }); $('a[href="#cant-do-all-the-work-for-you"]').on('click', function(event) { event.preventDefault(); $('#cant-do-all-the-work-for-you').modal('show'); }) $('[data-command="toggle-search"]').on('click', function(event) { event.preventDefault(); $(this).toggleClass('hide-search'); if ($(this).hasClass('hide-search')) { $('.c-search').closest('.row').slideUp(100); }else{ $('.c-search').closest('.row').slideDown(100); } }) $('#contact-list').searchable({ searchField: '#contact-list-search', selector: 'li', childSelector: '.col-xs-12', show: function( elem ) { elem.slideDown(100); }, hide: function( elem ) { elem.slideUp( 100 ); } }) });

Related: See More


Questions / Comments: