commit c34d701

default  ·  2023-11-27 13:02:29 +0000 UTC
parent fab8b57
Revert "More minor HTML tweaks."

This reverts commit fab8b57e31bb8e5ca76d4d3b0d10f588c4273899.
1 files changed,  +29, -30
M html.c
M html.c
+29, -30
 1@@ -337,36 +337,35 @@ xs_html *html_note(snac *user, char *summary,
 2                 xs_html_tag("summary",
 3                     xs_html_text(L("Poll..."))),
 4                 xs_html_tag("p",
 5-                    xs_html_text(L("Poll options (one per line, up to 8):")),
 6-                    xs_html_sctag("br", NULL),
 7-                    xs_html_tag("textarea",
 8-                        xs_html_attr("class",    "snac-textarea"),
 9-                        xs_html_attr("name",     "poll_options"),
10-                        xs_html_attr("rows",     "4"),
11-                        xs_html_attr("wrap",     "virtual"),
12-                        xs_html_attr("placeholder", "Option 1...\nOption 2...\nOption 3...\n...")),
13-                    xs_html_tag("p", NULL),
14-                    xs_html_tag("select",
15-                        xs_html_attr("name",    "poll_multiple"),
16-                        xs_html_tag("option",
17-                            xs_html_attr("value", "off"),
18-                            xs_html_text(L("One choice"))),
19-                        xs_html_tag("option",
20-                            xs_html_attr("value", "on"),
21-                            xs_html_text(L("Multiple choices")))),
22-                    xs_html_text(" "),
23-                    xs_html_tag("select",
24-                        xs_html_attr("name",    "poll_end_secs"),
25-                        xs_html_tag("option",
26-                            xs_html_attr("value", "300"),
27-                            xs_html_text(L("End in 5 minutes"))),
28-                        xs_html_tag("option",
29-                            xs_html_attr("value", "3600"),
30-                            xs_html_attr("selected", NULL),
31-                            xs_html_text(L("End in 1 hour"))),
32-                        xs_html_tag("option",
33-                            xs_html_attr("value", "86400"),
34-                            xs_html_text(L("End in 1 day")))))));
35+                    xs_html_text(L("Poll options (one per line, up to 8):"))),
36+                xs_html_tag("textarea",
37+                    xs_html_attr("class",    "snac-textarea"),
38+                    xs_html_attr("name",     "poll_options"),
39+                    xs_html_attr("rows",     "4"),
40+                    xs_html_attr("wrap",     "virtual"),
41+                    xs_html_attr("placeholder", "Option 1...\nOption 2...\nOption 3...\n...")),
42+                xs_html_tag("p", NULL),
43+                xs_html_tag("select",
44+                    xs_html_attr("name",    "poll_multiple"),
45+                    xs_html_tag("option",
46+                        xs_html_attr("value", "off"),
47+                        xs_html_text(L("One choice"))),
48+                    xs_html_tag("option",
49+                        xs_html_attr("value", "on"),
50+                        xs_html_text(L("Multiple choices")))),
51+                xs_html_text(" "),
52+                xs_html_tag("select",
53+                    xs_html_attr("name",    "poll_end_secs"),
54+                    xs_html_tag("option",
55+                        xs_html_attr("value", "300"),
56+                        xs_html_text(L("End in 5 minutes"))),
57+                    xs_html_tag("option",
58+                        xs_html_attr("value", "3600"),
59+                        xs_html_attr("selected", NULL),
60+                        xs_html_text(L("End in 1 hour"))),
61+                    xs_html_tag("option",
62+                        xs_html_attr("value", "86400"),
63+                        xs_html_text(L("End in 1 day"))))));
64     }
65 
66     xs_html_add(form,