aboutsummaryrefslogtreecommitdiff
path: root/html.c
diff options
context:
space:
mode:
authorDHeadshot <dheadshot@hecke.rs>2024-12-31 15:59:40 +0000
committerDHeadshot <dheadshot@hecke.rs>2024-12-31 15:59:40 +0000
commit7d86e9e0de0d6878d8fbb2972d707e83afa2e106 (patch)
tree4f5b5ea5dc55cfe2dc020fe32b366d7d2e228eb4 /html.c
parentc6fc02efe8520e26eeb5e79c03b7d61ab735d898 (diff)
Added "Like" to operations for upstream branch
Diffstat (limited to 'html.c')
-rw-r--r--html.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/html.c b/html.c
index 409023d..942a217 100644
--- a/html.c
+++ b/html.c
@@ -1034,6 +1034,23 @@ xs_html *html_top_controls(snac *snac)
xs_html_attr("value", L("Boost"))),
xs_html_text(" "),
xs_html_text(L("(by URL)"))),
+ xs_html_tag("p", NULL),
+ xs_html_tag("form",
+ xs_html_attr("autocomplete", "off"),
+ xs_html_attr("method", "post"),
+ xs_html_attr("action", ops_action),
+ xs_html_sctag("input",
+ xs_html_attr("type", "text"),
+ xs_html_attr("name", "id"),
+ xs_html_attr("required", "required"),
+ xs_html_attr("placeholder", "https:/" "/fedi.example.com/bob/...")),
+ xs_html_text(" "),
+ xs_html_sctag("input",
+ xs_html_attr("type", "submit"),
+ xs_html_attr("name", "action"),
+ xs_html_attr("value", L("Like"))),
+ xs_html_text(" "),
+ xs_html_text(L("(by URL)"))),
xs_html_tag("p", NULL)));
/** user settings **/