Sha256: a3f14e5bac05fe8281be2c5907bd122648d3f849ef10fa2bc65ff3f149287c5b
Contents?: true
Size: 1.43 KB
Versions: 2
Compression:
Stored size: 1.43 KB
Contents
doctype html html head meta charset="utf-8" meta name="viewport" content="width=device-width, initial-scale=1.0" meta name="description" content="" meta name="author" content="FIXME: YOUR NAME" title Swagr web app template /! -------------------------------------------------------------- /! -- Files needed by Bootstrap /! -------------------------------------------------------------- link href="css/bootstrap.css" rel="stylesheet" /! -------------------------------------------------------------- /! -- Our own style file + custom changes inline /! -------------------------------------------------------------- link href="css/style.css" rel="stylesheet" /! media="screen" style | body { padding-top: 60px; /* 60px to make the container go all the way to the bottom of the topbar */ } body div class="container" id="main_body_content" == slim :navbar == yield div class="container" div id="footer" == slim :footer script src="js/jquery-latest.js" script src="js/bootstrap.min.js" /! Ensure the active class on the main navbar is updated if one of the nav links is clicked script type="text/javascript" | $('#top-navbar-ul li a').on('click', function() { $(this).parent().parent().find('.active').removeClass('active'); $(this).parent().addClass('active').css('font-weight', 'bold'); });
Version data entries
2 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
swagr-0.0.10 | examples/examples01/views/layout.slim |
swagr-0.0.10 | templates/views/layout.slim |