summaryrefslogtreecommitdiffhomepage
path: root/recent.tmpl
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2021-05-07 00:48:15 +0200
committerAki <please@ignore.pl>2021-05-07 00:48:15 +0200
commitc4204bab19b11e0dc498f936012010331a9828d3 (patch)
tree2b4eeb95a7efea0e650f91c06254897ea61cc0c7 /recent.tmpl
parente4134a5e2523f66b8109e6d21143c064836e6c5f (diff)
downloadfield-c4204bab19b11e0dc498f936012010331a9828d3.zip
field-c4204bab19b11e0dc498f936012010331a9828d3.tar.gz
field-c4204bab19b11e0dc498f936012010331a9828d3.tar.bz2
Added battle names to recent page
Diffstat (limited to 'recent.tmpl')
-rw-r--r--recent.tmpl14
1 files changed, 7 insertions, 7 deletions
diff --git a/recent.tmpl b/recent.tmpl
index 14b8bba..6d20a8c 100644
--- a/recent.tmpl
+++ b/recent.tmpl
@@ -12,15 +12,15 @@
<section>
<h2>Recent</h2>
-<table>
{{range .}}
- <tr>
- <td><a href="/view/{{.Id}}">{{.Id}}</a>
- <td>some wrecks
- <td>some grids
- <td>{{.LastModified.Format "January 02, 2006 15:04 UTC"}}
+<div class="recent-item">
+ <header>
+ <a href="/view/{{.Id}}">{{.Name}}</a>
+ <span class="last-modified">{{.LastModified.Format "January 02, 2006 15:04 UTC"}}</span>
+ </header>
+ <span class="id">{{.Id}}</span>
+</div>
{{end}}
-</table>
<h2>About</h2>
<p><strong>Derelict</strong> is a tool for 3D visualizations of after the battle wreckage fields for EVE Online. Main
aim of the project is to create a toolset for creators and services to present battles as 3D visualizations to their