This commit is contained in:
2021-07-01 06:52:04 +02:00
parent baf85e997c
commit dcae2950e3
7 changed files with 399 additions and 0 deletions

11
templates/base.html Normal file
View File

@@ -0,0 +1,11 @@
<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8">
<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">
<title>{{repo}}</title>
</head>
<body>
{% block content %}{% endblock %}
</body>
</html>

20
templates/git.html Normal file
View File

@@ -0,0 +1,20 @@
{% extends "base.html" %}
{% block content %}
{% for (dir, prev) in root %}/<a href="{{prev}}">{{dir}}</a>{% endfor %}
<ul>
{% for entry in browse %}
<li>{{ entry }}</li>
{% endfor %}
</ul>
<div class="w3-container w3-raw w3-center">
<div class="w3-col m3 w3-center"><p></p></div>
<div class="w3-col m6 w3-left-align">
<div class="w3-container w3-amber w3-round w3-margin">
<h1>{{user}}/{{repo}}</h1>
</div>
</div>
</div>
{% endblock %}

11
templates/hello.html Normal file
View File

@@ -0,0 +1,11 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
</head>
<p>Bonjour {{name}} ! Ceci est un paragraphe</p>
<body>
</body>
</html>