diff options
| author | winter Sparkles | 2026-08-09 15:44:18 +0100 |
|---|---|---|
| committer | winter Sparkles | 2026-08-09 15:44:18 +0100 |
| commit | 96387025da63025894f6259f7eebed0fc6fc53ac (patch) | |
| tree | a83d73eeb7ec419b24ff78291634503d4ebceec1 /webroot | |
| parent | c8998ccdff070d7c73a634e031a041260b87c3b1 (diff) | |
implement the rest of login process incl. cookie redirects and 'next'
Diffstat (limited to 'webroot')
| -rw-r--r-- | webroot/index.php | 1 | ||||
| -rw-r--r-- | webroot/static/style.css | 17 |
2 files changed, 18 insertions, 0 deletions
diff --git a/webroot/index.php b/webroot/index.php index eda73c2..8a4be02 100644 --- a/webroot/index.php +++ b/webroot/index.php @@ -21,6 +21,7 @@ $config = parse_ini_file(__DIR__ . '/../config.ini', true, INI_SCANNER_TYPED); Psso\Session::setDsn($config, 'sqlite:' . __DIR__ . '/../data/sessions.sqlite'); require_once __DIR__ . '/../localisation.php'; +require_once __DIR__ . '/../misc.php'; Psso\XMLResponse::addStylesheet('../templates/index.xsl'); Psso\XMLResponse::addPreamble(function ($doc) use ($config) { diff --git a/webroot/static/style.css b/webroot/static/style.css index b12e886..f126140 100644 --- a/webroot/static/style.css +++ b/webroot/static/style.css @@ -75,6 +75,12 @@ main { margin: auto; background-color: var(--background); color: var(--foreground); + + &.challenge-page { + display: flex; + flex-direction: column; + align-items: center; + } } error-message { @@ -119,4 +125,15 @@ form { width: max-content; justify-self: center; } + + p { + grid-column: 1 / 3; + } +} + +challenge-separator { + &::before, &::after { + content: "—"; + padding: 0 1ex; + } } |
