diff options
| author | 2024-12-31 16:43:31 +0000 | |
|---|---|---|
| committer | 2024-12-31 16:43:31 +0000 | |
| commit | dc4fcd6f6c7d69c9b2e794d3c2dfb6f75bea572a (patch) | |
| tree | 4f5b5ea5dc55cfe2dc020fe32b366d7d2e228eb4 /html.c | |
| parent | Skip enqueue_output() to local users (already served by the local shared-inbox). (diff) | |
| parent | Added "Like" to operations for upstream branch (diff) | |
| download | snac2-dc4fcd6f6c7d69c9b2e794d3c2dfb6f75bea572a.tar.gz snac2-dc4fcd6f6c7d69c9b2e794d3c2dfb6f75bea572a.tar.xz snac2-dc4fcd6f6c7d69c9b2e794d3c2dfb6f75bea572a.zip | |
Merge pull request 'Added "Like" to operations (for upstream)' (#260) from dheadshot/snac2-dhfork:upstreambranch into master
Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/260
Diffstat (limited to 'html.c')
| -rw-r--r-- | html.c | 17 |
1 files changed, 17 insertions, 0 deletions
| @@ -1034,6 +1034,23 @@ xs_html *html_top_controls(snac *snac) | |||
| 1034 | xs_html_attr("value", L("Boost"))), | 1034 | xs_html_attr("value", L("Boost"))), |
| 1035 | xs_html_text(" "), | 1035 | xs_html_text(" "), |
| 1036 | xs_html_text(L("(by URL)"))), | 1036 | xs_html_text(L("(by URL)"))), |
| 1037 | xs_html_tag("p", NULL), | ||
| 1038 | xs_html_tag("form", | ||
| 1039 | xs_html_attr("autocomplete", "off"), | ||
| 1040 | xs_html_attr("method", "post"), | ||
| 1041 | xs_html_attr("action", ops_action), | ||
| 1042 | xs_html_sctag("input", | ||
| 1043 | xs_html_attr("type", "text"), | ||
| 1044 | xs_html_attr("name", "id"), | ||
| 1045 | xs_html_attr("required", "required"), | ||
| 1046 | xs_html_attr("placeholder", "https:/" "/fedi.example.com/bob/...")), | ||
| 1047 | xs_html_text(" "), | ||
| 1048 | xs_html_sctag("input", | ||
| 1049 | xs_html_attr("type", "submit"), | ||
| 1050 | xs_html_attr("name", "action"), | ||
| 1051 | xs_html_attr("value", L("Like"))), | ||
| 1052 | xs_html_text(" "), | ||
| 1053 | xs_html_text(L("(by URL)"))), | ||
| 1037 | xs_html_tag("p", NULL))); | 1054 | xs_html_tag("p", NULL))); |
| 1038 | 1055 | ||
| 1039 | /** user settings **/ | 1056 | /** user settings **/ |