From dbe33236fb57715a5ce9b86df43ebd93dd2494d2 Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Sun, 7 Oct 2018 21:42:57 -0700 Subject: [PATCH] embed static resources via statik --- weed/server/filer_ui/templates.go | 5 ++--- weed/server/master_ui/templates.go | 3 +-- weed/server/volume_server_ui/templates.go | 7 +++---- weed/static/bootstrap/3.3.1/css/bootstrap.min.css | 5 +++++ weed/static/images/folder.gif | Bin 0 -> 80 bytes weed/static/javascript/jquery-2.1.3.min.js | 4 ++++ .../2.1.2/jquery.sparkline.min.js | 5 +++++ weed/statik/statik.go | 2 +- 8 files changed, 21 insertions(+), 10 deletions(-) create mode 100644 weed/static/bootstrap/3.3.1/css/bootstrap.min.css create mode 100644 weed/static/images/folder.gif create mode 100644 weed/static/javascript/jquery-2.1.3.min.js create mode 100644 weed/static/javascript/jquery-sparklines/2.1.2/jquery.sparkline.min.js diff --git a/weed/server/filer_ui/templates.go b/weed/server/filer_ui/templates.go index aad838bf3..a8afde879 100644 --- a/weed/server/filer_ui/templates.go +++ b/weed/server/filer_ui/templates.go @@ -13,8 +13,7 @@ var StatusTpl = template.Must(template.New("status").Funcs(funcMap).Parse(` SeaweedFS Filer - - +