Template files
This commit is contained in:
parent
b8cc8eaec6
commit
e9bcf2a941
12
www/home.html
Normal file
12
www/home.html
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>Gitano</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<ul>
|
||||||
|
{% for project in projects %}
|
||||||
|
<li><a href="{{project.name}}/">{{ project.name }}</a></li>
|
||||||
|
{% endfor %}
|
||||||
|
</ul>
|
||||||
|
</body>
|
||||||
|
</html>
|
@ -1,11 +0,0 @@
|
|||||||
<html>
|
|
||||||
<head>
|
|
||||||
<title>Hello!</title>
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<h1>Hello local server!</h1>
|
|
||||||
<p>
|
|
||||||
We just served our own files.
|
|
||||||
</p>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
8
www/project.html
Normal file
8
www/project.html
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
<title> {{ project.name }} </title>
|
||||||
|
<body>
|
||||||
|
<ul>
|
||||||
|
{% for commit in commits %}
|
||||||
|
<li><a href="{{project.name}}/{{commit.hash}}"> {{ commit.message }} </a></li>
|
||||||
|
{% endfor %}
|
||||||
|
</ul>
|
||||||
|
</body>
|
Loading…
x
Reference in New Issue
Block a user