diff options
| author | 2024-01-04 10:35:27 +0100 | |
|---|---|---|
| committer | 2024-01-04 10:35:27 +0100 | |
| commit | 2218889b43f0393c1d41be62669d3be8389a3779 (patch) | |
| tree | 0b097e241127fadafb9ba310459a1c990b01d4a6 | |
| parent | Updated copyright year. (diff) | |
| download | snac2-2218889b43f0393c1d41be62669d3be8389a3779.tar.gz snac2-2218889b43f0393c1d41be62669d3be8389a3779.tar.xz snac2-2218889b43f0393c1d41be62669d3be8389a3779.zip | |
In the people page, followers and following lists are foldable.
Diffstat (limited to '')
| -rw-r--r-- | html.c | 8 |
1 files changed, 6 insertions, 2 deletions
| @@ -1982,8 +1982,12 @@ xs_html *html_people_list(snac *snac, xs_list *list, char *header, char *t) | |||
| 1982 | xs_html_tag("h2", | 1982 | xs_html_tag("h2", |
| 1983 | xs_html_attr("class", "snac-header"), | 1983 | xs_html_attr("class", "snac-header"), |
| 1984 | xs_html_text(header)), | 1984 | xs_html_text(header)), |
| 1985 | snac_posts = xs_html_tag("div", | 1985 | snac_posts = xs_html_tag("details", |
| 1986 | xs_html_attr("class", "snac-posts"))); | 1986 | xs_html_attr("open", NULL), |
| 1987 | xs_html_tag("summary", | ||
| 1988 | xs_html_text("...")), | ||
| 1989 | xs_html_tag("div", | ||
| 1990 | xs_html_attr("class", "snac-posts")))); | ||
| 1987 | 1991 | ||
| 1988 | xs_list *p = list; | 1992 | xs_list *p = list; |
| 1989 | char *actor_id; | 1993 | char *actor_id; |