aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorr <r@freesoftwareextremist.com>2019-12-13 20:04:28 +0000
committerr <r@freesoftwareextremist.com>2019-12-13 20:21:56 +0000
commit28226401d76ebedb39129746eaaa1613c452f0eb (patch)
tree4511fc48627475ae5fc27156fa46ccaef10717da /templates
parent55d559552c23ed8772092f7383e7700609089f62 (diff)
downloadbloat-28226401d76ebedb39129746eaaa1613c452f0eb.tar.gz
bloat-28226401d76ebedb39129746eaaa1613c452f0eb.zip
Update page title and add navigation links
Diffstat (limited to 'templates')
-rw-r--r--templates/homepage.tmpl2
-rw-r--r--templates/navigation.tmpl4
-rw-r--r--templates/signin.tmpl7
-rw-r--r--templates/thread.tmpl3
-rw-r--r--templates/timeline.tmpl3
5 files changed, 13 insertions, 6 deletions
diff --git a/templates/homepage.tmpl b/templates/homepage.tmpl
index 256bb29..63e613a 100644
--- a/templates/homepage.tmpl
+++ b/templates/homepage.tmpl
@@ -1,4 +1,4 @@
{{template "header.tmpl"}}
-<h1> HOME </h1>
+<div class="page-title"> Home </div>
<a href="/signin"> Signin </a>
{{template "footer.tmpl"}}
diff --git a/templates/navigation.tmpl b/templates/navigation.tmpl
new file mode 100644
index 0000000..ea4a213
--- /dev/null
+++ b/templates/navigation.tmpl
@@ -0,0 +1,4 @@
+<div class="navigation">
+ <a href="/timeline">home</a>
+ <a href="/signout">sign out</a>
+</div>
diff --git a/templates/signin.tmpl b/templates/signin.tmpl
index 07bc132..fc2edca 100644
--- a/templates/signin.tmpl
+++ b/templates/signin.tmpl
@@ -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"}}
diff --git a/templates/thread.tmpl b/templates/thread.tmpl
index 4d6aad0..ad312df 100644
--- a/templates/thread.tmpl
+++ b/templates/thread.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" .}}
diff --git a/templates/timeline.tmpl b/templates/timeline.tmpl
index b9ee3a5..7f3234c 100644
--- a/templates/timeline.tmpl
+++ b/templates/timeline.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>