|
@ -21,9 +21,11 @@ var funcMap = template.FuncMap{ |
|
|
var StatusTpl = template.Must(template.New("status").Funcs(funcMap).Parse(`<!DOCTYPE html> |
|
|
var StatusTpl = template.Must(template.New("status").Funcs(funcMap).Parse(`<!DOCTYPE html> |
|
|
<html> |
|
|
<html> |
|
|
<head> |
|
|
<head> |
|
|
<title>SeaweedFS Filer</title> |
|
|
|
|
|
<link rel="stylesheet" href="/seaweedfsstatic/bootstrap/3.3.1/css/bootstrap.min.css"> |
|
|
|
|
|
|
|
|
<title>SeaweedFS Filer</title> |
|
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1"> |
|
|
|
|
|
<link rel="stylesheet" href="/seaweedfsstatic/bootstrap/3.3.1/css/bootstrap.min.css"> |
|
|
<style> |
|
|
<style> |
|
|
|
|
|
body { padding-bottom: 70px; } |
|
|
#drop-area { |
|
|
#drop-area { |
|
|
border: 1px transparent; |
|
|
border: 1px transparent; |
|
|
} |
|
|
} |
|
@ -46,6 +48,11 @@ var StatusTpl = template.Must(template.New("status").Funcs(funcMap).Parse(`<!DOC |
|
|
#fileElem { |
|
|
#fileElem { |
|
|
display: none; |
|
|
display: none; |
|
|
} |
|
|
} |
|
|
|
|
|
.qrImage { |
|
|
|
|
|
display: block; |
|
|
|
|
|
margin-left: auto; |
|
|
|
|
|
margin-right: auto; |
|
|
|
|
|
} |
|
|
</style> |
|
|
</style> |
|
|
</head> |
|
|
</head> |
|
|
<body> |
|
|
<body> |
|
@ -116,6 +123,14 @@ var StatusTpl = template.Must(template.New("status").Funcs(funcMap).Parse(`<!DOC |
|
|
</a> |
|
|
</a> |
|
|
</div> |
|
|
</div> |
|
|
{{end}} |
|
|
{{end}} |
|
|
|
|
|
|
|
|
|
|
|
<br/> |
|
|
|
|
|
<br/> |
|
|
|
|
|
|
|
|
|
|
|
<div class="navbar navbar-fixed-bottom"> |
|
|
|
|
|
<img src="data:image/png;base64,{{.QrImage}}" class="qrImage" /> |
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
</div> |
|
|
</div> |
|
|
</body> |
|
|
</body> |
|
|
<script type="text/javascript"> |
|
|
<script type="text/javascript"> |
|
|