Update page title and add navigation links
authorr <r@freesoftwareextremist.com>
Fri, 13 Dec 2019 20:04:28 +0000 (20:04 +0000)
committerr <r@freesoftwareextremist.com>
Fri, 13 Dec 2019 20:21:56 +0000 (20:21 +0000)
static/main.css
templates/homepage.tmpl
templates/navigation.tmpl [new file with mode: 0644]
templates/signin.tmpl
templates/thread.tmpl
templates/timeline.tmpl

index b415ae5236cac1c7155b5040a467903ffd06c083..e81de2a74c554de36cda1089ca7423f7bbd5bd1b 100644 (file)
@@ -36,6 +36,7 @@
 
 .status-emoji {
        height: 20px;
+       margin-bottom: -4px;
        witdth: auto;
 }
 
@@ -46,6 +47,7 @@
 
 .status-action {
        display: flex;
+       margin-top: 4px;
 }
 
 .status-action a {
 .icon.dripicons-retweet.retweeted {
        color: green;
 }
+
+.status-image,
+.status-video {
+       max-height: 180px;
+       width: auto;
+}
+
+.page-title {
+       font-size: 23pt;
+}
+
+.navigation {
+       margin: 4px 0;
+}
+
+.navigation a {
+       margin-right: 8px;
+}
+
+.timeline-post-form {
+       margin: 8px 0;
+}
+
+.signin-form {
+       margin: 8px 0;
+}
+
+.signin-form input {
+       margin: 4px 0;
+}
index 256bb294f8a2dea685c6f7a6155a961acf90f995..63e613a54a0de4c9b32bbfe166b199db3114bece 100644 (file)
@@ -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 (file)
index 0000000..ea4a213
--- /dev/null
@@ -0,0 +1,4 @@
+<div class="navigation">
+       <a href="/timeline">home</a>
+       <a href="/signout">sign out</a>
+</div>
index 07bc132382540756eada9fd5e927544289fd8691..fc2edcafd80b1002ff3794832d7a81a24eefac83 100644 (file)
@@ -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"}}
index 4d6aad0cb6a6075fb0653b544ef92d162ff3f045..ad312dfea9a39fd16e4df7b0893cbba1357e5c7f 100644 (file)
@@ -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" .}}
index b9ee3a5f8631df668a3c2e4e2fca30a1459db47b..7f3234c6ef4a3f21bf49c783b5378bf6681fda9d 100644 (file)
@@ -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>