72 lines
1.6 KiB
HTML
72 lines
1.6 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="fr">
|
|
<head dir="ltr">
|
|
{{>head.html}}
|
|
<link rel="stylesheet" href="/css/contrib.css" />
|
|
</head>
|
|
<body>
|
|
<header>{{>navbar.html}}</header>
|
|
{{#data}}
|
|
<main>
|
|
<h1>Mes contributions GitHub</h1>
|
|
{{#error}}
|
|
<p>GitHub ne veut pas que tu vois ces informations...</p>
|
|
{{/error}} {{^error}}
|
|
|
|
<!-- Add URL of projects repo to projects title? -->
|
|
{{#projects}}
|
|
<h2>{{name}}</h2>
|
|
<ul>
|
|
{{#pulls_merged}}
|
|
<li>
|
|
<!-- prettier-ignore -->
|
|
<p>
|
|
<a
|
|
href="{{url}} "
|
|
target="_blank"
|
|
rel="noreferrer"
|
|
title="{{title}} "
|
|
>#{{id}}</a></p>
|
|
</li>
|
|
|
|
{{/pulls_merged}}
|
|
</ul>
|
|
{{/projects}}
|
|
|
|
<h1>En attente</h1>
|
|
<ul>
|
|
{{#waiting}} {{#pulls_open}}
|
|
<li>
|
|
<!-- prettier-ignore -->
|
|
<p>
|
|
<a
|
|
href="{{url}} "
|
|
target="_blank"
|
|
rel="noreferrer"
|
|
title="{{title}} "
|
|
>{{name_repo}}#{{id}}</a
|
|
></p>
|
|
</li>
|
|
{{/pulls_open}} {{/waiting}}
|
|
</ul>
|
|
|
|
<h1>Non mergées</h1>
|
|
<ul>
|
|
{{#closed}} {{#pulls_closed}}
|
|
<li>
|
|
<!-- prettier-ignore -->
|
|
<p>
|
|
<a
|
|
href="{{url}} "
|
|
target="_blank"
|
|
rel="noreferrer"
|
|
title="{{title}} "
|
|
>{{name_repo}}#{{id}}</a
|
|
></p>
|
|
</li>
|
|
{{/pulls_closed}} {{/closed}}
|
|
</ul>
|
|
</main>
|
|
{{/error}} {{/data}}
|
|
</body>
|
|
</html>
|