From 1c85875db40378d563384a2bbee81548b4fab8f2 Mon Sep 17 00:00:00 2001 From: Cory McWilliams Date: Mon, 2 May 2016 12:31:51 +0000 Subject: [PATCH] Fix problems reported by https://validator.w3.org/. git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3229 ed5197a5-7fde-0310-b194-c3ffbd925b24 --- core/auth.html | 4 ++-- core/auth.js | 18 +++++++++--------- core/edit.html | 14 +++++++------- core/index.html | 6 +++--- core/style.css | 2 +- 5 files changed, 22 insertions(+), 22 deletions(-) diff --git a/core/auth.html b/core/auth.html index 6a7de194..5b10eb3f 100644 --- a/core/auth.html +++ b/core/auth.html @@ -7,8 +7,8 @@ document.getElementById("confirmPassword").style.display = document.getElementById("register").checked ? "block" : "none"; } - - + + diff --git a/core/auth.js b/core/auth.js index 20504f20..5c40c487 100644 --- a/core/auth.js +++ b/core/auth.js @@ -190,25 +190,25 @@ function authHandler(request, response) { if (noAdministrator()) { contents += '
There is currently no administrator. You will be made administrator.
\n'; } - contents += '
\n'; - contents += '
\n'; - contents += '\n'; - contents += '
\n'; - contents += '
\n'; + contents += '
\n'; + contents += '
\n'; + contents += '\n'; + contents += '
\n'; + contents += '
\n'; contents += ''; - contents += '
- or -
'; + contents += '
- or -
'; if (gGlobalSettings && gGlobalSettings['google-signin-client_id']) { contents += '
'; - contents += '
- or -
'; + contents += '
- or -
'; } contents += '
\n'; - contents += '\n'; + contents += '\n'; contents += '
\n'; contents += '\n'; contents += ''; } var text = html.replace("", contents); - response.writeHead(200, {"Content-Type": "text/html; charset=utf-6", "Set-Cookie": cookie, "Content-Length": text.length}); + response.writeHead(200, {"Content-Type": "text/html; charset=utf-8", "Set-Cookie": cookie, "Content-Length": text.length}); response.end(text); } } else if (request.uri == "/login/logout") { diff --git a/core/edit.html b/core/edit.html index c1725e9d..a84b3b25 100644 --- a/core/edit.html +++ b/core/edit.html @@ -10,14 +10,14 @@ - - - - + + + + - + - + diff --git a/core/index.html b/core/index.html index c55b41ac..97576048 100644 --- a/core/index.html +++ b/core/index.html @@ -2,8 +2,8 @@ Tilde Friends - - + + @@ -23,7 +23,7 @@
> - +
diff --git a/core/style.css b/core/style.css index 262ca684..180cbf2f 100644 --- a/core/style.css +++ b/core/style.css @@ -151,7 +151,7 @@ a:active, .command:active { text-align: right; } -#auth_or { +.auth_or { flex: 0 1 auto; padding: 1em; }