diff options
author | Vincent Sanders <vince@kyllikki.org> | 2019-08-06 10:07:02 +0100 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2019-08-06 10:07:35 +0100 |
commit | 6a1c64ff7b45dd830bfdb5e1295830b75c531f61 (patch) | |
tree | 76d8b13ed9b7429d268724422b581338a374fbe3 /content/fetchers | |
parent | ea549da8df0ab4ebed2b1f79cd215ac2bd0918e2 (diff) | |
download | netsurf-6a1c64ff7b45dd830bfdb5e1295830b75c531f61.tar.gz netsurf-6a1c64ff7b45dd830bfdb5e1295830b75c531f61.tar.bz2 |
improve css formatting in about scheme query handlers
Diffstat (limited to 'content/fetchers')
-rw-r--r-- | content/fetchers/about.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/content/fetchers/about.c b/content/fetchers/about.c index b922708a9..2cbb60407 100644 --- a/content/fetchers/about.c +++ b/content/fetchers/about.c @@ -737,6 +737,9 @@ static bool fetch_about_query_auth_handler(struct fetch_about_context *ctx) "<h1>%s</h1>\n", title, title); + slen += snprintf(buffer + slen, sizeof(buffer) - slen, + "<form method=\"post\" enctype=\"multipart/form-data\">"); + res = get_login_description(siteurl, realm, username, @@ -749,8 +752,6 @@ static bool fetch_about_query_auth_handler(struct fetch_about_context *ctx) free(description); } - slen += snprintf(buffer + slen, sizeof(buffer) - slen, - "<form method=\"post\" enctype=\"multipart/form-data\">"); slen += snprintf(buffer + slen, sizeof(buffer) - slen, "<div>" @@ -769,7 +770,7 @@ static bool fetch_about_query_auth_handler(struct fetch_about_context *ctx) messages_get("Password"), password); slen += snprintf(buffer + slen, sizeof(buffer) - slen, - "<div>" + "<div align=\"right\">" "<input type=\"submit\" id=\"cancel\" name=\"cancel\" " "value=\"%s\">" "<input type=\"submit\" id=\"login\" name=\"login\" " |