aboutsummaryrefslogtreecommitdiff
path: root/table.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'table.tmpl')
-rw-r--r--table.tmpl20
1 files changed, 12 insertions, 8 deletions
diff --git a/table.tmpl b/table.tmpl
index 886d466..4f530a7 100644
--- a/table.tmpl
+++ b/table.tmpl
@@ -12,8 +12,7 @@ table {
}
th, td {
padding: 8px;
- border-bottom: 1px solid #ddd;
- border-right: 1px solid #ddd;
+ border: 1px solid #ddd;
}
td {
min-width: 10em;
@@ -25,8 +24,11 @@ th.side {
tr:hover {
background: #efe;
}
-.normal {
+details.version {
+ margin: 5px;
font-weight: normal;
+ max-width: 40em;
+ text-align: justify;
}
.feature {
background: #cde;
@@ -38,7 +40,7 @@ tr:hover {
border-radius: 5px;
padding: 8px;
}
-details {
+details.entry, details.feature {
max-width: 30em;
overflow-x: auto;
white-space: nowrap;
@@ -58,6 +60,7 @@ details {
{{ $top := . }}
{{ $features := .Features }}
{{ $issues := .Issues }}
+ {{ $versions := .VersionsByDate }}
<!--p>
{{ range $top.Tags }}
<button>{{ . }}</button>
@@ -69,10 +72,11 @@ details {
<th class="side"></th>
{{ range $top.TargetVersions }}
<th>
- <details>
- <summary>{{ . }}</summary>
- <div class="normal">
- TODO: more
+ <details class="version">
+ {{ $version := $versions.Get . }}
+ <summary><b>{{ . }}</b> ({{ $version.Timestamp.Format "02 Jan 06"}})</summary>
+ <div>
+ {{ $version.Description }}
</div>
</details>
</th>