1. Chempound
  2. Untitled project
  3. skin-bootstrap


skin-bootstrap / src / main / resources / net / chempound / skin / bootstrap / templates / bootstrap.ftl

<!DOCTYPE html>
<#list STYLESHEETS as stylesheet>
    <link rel="stylesheet" href="${stylesheet}"/>
<#if stylesheets?has_content>
    <#list stylesheets as stylesheet>
        <link rel="stylesheet" href="${stylesheet}"/>
<#if headers?has_content>
    <#list headers as header>
        <#assign headerTemplate = header?interpret>
        <@headerTemplate />
    <link href="${URI_BASE}/skin/bootstrap/css/bootstrap.css" rel="stylesheet" media="screen"/>
        body {
            padding-top: 60px; /* 60px to make the container go all the way to the bottom of the topbar */


<nav class="navbar navbar-inverse navbar-fixed-top">
    <div class="navbar-inner">
        <div class="container">
            <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            <a class="brand" href="${URI_BASE}/">${@.data.title}</a>
            <div class="nav-collapse collapse">
                <ul class="nav">
                    <li><a href="${URI_BASE}/">Home</a></li>
                    <li><a href="${URI_BASE}/content/">Browse</a></li>
                    <li><a href="${URI_BASE}/search/">Search</a></li>
                    <li><a href="${URI_BASE}/sparql/">SPARQL</a></li>
                    <li><a href="${URI_BASE}/feeds/">Feeds</a></li>
            </div><!--/.nav-collapse -->

<article class="container">

    <div class="content">


    <!-- content ends -->


<#if @.data.googleAnalyticsId??>
<!-- change the UA-XXXXX-X to be your site's ID -->
    var _gaq = [['_setAccount', '${@.data.googleAnalyticsId}'], ['_trackPageview']];
    (function(d, t) {
        var g = d.createElement(t),
                s = d.getElementsByTagName(t)[0];
        g.async = true;
        g.src = ('https:' == location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
        s.parentNode.insertBefore(g, s);
    })(document, 'script');

<script src="http://code.jquery.com/jquery-latest.js"></script>
<script src="${URI_BASE}/skin/bootstrap/js/bootstrap.js"></script>