From ea943e89b0ec566cb2aa31b3572f2a7b86dd4908 Mon Sep 17 00:00:00 2001 From: Stefan Bethke Date: Tue, 17 Jun 2025 08:51:49 +0200 Subject: [PATCH] Beautify --- buba/static/main.css | 11 +++++++++++ buba/templates/home.html.j2 | 11 +++++++++++ 2 files changed, 22 insertions(+) diff --git a/buba/static/main.css b/buba/static/main.css index 05bdb37..458f158 100644 --- a/buba/static/main.css +++ b/buba/static/main.css @@ -33,12 +33,23 @@ svg.geavision__row { .info-form__row { display: flex; + padding: 2px 0; } .info-form__field { display: flex; flex-direction: column; + padding: 0 1em 0 0; } + .info-form__field * { display: block; +} + +.info-form__field label { + font-size: 0.9em; +} + +.info-form__field input { + font-size: 1.1em; } \ No newline at end of file diff --git a/buba/templates/home.html.j2 b/buba/templates/home.html.j2 index 1623adb..b729ab6 100644 --- a/buba/templates/home.html.j2 +++ b/buba/templates/home.html.j2 @@ -29,5 +29,16 @@ +

Submitting info via REST

+

You can also submit your info via a PUT to https://buba.ccchh.net/user-entry, with a JSON body like this:

+
+{
+    "title": "My great info",
+    "rows": [
+        ["line 1 info", "123"],
+        ["line 2 info", "23:42"]
+    ]
+}
+    
{% endblock %}