redash/templates/invite.html (47 lines of code) (raw):

{% extends "layouts/signed_out.html" %} {% block title %}Welcome to Redash!{% endblock %} {% block content %} <div class="fixed-width-page"> <div class="bg-white tiled"> <div class="m-b-25"> {% if show_google_openid or show_saml_login or show_remote_user_login or show_ldap_login %} To create your account, please choose a password or login with your SSO provider. {% else %} To create your account, please choose a password. {% endif %} </div> {% with messages = get_flashed_messages() %} {% if messages %} {% for message in messages %} <div class="alert alert-danger" role="alert">{{ message }}</div> {% endfor %} {% endif %} {% endwith %} {% if show_google_openid %} <a href="{{ google_auth_url }}" class="login-button btn btn-default btn-block"> <img src="/static/images/google_logo.svg"> Login with Google </a> {% endif %} {% if show_saml_login %} <a href="{{ url_for('saml_auth.sp_initiated', org_slug=org_slug) }}" class="login-button btn btn-default btn-block">SAML Login</a> {% endif %} {% if show_remote_user_login %} <a href="{{ url_for('remote_user_auth.login') }}" class="login-button btn btn-default btn-block">Remote User Login</a> {% endif %} {% if show_ldap_login %} <a href="{{ url_for('ldap_auth.login') }}" class="login-button btn btn-default btn-block">LDAP/SSO Login</a> {% endif %} {% if show_google_openid or show_saml_login or show_remote_user_login or show_ldap_login %} <hr> {% endif %} <form role="form" method="post" name="invite"> <div class="form-group"> <label for="password">Password</label> <input type="password" class="form-control" id="password" name="password"> </div> <button type="submit" class="btn btn-primary btn-block m-t-25">Set Password</button> </form> </div> </div> {% endblock %}