From b08df41e666368e8812ca1b4f864d6e532ff4ab8 Mon Sep 17 00:00:00 2001 From: ache Date: Fri, 22 Feb 2019 06:08:16 +0100 Subject: Design improove --- dir.html | 23 +++++++++++++++++------ 1 file changed, 17 insertions(+), 6 deletions(-) diff --git a/dir.html b/dir.html index feff38b..592f8f5 100644 --- a/dir.html +++ b/dir.html @@ -4,12 +4,12 @@ {{if .Name}}{{ .Name }}{{end}} -

Index of {{ .Name }}


+

🦄 Index of {{ .Name }} 🌈


{{range .ListFiles}} - + {{end}}
{{ .Name }}{{ .SizePrint }}
{{ .Name }}{{ .Size | formatSize }}
@@ -25,7 +25,7 @@
- +
@@ -107,7 +107,7 @@ const onPageLoad = () => { as.forEach( e => { const a = document.createElement('a'); const td = document.createElement('td'); - a.appendChild(document.createTextNode('X')); + a.appendChild(document.createTextNode('🗙')); a.classList.add('delete'); a.href = "#"; a.onclick = () => false; @@ -126,7 +126,7 @@ window.addEventListener('load', onPageLoad, false);