summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLLLL Colonq <llll@colonq>2024-12-03 03:30:40 -0500
committerLLLL Colonq <llll@colonq>2024-12-03 03:30:40 -0500
commitcf2ccff977a661e07df371dc28dd3144e9172eb8 (patch)
treeb0a1666df9f6edd755daf027c95c0c69f5bf0272
parent11e9f419d4078a525063407c8054930b662bcef7 (diff)
These are fun
-rw-r--r--main.css12
-rw-r--r--templates/auth/index.html36
2 files changed, 24 insertions, 24 deletions
diff --git a/main.css b/main.css
index 76994ac..c37c7bb 100644
--- a/main.css
+++ b/main.css
@@ -342,9 +342,12 @@ a.lcolonq-button-link :active {
grid-template-columns: 1fr 2fr 1fr;
}
-.lcolonq-auth-box {
+.lcolonq-auth-box-outer {
grid-row: 2;
grid-column: 2;
+}
+
+.lcolonq-auth-box {
display: flex;
justify-content: center;
gap: 1rem;
@@ -358,11 +361,6 @@ a.lcolonq-button-link :active {
display: none;
}
-#lcolonq-auth-beneath {
- grid-row: 3;
- grid-column: 2;
-}
-
#lcolonq-auth-register {
font-size: 0.7rem;
color: CanvasText;
@@ -370,6 +368,8 @@ a.lcolonq-button-link :active {
}
#lcolonq-auth-error {
+ grid-row: 3;
+ grid-column: 2;
text-align: center;
color: red;
}
diff --git a/templates/auth/index.html b/templates/auth/index.html
index 67e1460..a4ff4ac 100644
--- a/templates/auth/index.html
+++ b/templates/auth/index.html
@@ -14,25 +14,25 @@ CONFIG_SUBST
</head>
<body>
<div id="lcolonq-auth-login" class="lcolonq-auth lcolonq-invisible">
- <div class="lcolonq-auth-box">
- <h1>log in</h1>
- <form id="lcolonq-auth-form">
- <div>
- <label>username:</label>
- <input id="lcolonq-auth-username" type="text">
- </div>
- <div>
- <label>password:</label>
- <input id="lcolonq-auth-password" type="password">
- </div>
- <input id="lcolonq-auth-submit" type="submit" value="log in now!!">
- </form>
- </div>
- <div id="lcolonq-auth-beneath">
- <a id="lcolonq-auth-register" href="https://api.colonq.computer/register">click here to register or reset password</a>
- <div id="lcolonq-auth-error" class="lcolonq-invisible">
- login failed. either you used the wrong credentials or something is messed up on my end :3
+ <div class="lcolonq-auth-box-outer">
+ <div class="lcolonq-auth-box">
+ <h1>log in</h1>
+ <form id="lcolonq-auth-form">
+ <div>
+ <label>username:</label>
+ <input id="lcolonq-auth-username" type="text">
+ </div>
+ <div>
+ <label>password:</label>
+ <input id="lcolonq-auth-password" type="password">
+ </div>
+ <input id="lcolonq-auth-submit" type="submit" value="log in now!!">
+ </form>
</div>
+ <a id="lcolonq-auth-register" href="https://api.colonq.computer/register">click here to register or reset password</a>
+ </div>
+ <div id="lcolonq-auth-error" class="lcolonq-invisible">
+ login failed. either you used the wrong credentials or something is messed up on my end :3
</div>
</div>
</body>