html.c: Put "User Settings" outside of "Operations".

Signed-off-by: Yonle <yonle@lecturify.net>
This commit is contained in:
Yonle 2023-07-24 23:13:13 +07:00
parent 25bb8f0dd2
commit 3c1dc419ea

6
html.c
View file

@ -440,6 +440,7 @@ d_char *html_top_controls(snac *snac, d_char *s)
"<input type=\"text\" name=\"id\" required=\"required\" placeholder=\"https://fedi.example.com/bob/....\">\n"
"<input type=\"submit\" name=\"action\" value=\"%s\"> %s\n"
"</form><p>\n"
"</details>\n"
"<details><summary>%s</summary>\n"
@ -484,7 +485,6 @@ d_char *html_top_controls(snac *snac, d_char *s)
"</div>\n"
"</details>\n"
"</details>\n"
"</div>\n"
"</div>\n";
@ -550,7 +550,7 @@ d_char *html_top_controls(snac *snac, d_char *s)
L("Post"),
L("Preferences..."),
L("Operations..."),
snac->actor,
L("Follow"), L("(by URL or user@host)"),
@ -558,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,