mirror of
https://github.com/sstent/node.git
synced 2026-01-27 15:41:43 +00:00
updated app
This commit is contained in:
33
node_modules/derby-examples/sink/views/app/index.html
generated
vendored
Normal file
33
node_modules/derby-examples/sink/views/app/index.html
generated
vendored
Normal file
@@ -0,0 +1,33 @@
|
||||
<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>
|
||||
Reference in New Issue
Block a user