summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian T <julian@jtle.dk>2020-09-09 17:26:11 +0200
committerJulian T <julian@jtle.dk>2020-09-09 17:26:11 +0200
commit03ba7b4195481c7aa3ba2651ba6ba15d747b0cf1 (patch)
tree9555c06cfc8fe16dfce0b587550a12d29699e56f
parentbb5d252e92176b690933c4a5cb42b4040af69cce (diff)
Better help and readability on main pageprod
-rw-r--r--root.template33
1 files changed, 32 insertions, 1 deletions
diff --git a/root.template b/root.template
index a492b7a..8dac68c 100644
--- a/root.template
+++ b/root.template
@@ -16,6 +16,37 @@
</head>
<body>
<div class="box">
+ <h4>Navn format</h4>
+
+ <pre>$DATE/$COURSE/$MODULE/$SECTION/$PART</pre>
+
+ <table>
+ <tr>
+ <td>$DATE:</td>
+ <td>ISO Date</td>
+ </tr>
+ <tr>
+ <td>$COURSE:</td>
+ <td>Course or subject name</td>
+ </tr>
+ <tr>
+ <td>$MODULE:</td>
+ <td>Index of subject, such as a single lecture</td>
+ </tr>
+ <tr>
+ <td>$SECTION:</td>
+ <td>Section of Module</td>
+ </tr>
+ <tr>
+ <td>$PART:</td>
+ <td>Document index</td>
+ </tr>
+ </table><br>
+
+ <p>Examples:</p>
+ <pre>2020-09-09/sig/mm1/noter/1
+2020-09-09/sig/mm1/noter/2
+2020-09-09/sig/mm1/opg/1</pre>
<table>
<tr>
<th>Location format</th>
@@ -48,7 +79,7 @@
</tr>
{{ range .Notes }}
<tr>
- <td>#{{ .Hash }}/{{ .Location }}</td>
+ <td style="font-family: monospace;">#{{ .Hash }}/{{ .Location }}</td>
<td>{{ .Name }}</td>
</tr>
{{ end }}