summaryrefslogtreecommitdiff
path: root/html.c
diff options
context:
space:
mode:
authorYonle <yonle@lecturify.net>2023-07-16 23:01:05 +0700
committerYonle <yonle@lecturify.net>2023-07-17 18:33:15 +0700
commitfe0d8207953a10bc3eff345f01a7e164d51cf2da (patch)
tree024b8cf7feacf90b91f83ac03fa9f63669e1c83a /html.c
parente6d5ce2654e36f94aa8938048310cf5361ecd274 (diff)
html.c / UX: Give admin page more space
Signed-off-by: Yonle <yonle@lecturify.net>
Diffstat (limited to 'html.c')
-rw-r--r--html.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/html.c b/html.c
index e4703d1..72aa782 100644
--- a/html.c
+++ b/html.c
@@ -392,6 +392,7 @@ d_char *html_top_controls(snac *snac, d_char *s)
"<div class=\"snac-top-controls\">\n"
"<div class=\"snac-note\">\n"
+ "<details><summary>%s</summary>\n"
"<form autocomplete=\"off\" method=\"post\" "
"action=\"%s/admin/note\" enctype=\"multipart/form-data\">\n"
"<textarea class=\"snac-textarea\" name=\"content\" "
@@ -425,6 +426,7 @@ d_char *html_top_controls(snac *snac, d_char *s)
"<p><input type=\"submit\" class=\"button\" value=\"%s\">\n"
"</form><p>\n"
"</div>\n"
+ "</details>\n"
"<div class=\"snac-top-controls-more\">\n"
"<details><summary>%s</summary>\n"
@@ -528,6 +530,7 @@ d_char *html_top_controls(snac *snac, d_char *s)
xs *es6 = encode_html(purge_days);
xs *s1 = xs_fmt(_tmpl,
+ L("New Post..."),
snac->actor,
L("Sensitive content"),
L("Sensitive content description"),
@@ -547,7 +550,7 @@ d_char *html_top_controls(snac *snac, d_char *s)
L("Post"),
- L("More options..."),
+ L("Preferences..."),
snac->actor,
L("Follow"), L("(by URL or user@host)"),
@@ -555,7 +558,7 @@ d_char *html_top_controls(snac *snac, d_char *s)
snac->actor,
L("Boost"), L("(by URL)"),
- L("User settings...."),
+ L("User Settings"),
snac->actor,
L("Display name"),
es1,