2016-03-31 22:33:49 +02:00
|
|
|
<div class='content-wrapper transparent' id='home'>
|
|
|
|
<div class='messages'></div>
|
2016-05-22 22:39:31 +02:00
|
|
|
<header>
|
|
|
|
<h1><%= ctx.name %></h1>
|
2016-06-14 10:31:48 +02:00
|
|
|
<aside class='stats-container'></aside>
|
2016-05-22 22:39:31 +02:00
|
|
|
</header>
|
2016-05-29 12:28:52 +02:00
|
|
|
<% if (ctx.canListPosts) { %>
|
|
|
|
<form class='horizontal'>
|
|
|
|
<div class='input'>
|
2016-06-01 21:31:15 +02:00
|
|
|
<%= ctx.makeButton({name: 'all-posts', value: 'Browse all posts'}) %>
|
|
|
|
<span class='separator'>or</span>
|
|
|
|
<%= ctx.makeTextInput({name: 'search-text', placeholder: 'enter some tags'}) %>
|
2016-05-29 12:28:52 +02:00
|
|
|
</div>
|
|
|
|
<div class='buttons'>
|
|
|
|
<input type='submit' value='Search'/>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
<% } %>
|
|
|
|
<% if (ctx.featuredPost) { %>
|
|
|
|
<aside>
|
2016-06-01 21:31:15 +02:00
|
|
|
Featured post: <%= ctx.makePostLink(ctx.featuredPost.id) %>,
|
|
|
|
posted
|
2016-05-29 12:28:52 +02:00
|
|
|
<%= ctx.makeRelativeTime(ctx.featuredPost.creationTime) %>
|
|
|
|
by
|
|
|
|
<%= ctx.makeUserLink(ctx.featuredPost.user) %>
|
|
|
|
</aside>
|
|
|
|
<% } %>
|
2016-06-01 21:31:15 +02:00
|
|
|
<div class='post-container'></div>
|
2016-05-29 12:28:52 +02:00
|
|
|
<footer>
|
2016-06-01 21:31:15 +02:00
|
|
|
Build <a class='version' href='https://github.com/rr-/szurubooru/commits/master'><%= ctx.version %></a>
|
|
|
|
from <%= ctx.makeRelativeTime(ctx.buildDate) %>
|
2016-05-29 12:28:52 +02:00
|
|
|
</footer>
|
2016-03-31 22:33:49 +02:00
|
|
|
</div>
|