"Status Boxes"
Bootstrap 3.2.0 Snippet by adarwash2012

<link href="//netdna.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//netdna.bootstrapcdn.com/bootstrap/3.2.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-xs-6 col-md-3"> <div class="panel status panel-danger"> <div class="panel-heading"> <h1 class="panel-title text-center">25</h1> </div> <div class="panel-body text-center"> <strong>Late</strong> </div> </div> </div> <div class="col-xs-6 col-md-3"> <div class="panel status panel-warning"> <div class="panel-heading"> <h1 class="panel-title text-center">17</h1> </div> <div class="panel-body text-center"> <strong>Today</strong> </div> </div> </div> <div class="col-xs-6 col-md-3"> <div class="panel status panel-success"> <div class="panel-heading"> <h1 class="panel-title text-center">2</h1> </div> <div class="panel-body text-center"> <strong>Tomorrow</strong> </div> </div> </div> <div class="col-xs-6 col-md-3"> <div class="panel status panel-info"> <div class="panel-heading"> <h1 class="panel-title text-center">18</h1> </div> <div class="panel-body text-center"> <strong>Never Die</strong> </div> </div> </div> </div> </div> <hr> <div class="container well"> <strong>Theme <small>(<a href="http://bootswatch.com/" target="_new">bootswatch.com</a>)</small></strong> <select class="form-control"></select> </div> <link src="http://bootswatch.com/flatly/bootstrap.css" type="text/css">
@import url(http://fonts.googleapis.com/css?family=Source+Sans+Pro:400,900|Oswald); body{ padding: 50px 0; } .status { font-family: 'Source Sans Pro', sans-serif; } .status .panel-title { font-family: 'Oswald', sans-serif; font-size: 72px; font-weight: bold; color: #fff; line-height: 45px; padding-top: 20px; letter-spacing: -0.8px; }
$.get("http://api.bootswatch.com/3/", function (data) { var themes = data.themes; var select = $("select"); select.show(); themes.forEach(function(value, index){ select.append($("<option />") .val(index) .text(value.name)); }); select.change(function(){ var theme = themes[$(this).val()]; //$( "link" ).attr( 'src', theme.css ); $("link").attr("href", theme.css); }).change(); }, "json").fail(function(){ alert("Failure!"); });

Related: See More


Questions / Comments: