<!--
Copyright 2023 the Pinniped contributors. All Rights Reserved.
SPDX-License-Identifier: Apache-2.0

Notes:
- favicon data is from `base64 -i site/themes/pinniped/static/img/favicon.png`
- "role", "aria-*", and "alert" attributes are hints to screen readers
- Please take care when changing the HTML of this form, and test with a screen reader after changes

--><!DOCTYPE html>
<html lang="en">
<head>
    <title>Choose Identity Provider</title>
    <meta charset="UTF-8">
    <style>{{ minifiedCSS }}</style>
    <script>{{ minifiedJS }}</script>
    <link href="data:image/x-icon;base64,[encoded data, 12540 characters]"
          rel="icon" type="image/x-icon"/>
</head>
<body>
<div class="box" aria-label="choose identity provider form" role="main">
    <div class="form-field">
        <h1>Choose an identity provider to log in</h1>
    </div>
    <noscript>
        <div class="form-field">
            <ul>
                {{ range $val := .IdentityProviders }}
                    <li><a href="{{ .URL }}">{{ .DisplayName }}</a></li>
                {{ end }}
            </ul>
        </div>
    </noscript>
    <div id="choose-idp-form-buttons" hidden>
        {{ range $val := .IdentityProviders }}
            <div class="form-field">
                <button data-url="{{ .URL }}"><span>{{ .DisplayName }}</span></button>
            </div>
        {{ end }}
    </div>
</div>
</body>
</html>
