From 746010a7573baa68f831627c5965314d96bed5d5 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Wed, 7 Aug 2019 16:05:45 +0100 Subject: apply tlsa styling improvements to about scheme query pages --- content/fetchers/about.c | 30 ++++++++++++++++++++---------- 1 file changed, 20 insertions(+), 10 deletions(-) (limited to 'content/fetchers/about.c') diff --git a/content/fetchers/about.c b/content/fetchers/about.c index 182a3b607..72f2b05a2 100644 --- a/content/fetchers/about.c +++ b/content/fetchers/about.c @@ -799,28 +799,38 @@ static bool fetch_about_query_auth_handler(struct fetch_about_context *ctx) } } + res = ssenddataf(ctx, ""); + if (res != NSERROR_OK) { + goto fetch_about_query_auth_handler_aborted; + } + res = ssenddataf(ctx, - "
" - "" - "" - "
", + "" + "" + "" + "", messages_get("Username"), username); if (res != NSERROR_OK) { goto fetch_about_query_auth_handler_aborted; } res = ssenddataf(ctx, - "
" - "" - "" - "
", + "" + "" + "" + "", messages_get("Password"), password); if (res != NSERROR_OK) { goto fetch_about_query_auth_handler_aborted; } + res = ssenddataf(ctx, "
"); + if (res != NSERROR_OK) { + goto fetch_about_query_auth_handler_aborted; + } + res = ssenddataf(ctx, "
" "