This repository was archived by the owner on Apr 12, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathindex.html
More file actions
37 lines (33 loc) · 1.68 KB
/
Copy pathindex.html
File metadata and controls
37 lines (33 loc) · 1.68 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
{% extends "base.html" %}
{% block content %}
<a href="/"><img class="mb-4" src="https://www.python.org/static/community_logos/python-logo-generic.svg" alt="Python Logo" height="72"></a>
{% if gh_username and cla_result %}
<h1 class="h3 mb-3 font-weight-normal"><a href="https://github.com/{{gh_username}}">{{ gh_username }}</a></h1>
<h1 class="h3 mb-3 font-weight-normal">
{% if cla_result == 1 %}
has signed the CLA ✅
{% else %}
{% if cla_result == 2 %}
has not signed CLA ❌
{% else %}
does not have bpo account 🤷🏻
{% endif %}
{% endif %}
</h1>
{% endif %}
{% if error_message %}
<div class="alert alert-danger" role="alert">
{{ error_message }}
</div>
{% endif %}
<form class="form-checkcla" action="/" method="post" accept-charset="utf-8" enctype="application/x-www-form-urlencoded">
{% if gh_username and cla_result %}
<h1 class="h3 mb-3 font-weight-normal">Check again?</h1>
{% else %}
<h1 class="h3 mb-3 font-weight-normal">Check if you have signed Python's <a href="https://www.python.org/psf/contrib/contrib-form/">CLA</a>.</h1>
<h4>Required before we can accept your contribution to <a href="https://github.com/python/cpython">Python</a>.</h4>
{% endif %}
<input id="gh_username" name="gh_username" type="text" value="{{gh_username}}" autofocus class="form-control" placeholder="GitHub username" required/>
<input type="submit" class="btn btn-lg btn-primary btn-block" value="Check"/>
</form>
{% endblock %}