diff options
Diffstat (limited to 'go')
| -rw-r--r-- | go/weed/weed_server/master_ui/templates.go | 6 | ||||
| -rw-r--r-- | go/weed/weed_server/volume_server_ui/templates.go | 6 |
2 files changed, 10 insertions, 2 deletions
diff --git a/go/weed/weed_server/master_ui/templates.go b/go/weed/weed_server/master_ui/templates.go index a4c6235ba..0e65f6a17 100644 --- a/go/weed/weed_server/master_ui/templates.go +++ b/go/weed/weed_server/master_ui/templates.go @@ -8,12 +8,16 @@ var StatusTpl = template.Must(template.New("status").Parse(`<!DOCTYPE html> <html> <head> <title>SeaweedFS {{ .Version }}</title> + <link rel="icon" href="http://7viirv.com1.z0.glb.clouddn.com/seaweed_favicon.png" sizes="32x32" /> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css"> </head> <body> <div class="container"> <div class="page-header"> - <h1>SeaweedFS <small>{{ .Version }}</small></h1> + <h1> + <img src="http://7viirv.com1.z0.glb.clouddn.com/seaweed50x50.png"></img> + SeaweedFS <small>{{ .Version }}</small> + </h1> </div> <div class="row"> diff --git a/go/weed/weed_server/volume_server_ui/templates.go b/go/weed/weed_server/volume_server_ui/templates.go index bdc3a16dc..c3db6e92a 100644 --- a/go/weed/weed_server/volume_server_ui/templates.go +++ b/go/weed/weed_server/volume_server_ui/templates.go @@ -22,6 +22,7 @@ var StatusTpl = template.Must(template.New("status").Funcs(funcMap).Parse(`<!DOC <html> <head> <title>SeaweedFS {{ .Version }}</title> + <link rel="icon" href="http://7viirv.com1.z0.glb.clouddn.com/seaweed_favicon.png" sizes="32x32" /> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css"> <script type="text/javascript" src="https://code.jquery.com/jquery-2.1.3.min.js"></script> <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jquery-sparklines/2.1.2/jquery.sparkline.min.js"></script> @@ -48,7 +49,10 @@ var StatusTpl = template.Must(template.New("status").Funcs(funcMap).Parse(`<!DOC <body> <div class="container"> <div class="page-header"> - <h1>SeaweedFS <small>{{ .Version }}</small></h1> + <h1> + <img src="http://7viirv.com1.z0.glb.clouddn.com/seaweed50x50.png"></img> + SeaweedFS <small>{{ .Version }}</small> + </h1> </div> <div class="row"> |
