aboutsummaryrefslogtreecommitdiff
path: root/src/templates/log.html
diff options
context:
space:
mode:
Diffstat (limited to 'src/templates/log.html')
-rw-r--r--src/templates/log.html34
1 files changed, 34 insertions, 0 deletions
diff --git a/src/templates/log.html b/src/templates/log.html
new file mode 100644
index 0000000..7caa079
--- /dev/null
+++ b/src/templates/log.html
@@ -0,0 +1,34 @@
+<!DOCTYPE html>
+<html lang="en">
+ {{ > head.html.tmpl }}
+ <body>
+ {{ > header.html.tmpl }}
+ <hr />
+
+ <div id="content">
+ <table id="log">
+ <thead>
+ <tr>
+ <!-- y u not semantic? -->
+ <td><b>Date</b></td>
+ <td><b>Commit message</b></td>
+ <td><b>Author</b></td>
+ <td><b>Files</b></td>
+ <td><b>Lines</b></td>
+ </tr>
+ </thead>
+ <tbody>
+ {{ #commits }}
+ <tr>
+ <td>{{ date }}</td>
+ <td><a href="commit/{{ sha }}.html">{{ message_title }}</a></td>
+ <td>{{ author }}</td>
+ <td class="num" align="right">{{ files }}</td>
+ <td class="num" align="right"><span class="diff-removed">-{{ removed }}</span>/<span class="diff-added">+{{ added }}</span></td>
+ </tr>
+ {{ /commits }}
+ </tbody>
+ </table>
+ </div>
+ </body>
+</html>