mylloon.fr/templates/contrib.html
Mylloon 9f95eb2b6b
All checks were successful
ci/woodpecker/push/publish Pipeline was successful
Rework (#35)
- Style rework
- Update dependencies to latest

Close #33
Close #34

Reviewed-on: #35
Co-authored-by: Mylloon <kennel.anri@tutanota.com>
Co-committed-by: Mylloon <kennel.anri@tutanota.com>
2023-10-15 20:58:20 +02:00

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>