filebrowser/binary.go

359 lines
43 KiB
Go
Raw Normal View History

// Code generated by go-bindata.
// sources:
2016-06-10 21:18:44 +00:00
// assets/public/css/styles.css
// assets/public/js/application.js
2016-06-14 19:33:59 +00:00
// assets/templates/actions.tmpl
2016-06-10 21:38:52 +00:00
// assets/templates/base.tmpl
// assets/templates/listing.tmpl
2016-06-11 13:32:50 +00:00
// assets/templates/single.tmpl
// DO NOT EDIT!
2016-06-10 21:18:44 +00:00
package filemanager
import (
"bytes"
"compress/gzip"
"fmt"
"io"
"io/ioutil"
"os"
"path/filepath"
"strings"
"time"
)
func bindataRead(data []byte, name string) ([]byte, error) {
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)
clErr := gz.Close()
if err != nil {
return nil, fmt.Errorf("Read %q: %v", name, err)
}
if clErr != nil {
return nil, err
}
return buf.Bytes(), nil
}
type asset struct {
bytes []byte
info os.FileInfo
}
type bindataFileInfo struct {
name string
size int64
mode os.FileMode
modTime time.Time
}
func (fi bindataFileInfo) Name() string {
return fi.name
}
func (fi bindataFileInfo) Size() int64 {
return fi.size
}
func (fi bindataFileInfo) Mode() os.FileMode {
return fi.mode
}
func (fi bindataFileInfo) ModTime() time.Time {
return fi.modTime
}
func (fi bindataFileInfo) IsDir() bool {
return false
}
func (fi bindataFileInfo) Sys() interface{} {
return nil
}
2016-06-23 19:20:55 +00:00
var _publicCssStylesCss = []byte("\x1f\x8b\x08\x00\x00\x09\x6e\x88\x00\xff\xbc\x5b\x79\x6f\xdb\x48\x96\xff\x7f\x80\xf9\x0e\x35\x31\x1a\x89\x33\x22\x2d\xca\x47\x62\x79\x07\x18\x6f\xb7\x7b\xda\x98\x24\xbd\x48\xb2\xd8\x6d\x04\x01\x58\x22\x8b\x52\xad\x49\x16\xc1\x22\x6d\x29\xd9\x7c\xf7\x7d\xaf\x2e\x16\x0f\xc9\xce\xee\x76\x47\xdd\xd1\x51\xc7\x7b\xf5\x8e\xdf\x3b\x8a\x39\x79\xf9\x17\x52\x8a\xba\xa0\x39\xff\xc2\xc2\x44\x4a\x72\x7f\x1a\xce\xc3\x53\xf2\xdf\xe4\xed\xed\x47\xf2\x86\x27\xac\x94\x0c\xbe\xad\x79\xb3\x69\x57\x61\x22\x8a\x93\x92\x25\x22\xa7\xf2\xa4\xbf\xee\xe5\xc9\x9f\xff\x84\xaf\x93\x97\x2f\xff\xfc\x27\xf2\x92\x44\x21\xf9\xc0\x1a\x92\xb2\x8c\xb6\x79\x43\x32\x51\xc2\x5f\xb4\xe0\xf9\x8e\x34\x82\x48\x5a\xca\x40\xb2\x9a\x67\xa1\x9a\xbd\x08\xc9\xbf\xd5\xec\x9e\xc1\x24\xfe\xeb\x07\x42\xcb\x94\xdc\xde\x90\x86\x6d\x1b\x22\x81\x02\xa1\xe9\x7f\xb5\xb2\x21\x34\x6b\x58\x0d\x7b\xde\x03\x5f\x44\xd4\x1c\xe6\xd3\x86\x8b\x92\x24\x1b\x5a\xae\xd9\x4c\xed\x05\x7f\x1e\x80\x5b\xd1\x02\x75\x2e\xe9\x2a\xe7\xe5\x9a\xb4\x40\x8c\x7c\x11\xa2\x50\xf4\x14\xaf\x9b\xa6\xc8\xc9\x57\xf8\x0a\x7f\x90\xbd\x40\xb3\xb7\xf4\x98\xbb\xd2\xa3\x27\x70\x1c\xb5\x08\xbf\x04\x85\x0c\x90\xb1\x00\x19\x0b\x34\x63\x4b\x12\xcd\xe7\x3f\x74\xb3\x17\xdd\xec\x07\xb6\xba\xe3\xcd\x13\x57\x7c\xf3\x25\xf8\x9e\x15\xe2\x9e\x39\x09\x16\xb4\x5e\xf3\xb2\x63\x7f\x25\xd2\x9d\x65\x5f\x8f\x2d\xc9\xfc\xca\xed\x41\x7e\xf9\xf8\xf6\xcd\x39\x4a\xa0\xca\xe9\x0e\x77\xe1\x25\x47\x59\x49\xb5\xe4\x6f\xff\x6f\x7f\x46\x9a\xff\x51\xd4\x35\x4b\x1a\x12\xaf\x72\x91\xdc\xc5\x8e\x85\x52\x34\x9a\x0d\x96\x82\xbc\x6b\x50\xf2\xce\x30\xc9\x72\x56\x28\xd5\x97\xa8\xf5\xd7\x27\x97\xe1\x77\x6d\x14\xa7\xac\xa1\x3c\x97\x31\xc1\x2f\xb2\x2d\x40\x1c\xbb\xd8\xec\x16\xcd\x4f\xa2\x48\x6d\x87\x46\xf5\x33\xaf\x59\x26\xb6\xdf\xb9\x7f\x41\x79\xe9\xf6\x8b\x3a\x15\xd0\xba\xe1\x49\xce\x66\x84\x4a\x9e\xc2\x9b\xe1\x63\x46\x32\xbe\x4e\x68\x85\xd2\x56\x9f\xdb\x1a\x06\x33\x21\xc0\x78\x67\x64\xc3\x68\xaa\xde\xd7\xb5\x68\xab\x19\xc1\xcd\xe1\x6f\x56\xb6\x33\x52\xd2\xfb\x19\x91\xc0\x93\x5a\x69\x4e\x62\x95\x6c\xd8\x5b\x12\xc5\xee\xd5\xc0\x5a\xc0\xdf\xdc\x79\x78\x09\x36\xcf\x82\x03\xc7\x1a\x48\x1a\xdc\xef\x9d\xf5\x66\x72\xcf\xf0\x58\x34\x27\xf0\x75\x5d\x2a\xc5\x88\x8c\xc4\x55\x2d\xd6\x35\x93\x52\x09\xe2\xc7\x4d\x2d\x0a\x38\x94\x91\xe7\x4c\x09\xf7\xd7\x8a\xd5\xd4\x93\x4e\x9b\x72\x31\x23\x09\x2d\xef\x29\xc8\xc4\xae\x9f\x91\x7b\x10\x96\x18\x9d\xca\x67\x7a\xca\xef\x2c\x5b\x81\x62\x0b\xa4\x40\x25\xc3\x15\x07\x7d\xc8\x82\x4a\x21\x40\xe6\x25\x59\xd5\xe2\x01\x1c\x5b\x92\x0c\xd8\xb7\xa4\x11\x1e\x62\xc5\x6c\xec\x80\x23\x01\x3c\xa8\x45\x2e\x43\xdf\x13\xd9\x36\x01\xfe\x41\x81\x7c\xbd\x51\xc6\x8a\x50\x75\x6e\xe0\x48\x0e\x0e\xbe\x04\x71\xbf\xf8\x64\xf7\xf9\x7c\x3c\x3a\x6f\x29\x1c\xef\x7a\xc7\x9e\xfb\x6a\xf6\xaf\xd3\x14\x45\x46\xe2\x4f\x1b\x9e\xa6\xac\xfc\x1c\x13\xd9\xec\x14\xa0\xa1\x36\x2b\x18\xec\xf9\xcd\x49\x34\xd7\x1c\xff\x02\x22\x26\xcd\x86\x91\xb8\x61\x05\xd0\x6b\x58\x3c\xf6\xb2\x13\xe5\x1b\x33\xf2\x81\x66\xb4\xe6\x33\xdf\x41\xc8\xbf\x90\xc5\xa2\x3b\x91\x25\x3f\x23\x76\xbb\x7d\xc7\xb1\xe8\xf3\x86\x97\x77\xbf\x3b\xd2\x18\xbd\xe0\x39\xd7\x35\x58\xf8\x8a\x26\x77\xe8\x55\x70\x0e\x08\x51\xe0\xb9\x4a\xcd\x14\xdc\x09\x66\xe5\xc8\x91\x03\x05\x4f\x5b\xf6\x28\xdd\xea\x40\xad\x5e\x92\xa6\x86\x48\x50\xd1\x1a\xa4\x36\xd4\xcc\x6d\x01\xf6\x0c\xbb\xd6\xe0\xcd\x74\xc5\x73\xde\xec\xd0\x4b\x32\x91\x40\xa4\x49\xad\xac\x25\x79\xd8\xb0\x12\x19\xdc\x11\xd8\x06\x3c\x4a\x0a\x64\x81\x96\x1a\x91\x14\x67\x27\x1b\xd8\xa8\x06\xc5\x82\x58\x3d\xb6\x96\x7a\x14\xd4\xb2\xd4\x13\x0c\x9b\x60\x9e\x68\xf6\x7d\xb0\xff\x88\xe1\x25\x07\x5b\xcf\x01\x3e\x0a\x5a\x82\xa7\xfc\xee\xd2\xb7\xc6\xf9\x98\x45\x8e\x6c\x4c\x83\x87\x77\xd4\xd5\xaa\xfe\xd4\xf0\x26\x67\x9f\x9d\x2e\x44\x0d\x0e\x1b\xac\x44\xd3\x88\x02\x62\x65\xb5\x25\x29\x7c\x66\xe9\x3e\x0f\x41\x26\x18\x9c\xbd\xc1\xec\x22\x5e\x89\x1c\x96\x2b\xa4\xb2\x06\x7d\xf6\xd7\xc3\x4c\xac\x00\x6f\xc1\x55\xe1\x1c\x7e\x4a\xf0\x60\x3c\xf3\x7c\xbe\xd7\x37\xf7\x1c\x5f\xd3\x9a\x24\x95\x66\x65\x8f\x88\xe2\x1d\x00\xb0\x01\x64\x4b\xf6\x91\xb9\x87\xdd\x20\x97\x01\x8f\xde\x44\xb1\x59\xa7\x32\x23\x20\xa0\xc3\xbf\x02\x2f\x78\x8b\x4d\x00\x89\xd5\x58\x6c\x82\x54\xac\
func publicCssStylesCssBytes() ([]byte, error) {
return bindataRead(
_publicCssStylesCss,
"public/css/styles.css",
)
}
2016-06-10 21:18:44 +00:00
func publicCssStylesCss() (*asset, error) {
bytes, err := publicCssStylesCssBytes()
if err != nil {
return nil, err
}
2016-06-23 19:20:55 +00:00
info := bindataFileInfo{name: "public/css/styles.css", size: 14654, mode: os.FileMode(438), modTime: time.Unix(1466709454, 0)}
a := &asset{bytes: bytes, info: info}
return a, nil
}
var _publicJsApplicationJs = []byte("\x1f\x8b\x08\x00\x00\x09\x6e\x88\x00\xff\xc4\x1a\x6b\x6f\xdb\xc8\xf1\xbb\x01\xff\x87\x0d\x71\x00\xa9\x44\x66\xec\x6b\x8b\x02\x75\xe4\x20\x67\xeb\xe0\x43\x1d\x27\x48\xd4\xa2\x80\xe3\x14\xb4\xb8\x92\xb6\xa6\x48\x76\xb9\xb4\xe3\x36\xfa\xef\x9d\xd9\x17\x97\x4f\xc9\x4e\x9a\x0b\x02\x4b\xe2\xce\xcc\xce\x6b\xe7\xb5\xf4\xca\x82\x92\x42\x70\x36\x17\xde\xf1\xfe\xde\xfe\xde\x5d\xc4\x49\x41\x13\x3a\x17\x34\xfe\x4d\xd0\x75\x41\x26\xe4\xea\x5a\x2e\xbd\x7c\x49\xde\x70\x1e\x3d\x90\x9c\x67\x22\x13\x0f\x39\x25\x8b\x32\x9d\x0b\x96\xa5\x44\x64\x84\xd3\x75\x76\x47\x49\x94\x12\x40\x5f\xd3\x54\xec\xef\x49\xf0\xd0\x82\x87\x0a\x64\xaa\x96\x81\xb0\x45\x0f\x34\xca\x88\xfc\x77\x7f\x8f\x20\x0f\x0c\x96\xc5\x8a\x15\x21\x4b\x63\xfa\xe5\xdd\xc2\x42\x00\x2b\x84\x2d\x48\xc0\xc8\xb3\x09\x39\x38\x52\x18\x0a\xb4\xc8\x13\x36\xa7\x01\x1b\x93\x23\x09\xb6\xd9\xdf\xdb\xec\xc4\x78\x9e\x44\xf3\x6d\x9c\x4b\x98\x2e\xd6\xb3\x24\x9e\x26\x63\x92\xd2\xfb\x69\x32\xc0\xbf\x04\x1b\xe0\xfe\x8a\x5d\x03\x8a\xa4\xd2\xe0\xfd\x2c\x9b\x97\x72\xd7\x6e\xf6\x0b\x9a\xc6\x24\x22\xf3\xac\x10\xe5\x9a\xd0\x3b\x84\x84\xc7\x4c\x80\x19\x17\xfb\x7b\x06\xdb\x11\x06\x31\x4e\x25\xf8\xf4\xae\x29\x8d\xa0\x5f\xb4\x15\x62\x83\x18\xb3\x22\x8f\xc4\x7c\x25\x81\x03\xe0\x90\x9c\x96\x85\xc8\x14\xb2\x42\x40\xb9\x06\xd8\x05\x76\x96\x54\x48\x26\xb3\x5b\x46\xe1\x23\x15\x52\xcd\x1d\xcc\x01\xe0\xa9\x82\x72\xd9\x4a\xa3\x35\xad\x94\xcb\xa9\x52\x15\xf9\x40\x97\xd3\x2f\x79\xe0\x05\xaf\xff\x02\xff\x3f\x7f\x0d\x9f\x1f\x7f\xfa\x54\x3c\x1f\x79\xe4\x05\x41\x14\xf8\xf0\xf0\xc1\xa7\x4f\x13\xfc\x08\xae\x3e\x1f\x5f\x3f\x1f\x85\xcf\x7f\x1a\x7d\xfd\x0c\x7f\x3d\x69\x0f\x4e\x45\xc9\xd3\x4a\x5e\xc5\xa4\x31\x79\xc0\xe9\x98\x78\x3f\x1d\x79\xae\x8c\xa7\xab\x28\x5d\xd2\x02\x24\xba\x29\x85\x50\x76\x10\x2b\x4a\x92\x2c\x8a\x59\xba\x04\x57\x62\xeb\x08\x39\xdf\xdf\xd3\x2e\xe3\x48\x38\x97\xc8\xb3\xec\x42\x03\xbb\x72\x2a\x19\x13\x50\x16\xb5\xae\x86\xde\x71\xac\x9f\x66\x9c\x2d\x59\x1a\x25\x33\xd0\x3a\x2c\x69\x20\x70\xb2\x94\xf2\xf3\xd9\xdb\x0b\x79\x50\xed\xe3\x42\x3c\x24\x34\xcc\xf2\x68\xce\xc4\x03\x80\x1f\xaa\xe5\x82\x8a\x19\x5b\xd3\xac\x14\x41\x73\xe7\x36\x45\x40\xf3\x5f\x31\x32\x4f\xa2\xa2\x98\x78\x20\x15\xe5\x2c\x4a\x0e\x18\xd8\xb0\x20\x45\xce\x52\xef\x24\x2a\x45\xc6\x29\xd8\xe3\xd5\x4b\x76\xe2\x1f\xbb\x64\x9a\x1c\x1c\x49\xdf\x1e\x93\x9f\x0f\x0f\x47\x8a\x19\xad\x7d\x57\xb0\x2e\x45\xdb\xb3\x89\xaa\x8e\xb3\x94\xee\xa6\xe3\x33\x84\xac\x05\x1a\xce\x33\x3e\x26\x2b\xb1\xd6\x87\x55\x45\x8e\x6e\x45\xa1\xc6\x61\x9d\xc7\x1f\x05\xcd\xe1\x31\x28\x69\x72\xe2\x04\x1c\x57\x49\x48\xf1\xb8\x0a\x45\x1d\x72\xe3\x22\x9e\xfd\x5a\x78\x0d\x13\x9a\x2e\xc5\x8a\x4c\x60\x53\x6d\x82\xca\x13\x1b\x07\x35\xf0\x95\x58\xf1\x81\x21\xe1\x4b\x07\xc6\x60\x41\x36\x96\xe3\x82\x82\x6d\xfa\x58\xee\x92\x94\xb8\x1e\x61\xe5\xb5\x46\x72\x48\x2f\x18\x2f\x44\x9b\x32\x4a\x25\x15\x6b\x24\x68\x69\xa7\xd7\x85\xbc\x93\x79\x92\x15\xb4\xf2\x9c\x0d\x18\x1a\x72\xd2\xe3\xe9\xa0\x53\x38\x64\x94\xbe\x07\x8d\xe1\x48\x5d\xe9\x0c\x92\xc7\x61\x4d\x6e\xf7\xb4\x18\xf1\x2b\xdd\x68\xf7\x5d\x44\xc0\xb4\xe3\xb7\x2a\xb0\x2e\x32\x0e\xee\xba\x5c\x26\x78\xcc\x31\x3e\xac\xb3\x98\x92\x6c\x41\xee\x18\xbd\x57\xb9\x16\xbf\xb5\xa3\xb0\x8c\xe2\x55\x2c\x98\x9b\x80\x68\x3d\xc3\x46\xc9\xc0\x47\x0a\x07\x09\x2b\x84\x72\x06\x84\xc7\x5f\x2a\xb2\xb8\x08\xfa\x94\xfc\xf2\xf0\x5b\x1c\xf8\x1a\xc4\xd7\xa7\x10\x2d\xa8\x77\x81\xc4\xe4\x0b\x5e\x52\x5f\x1b\xb3\x11\x17\xd1\x08\x76\xcb\x89\x04\x94\xba\x72\xcc\x36\x88\x21\x35\xe5\x57\xea\x05\x8f\x8e\x13\xfa\x77\x58\x9f\xc1\xc1\x0d\xb6\x48\x38\xa4\xf3\x73\x49\xa9\x90\x8a\x46\x14\x22\x73\x8f\x3a\x32\x4a\xd9\xf5\xbd\x6a\x1a\x47\x84\x0b\xd8\xa2\x52\xfa\x23\x95\x28\x71\x74\x36\x18\x40\xc1\x7d\x5c\xa5\x9b\x7d\x31\x00\x78\xa8\x4d\x4f\xab\x5d\xd3\x0e\xa5\xb7\x23\x44\x18\xc5\x7a\x4b\x7d\xea\xd5\x66\xbb\x1e\x0f\xdc\xe8\x9f\xe0\x7f\x65\xe2\x9c\x92\x86\x26\xb5\x49\x9e\x40\x18\xd9\xb2\x64\xdb\xac\xab\xc2\xcf\xe5\x7e\x07\x1b\x66\x39\x05\x00\x96\x50\xa3\x56\x79\x2a\x94\x25\x71\x6d\xf0\xd8\xf4\x05\x5a\xad\xdd\x7b\x28\xcb\xb2\xfb\x10\xc9\xd4\xc1\xae\x0e\xaf\xa1\x68\xf0\x5f\xf3\xe8\x5e\x39\xf7\x68\x40\x51\x2e\x15\xfd\x3d\xc9\xe6\x32\x29\x75\x10\xd9\x41\xe4\x9b\x68\x
2016-06-11 22:03:54 +00:00
func publicJsApplicationJsBytes() ([]byte, error) {
return bindataRead(
_publicJsApplicationJs,
"public/js/application.js",
)
}
2016-06-10 21:18:44 +00:00
func publicJsApplicationJs() (*asset, error) {
bytes, err := publicJsApplicationJsBytes()
2016-06-10 21:18:44 +00:00
if err != nil {
return nil, err
}
info := bindataFileInfo{name: "public/js/application.js", size: 10840, mode: os.FileMode(438), modTime: time.Unix(1466691163, 0)}
a := &asset{bytes: bytes, info: info}
return a, nil
}
var _templatesActionsTmpl = []byte("\x1f\x8b\x08\x00\x00\x09\x6e\x88\x00\xff\x84\x8f\x31\x6e\x85\x30\x10\x44\x7b\x4e\xb1\x72\x9f\x70\x01\x43\x95\x26\xa7\xb0\x2c\x76\x90\x56\x32\xeb\x08\x5b\xa1\x40\xdc\x3d\x06\x82\xfe\xa7\x00\x2a\x17\x33\x7e\x6f\x67\x9e\x89\xd1\x8b\x82\x8c\xef\xb2\x44\x4d\x86\x96\xa5\x22\xcb\xf2\x4b\x5d\xf0\x29\x35\xff\x81\x21\xe1\xc6\xc4\x1f\xa8\x69\x2b\x22\x2b\x47\x3c\xf8\x8c\x51\x7c\xf8\x90\x6e\xfd\xde\xae\x15\x27\xea\x14\x93\xad\xa5\x74\x6d\x5d\x60\xe5\x2d\x2e\xe9\xe9\xf3\x3b\x7d\xc9\xb8\x49\x2e\x2d\x23\xd4\x0f\xd8\x3c\x37\xa2\x21\x32\x1c\x58\xf2\xae\x79\xf7\x40\xf9\x76\x06\xc7\x49\x43\xf4\xfc\x30\xa5\x97\x00\x77\x74\xcf\x63\x2e\xc9\x08\xc8\x78\xe0\xee\xa5\x13\xf0\x75\xf4\x5f\x00\x00\x00\xff\xff\x48\xd7\xb4\x16\x93\x01\x00\x00")
2016-06-10 21:18:44 +00:00
func templatesActionsTmplBytes() ([]byte, error) {
return bindataRead(
_templatesActionsTmpl,
"templates/actions.tmpl",
)
2016-06-10 21:18:44 +00:00
}
2016-06-14 19:33:59 +00:00
func templatesActionsTmpl() (*asset, error) {
bytes, err := templatesActionsTmplBytes()
2016-06-14 19:33:59 +00:00
if err != nil {
return nil, err
}
info := bindataFileInfo{name: "templates/actions.tmpl", size: 403, mode: os.FileMode(438), modTime: time.Unix(1466630275, 0)}
a := &asset{bytes: bytes, info: info}
return a, nil
}
2016-06-21 15:19:54 +00:00
2016-06-23 19:20:55 +00:00
var _templatesBaseTmpl = []byte("\x1f\x8b\x08\x00\x00\x09\x6e\x88\x00\xff\xb4\x57\x5d\x6f\xdb\x36\x14\x7d\xf7\xaf\x60\x89\x01\x7e\x58\x2d\xba\xfb\x78\x09\x24\x0f\x58\xd2\x61\x05\xda\xad\x68\x36\x0c\x7b\x32\x68\xe9\xca\x62\x4a\x91\x1a\x49\x39\x31\x0c\xff\xf7\x5d\x8a\x92\x2c\x25\xfe\xea\x86\x02\x01\x2c\x51\x97\xe7\x5e\x9e\x7b\x78\xc8\xc4\xaf\xee\x7e\xbf\xfd\xe3\xef\x8f\x6f\x49\xe1\x4a\xb9\x98\xc4\xe1\x87\xc4\x05\xf0\x0c\x7f\x49\xec\x84\x93\xb0\xd8\xed\xa2\xdf\x78\x09\xfb\x7d\xcc\xc2\x80\xff\x54\x82\xe3\x44\xe1\x70\x42\x37\x02\x1e\x2b\x6d\x1c\x25\xa9\x56\x0e\x94\x4b\xe8\xa3\xc8\x5c\x91\x64\xb0\x11\x29\xcc\x9a\x97\xd7\x44\x28\xe1\x04\x97\x33\x9b\x72\x09\xc9\x9b\x68\x4e\x1b\x20\x29\xd4\x67\x52\x18\xc8\x13\x5a\x38\x57\xd9\x1b\xc6\x72\x84\xb1\xd1\x5a\xeb\xb5\x04\x5e\x09\x1b\xa5\xba\x64\x02\xc1\x7f\xca\x79\x29\xe4\x36\xf9\xc0\x1d\x18\xc4\xfa\xf6\x1d\x0e\x5a\x4a\x0c\xc8\x84\x5a\xb7\x95\x60\x0b\x00\xf7\x1c\x78\x7a\x16\x38\xb5\xb6\xc3\xfd\xa4\x57\xda\xe9\x9b\x1f\xe6\xf3\xd7\x3f\xce\xe7\xd3\x06\x77\x7a\xc0\x9d\x12\xb7\xad\x20\x99\x3a\x78\x72\x7e\xda\xf4\x90\xe7\x79\x05\xed\x8a\x76\x3b\x12\xdd\x6a\x95\x8b\x75\xf4\x33\xb7\xf0\xe7\xa7\xf7\x64\xbf\x67\xcb\x5c\x48\x28\xb9\xe2\x6b\x5c\x05\x32\x66\x14\x97\x1e\x8f\x05\x80\x08\x1f\xc3\x12\x6c\x6a\x44\xe5\x88\x35\xe9\x17\x41\x3d\x58\xc6\xab\x4a\x8a\x94\x3b\xa1\x55\xf4\x80\x68\x31\x0b\x58\x1e\x16\x91\x44\x4e\x14\xf4\x78\xf7\x3e\xed\xbd\xaf\x9b\x50\x8a\xa8\x18\x83\xb9\xfd\xa0\x0f\xf7\x13\x5e\x46\xb6\x51\xac\x0f\x43\x54\x50\x59\x98\x1d\x32\x74\x93\x7e\xad\xd7\xfa\xad\xe2\x2b\x09\x59\x07\xfe\x6a\x36\x23\x7e\x98\x54\xb2\x5e\x0b\x45\xac\xab\xf3\x9c\xcc\x66\x4d\xbe\xff\xc2\x68\x81\x60\xe7\xa8\x1c\x73\xd9\xe9\x21\xcd\xd4\x03\xc6\x48\x5d\x67\xb9\xe4\x06\x1a\x3d\xf0\x07\xfe\xc4\xa4\x58\x21\x89\x29\xb0\x37\xd1\x77\xd1\xf7\xfe\xe9\x05\x8d\x57\xb5\x67\x54\xd7\xe5\xbe\x74\x0c\xc6\xac\xdd\x83\xf1\x4a\x67\xdb\x46\x0b\x7e\x00\x4c\x48\x9c\x89\x4d\xd7\x19\xf2\x8d\x44\xb2\x6e\x12\x12\x7d\x34\xb8\xdd\x74\x6d\xdf\x7b\xf6\x02\xcf\x87\x56\x37\x51\x94\xb6\xc3\x24\xe6\x07\x3a\x31\x00\xfe\x69\x03\x08\xf3\xfd\x67\xbb\x1d\x48\x0b\xf8\x14\x45\x0c\xff\xb0\xff\x43\xf0\xfd\xbe\xaf\x34\x70\xdb\x96\x44\x52\xc9\xad\x4d\x28\x4f\xfd\xf2\x28\x11\x59\x42\x2b\x9c\xd7\x07\x91\x58\x74\x31\x65\xbb\x83\x67\xa2\xd9\xc1\x0b\x5b\xaf\x32\x61\x20\x75\xda\x6c\x97\xdc\x18\xfd\xb8\x94\x90\xbb\x98\x89\x3e\x03\xeb\x57\x8d\xcf\x7c\xe1\x6b\x08\x45\x4e\x4e\x54\x40\x32\x61\x1b\xd5\x1d\x29\xe5\x7f\x54\x32\x28\x64\xa8\x79\xfc\x50\x2d\x4e\xb1\xfb\x5c\x1a\x94\xb4\x3c\x77\x6b\x38\x2a\x9f\x97\x34\x9f\xdb\x58\xfe\xed\x00\xf8\x0b\xfa\x02\xf9\x10\x8c\x61\x5c\x66\xc3\xde\x84\x8c\xe4\xd1\x18\x3c\xa1\xac\x17\xc8\x19\x82\xd2\x02\x36\x46\xab\xa5\x11\xeb\x62\xd8\x20\xbf\x84\x06\xc6\x1f\x14\xd5\x11\x82\x0e\xc4\x8d\x04\xec\x17\xf4\xce\xde\x09\xd3\xd7\xe7\xdd\x21\xce\xb5\x29\xaf\xe8\x16\x70\x93\x16\x43\x99\x08\x55\xd5\x2e\x18\x35\xf5\x46\x4d\xd1\x63\x70\xfb\x16\x5a\xe2\xf6\x49\xe8\x7d\x33\x21\xd8\x2b\x6b\x72\x74\xb6\x73\x5a\xc4\xfe\x80\xbb\x42\x39\x3e\x6c\xe9\xb7\x29\xfa\x17\x1c\xd5\xcb\xc9\x0c\x75\x25\x35\xcf\xae\xc8\xe1\xed\x7e\x19\xa2\x8f\x67\x78\xbe\x2d\xf0\xdd\x41\x89\x14\x38\xec\x6f\x48\x89\x07\x66\x34\x30\x88\xb6\x41\x93\x4b\xfa\x1a\x34\xe7\xa4\x75\x8f\xb5\x7f\xc4\x10\x2d\x38\x27\xd4\xda\x9e\x33\x8e\x6b\xec\xa2\x85\x39\xe3\x0f\xe7\x09\x97\x7a\xad\x6b\x77\x05\xe1\xf0\x24\xdc\xd2\xe9\x25\x1a\xf7\x65\x0b\xe8\xc7\x83\x7f\x7b\xbb\x9e\x8c\x35\xde\x05\xfa\xb2\x7c\x1d\x4e\x6b\xb9\xe2\xa6\x2d\x24\xbe\xac\x94\x15\x4f\x3f\x5f\x51\x76\x30\x2e\x1f\x7c\x42\x88\x55\x8f\x61\x2b\xae\x1a\x68\x0b\x12\x6d\x0f\xb2\x99\xaa\xcb\x15\x60\x4d\x73\x3c\x9d\xf0\x63\x17\xd9\x7d\x8f\xfa\xed\x3d\x40\x8c\x47\x12\x3c\x27\xb9\x81\x0d\x74\x4f\x43\x12\xe3\x92\x8b\x90\x72\x84\xd3\x5e\x2d\x11\xe7\x8e\xe3\xcd\x33\x84\xb2\x2e\x16\xdd\x42\xbb\xf6\x74\xbc\x07\xb3\x41\xc1\x3e\x0a\x57\x4c\x82\x20\x9b\xab\x84\xd2\xba\x02\x05\x86\x28\x8d\xfa\x04\x63\x70\x85\xcf\xee\x9d\x29\xcf\xb2\xad\xf5\xd3\x8d\xbf\x09\xd0\xc5\xad\x1f\xe8\xc4\xc4\x55\xf6\x85\x78\x6b\x2c\xa1\x5e\x35\x97\x8a\x82\xa7\x99\xe0\x36\xa4\x98\x0d\x2e\x6d\x74\x31\x74\x6a\x9f\x2b\x9a\x5c\xd8\x88\x7f\x21\x2c\xe1\x04\x6f\x2c\x1b\x5d\x1b\xa2\xf3\x09\x
func templatesBaseTmplBytes() ([]byte, error) {
return bindataRead(
_templatesBaseTmpl,
"templates/base.tmpl",
)
2016-06-14 19:33:59 +00:00
}
2016-06-10 21:38:52 +00:00
func templatesBaseTmpl() (*asset, error) {
bytes, err := templatesBaseTmplBytes()
2016-06-10 21:38:52 +00:00
if err != nil {
return nil, err
}
2016-06-23 19:20:55 +00:00
info := bindataFileInfo{name: "templates/base.tmpl", size: 3151, mode: os.FileMode(438), modTime: time.Unix(1466709475, 0)}
a := &asset{bytes: bytes, info: info}
return a, nil
}
var _templatesListingTmpl = []byte("\x1f\x8b\x08\x00\x00\x09\x6e\x88\x00\xff\x8c\x53\xc1\x8e\xd3\x30\x10\xbd\xf7\x2b\x46\x3e\x20\x38\xa4\x71\x0b\x0b\x52\x49\x7b\x42\x08\x24\x16\x21\xd8\xbd\x70\x59\x0d\xf5\x64\x3b\x92\xe3\x44\xb6\x53\xa9\x44\xf9\x77\xc6\x49\x9b\x6d\x17\xd0\xee\x29\x33\xe3\xf7\xde\xbc\x97\xc4\x5d\x07\x86\x4a\x76\x04\x6a\x5b\xbb\x48\x2e\x2a\xe8\xfb\x19\x14\x86\xf7\xb0\xb5\x18\xc2\x5a\x59\x0e\x91\xdd\xbd\xda\xcc\xe0\x62\x9e\x08\x28\x54\xaf\x80\xcd\x25\x0c\xba\x2e\x03\x8f\xee\x9e\x60\xfe\x39\x52\x15\x92\xe6\x25\x9b\x65\xac\xc0\x60\xc4\xcc\xb0\x5f\xab\xc4\xe0\x52\xe0\xe1\x03\xfb\xbe\x8f\xbe\x25\x31\x47\x36\x90\x18\x2a\x51\x9e\xa9\x75\x46\xba\x71\x5f\xd7\xcd\x6f\xbf\x7f\x91\x6e\x58\x38\x68\x8f\x15\x14\x08\x3b\x4f\xe5\x5f\x90\xd1\xd6\xd9\x92\xe3\xb4\xe0\x93\xa9\x0a\x23\x79\x46\x9b\xb1\x84\x0b\x6a\x53\xd6\xd6\x90\x2f\x72\x3e\x17\x48\x9e\x9e\xc1\x65\x17\xc8\xc7\x3b\xe3\x79\x4f\x77\x25\x5b\x7a\x2c\xe3\xcc\x49\xa5\xc8\xf1\x18\x22\x9f\x52\x3c\x2b\x4f\x11\x1a\x74\x27\x03\x0e\x2b\x52\x1b\xc1\x7c\x95\xa2\xef\x8b\x3c\x1d\x3e\x91\xbc\x19\xbf\x40\xed\x25\xe6\x5a\x65\x0b\xb5\x79\x51\x19\x0c\xbb\xf7\x45\xde\xfc\x3f\xf3\x25\x4b\x36\xfe\xe0\xdf\x94\x6c\x49\xf9\xa9\xad\xd0\x8d\xfd\x63\x8d\x87\xc0\x49\xe2\xe8\x7a\xc7\x86\xf0\x97\xa5\x29\x13\x14\x91\x2b\x4a\x1b\x28\x15\x83\xfe\x20\x7a\x5d\x9b\x9b\x74\xa2\x60\xa9\xf5\xdb\x4c\x2f\x32\xbd\xbc\x59\x5c\xad\xf4\x9b\x95\xbe\xfa\xa9\xce\xf7\x4f\x50\xbd\xc8\xf5\x32\x4f\x78\xd0\xaf\x47\x24\x7c\xbb\x86\x4c\xbf\x5b\x69\xad\x92\xc5\xb4\x63\x7a\x9d\x93\xe1\x7f\x7c\x91\x87\xea\x3c\xcc\x69\x7a\x7c\xce\x0a\x76\x4d\x1b\x21\xc4\x83\x15\xeb\x86\x43\x63\xf1\xb0\x72\xb5\x23\x05\xf1\xd0\xc8\x2c\xfd\x0a\xe3\x1f\xdc\x36\xb6\x46\x93\x0d\x0c\x05\xb5\xdb\xee\xd2\x8d\x91\x57\x82\xce\x58\xfa\x28\xb8\xf0\x32\xee\x38\xcc\x13\x25\xbc\x52\xb0\x47\xdb\xca\xf9\xed\xc0\x53\x50\xb5\x36\x72\x63\xc5\xfe\x74\x35\x66\x7f\x02\x00\x00\xff\xff\x8d\x29\x85\x33\xd1\x03\x00\x00")
2016-06-10 21:38:52 +00:00
func templatesListingTmplBytes() ([]byte, error) {
return bindataRead(
_templatesListingTmpl,
"templates/listing.tmpl",
)
2016-06-10 21:38:52 +00:00
}
func templatesListingTmpl() (*asset, error) {
bytes, err := templatesListingTmplBytes()
if err != nil {
return nil, err
}
info := bindataFileInfo{name: "templates/listing.tmpl", size: 977, mode: os.FileMode(438), modTime: time.Unix(1466690774, 0)}
a := &asset{bytes: bytes, info: info}
return a, nil
}
var _templatesSingleTmpl = []byte("\x1f\x8b\x08\x00\x00\x09\x6e\x88\x00\xff\x7c\x90\x41\xce\x82\x30\x14\x84\xf7\x3d\xc5\xa4\x07\x80\x0b\x14\xfe\xc5\xbf\x75\x65\xf4\x00\x0d\x7d\x90\x97\x40\xc1\xb6\x68\x0c\xe1\xee\xb6\x85\x60\x5c\xe8\xf2\x0d\xf3\x7d\x61\xba\x2c\x30\xd4\xb2\x25\xc8\x66\xb4\x81\x6c\x90\x58\x57\x21\xa0\x06\xcd\x16\x4d\xaf\xbd\xaf\xf2\xa7\x78\x92\x93\xb5\x00\x22\xc3\x2d\xe8\x86\xe2\xf2\x9c\x22\xc8\x83\xee\x28\x63\x00\x14\x0f\x1d\xbc\x6b\x2a\x19\x6b\xc5\xf5\x7c\x8a\xf9\x9f\xd3\x8f\x2a\xb8\x99\x32\x9e\x78\xea\x3d\x7d\x4a\xf4\x6c\x78\x3c\x24\xf9\xfa\xa1\x51\x65\x6e\x7c\xd7\xdd\xd9\xd0\xb8\x4f\x39\x2a\xbb\x7c\x72\x54\x27\xeb\xff\x36\x38\x96\x54\x99\xb2\x6d\x1a\x59\x93\xff\x42\x95\xe9\x05\x6a\x21\xde\xd9\x2b\x00\x00\xff\xff\xef\x07\xd5\xe5\x2d\x01\x00\x00")
2016-06-11 22:03:54 +00:00
func templatesSingleTmplBytes() ([]byte, error) {
return bindataRead(
_templatesSingleTmpl,
"templates/single.tmpl",
)
}
2016-06-11 13:32:50 +00:00
func templatesSingleTmpl() (*asset, error) {
bytes, err := templatesSingleTmplBytes()
2016-06-11 13:32:50 +00:00
if err != nil {
return nil, err
}
info := bindataFileInfo{name: "templates/single.tmpl", size: 301, mode: os.FileMode(438), modTime: time.Unix(1466630292, 0)}
a := &asset{bytes: bytes, info: info}
return a, nil
2016-06-11 13:32:50 +00:00
}
// 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)
}
// 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
}
// 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-06-10 21:18:44 +00:00
"public/css/styles.css": publicCssStylesCss,
"public/js/application.js": publicJsApplicationJs,
2016-06-14 19:33:59 +00:00
"templates/actions.tmpl": templatesActionsTmpl,
2016-06-10 21:38:52 +00:00
"templates/base.tmpl": templatesBaseTmpl,
"templates/listing.tmpl": templatesListingTmpl,
2016-06-11 13:32:50 +00:00
"templates/single.tmpl": templatesSingleTmpl,
}
// 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))
for childName := range node.Children {
rv = append(rv, childName)
}
return rv, nil
}
type bintree struct {
Func func() (*asset, error)
Children map[string]*bintree
}
var _bintree = &bintree{nil, map[string]*bintree{
2016-06-10 21:18:44 +00:00
"public": &bintree{nil, map[string]*bintree{
"css": &bintree{nil, map[string]*bintree{
"styles.css": &bintree{publicCssStylesCss, map[string]*bintree{}},
}},
"js": &bintree{nil, map[string]*bintree{
"application.js": &bintree{publicJsApplicationJs, map[string]*bintree{}},
}},
}},
"templates": &bintree{nil, map[string]*bintree{
2016-06-14 19:33:59 +00:00
"actions.tmpl": &bintree{templatesActionsTmpl, map[string]*bintree{}},
2016-06-10 21:38:52 +00:00
"base.tmpl": &bintree{templatesBaseTmpl, map[string]*bintree{}},
"listing.tmpl": &bintree{templatesListingTmpl, map[string]*bintree{}},
2016-06-11 13:32:50 +00:00
"single.tmpl": &bintree{templatesSingleTmpl, map[string]*bintree{}},
2016-06-10 21:18:44 +00:00
}},
}}
// RestoreAsset restores an asset under the given directory
func RestoreAsset(dir, name string) error {
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
}
// RestoreAssets restores an asset under the given directory recursively
func RestoreAssets(dir, name string) error {
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
}
func _filePath(dir, name string) string {
cannonicalName := strings.Replace(name, "\\", "/", -1)
return filepath.Join(append([]string{dir}, strings.Split(cannonicalName, "/")...)...)
}