mirror of
https://forge.pointfixe.fr/hubert/gitust.git
synced 2026-02-04 10:17:28 +01:00
base
This commit is contained in:
11
templates/base.html
Normal file
11
templates/base.html
Normal 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
20
templates/git.html
Normal 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
11
templates/hello.html
Normal 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>
|
||||
Reference in New Issue
Block a user