-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Lets use Nunjucks to render something to the user. For now we just want to list all the names of the repos.
- Loading branch information
rich
committed
Sep 5, 2024
1 parent
8c1958b
commit 778572b
Showing
2 changed files
with
47 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset="utf-8" /> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> | ||
<title>Towtruck</title> | ||
<meta name="description" content="" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1" /> | ||
<link rel="stylesheet" href="styles/styles.css" /> | ||
</head> | ||
<body> | ||
<h1>Towtruck</h1> | ||
|
||
<table> | ||
<caption> | ||
dxw's repos | ||
</caption> | ||
<thead> | ||
<tr> | ||
<th scope="col">Name</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
{% for repo in repos %} | ||
<tr> | ||
<td>{{ repo.name }}</td> | ||
</tr> | ||
{% else %} | ||
<tr> | ||
<td>No repos found</td> | ||
</tr> | ||
{% endfor %} | ||
</tbody> | ||
</table> | ||
</body> | ||
</html> |