functional prototype: TOML settings, CLI args, templated repo output

This commit is contained in:
Trevor Bentley
2023-01-10 01:13:35 +01:00
parent 9b64c36b06
commit 1951074e8f
11 changed files with 2036 additions and 11 deletions
+21
View File
@@ -0,0 +1,21 @@
<html>
<body style="font-family: monospace;">
<table class="files">
<tr>
<th>File</th>
<th>ID</th>
<th>Type</th>
<th>Mode</th>
<th>Size</th>
</tr>
{% for file in files -%}
<tr class="file">
<td class="file-name"><a href="../{{file.kind}}/{{file.id}}.html">{{file.name}}</a></td>
<td class="file-id">{{file.id}}</td>
<td class="file-type">{{file.kind}} ({{file.is_binary}})</td>
<td class="file-mode">{{file.mode}}</td>
<td class="file-size">{{file.size}}</td>
</tr>
{% endfor -%}
</body>
</html>