start the new topics route and view
This commit is contained in:
9
app/templates/common/footer.html
Normal file
9
app/templates/common/footer.html
Normal file
@@ -0,0 +1,9 @@
|
||||
<footer class="plank secondary-bg bottom">
|
||||
<span>Pyrom commit <a href="{{ "https://git.poto.cafe/yagich/pyrom/commit/" + __commit }}">{{ __commit[:8] }}</a></span>
|
||||
<ul class="horizontal">
|
||||
{#-
|
||||
<li><a href="#">Contact</a></li>
|
||||
<li><a href="#">Guides</a></li>
|
||||
-#}
|
||||
</ul>
|
||||
</footer>
|
||||
3
app/templates/common/macros.html
Normal file
3
app/templates/common/macros.html
Normal file
@@ -0,0 +1,3 @@
|
||||
{% macro timestamp(unix_ts) -%}
|
||||
<span class="timestamp" data-utc="{{ unix_ts }}">{{ unix_ts | ts_datetime('%Y-%m-%d %H:%M')}} <abbr title="Server Time">ST</abbr></span>
|
||||
{%- endmacro %}
|
||||
15
app/templates/common/topnav.html
Normal file
15
app/templates/common/topnav.html
Normal file
@@ -0,0 +1,15 @@
|
||||
<nav id="header" class="plank top">
|
||||
<a class="site-title" href=#>Porom</a>
|
||||
<span>anti-social media</span>
|
||||
{%- if is_logged_in() -%}
|
||||
no
|
||||
{%- else -%}
|
||||
<form class="horizontal wrap">
|
||||
<input type="hidden" name="return_to" value="{{request.path}}">
|
||||
<input type="text" placeholder="Username">
|
||||
<input type="password" placeholder="Password">
|
||||
<input type="submit" value="Log in">
|
||||
<a href="#" class="linkbutton">Register</a>
|
||||
</form>
|
||||
{%- endif -%}
|
||||
</nav>
|
||||
Reference in New Issue
Block a user