Files
node/node_modules/derby-examples/sink/views/app/index.html
2012-05-30 23:00:06 -04:00

34 lines
726 B
HTML

<import: src=shared>
<import: src=home>
<import: src=liveCss>
<import: src=tableEditor>
<import: src=leaderboard>
<import: src=submit>
<import: src=bindingsBench>
<Title:>
Derby demo: {{title}}
<Header:>
<body class={{currentPage}}>
<!-- components are void by default, and should not have a closing tag -->
<app:shared:alert>
<!-- if a component is nonvoid, it must have a closing tag -->
<app:nav>
{{#each pages}}
{{#if current}}
<b>{{text}}</b>
{{else}}
<a href={{url}}>{{text}}</a>
{{/}}
{{#unless isLast}} | {{/}}
{{/}}
</app:nav>
<nav: nonvoid>
<nav>
<!-- nonvoid components support a special `content` macro -->
{{{content}}}
<hr>
</nav>