<!--
    OpenCDE - OpenCDE Python implementation
    Copyright (C) 2021 Prabhat Singh <singh01prabhat@gmail.com>

    This file is part of OpenCDE.

    OpenCDE is free software: you can redistribute it and/or modify
    it under the terms of the GNU Lesser General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    OpenCDE is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU Lesser General Public License for more details.

    You should have received a copy of the GNU Lesser General Public License
    along with OpenCDE.  If not, see <http://www.gnu.org/licenses/>.
-->
{% extends 'base.html' %} {% block title %}{% endblock %} {% block content %}
<body class="text-center">
  <div class="container">
    <form method="POST" class="form-signin" style="color: black">
      {{ form.hidden_tag() }}
      <h1 class="h3 mb-3 font-weight-normal">Please Login</h1>
      THis is Oauth Login
      <br />
      {{ form.username.label() }} {{ form.username(class="form-control",
      placeholder="User Name") }} {{ form.password.label() }} {{
      form.password(class="form-control", placeholder="Password") }}

      <br />

      <div class="checkbox mb-3">
        <h6>Do not have an account?</h6>
        <a
          class="btn btn-sm btn-secondary"
          href="{{ url_for('foundation_obj.register_page') }}"
          >Register</a
        >
      </div>

      {{ form.submit(class="btn btn-lg btn-block btn-primary") }}
    </form>
  </div>
</body>
{% endblock %}
