{# https://github.com/jupyterhub/jupyterhub/issues/1385 #}
{# https://github.com/jupyterhub/jupyterhub/issues/1385#issuecomment-738447175 #}
{% extends "templates/login.html" %}

{% set announcement = 'We are testing customized style / The server works the same way as before' %}
{% set csusb_hub_title = 'Welcome to Cal State San Bernardino JupyterHub' %}
{% set csusb_cilogon = 'The following login process (the orange button) uses CSUSB\'s DUO login system' %}

{% block login %}
<div class="container text-center csusb">
    <h2>{{ csusb_hub_title  }}</h2>
    <h5>
        <p>{{ csusb_cilogon | safe }}</p>
        <p>Visit <a href="https://www.csusb.edu/high-performance-computing" target="_blank">CSUSB High Performance Computing Initiative</a> for more information about CSUSB HPCI 
        </p>
    </h5>
</div>
{{ super() }}
<div id="login-cilogon-info" class="service-login">
    <h5>      
    <p>Be sure to choose <ins>California State University San Bernardino</ins> on the next page instead of <del>ORCID</del>. 
    <details>
        <summary>Click here for more details</summary>
        <img src="{{ static_url("select_idp_cilogon.png") }}" alt="CILogon-CSUSB-Select">
    </details>
    </h5>
</div>
{% endblock %}

{% block stylesheet %}
{{ super() }}
<style>
#login-main{
    margin-top: 1%;
    height: 100%;
}
#login-cilogon-info{
    text-align: center;
    display: table;
    vertical-align: middle;
    margin: 1% auto auto auto;
    padding-left: 0%;
    width: 380px;
}
img {
    max-width:100%;
    height:auto;
    max-height:100%;
 }
</style>
{% endblock %}