commit 7d86e9e
DHeadshot
·
2024-12-31 15:59:40 +0000 UTC
parent c6fc02e
Added "Like" to operations for upstream branch
1 files changed,
+17,
-0
M
html.c
M
html.c
+17,
-0
1@@ -1034,6 +1034,23 @@ xs_html *html_top_controls(snac *snac)
2 xs_html_attr("value", L("Boost"))),
3 xs_html_text(" "),
4 xs_html_text(L("(by URL)"))),
5+ xs_html_tag("p", NULL),
6+ xs_html_tag("form",
7+ xs_html_attr("autocomplete", "off"),
8+ xs_html_attr("method", "post"),
9+ xs_html_attr("action", ops_action),
10+ xs_html_sctag("input",
11+ xs_html_attr("type", "text"),
12+ xs_html_attr("name", "id"),
13+ xs_html_attr("required", "required"),
14+ xs_html_attr("placeholder", "https:/" "/fedi.example.com/bob/...")),
15+ xs_html_text(" "),
16+ xs_html_sctag("input",
17+ xs_html_attr("type", "submit"),
18+ xs_html_attr("name", "action"),
19+ xs_html_attr("value", L("Like"))),
20+ xs_html_text(" "),
21+ xs_html_text(L("(by URL)"))),
22 xs_html_tag("p", NULL)));
23
24 /** user settings **/