mirror of
https://gitea.phreedom.club/localhost_frssoft/bloat.git
synced 2025-05-01 09:34:21 +00:00
Update page title and add navigation links
This commit is contained in:
parent
55d559552c
commit
28226401d7
6 changed files with 45 additions and 6 deletions
|
@ -1,4 +1,4 @@
|
|||
{{template "header.tmpl"}}
|
||||
<h1> HOME </h1>
|
||||
<div class="page-title"> Home </div>
|
||||
<a href="/signin"> Signin </a>
|
||||
{{template "footer.tmpl"}}
|
||||
|
|
4
templates/navigation.tmpl
Normal file
4
templates/navigation.tmpl
Normal file
|
@ -0,0 +1,4 @@
|
|||
<div class="navigation">
|
||||
<a href="/timeline">home</a>
|
||||
<a href="/signout">sign out</a>
|
||||
</div>
|
|
@ -1,9 +1,10 @@
|
|||
{{template "header.tmpl"}}
|
||||
<h3> Signin </h3>
|
||||
<a href="/"> Home </a>
|
||||
<form action="/signin" method="post">
|
||||
<div class="page-title"> Signin </div>
|
||||
|
||||
<form class="signin-form" action="/signin" method="post">
|
||||
<input type="text" name="instance" placeholder="instance">
|
||||
<br>
|
||||
<button type="submit"> Submit </button>
|
||||
</form>
|
||||
|
||||
{{template "footer.tmpl"}}
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
{{template "header.tmpl"}}
|
||||
<h1> THREAD </h1>
|
||||
<div class="page-title"> Thread </div>
|
||||
{{template "navigation.tmpl"}}
|
||||
|
||||
{{range .Context.Ancestors}}
|
||||
{{template "status.tmpl" .}}
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
{{template "header.tmpl"}}
|
||||
<h1> TIMELINE </h1>
|
||||
<div class="page-title"> Timeline </div>
|
||||
{{template "navigation.tmpl"}}
|
||||
|
||||
<form class="timeline-post-form" action="/post" method="POST">
|
||||
<label for="post-content"> New Post </label>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue