Re-do a bunch of the styles for the Nethack page
This commit is contained in:
parent
9e11021ae3
commit
5606feeca1
6 changed files with 38 additions and 28 deletions
|
@ -3,6 +3,8 @@
|
|||
{{ range $nethack_data }}
|
||||
{{ $logfile = $logfile | append .logfile }}
|
||||
{{ end }}
|
||||
<div class="logentry">
|
||||
<ol class="logfile">
|
||||
<li>
|
||||
{{ partial "nethack/logentry.html" (index (sort $logfile "score" "desc") 0) }}
|
||||
</div>
|
||||
</li>
|
||||
</ol>
|
||||
|
|
|
@ -4,11 +4,11 @@
|
|||
{{ $logfile = $logfile | append .logfile }}
|
||||
{{ end }}
|
||||
<ol class="logfile">
|
||||
{{ range first 10 (sort $logfile "end_date" "desc") }}
|
||||
{{ range sort $logfile "end_date" "desc" }}
|
||||
{{ if ne .death.cause "quit" }}
|
||||
<li class="logentry">
|
||||
<li>
|
||||
{{ partial "nethack/logentry.html" .}}
|
||||
</li>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</ol>
|
||||
</ol>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue