From 906472b21d49b2263675b1dfc0f04370bbbeb39a Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Sun, 19 Aug 2018 18:42:40 -0700 Subject: [PATCH] filer add upload and drag&dorp --- weed/server/filer_ui/templates.go | 92 ++++++++++++++++++++++++++++++- 1 file changed, 90 insertions(+), 2 deletions(-) diff --git a/weed/server/filer_ui/templates.go b/weed/server/filer_ui/templates.go index c2d69156e..c1454f74c 100644 --- a/weed/server/filer_ui/templates.go +++ b/weed/server/filer_ui/templates.go @@ -15,6 +15,30 @@ var StatusTpl = template.Must(template.New("status").Funcs(funcMap).Parse(`SeaweedFS Filer +
@@ -25,15 +49,20 @@ var StatusTpl = template.Must(template.New("status").Funcs(funcMap).Parse(`
+
{{ range $entry := .Breadcrumbs }} {{ $entry.Name }} {{ end }} - + +
-
+
+
+ + {{$path := .Path }} {{ range $entry_index, $entry := .Entries }} @@ -70,6 +99,7 @@ var StatusTpl = template.Must(template.New("status").Funcs(funcMap).Parse(` + {{if .ShouldDisplayLoadMore}} @@ -81,5 +111,63 @@ var StatusTpl = template.Must(template.New("status").Funcs(funcMap).Parse(` + `))