Browse Source

[ui] seaweedfs logo and icon

pull/125/head
yanyiwu 10 years ago
parent
commit
3f253a587c
  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> <html>
<head> <head>
<title>SeaweedFS {{ .Version }}</title> <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"> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css">
</head> </head>
<body> <body>
<div class="container"> <div class="container">
<div class="page-header"> <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>
<div class="row"> <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> <html>
<head> <head>
<title>SeaweedFS {{ .Version }}</title> <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"> <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://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> <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> <body>
<div class="container"> <div class="container">
<div class="page-header"> <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>
<div class="row"> <div class="row">

Loading…
Cancel
Save