From dab14c5d1570f44071bb278bc19e7623dcba35f7 Mon Sep 17 00:00:00 2001 From: Dimitri Sokolyuk Date: Wed, 24 Feb 2016 11:20:10 +0100 Subject: Format tables --- assets/css/style.css | 9 +++++++++ tmpl/index | 9 +++++++-- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/assets/css/style.css b/assets/css/style.css index f3222e3..6b34512 100644 --- a/assets/css/style.css +++ b/assets/css/style.css @@ -42,3 +42,12 @@ header p { font-weight: bold; color: #F50; } +td { + padding: 0 1em; +} +tr:nth-child(even) { + background: #FFF; +} +tr:nth-child(odd) { + background: #EEE; +} diff --git a/tmpl/index b/tmpl/index index 7a4eba5..e69a07d 100644 --- a/tmpl/index +++ b/tmpl/index @@ -1,12 +1,17 @@ {{define "title"}}Index{{end}} {{define "content"}} + + + + + {{range .Pages}} - + - + {{end}}
PageLast changedSize
{{.Name}} {{.ModTime.Format "2006 Jan 2 15:04"}} {{.Size}} bytes
{{end}} -- cgit v1.2.3