aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--page.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/page.c b/page.c
index 1ce69a9..c080e95 100644
--- a/page.c
+++ b/page.c
@@ -35,7 +35,7 @@
"<header>\n" \
" <a href=\"" PROJECT_URL "\">" PROJECT_NAME "</a>, a suckless cloud\n" \
"</header>\n" \
- " <form action=\"/login\" method=\"post\">\n" \
+ " <form class=\"loginform\" action=\"/login\" method=\"post\">\n" \
" <label for=\"username\">Username:</label>\n" \
" <input type=\"text\" class=\"form-control\"\n" \
" id=\"username\" name=\"username\" autofocus><br>\n" \
@@ -1330,6 +1330,10 @@ int page_style(struct http_response *const r)
"{\n"
" padding: 4px;\n"
"}\n"
+ ".loginform\n"
+ "{\n"
+ " display: grid;\n"
+ "}\n"
"form, label, table, input\n"
"{\n"
" margin: auto;\n"