"rank"
Bootstrap 3.3.0 Snippet by leilaapsilva

<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 ----------> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css"> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootswatch/3.3.6/lumen/bootstrap.min.css"> <link rel="stylesheet" href="https://daneden.github.io/animate.css/animate.min.css"> <div class="container" style="margin-top:20px;"> <div class="row"> <div id="user" class="col-md-5" > <div class="panel panel-primary panel-table animated slideInDown"> <div class="col col-xs-5 text-center"> <h4 class="panel-title">Ranking</h4> </div> <div class="panel-heading " style="padding:5px;"> <div class="row"> <div class="col col-xs-3 text-left"> <a href="#list" class="btn btn-default" aria-controls="list" role="tab" data-toggle="tab"><i class="fa fa-list-alt"></i>lista</a> </div> <div class="row"> <a href="#thumb" class="btn btn-default" aria-controls="thumb" role="tab" data-toggle="tab"><i class="fa fa-picture-o" aria-hidden="true"></i>foto</a> </div> </div> </div> <div class="panel-body"> <div class="tab-content"> <div role="tabpanel" class="tab-pane active" id="list"> <table class="table table-striped table-bordered table-list"> <thead> <tr> <th class="avatar"></th> <th>Nome</th> <th>Região</th> <th>Pontos</th> </tr> </thead> <tbody> <tr class="ok"> <td class="avatar"><img src="https://pbs.twimg.com/profile_images/746779035720683521/AyHWtpGY_400x400.jpg"></td> <td>Pedro Santos </td> <td>Vila Mariana </td> <td>1200 </td> </tr> <tr class="ban"> <td class="avatar"><img src="https://pbs.twimg.com/profile_images/3511252200/f97a40336742d17609e0b0ca17e301b8_400x400.jpeg"></td> <td>José Souza </td> <td>Butatã </td> <td>1140 </td> </tr> <tr class="new"> <td class="avatar"><img src="https://pbs.twimg.com/profile_images/3023221270/fcb34337f850c1037af9840ebe510d36_400x400.jpeg"></td> <td>Gustavo Oliveira </td> <td>Tunisia </td> <td>1090 </td> </tr> </tbody> </table> </div><!-- END id="list" --> <div role="tabpanel" class="tab-pane " id="thumb"> <div class="row"> <div class="col-md-12"> <div class="ok"> <div class="col-md-3"> <div class="panel panel-default panel-thumb"> <div class="panel-heading"> <h3 class="panel-title">Djelal Eddine</h3> </div> <div class="panel-body avatar-card"> <img src="https://pbs.twimg.com/profile_images/746779035720683521/AyHWtpGY_400x400.jpg"> </div> <div class="panel-footer"> <a href="#" class="btn btn-primary" title="Edit" ><i class="fa fa-pencil"></i></a> <a href="#" class="btn btn-warning" title="ban" ><i class="fa fa-ban" ></i></a> <a href="#" class="btn btn-danger" title="delete" ><i class="fa fa-trash" ></i></a> </div> </div> </div> </div> <div class="ban"> <div class="col-md-3"> <div class="panel panel-default panel-thumb"> <div class="panel-heading"> <h3 class="panel-title">Moh Aymen</h3> </div> <div class="panel-body avatar-card"> <img src="https://pbs.twimg.com/profile_images/3511252200/f97a40336742d17609e0b0ca17e301b8_400x400.jpeg"> </div> <div class="panel-footer"> <a href="#" class="btn btn-primary" title="Edit" ><i class="fa fa-pencil"> </i></a> <a href="#" class="btn btn-warning" title="ban" ><i class="fa fa-ban" >admitted</i></a> <a href="#" class="btn btn-danger" title="delete" ><i class="fa fa-trash" > </i></a> </div> </div> </div> </div> <div class="new"> <div class="col-md-3"> <div class="panel panel-default panel-thumb"> <div class="panel-heading"> <h3 class="panel-title">Dia ElHak</h3> </div> <div class="panel-body avatar-card"> <img src="https://pbs.twimg.com/profile_images/3023221270/fcb34337f850c1037af9840ebe510d36_400x400.jpeg"> </div> <div class="panel-footer"> <a href="#" class="btn btn-primary" title="Edit" ><i class="fa fa-pencil" > </i></a> <a href="#" class="btn btn-success" title="validate"><i class="fa fa-check-square">validate</i></a> <a href="#" class="btn btn-warning" title="ban" ><i class="fa fa-ban" > </i></a> <a href="#" class="btn btn-danger" title="delete" ><i class="fa fa-trash" > </i></a> </div> </div> </div> </div> </div> </div> </div><!-- END id="thumb" --> </div><!-- END tab-content --> </div> <div class="panel-footer text-center"> <ul class="pagination"> <li ><a>«</a></li> <li class="active"><a href="#">1</a></li> <li ><a href="#">2</a></li> <li ><a href="#">3</a></li> <li ><a>»</a></li> </ul> </div> </div><!--END panel-table--> </div> </div> </div>
/*By DjelalEddine@gmail.com*/ #user .avatar { width:60px; } #user .avatar > img{ width:50px; height:50px; border-radius:10%; } /*Card*/ #user .panel-thumb{ margin:5px auto; text-align:center; } #user .panel-thumb .avatar-card { text-align:center; height:200px; margin:auto; overflow:hidden; } #user .panel-thumb .avatar-card > img{ max-width:200px; max-height:200px; } /* table*/ #user .panel-table{ animation-duration:3s; } #user .panel-table .panel-body .table{ margin:0px; } #user .panel-table .panel-body { padding:0px; } #user .panel-table .panel-body .table-bordered > thead > tr > th{ text-align:center; } #user .panel-table .panel-footer { height:60px; padding:0px; }
function filter($state){ var x = document.getElementsByClassName($state); var btn = document.getElementById($state); if (btn.className == "btn"){ btn.className = btn.dataset.class; for (i = 0; i < x.length; i++) {x[i].className = " animated fadeInLeft "+$state;} } else{ for (i = 0; i < x.length; i++) {x[i].className = " animated fadeOutRight "+$state;} btn.className = "btn"; } }

Related: See More

Featured Templates


Questions / Comments: