only slightly trimmed volt new output

This commit is contained in:
Torsten Ruger
2015-07-06 14:20:21 +03:00
commit d4803fe919
21 changed files with 552 additions and 0 deletions

View File

@ -0,0 +1,7 @@
<:Title>
About
<:Body>
<h1>About</h1>
<p>About page...</p>

View File

@ -0,0 +1,6 @@
<:Title>
Home
<:Body>
<h1>Home</h1>

View File

@ -0,0 +1,27 @@
<:Title>
{{ view main_path, "title", {controller_group: 'main'} }}
<:Body>
<div class="container">
<div class="header">
<ul class="nav nav-pills pull-right">
<:nav href="/">Home</:nav>
<:nav href="/about">About</:nav>
</ul>
<h3 class="text-muted">salama-debugger</h3>
</div>
<:volt:notices />
{{ view main_path, 'body', {controller_group: 'main'} }}
<div class="footer">
<p>&copy; Company {{ Time.now.year }}</p>
</div>
</div>
<:Nav>
<li class="{{ if active_tab? }}active{{ end }}">
<a href="{{ attrs.href }}">{{ yield }}</a>
</li>