diff options
| author | yanyiwu <i@yanyiwu.com> | 2015-04-18 02:26:27 +0800 |
|---|---|---|
| committer | yanyiwu <i@yanyiwu.com> | 2015-04-18 02:26:27 +0800 |
| commit | 3f253a587ccf9532a530d34505bbff47f4fde170 (patch) | |
| tree | 9ae5cb4cc2be24815bca78d9193292ef73701138 /go | |
| parent | 382441f9ff7d1a30811504cafcec291e0bc07b7e (diff) | |
| download | seaweedfs-3f253a587ccf9532a530d34505bbff47f4fde170.tar.xz seaweedfs-3f253a587ccf9532a530d34505bbff47f4fde170.zip | |
[ui] seaweedfs logo and icon
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"> |
