szurubooru/client/html/home.tpl
rr- 1acceb941d client: refactor linking and routing
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.)
2017-01-21 00:13:35 +01:00

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>