summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian T <julian@jtle.dk>2020-09-09 17:36:01 +0200
committerJulian T <julian@jtle.dk>2020-09-09 17:36:01 +0200
commit22b6c753c10f04886f6179bd4d40539245307732 (patch)
tree449091e3e2009733c46f75af2598d44be8658f4a
parent03ba7b4195481c7aa3ba2651ba6ba15d747b0cf1 (diff)
Collapse help and danish text
-rw-r--r--root.template104
1 files changed, 58 insertions, 46 deletions
diff --git a/root.template b/root.template
index 8dac68c..2cfbbcf 100644
--- a/root.template
+++ b/root.template
@@ -12,58 +12,70 @@
td {
padding: 0 15px
}
+
+ .help {
+ display: none;
+ }
+
+ :checked + .help {
+ display: block;
+ }
</style>
</head>
<body>
<div class="box">
- <h4>Navn format</h4>
+ <label for="dohelp">Vis hjælp</label>
+ <input type="checkbox" id="dohelp">
+ <div class="help">
+ <h4>Navn format</h4>
- <pre>$DATE/$COURSE/$MODULE/$SECTION/$PART</pre>
+ <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>
+ <table>
+ <tr>
+ <td>$DATE:</td>
+ <td>ISO Dato</td>
+ </tr>
+ <tr>
+ <td>$COURSE:</td>
+ <td>Kursus eller emne felt</td>
+ </tr>
+ <tr>
+ <td>$MODULE:</td>
+ <td>Del af kursus såsom enkelt lektion</td>
+ </tr>
+ <tr>
+ <td>$SECTION:</td>
+ <td>Del af lektion, såsom lektier eller noter</td>
+ </tr>
+ <tr>
+ <td>$PART:</td>
+ <td>Et section kan have flere sider</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>
- </tr>
- <tr>
- <td>Page</td>
- <td>P</td>
- </tr>
- <tr>
- <td>Book</td>
- <td>B[id]S[page]</td>
- </tr>
- <tr>
- <td>Notes git repo</td>
- <td>G</td>
- </tr>
- </table><br><br>
+ <p>Eksempler:</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>Lokations format</th>
+ </tr>
+ <tr>
+ <td>Papir</td>
+ <td>P</td>
+ </tr>
+ <tr>
+ <td>Bog</td>
+ <td>B[id]S[page]</td>
+ </tr>
+ <tr>
+ <td>Noter git repository</td>
+ <td>G</td>
+ </tr>
+ </table><br><br>
+ </div>
<form method="POST">
<label for="name">Name</label>
<input id="name" name="name" type="text">
@@ -75,7 +87,7 @@
<table>
<tr>
<th>Ref</th>
- <th>Name</th>
+ <th>Navn</th>
</tr>
{{ range .Notes }}
<tr>