Browse Source

Merge pull request #125 from yanyiwu/master

[ui] seaweedfs logo and icon
pull/126/head
chrislusf 10 years ago
parent
commit
6e876e0582
  1. 6
      go/weed/weed_server/master_ui/templates.go
  2. 6
      go/weed/weed_server/volume_server_ui/templates.go

6
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">

6
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">

Loading…
Cancel
Save