mirror of
https://github.com/kanidm/kanidm.git
synced 2025-04-17 15:55:40 +02:00
* Add support for prefers-color-scheme using Bootstrap classes. * Move stylesheet changes to separate javascript file. * fix(html): don't specify the integrity hash in the tag for style.js * fix(log): debug-log integrity hashes for troubleshooting * fix(css): move to using bootstrap standard variables for colours and theming * fix(js): rewrite to simplify and use standard bootstrap functionality * fix(makefile): codespell thingie was complaining * run prettier on css/js. --------- Co-authored-by: James Hodgkinson <james@terminaloutcomes.com>
36 lines
1.2 KiB
HTML
36 lines
1.2 KiB
HTML
(% extends "base.html" %)
|
|
|
|
(% block body %)
|
|
<main id="main" class="flex-shrink-0 form-signin">
|
|
<center>
|
|
(% if domain_custom_image %)
|
|
<img src="/ui/images/domain" alt="Kanidm" class="kanidm_logo" />
|
|
(% else %)
|
|
<img src="/pkg/img/logo-square.svg" alt="Kanidm" class="kanidm_logo" />
|
|
(% endif %)
|
|
<br />
|
|
<label for="user_code" class="form-label">Please enter the code
|
|
provided to log in!</label>
|
|
<form id="login" action="/ui/oauth2/device" method="post">
|
|
<div class="input-group mb-3">
|
|
<input
|
|
autofocus=true
|
|
class="autofocus form-control"
|
|
id="user_code"
|
|
name="user_code"
|
|
type="text"
|
|
autocomplete
|
|
value="(( user_code ))"
|
|
required=true />
|
|
|
|
</div>
|
|
<div class="input-group mb-3 justify-content-md-center">
|
|
<button
|
|
type="submit"
|
|
class="btn btn-primary">Continue</button>
|
|
</div>
|
|
</form>
|
|
</center>
|
|
</main>
|
|
(% endblock %)
|