Source

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

<!DOCTYPE html>
<html>
<head>
    <title>${title}</title>
<#list STYLESHEETS as stylesheet>
    <link rel="stylesheet" href="${stylesheet}"/>
</#list>
<#if stylesheets?has_content>
    <#list stylesheets as stylesheet>
        <link rel="stylesheet" href="${stylesheet}"/>
    </#list>
</#if>
<#if headers?has_content>
    <#list headers as header>
        <#assign headerTemplate = header?interpret>
        <@headerTemplate />
    </#list>
</#if>
    <link href="${URI_BASE}/skin/bootstrap/css/bootstrap.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 */
        }
    </style>
</head>

<body>

<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>
            <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>
                </ul>
            </div><!--/.nav-collapse -->
        </div>
    </div>
</nav>

<article class="container">

    <div class="content">

    ${content}

    <!-- content ends -->
    </div>
</article>

<footer>
    <p></p>
</footer>

<#if @.data.googleAnalyticsId??>
<!-- change the UA-XXXXX-X to be your site's ID -->
<script>
    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>
</#if>

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