-
Notifications
You must be signed in to change notification settings - Fork 45
Expand file tree
/
Copy pathgamification.html
More file actions
51 lines (51 loc) · 2.08 KB
/
gamification.html
File metadata and controls
51 lines (51 loc) · 2.08 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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
<title>Newcomers Data</title>
</head>
<body>
{% include 'ribbon.html' %}
<h1>The gamification leaderboard</h1>
<p>Note: All the datetime is in UTC</p>
<hr>
<ul>
{% for participant in participants %}
<div class="container">
<div class="row">
<div class="col-sm-6 col-md-4">
<div class="thumbnail">
<div class="caption">
<p>Username: {{ participant.username }}</p>
<p><a href="//github.com/{{ participant.username }}">
GitHub Profile</a></p>
<p><a href="//gitlab.com/{{ participant.username }}">
GitLab Profile</a></p>
<p><a href="//www.openhub.net/accounts/{{ participant.username }}">OpenHub Profile</a></p>
<p>Score: {{ participant.score }}</p>
<p>Level: {{ participant.level.name }}</p>
<p>Activities Performed:
{% for activity in participant.activities.all %}
<p>{{ forloop.counter }}. {{ activity.name }}, performed_at:
{{ activity.performed_at }} updated_at: {{ activity.updated_at }}
</p>
{% endfor %}{# for activity in participant.activities.all #}
<p>Badges Earned:
{% for badge in participant.badges.all %}
<p>{{ forloop.counter }}.{{ badge.name }}</p>
{% endfor %}{# for badge in participant.badges.all #}
</p>
</div>
</div>
</div>
</div>
</div>
<hr>
{% endfor %}{# for participant in participants #}
</ul>
</body>
</html>