1acceb941d
Print all links through new uri.js component Refactor the router to use more predictable parsing Fix linking to entities with weird names (that contain slashes, + etc.)
16 lines
599 B
Smarty
16 lines
599 B
Smarty
<div class='content-wrapper transparent' id='home'>
|
|
<div class='messages'></div>
|
|
<header>
|
|
<h1><%- ctx.name %></h1>
|
|
</header>
|
|
<% if (ctx.canListPosts) { %>
|
|
<form class='horizontal'>
|
|
<%= ctx.makeTextInput({name: 'search-text', placeholder: 'enter some tags'}) %>
|
|
<input type='submit' value='Search'/>
|
|
<span class=sep>or</span>
|
|
<a href='<%- ctx.formatClientLink('posts') %>'>browse all posts</a>
|
|
</form>
|
|
<% } %>
|
|
<div class='post-info-container'></div>
|
|
<footer class='footer-container'></footer>
|
|
</div>
|