From d15180e9dcd540d5850fa0319a7614620075eaea Mon Sep 17 00:00:00 2001 From: Ben Morrison Date: Thu, 23 May 2019 01:07:29 -0400 Subject: index page layout tweaks --- assets/style.css | 9 +++++---- assets/tmpl/index.html | 10 ++++++---- 2 files changed, 11 insertions(+), 8 deletions(-) diff --git a/assets/style.css b/assets/style.css index 7d314f1..4e6dc54 100644 --- a/assets/style.css +++ b/assets/style.css @@ -17,8 +17,8 @@ font-size: 2.0em; font-family: monospace; margin-top: -2rem; - padding-right: 10rem; - padding-bottom: 1.0rem; + padding-right: 0rem; + padding-bottom: 0rem; } #body { @@ -26,8 +26,9 @@ } #info { - font-size: 0.9em; - padding-top: 1rem; + font-size: 1.0em; + margin-top: -2.0rem; + padding-bottom: 2rem; } #foot { diff --git a/assets/tmpl/index.html b/assets/tmpl/index.html index a8f7484..56fdf96 100644 --- a/assets/tmpl/index.html +++ b/assets/tmpl/index.html @@ -15,6 +15,12 @@
twtxt registry
+
+ Instance Owner:
+ {{.Owner}}
+ Mail:
+ {{.Mail}}
+

{{.Desc}}

API base URL:

@@ -51,10 +57,6 @@ foo_barrington https://example3.com/twtxt.txt 2018-11-21T18:31:00.000Z

Add new user by submitting a POST request. If both variables are not used, or the user already exists in this registry, the server will respond with 400 Bad Request

$ curl -X POST '{{.URL}}/api/plain/users?url=https://example3.com/twtxt.txt&nickname=foo_barrington'
 200 OK
-
-
- Instance Owner: {{.Owner}}
- Mail: {{.Mail}}