web/static.go

311 lines
32 KiB
Go
Raw Normal View History

2016-02-12 21:41:05 -08:00
// Code generated by go-bindata.
// sources:
// static/css/sm.css
// static/favicon.ico
// static/img/smcquay.png
// static/index.html
// DO NOT EDIT!
2015-02-09 23:10:53 -08:00
package web
import (
"bytes"
"compress/gzip"
"fmt"
"io"
"io/ioutil"
2016-02-12 21:41:05 -08:00
"os"
2015-02-09 23:10:53 -08:00
"path/filepath"
2016-02-12 21:41:05 -08:00
"strings"
"time"
2015-02-09 23:10:53 -08:00
)
2016-02-12 21:41:05 -08:00
func bindataRead(data []byte, name string) ([]byte, error) {
2015-02-09 23:10:53 -08:00
gz, err := gzip.NewReader(bytes.NewBuffer(data))
if err != nil {
return nil, fmt.Errorf("Read %q: %v", name, err)
}
var buf bytes.Buffer
_, err = io.Copy(&buf, gz)
2016-02-12 21:41:05 -08:00
clErr := gz.Close()
2015-02-09 23:10:53 -08:00
if err != nil {
return nil, fmt.Errorf("Read %q: %v", name, err)
}
2016-02-12 21:41:05 -08:00
if clErr != nil {
return nil, err
}
2015-02-09 23:10:53 -08:00
return buf.Bytes(), nil
}
type asset struct {
bytes []byte
info os.FileInfo
}
2016-02-12 21:41:05 -08:00
type bindataFileInfo struct {
name string
size int64
mode os.FileMode
2015-02-09 23:10:53 -08:00
modTime time.Time
}
2016-02-12 21:41:05 -08:00
func (fi bindataFileInfo) Name() string {
2015-02-09 23:10:53 -08:00
return fi.name
}
2016-02-12 21:41:05 -08:00
func (fi bindataFileInfo) Size() int64 {
2015-02-09 23:10:53 -08:00
return fi.size
}
2016-02-12 21:41:05 -08:00
func (fi bindataFileInfo) Mode() os.FileMode {
2015-02-09 23:10:53 -08:00
return fi.mode
}
2016-02-12 21:41:05 -08:00
func (fi bindataFileInfo) ModTime() time.Time {
2015-02-09 23:10:53 -08:00
return fi.modTime
}
2016-02-12 21:41:05 -08:00
func (fi bindataFileInfo) IsDir() bool {
2015-02-09 23:10:53 -08:00
return false
}
2016-02-12 21:41:05 -08:00
func (fi bindataFileInfo) Sys() interface{} {
2015-02-09 23:10:53 -08:00
return nil
}
2016-02-12 21:41:05 -08:00
var _staticCssSmCss = []byte("\x1f\x8b\x08\x00\x00\x09\x6e\x88\x00\xff\x7c\x90\x51\xce\xd3\x30\x10\x84\xdf\x73\x0a\x4b\x7d\xe8\x5f\x41\xda\x90\x56\x28\xb8\x42\x54\x42\x1c\xc4\xb5\x9d\x74\x85\xed\x8d\xec\x4d\x69\x41\xbd\x3b\x4e\xe3\x84\x34\x20\xfc\xb8\x33\xeb\xf9\x76\x4e\x60\x5b\xf4\xc4\x3a\x6f\xde\x2e\x44\x2d\xdf\xed\x6a\x74\x14\xb6\x0d\x62\x63\xb4\x68\x21\x6c\x25\xda\x9d\x0c\xe1\x4b\x2d\x2c\x98\xfb\xe7\x6f\x37\x7c\x57\xf2\x4f\x45\xb1\x39\x66\xd9\x19\xd5\x9d\xfd\xca\x58\x7c\x67\x21\xbf\x37\x1e\x3b\xa7\x72\x89\x06\x3d\x67\xab\xb2\x2c\x8f\x4f\x6d\x1c\xd4\x75\x3d\x0c\x48\xdf\x28\x17\x06\x1a\xc7\x99\xd4\x8e\xb4\x1f\xe6\x7d\x78\x3e\x04\x71\xb6\xfe\x8a\x9d\x07\xed\xd7\x83\xd6\x0a\xa5\xc0\x35\x9c\x95\x45\x7b\x3b\x66\x8f\x2c\x13\x29\x7a\xfa\xbe\xaa\x66\xdf\x2b\x2d\xd1\x0b\x02\x8c\x19\x0e\x9d\x7e\xae\xf0\x2b\x04\x20\xad\x16\x9b\xb2\xdf\x8c\xf2\x4a\x46\x80\xc8\x93\xe4\xab\xf6\x04\x52\x98\x11\xd5\x82\x52\x46\x0f\x19\x56\xf8\x06\x5c\x6e\x74\x4d\x9c\x89\x8e\xf0\x65\xec\xa1\xb9\xfc\x6b\x4e\xd8\x8e\x07\x4c\xf7\x06\xf8\xa9\x67\x57\xad\x08\xc8\xe8\x44\xf0\x5a\x48\xec\x9e\x95\xeb\xf7\x2c\x08\x17\xf2\xa0\x3d\xa4\x3a\xff\xc7\x39\x8b\x38\x54\x63\x6e\xea\x32\x3f\x23\x11\xda\xa8\x4c\xe1\xe0\x6a\x4c\xd9\xa3\x69\xc6\x1c\x1d\x27\xab\x15\x08\xf6\x66\xe3\x35\x3f\x40\xd1\xa5\xdf\x8e\xe2\x26\x6d\x2d\x2a\xec\x5f\xb2\xed\xab\xe9\xee\x05\xd8\x87\x09\x2c\x06\x3c\x3f\x99\x77\xb0\x30\x7f\x3c\x2c\xcd\x33\xe6\xbf\xb8\xf7\xc5\x1f\xf7\x23\xfb\x1d\x00\x00\xff\xff\xd8\x97\x08\xca\xf0\x02\x00\x00")
2015-02-09 23:10:53 -08:00
2016-02-12 21:41:05 -08:00
func staticCssSmCssBytes() ([]byte, error) {
return bindataRead(
_staticCssSmCss,
2015-02-09 23:10:53 -08:00
"static/css/sm.css",
)
}
2016-02-12 21:41:05 -08:00
func staticCssSmCss() (*asset, error) {
bytes, err := staticCssSmCssBytes()
2015-02-09 23:10:53 -08:00
if err != nil {
return nil, err
}
2016-02-12 21:41:05 -08:00
info := bindataFileInfo{name: "static/css/sm.css", size: 752, mode: os.FileMode(436), modTime: time.Unix(1455341393, 0)}
a := &asset{bytes: bytes, info: info}
2015-02-09 23:10:53 -08:00
return a, nil
}
2016-02-12 21:41:05 -08:00
var _staticFaviconIco = []byte("\x1f\x8b\x08\x00\x00\x09\x6e\x88\x00\xff\x62\x60\x60\x04\x42\x01\x01\x10\xad\xc0\x90\xc1\xc2\xc0\x20\xc6\xc0\xc0\xa0\x01\xc4\x40\x21\xa0\x08\x44\x1c\x17\xf8\xff\xff\x3f\x43\x88\x9f\xc5\xff\x7f\x0f\xcb\x48\xc2\x20\x3d\x20\xbd\xa3\xfa\x69\xa7\xff\xfc\xee\xca\xff\x87\x36\x55\x81\xd9\xff\xef\x97\xff\xff\x7f\x17\x82\x09\xe9\xff\xff\xa0\xf2\x7f\x49\xcf\xe1\xff\xbf\xff\xfc\x07\x63\x10\x1b\x2c\x4e\x40\x3f\xc8\x0e\x98\x19\xcb\x16\x77\x82\xf5\x81\x70\xdf\xcc\x65\x10\xf9\x87\xa5\x40\x35\x15\x38\xf5\x7f\xbe\x5a\xf2\x1f\x06\x4e\x6c\x2e\xfa\x2f\xaf\xa0\x0c\xc6\x20\x36\x0c\x80\xd4\x20\xeb\xbf\x7e\xf3\xee\x7f\x98\xfe\xe7\x0f\x2f\xfd\xff\xfd\xef\xff\x7f\x41\x61\xf1\xff\x7a\x3a\xea\x70\xb7\x80\xc5\xff\xa0\x8a\x83\xf4\xc0\xf4\x56\x64\x98\xfc\x3f\xb1\xdc\x0f\xac\x0e\x04\xb0\xe9\x47\x16\x07\xa9\x2d\x4d\x35\x07\xeb\x05\x61\x10\x7f\xd5\x24\x0f\xb0\x3b\xbf\x7e\xfb\xfd\xff\xfb\x2f\x88\xfb\x61\xfa\x91\xdd\x0f\x62\x83\xd5\x02\xf5\x20\xbb\xa1\xba\xd8\x0f\x2e\x0e\xc2\xe8\x71\x79\xe6\xe0\xb4\xff\xa7\xf6\xf7\xff\x5f\x3a\x29\x04\xac\x16\xa6\x17\x16\x86\x0f\x1f\x3d\xfd\xbf\x60\x4e\x0f\x58\x0e\x84\xc3\xfd\x0c\xff\x3b\x5a\xa9\xfe\xf7\x73\x55\xff\x9f\x1a\xae\x0b\x17\x07\xa9\x01\xa9\x85\xe9\xc3\x85\x5f\xbd\xfe\xf8\xff\xce\xfd\xc7\x60\x3b\x40\x6c\x5c\xea\x28\x05\x80\x00\x00\x00\xff\xff\x9f\x48\x88\x13\x7e\x04\x00\x00")
2015-02-09 23:10:53 -08:00
2016-02-12 21:41:05 -08:00
func staticFaviconIcoBytes() ([]byte, error) {
return bindataRead(
_staticFaviconIco,
2015-02-09 23:10:53 -08:00
"static/favicon.ico",
)
}
2016-02-12 21:41:05 -08:00
func staticFaviconIco() (*asset, error) {
bytes, err := staticFaviconIcoBytes()
2015-02-09 23:10:53 -08:00
if err != nil {
return nil, err
}
2016-02-12 21:41:05 -08:00
info := bindataFileInfo{name: "static/favicon.ico", size: 1150, mode: os.FileMode(436), modTime: time.Unix(1455341393, 0)}
a := &asset{bytes: bytes, info: info}
2015-02-09 23:10:53 -08:00
return a, nil
}
2016-02-12 21:41:05 -08:00
var _staticImgSmcquayPng = []byte("\x1f\x8b\x08\x00\x00\x09\x6e\x88\x00\xff\x00\x87\x13\x78\xec\x89\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\x00\x00\x50\x00\x00\x00\x50\x08\x06\x00\x00\x00\x8e\x11\xf2\xad\x00\x00\x00\x06\x62\x4b\x47\x44\x00\xfa\x00\xfa\x00\xfa\x1e\xfc\x1e\x87\x00\x00\x00\x09\x70\x48\x59\x73\x00\x00\x0b\x13\x00\x00\x0b\x13\x01\x00\x9a\x9c\x18\x00\x00\x00\x07\x74\x49\x4d\x45\x07\xdf\x02\x0a\x05\x0d\x2a\x52\x1f\xc2\x2e\x00\x00\x13\x14\x49\x44\x41\x54\x78\xda\xed\x9b\xeb\x93\x55\xd5\x99\xc6\x7f\x6b\xed\xfb\x39\xdd\xf4\x8d\x3b\x2d\x88\xc0\xa8\x88\x77\x0c\x06\x34\xc6\xfb\x04\x31\x26\x15\x75\xca\x64\x9c\xd4\x54\xa5\x92\xf9\x33\x92\xff\x60\x6a\xbe\x65\x32\x35\x49\x39\x26\x93\x49\x70\x32\x63\x89\x49\x50\x93\xa0\x21\x21\x8a\xa8\x20\x46\x89\x42\x83\x34\xd7\xbe\xd1\x87\x73\xd9\x97\xb5\xde\xf9\xb0\xf6\x39\xdd\x20\x12\x71\x34\x6d\xa4\xdf\xaa\xee\xd3\xbd\xcf\xee\x7d\xd6\x7e\xf6\x7b\x79\xde\x67\xbd\x0d\xb3\x36\x6b\xb3\x36\x6b\xb3\x36\x6b\xb3\x36\x6b\xb3\x36\x6b\xb3\x36\x6b\xb3\x36\x6b\xb3\x36\x6b\x17\x60\xea\x93\xb4\x18\xcf\xf3\x48\x92\x84\x38\x8e\x7f\x12\x86\xe1\x43\x41\x10\x00\x90\x65\x19\x79\x9e\xff\xb4\xd5\x6a\x3d\xdc\x6c\x36\x31\xc6\xcc\x02\xb8\x7c\xf9\x72\x59\xbd\xfa\x4a\x7a\xaa\x31\xa1\x27\x28\x9b\xa3\xb1\xe4\xad\x06\xcd\x46\x9d\x22\xcf\x28\x8a\x1c\x00\x3f\x08\x08\xfc\x90\xa4\x5a\x25\x88\x2a\x88\xf2\xb0\xca\xa7\x55\x08\x93\x8d\x8c\x3d\x7b\x5e\xe7\xd0\xa1\x43\xea\x53\x0f\xe0\xfc\xf9\xf3\xc7\xbe\x70\xcf\x5d\x7d\x5d\x21\x8c\x1e\x1d\xe2\xcd\xd7\x5f\x25\xcf\x52\x50\x67\x2e\x44\x9d\xb5\x42\x25\xef\xbf\xd2\x28\x8e\xb9\x72\xcd\xf5\xf4\x2e\x5c\xc6\xa9\xa6\xe5\xe9\x5f\x3e\xfb\xf2\xc9\x93\x27\xd7\x7e\xaa\x00\x8c\xa2\x88\xaf\x3d\xf2\x77\x12\xda\x3a\x47\x0e\xee\x67\xd1\xe2\x25\x88\x18\x14\x20\xc0\xee\x97\x77\x70\xba\x36\x39\xed\x2f\x04\x55\xa2\xaa\xdc\xaf\xc8\x59\x20\x77\x77\xf7\xb0\xe6\x86\xcf\x00\x0a\xad\x15\x5a\x6b\x8e\x1f\x1d\x66\xc9\xb2\x15\x9c\xb6\x09\xff\xf1\xa3\xff\x52\x59\x96\xfd\xf5\x03\xb8\x74\xe9\x52\xf9\xea\x43\x5f\xe2\xd7\x4f\x3f\xc1\x35\xd7\xdd\xc0\xbb\x43\xef\x70\xf0\x9d\xb7\xd0\x0a\xe2\x38\x24\xf0\x7d\xae\xb9\xf1\xb3\xfc\xe9\xad\x37\x38\x79\xec\x88\x5b\xd4\xb4\x55\xb9\x9f\xdb\x50\xbb\x37\xe6\x2d\x58\xcc\xe2\x4b\x57\xf1\xea\x8b\xbf\x25\x0e\x03\x7c\xdf\x03\x11\x96\x2c\xbb\x8c\x45\x83\xcb\x78\x63\xf7\x2e\x36\xdc\xf3\x15\x7e\xf0\xe3\x9f\x7d\xec\xa1\xfd\xb1\x5e\xfc\x8a\x2b\xae\x90\x7b\x6e\xdf\xc0\xf6\x5f\xfd\x9c\xeb\xae\x5f\xcb\xef\xb6\x3d\x43\x91\x67\x68\xe5\x80\xa9\xc4\x11\x41\xe0\xa3\x15\x5c\xb3\x76\x3d\x2f\xfd\xee\x79\xb2\x2c\x9d\x5a\xd4\x34\xaf\x6b\xc3\x97\x54\xaa\xac\xb8\xfa\x66\x5e\xde\xfe\x1c\xd5\x24\x22\xf0\xfd\xce\x79\x4a\x81\xef\xfb\xdc\x70\xf3\xe7\xd8\xf3\xca\x4b\xac\xfb\xfc\x17\xf8\x9f\x5f\xfe\x96\x3f\xbe\xf9\xa6\xfa\xab\x03\xf0\xaa\xab\xae\x92\x5b\x6e\x5e\xcb\x9b\x7b\x5e\x66\xde\x40\x3f\xbb\x5e\xdc\x8e\x42\x10\x71\x60\x00\xf8\x5a\x51\x89\x43\xe2\x28\xc0\xf7\x34\xab\xae\xba\x9e\x9d\xbf\x7f\x1e\xd5\x81\x6b\x2a\x94\x01\x82\x20\xe0\xaa\xb5\x9f\xe3\xf9\x6d\xbf\xa1\x2b\x82\x24\x8a\x3a\xd7\x6a\x03\xa8\xb5\x42\x03\xab\xaf\xbb\x89\xd1\x91\x13\xfc\xcd\x9a\x1b\xf9\xdf\x67\x77\xf0\xe6\xc7\x04\xa2\xf7\x71\x5c\x74\xdd\xba\x75\x72\xe3\x35\x57\x32\x72\xec\x08\x45\x7a\x9a\xbd\xbb\x77\x01\x60\x04\x0a\x0b\xb9\x11\x32\xe3\x5e\x0b\x63\x08\x3c\x85\xa7\x35\x71\x1c\x63\x8c\xa5\xd9\x6c\x4c\x81\x52\xfe\x14\x84\x01\xf3\x17\x2e\xe1\xd0\xc9\x3a\x79\x6d\x84\x4a\x1c\x01\x90\x66\x39\xad\x34\x23\xcd\x72\x8c\xb5\x28\xa5\x50\x5a\x33\x72\xfc\x08\x7d\xfd\xf3\x30\x45\xc6\x0d\x57\x5f\x49\xae\xa2\x6f\x0f\x0f\x0f\x7f\xe7\xa3\xbe\x57\xff\xa3\xbe\xe0\x5d\x77\xde\x29\x57\xad\x5a\x4a\x6d\x72\x82\x03\x6f\xbd\xc6\xa9\x89\x71\x44\xc0\xd8\x36\x80\x42\x56\x40\x5a\x08\x46\x20\xf1\x05\x48\x19\xe8\xf1\x38\x7c\x70\x3f\x2b\xae\xb8\x9a\x89\xb1\x91\xf7\xc4\x88\xe7\xf9\xc4\x7d\x8b\x39\xfc\xfb\xed\x0c\x74\x05\x80\xa2\xd9\x6c\x51\x58\xe7\xd5\x56\x84\x3c\x2d\x48\x33\x43\x1c\xf9\x24\x51\xc0\xbb\x43\x6f\xd3\xd5\x3d\x87\x39\x73\x7a\xb9\xeb\xe6\x35\x74\x77\x77\xc9\x73\xcf\xfd\x4a\x7d\x62\x3d\xf0\xce\x3b\xef\x94\x4d\xf7\xde\xce\x1b\xaf\xed\x64\xc7\xb6\x67\x69\xb5\x9a\x14\x96\xce\x97\xb5\x0e\xb4\xc2\x40\xb3\x70\xc7\x52\x03\xb9\x15\x22\x2d\xc4
2015-02-09 23:10:53 -08:00
2016-02-12 21:41:05 -08:00
func staticImgSmcquayPngBytes() ([]byte, error) {
return bindataRead(
_staticImgSmcquayPng,
2015-02-09 23:10:53 -08:00
"static/img/smcquay.png",
)
}
2016-02-12 21:41:05 -08:00
func staticImgSmcquayPng() (*asset, error) {
bytes, err := staticImgSmcquayPngBytes()
2015-02-09 23:10:53 -08:00
if err != nil {
return nil, err
}
2016-02-12 21:41:05 -08:00
info := bindataFileInfo{name: "static/img/smcquay.png", size: 4999, mode: os.FileMode(436), modTime: time.Unix(1455341393, 0)}
a := &asset{bytes: bytes, info: info}
2015-02-09 23:10:53 -08:00
return a, nil
}
2016-02-12 21:41:05 -08:00
var _staticIndexHtml = []byte("\x1f\x8b\x08\x00\x00\x09\x6e\x88\x00\xff\x94\x54\x4b\x53\xdb\x30\x10\xbe\xf7\x57\xa8\xbe\xd8\xee\x28\x72\xd3\x61\xfa\x8a\xcd\x0c\x14\xa6\xd3\x03\xd0\x4e\xe9\xa1\x93\xc9\x41\xc8\x1b\x59\x60\x4b\x46\xda\xe0\x7a\x08\xff\xbd\xf2\x03\x08\x49\x1f\x43\x0e\xf1\xee\xb7\xeb\xdd\xef\xdb\xb5\x94\xbe\x3c\x3a\xfb\x74\xfe\xf3\xeb\x31\x29\xb0\x2a\xf7\x5f\xa4\xc3\x83\xf8\x5f\x5a\x00\xcf\x07\xb3\x77\x2b\x40\x4e\x84\xd1\x08\x1a\xb3\xa0\x51\x39\x16\x59\x0e\x37\x4a\xc0\xa4\x77\x28\x51\x5a\xa1\xe2\xe5\xc4\x09\x5e\x42\x36\x0d\x88\xe6\x15\x64\xc1\x8d\x82\xa6\x36\x16\x83\x8d\x62\xa8\xb0\x84\x7d\x57\x89\xeb\x15\x6f\xd3\x64\x70\x1f\xc3\xa5\xd2\x57\xc4\x42\x99\x05\x0e\xdb\x12\x5c\x01\x80\x01\xc1\xb6\xf6\xe5\x10\x7e\x61\x22\x9c\x0b\x48\x61\x61\x99\x05\x9d\x9d\xb8\x8a\x75\xd0\xc8\x3c\x79\xa4\x9e\x5e\x98\xbc\xdd\xa8\x9c\xab\x1b\xa2\xf2\x2c\x18\x85\x6c\x70\x7a\x12\xee\x09\x6d\x05\xfb\x04\x3e\x76\x2d\x10\x6b\xf7\x31\x49\x1c\x1b\x34\xb0\xca\xa7\x3f\xe8\xe1\x5b\x65\x13\x5f\xf7\x2f\x9d\x6a\x25\x9e\xdd\x27\x55\x95\x24\xce\x0a\x2f\xde\x5b\xc9\xd8\x96\xd5\x5a\xfa\xd8\x73\x9a\x2b\xbd\x34\x7f\xea\x5e\xef\x62\x27\x6d\xbf\x4e\xa2\xdc\x53\x72\x1d\x37\x84\xba\x00\xbd\xc9\xf0\xfb\x00\x91\x13\xf1\x6d\x1c\x08\x25\xff\x17\x89\x8d\x42\x04\xcb\x84\xa9\xee\x45\x3d\x19\x2a\x31\x9a\x60\xe1\x39\xf8\xdd\x59\x0d\xc8\x76\x4a\x7e\x21\xae\x06\x7e\xb5\x5b\x5a\x9a\x92\x6b\xc9\x8c\xf5\x23\x92\xc6\x73\xb3\x3b\x83\x1a\x86\x55\xff\x73\x7a\xdb\xae\x13\x56\xd5\xb8\x4f\xa2\xe5\x4a\x0b\x54\x46\x47\x8a\x3a\x6a\xa8\xa4\x96\x72\x5a\xc5\xb7\x6a\x1e\x7e\x36\x46\x96\x70\xa0\x79\xd9\xa2\x12\xee\xec\xe2\x12\x04\x86\x8b\xcc\xce\xd4\xdc\x2e\xb2\xee\x6f\xbd\x7e\x78\x3f\xbe\x25\x51\x07\xb1\xeb\x6c\x78\xac\xd7\xf3\x45\xcc\xea\x95\x2b\x22\x6e\xe5\xaa\xf2\x5f\xad\x8b\xef\x68\x1f\x2c\xb3\xe9\x2b\x0d\x0d\x39\xe2\x08\x51\x3c\xe3\x99\x63\xc2\x82\x77\x8e\x4b\xe8\x12\x23\x13\x53\x52\x79\x54\x02\x8e\x90\x3b\x6c\xcf\xb9\x3c\xf5\xab\xf4\xc1\xf9\xeb\xc5\x8c\x33\xee\x5a\x2d\xb2\xa9\xb7\xba\x6f\x4a\xce\x2a\x56\x73\xeb\x53\x4f\x4d\x0e\x4c\x69\x07\x16\x0f\x61\x69\x2c\x44\x9d\x24\x72\x17\x47\x8d\xd2\xb9\x69\x68\x6e\x44\xcf\x87\x86\xc3\x1c\x42\x1a\x26\x49\xd3\x34\x4c\xf6\x92\x27\xfc\x5e\x73\xbf\xd1\x47\xef\xd2\xf9\x4c\xc9\xc3\x78\x46\x24\x8f\xc2\x81\x72\x48\x49\xf8\xe3\x60\xf2\xe6\xfd\xdb\x0f\xd3\xbd\x77\x93\xbd\xce\xe7\x2b\x34\xf7\x59\x0e\x74\xde\x61\x35\x97\xd0\x5d\x29\x1d\x9e\x26\xe3\x02\xc6\x73\x3f\x1c\x76\x7f\xfe\xfb\x5b\xec\x77\x00\x00\x00\xff\xff\x3b\xf4\xa0\xfe\xdd\x04\x00\x00")
2015-02-09 23:10:53 -08:00
2016-02-12 21:41:05 -08:00
func staticIndexHtmlBytes() ([]byte, error) {
return bindataRead(
_staticIndexHtml,
2015-02-09 23:10:53 -08:00
"static/index.html",
)
}
2016-02-12 21:41:05 -08:00
func staticIndexHtml() (*asset, error) {
bytes, err := staticIndexHtmlBytes()
2015-02-09 23:10:53 -08:00
if err != nil {
return nil, err
}
2016-02-12 21:41:05 -08:00
info := bindataFileInfo{name: "static/index.html", size: 1245, mode: os.FileMode(436), modTime: time.Unix(1455341984, 0)}
a := &asset{bytes: bytes, info: info}
2015-02-09 23:10:53 -08:00
return a, nil
}
// Asset loads and returns the asset for the given name.
// It returns an error if the asset could not be found or
// could not be loaded.
func Asset(name string) ([]byte, error) {
cannonicalName := strings.Replace(name, "\\", "/", -1)
if f, ok := _bindata[cannonicalName]; ok {
a, err := f()
if err != nil {
return nil, fmt.Errorf("Asset %s can't read by error: %v", name, err)
}
return a.bytes, nil
}
return nil, fmt.Errorf("Asset %s not found", name)
}
2016-02-12 21:41:05 -08:00
// MustAsset is like Asset but panics when Asset would return an error.
// It simplifies safe initialization of global variables.
func MustAsset(name string) []byte {
a, err := Asset(name)
if err != nil {
panic("asset: Asset(" + name + "): " + err.Error())
}
return a
}
2015-02-09 23:10:53 -08:00
// AssetInfo loads and returns the asset info for the given name.
// It returns an error if the asset could not be found or
// could not be loaded.
func AssetInfo(name string) (os.FileInfo, error) {
cannonicalName := strings.Replace(name, "\\", "/", -1)
if f, ok := _bindata[cannonicalName]; ok {
a, err := f()
if err != nil {
return nil, fmt.Errorf("AssetInfo %s can't read by error: %v", name, err)
}
return a.info, nil
}
return nil, fmt.Errorf("AssetInfo %s not found", name)
}
// AssetNames returns the names of the assets.
func AssetNames() []string {
names := make([]string, 0, len(_bindata))
for name := range _bindata {
names = append(names, name)
}
return names
}
// _bindata is a table, holding each asset generator, mapped to its name.
var _bindata = map[string]func() (*asset, error){
2016-02-12 21:41:05 -08:00
"static/css/sm.css": staticCssSmCss,
"static/favicon.ico": staticFaviconIco,
"static/img/smcquay.png": staticImgSmcquayPng,
"static/index.html": staticIndexHtml,
2015-02-09 23:10:53 -08:00
}
// AssetDir returns the file names below a certain
// directory embedded in the file by go-bindata.
// For example if you run go-bindata on data/... and data contains the
// following hierarchy:
// data/
// foo.txt
// img/
// a.png
// b.png
// then AssetDir("data") would return []string{"foo.txt", "img"}
// AssetDir("data/img") would return []string{"a.png", "b.png"}
// AssetDir("foo.txt") and AssetDir("notexist") would return an error
// AssetDir("") will return []string{"data"}.
func AssetDir(name string) ([]string, error) {
node := _bintree
if len(name) != 0 {
cannonicalName := strings.Replace(name, "\\", "/", -1)
pathList := strings.Split(cannonicalName, "/")
for _, p := range pathList {
node = node.Children[p]
if node == nil {
return nil, fmt.Errorf("Asset %s not found", name)
}
}
}
if node.Func != nil {
return nil, fmt.Errorf("Asset %s not found", name)
}
rv := make([]string, 0, len(node.Children))
2016-02-12 21:41:05 -08:00
for childName := range node.Children {
rv = append(rv, childName)
2015-02-09 23:10:53 -08:00
}
return rv, nil
}
2016-02-12 21:41:05 -08:00
type bintree struct {
Func func() (*asset, error)
Children map[string]*bintree
2015-02-09 23:10:53 -08:00
}
2016-02-12 21:41:05 -08:00
var _bintree = &bintree{nil, map[string]*bintree{
"static": &bintree{nil, map[string]*bintree{
"css": &bintree{nil, map[string]*bintree{
"sm.css": &bintree{staticCssSmCss, map[string]*bintree{}},
2015-02-09 23:10:53 -08:00
}},
2016-02-12 21:41:05 -08:00
"favicon.ico": &bintree{staticFaviconIco, map[string]*bintree{}},
"img": &bintree{nil, map[string]*bintree{
"smcquay.png": &bintree{staticImgSmcquayPng, map[string]*bintree{}},
2015-02-09 23:10:53 -08:00
}},
2016-02-12 21:41:05 -08:00
"index.html": &bintree{staticIndexHtml, map[string]*bintree{}},
2015-02-09 23:10:53 -08:00
}},
}}
2016-02-12 21:41:05 -08:00
// RestoreAsset restores an asset under the given directory
2015-02-09 23:10:53 -08:00
func RestoreAsset(dir, name string) error {
2016-02-12 21:41:05 -08:00
data, err := Asset(name)
if err != nil {
return err
}
info, err := AssetInfo(name)
if err != nil {
return err
}
err = os.MkdirAll(_filePath(dir, filepath.Dir(name)), os.FileMode(0755))
if err != nil {
return err
}
err = ioutil.WriteFile(_filePath(dir, name), data, info.Mode())
if err != nil {
return err
}
err = os.Chtimes(_filePath(dir, name), info.ModTime(), info.ModTime())
if err != nil {
return err
}
return nil
2015-02-09 23:10:53 -08:00
}
2016-02-12 21:41:05 -08:00
// RestoreAssets restores an asset under the given directory recursively
2015-02-09 23:10:53 -08:00
func RestoreAssets(dir, name string) error {
2016-02-12 21:41:05 -08:00
children, err := AssetDir(name)
// File
if err != nil {
return RestoreAsset(dir, name)
}
// Dir
for _, child := range children {
err = RestoreAssets(dir, filepath.Join(name, child))
if err != nil {
return err
}
}
return nil
2015-02-09 23:10:53 -08:00
}
func _filePath(dir, name string) string {
2016-02-12 21:41:05 -08:00
cannonicalName := strings.Replace(name, "\\", "/", -1)
return filepath.Join(append([]string{dir}, strings.Split(cannonicalName, "/")...)...)
2015-02-09 23:10:53 -08:00
}