Source

chempound / chempound-webapp / src / main / resources / net / chempound / templates / include / default-skin.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>
</head>

<body>

<header>
    <div class="content">
        <h1>${@.data.title}</h1>
    </div>
</header>

<nav>
    <div class="content">
        <ul>
            <li><a href="${URI_BASE}/" class="first">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 class="clear"></div>
    </div>
</nav>

<article>
    <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>

</body>
</html>