mirror of
https://github.com/kanidm/kanidm.git
synced 2025-04-18 00:05:39 +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>
24 lines
575 B
HTML
24 lines
575 B
HTML
(% extends "login_base.html" %)
|
|
|
|
(% block logincontainer %)
|
|
<div class="container">
|
|
<p>Choose how to proceed:</p>
|
|
</div>
|
|
<div class="container">
|
|
<ul class="list-unstyled">
|
|
(% for mech in mechs %)
|
|
<li class="text-center mb-2">
|
|
<form id="login" action="/ui/login/mech_choose" method="post">
|
|
<input type="hidden" id="mech" name="mech" value="(( mech.value ))" />
|
|
<button
|
|
(% if mech.autofocus %)autofocus(% endif %)
|
|
type="submit"
|
|
class="btn btn-primary"
|
|
>(( mech.name ))</button>
|
|
</form>
|
|
</li>
|
|
(% endfor %)
|
|
</ul>
|
|
</div>
|
|
(% endblock %)
|