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; }