From 9257cd25d212e892003d2da10de15b8f7395c9b6 Mon Sep 17 00:00:00 2001 From: Swrup Date: Sun, 29 May 2022 15:52:55 +0200 Subject: [PATCH] better input file button --- src/content/assets/css/style.css | 4 ++++ src/post_form.eml.html | 7 ++++--- src/user_profile.eml.html | 6 ++++-- 3 files changed, 12 insertions(+), 5 deletions(-) diff --git a/src/content/assets/css/style.css b/src/content/assets/css/style.css index fb66069..6cf5540 100644 --- a/src/content/assets/css/style.css +++ b/src/content/assets/css/style.css @@ -163,3 +163,7 @@ a.post-menu-link { width: auto; float: right; } + +#submit-button { + float: right; +} diff --git a/src/post_form.eml.html b/src/post_form.eml.html index 3b5fb36..78d004c 100644 --- a/src/post_form.eml.html +++ b/src/post_form.eml.html @@ -17,10 +17,11 @@ let f thread_id request = <%s! checkboxes %> - - + + +
- + % begin match thread_id with % | None -> diff --git a/src/user_profile.eml.html b/src/user_profile.eml.html index c22c93d..5086ab3 100644 --- a/src/user_profile.eml.html +++ b/src/user_profile.eml.html @@ -32,7 +32,9 @@ let f (user: User.t) request =

<%s! Dream.form_tag ~action:"/profile" ~enctype:`Multipart_form_data request %> -
- + + +
+