From c369abcc23ad6b7e02f8ed160d02b1746fac12d5 Mon Sep 17 00:00:00 2001 From: Henrique Dias Date: Thu, 23 Jun 2016 15:44:52 +0100 Subject: [PATCH] update readme; remove debug from filemanager.go --- README.md | 2 +- binary.go | 195 +++++++++++++++++++++++++++++++------------------ filemanager.go | 2 +- 3 files changed, 126 insertions(+), 73 deletions(-) diff --git a/README.md b/README.md index fe85da62..d21aee91 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ [![community](https://img.shields.io/badge/community-forum-ff69b4.svg?style=flat-square)](https://forum.caddyserver.com) [![Documentation](https://img.shields.io/badge/godoc-reference-blue.svg?style=flat-square)](http://godoc.org/github.com/hacdias/caddy-filemanager) -This package is a plugin for Caddy server that provides an online file manager (based on browse middleware) that is able to: rename files, delete files and upload files. Some new features that can be implemented in the future can be seen at [issues](./issues). +This package is a plugin for Caddy server that provides an online file manager (based on browse middleware) that is able to: rename files, delete files and upload files. Some new features that can be implemented in the future can be seen at [issues](https://github.com/hacdias/caddy-filemanager/issues). ``` filemanager { diff --git a/binary.go b/binary.go index 437018ce..753fb865 100644 --- a/binary.go +++ b/binary.go @@ -11,20 +11,35 @@ package filemanager import ( + "bytes" + "compress/gzip" "fmt" + "io" "io/ioutil" "os" "path/filepath" "strings" + "time" ) -// bindataRead reads the given file from disk. It returns an error on failure. -func bindataRead(path, name string) ([]byte, error) { - buf, err := ioutil.ReadFile(path) +func bindataRead(data []byte, name string) ([]byte, error) { + gz, err := gzip.NewReader(bytes.NewBuffer(data)) if err != nil { - err = fmt.Errorf("Error reading asset %s at %s: %v", name, path, err) + return nil, fmt.Errorf("Read %q: %v", name, err) } - return buf, 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 { @@ -32,112 +47,150 @@ type asset struct { info os.FileInfo } -// publicCssStylesCss reads file data from disk. It returns an error on failure. +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 +} + +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\xc9\x47\x12\x79\x07\x18\x6f\x8f\x7b\xda\x98\x24\xbd\x48\xb2\xd8\x1d\x04\x01\x58\x22\x8b\x52\xad\x49\x16\xc1\x22\x6d\x2b\xbd\xf9\xee\xfb\x5e\x5d\x2c\x92\x25\xd9\xd9\xdd\xee\xa8\x3b\x3a\xea\x78\xaf\xde\xf1\x7b\x47\x31\x27\x2f\xff\x44\x2a\xd1\x94\xb4\xe0\x5f\x59\x9c\x4a\x49\xee\x4e\xe3\x79\x7c\x4a\xfe\x9b\xbc\xbb\xf9\x44\xde\xf2\x94\x55\x92\xc1\xb7\x0d\x6f\xb7\xdd\x3a\x4e\x45\x79\x52\xb1\x54\x14\x54\x9e\x0c\xd7\xbd\x3c\xf9\xe3\x1f\xf0\x75\xf2\xf2\xe5\x1f\xff\x40\x5e\x92\x45\x4c\x3e\xb2\x96\x64\x2c\xa7\x5d\xd1\x92\x5c\x54\xf0\x17\x2d\x79\xb1\x23\xad\x20\x92\x56\x32\x92\xac\xe1\x79\xac\x66\x2f\x63\xf2\x6f\x0d\xbb\x63\x30\x89\xff\xf2\x91\xd0\x2a\x23\x37\xd7\xa4\x65\x0f\x2d\x91\x40\x81\xd0\xec\xbf\x3a\xd9\x12\x9a\xb7\xac\x81\x3d\xef\x80\x2f\x22\x1a\x0e\xf3\x69\xcb\x45\x45\xd2\x2d\xad\x36\x6c\xa6\xf6\x82\x3f\xf7\xc0\xad\xe8\x80\x3a\x97\x74\x5d\xf0\x6a\x43\x3a\x20\x46\xbe\x0a\x51\x2a\x7a\x8a\xd7\x6d\x5b\x16\xe4\x57\xf8\x0a\x7f\x90\xbd\x48\xb3\xb7\xf2\x98\xbb\xd4\xa3\x27\x70\x1c\xb5\x08\xbf\x44\xa5\x8c\x90\xb1\x08\x19\x8b\x34\x63\x2b\xb2\x98\xcf\x7f\xe8\x67\x2f\xfb\xd9\xf7\x6c\x7d\xcb\xdb\x27\xae\xf8\xe6\x4b\xf0\x03\x2b\xc5\x1d\x73\x12\x2c\x69\xb3\xe1\x55\xcf\xfe\x5a\x64\x3b\xcb\xbe\x1e\x5b\x91\xf9\xa5\xdb\x83\xfc\xfc\xe9\xdd\xdb\x73\x94\x40\x5d\xd0\x1d\xee\xc2\x2b\x8e\xb2\x92\x6a\xc9\x5f\xfe\xdf\xfe\x4c\x34\xff\xa3\x68\x1a\x96\xb6\x24\x59\x17\x22\xbd\x4d\x1c\x0b\x95\x68\x35\x1b\x2c\x03\x79\x37\xa0\xe4\x9d\x61\x92\x15\xac\x54\xaa\xaf\x50\xeb\xaf\x4f\xde\xc4\xdf\xb5\x51\x92\xb1\x96\xf2\x42\x26\x04\xbf\xc8\xae\x04\x71\xec\x12\xb3\xdb\x62\x7e\xb2\x58\xa8\xed\xd0\xa8\x7e\xe2\x0d\xcb\xc5\xc3\x77\xee\x5f\x52\x5e\xb9\xfd\x16\xbd\x0a\x68\xd3\xf2\xb4\x60\x33\x42\x25\xcf\xe0\xcd\xf0\x31\x23\x39\xdf\xa4\xb4\x46\x69\xab\xcf\x5d\x03\x83\xb9\x10\x60\xbc\x33\xb2\x65\x34\x53\xef\x9b\x46\x74\xf5\x8c\xe0\xe6\xf0\x37\xab\xba\x19\xa9\xe8\xdd\x8c\x48\xe0\x49\xad\x34\x27\xb1\x4a\x36\xec\xad\x88\x62\xf7\x72\x64\x2d\xe0\x6f\xee\x3c\xbc\x02\x9b\x67\xd1\x81\x63\x8d\x24\x0d\xee\xf7\xde\x7a\x33\xb9\x63\x78\x2c\x5a\x10\xf8\xba\xa9\x94\x62\x44\x4e\x92\xba\x11\x9b\x86\x49\xa9\x04\xf1\xe3\xb6\x11\x25\x1c\xca\xc8\x73\xa6\x84\xfb\x4b\xcd\x1a\xea\x49\xa7\xcb\xb8\x98\x91\x94\x56\x77\x14\x64\x62\xd7\xcf\xc8\x1d\x08\x4b\x4c\x4e\xe5\x33\x1d\xf2\x3b\xcb\x56\xa4\xd8\x02\x29\x50\xc9\x70\xc5\x41\x1f\xb2\xa0\x52\x0a\x90\x79\x45\xd6\x8d\xb8\x07\xc7\x96\x24\x07\xf6\x2d\x69\x84\x87\x44\x31\x9b\x38\xe0\x48\x01\x0f\x1a\x51\xc8\xd8\xf7\x44\xf6\x90\x02\xff\xa0\x40\xbe\xd9\x2a\x63\x45\xa8\x3a\x37\x70\x24\x47\x07\x5f\x81\xb8\x5f\x7c\xb6\xfb\x7c\x39\x9e\x9c\xb7\x12\x8e\x77\xbd\xe3\xc0\x7d\x35\xfb\x57\x59\x86\x22\x23\xc9\xe7\x2d\xcf\x32\x56\x7d\x49\x88\x6c\x77\x0a\xd0\x50\x9b\x35\x0c\x0e\xfc\xe6\x64\x31\xd7\x1c\xff\x0c\x22\x26\xed\x96\x91\xa4\x65\x25\xd0\x6b\x59\x32\xf5\xb2\x13\xe5\x1b\x33\xf2\x91\xe6\xb4\xe1\x33\xdf\x41\xc8\xbf\x90\xe5\xb2\x3f\x91\x25\x3f\x23\x76\xbb\x7d\xc7\xb1\xe8\xf3\x96\x57\xb7\xbf\x39\xd2\x18\xbd\xe0\x39\x37\x0d\x58\xf8\x9a\xa6\xb7\xe8\x55\x70\x0e\x08\x51\xe0\xb9\x4a\xcd\x14\xdc\x09\x66\x15\xc8\x91\x03\x05\x4f\x5b\xf6\x28\xfd\xea\x48\xad\x5e\x91\xb6\x81\x48\x50\xd3\x06\xa4\x36\xd6\xcc\x4d\x09\xf6\x0c\xbb\x36\xe0\xcd\x74\xcd\x0b\xde\xee\xd0\x4b\x72\x91\x42\xa4\xc9\xac\xac\x25\xb9\xdf\xb2\x0a\x19\xdc\x11\xd8\x06\x3c\x4a\x0a\x64\x81\x56\x1a\x91\x14\x67\x27\x5b\xd8\xa8\x01\xc5\x82\x58\x3d\xb6\x56\x7a\x14\xd4\xb2\xd2\x13\x0c\x9b\x60\x9e\x68\xf6\x43\xb0\xff\x84\xe1\xa5\x00\x5b\x2f\x00\x3e\x4a\x5a\x81\xa7\xfc\xe6\xd2\xb7\xc6\xf9\x98\x45\x4e\x6c\x4c\x83\x87\x77\xd4\xf5\xba\xf9\xdc\xf2\xb6\x60\x5f\x9c\x2e\x44\x03\x0e\x1b\xad\x45\xdb\x8a\x12\x62\x65\xfd\x40\x32\xf8\xcc\xb2\x7d\x1e\x82\x4c\x30\x38\x7b\x8b\xd9\x45\xb2\x16\x05\x2c\x57\x48\x65\x0d\xfa\xec\xcf\x87\x99\x58\x03\xde\x82\xab\xc2\x39\xfc\x94\xe0\xde\x78\xe6\xf9\x7c\xaf\x6f\xee\x39\xbe\xa6\x15\x24\x95\xe5\xd5\x80\x88\xe2\x1d\x00\xb0\x05\x64\x4b\xf7\x91\xb9\x83\xdd\x20\x97\x01\x8f\xde\x2e\x12\xb3\x4e\x65\x46\x40\x40\x87\x7f\x05\x5e\xf0\x96\x98\x00\x92\xa8\xb1\xc4\x04\xa9\x44\xed\x86\x78\x04\xa6\x22\xbf\x47\x32\xdb\xc5\x90\x5b\xa0\xba\x22\x4b\x56\x5e\x8e\x72\x8f\xf8\xe2\x15\x2b\xf7\x63\xd8\x41\x33\xe9\xa9\xc1\x76\xb7\x53\x8f\x5c\x91\xa3\x3c\x9f\x1b\x8a\xc6\x3b\x8f\xe6\xfb\x95\xc2\x2b\x38\xa9\xe4\xb2\x45\x2a\x78\x28\x27\x3e\x95\x88\x2a\xc9\xa1\x1f\x16\x85\x8b\x09\x3d\x0b\xb2\xc4\xdf\xa7\x67\x7e\xad\x12\xb6\x60\x7c\x81\xac\x63\x6d\xe4\x2d\xbb\x1a\x3e\xe5\x39\x2a\x01\x23\x8b\x8a\x6a\x1a\xe1\x93\x03\x34\x3b\x34\xc0\xae\x0e\x90\x7d\x75\x6e\xf3\x44\x6f\x2b\xed\xfe\xf8\x63\x2d\xa4\xca\xeb\x56\x80\x45\x80\xcc\x00\x19\x97\x8f\x06\xcc\x6f\x48\xd0\xd1\x6a\x45\xbd\x22\xd1\x3c\x3e\x57\x3a\x55\x63\xeb\xde\x11\xb5\x07\xc2\xf0\xd2\x8d\x2b\xc8\xb9\x2e\xd7\x0c\x82\x42\xa6\x6d\xaa\x6a\x7f\x27\xb0\xd7\xc8\xa0\x71\x95\x57\x98\x77\x81\x89\x87\x83\x5b\x2f\x5d\x5e\x6e\x86\xc8\xd2\x8b\xaf\xa4\x0f\xd1\x3d\xcf\xda\xad\xcb\xc8\xbf\x85\x92\x59\x44\xe0\xbc\x10\xf7\xca\x7c\x75\x34\x34\xb4\x0c\xc4\x79\xaa\xbc\xdb\xa8\xe0\xbf\x6a\x20\xe3\x73\x71\xdf\x6e\xb0\x32\xab\x3d\x49\xfe\x1d\x13\x41\xb4\x95\xdf\x49\x92\xd6\x49\x0c\x6c\x04\x1d\x52\xd9\xb2\x46\x85\xfe\x64\x3a\x95\x1d\x17\x1d\x0b\xf0\xfa\xb3\x79\xfd\xb0\xcf\x17\x33\x0e\xce\x00\x31\x14\x72\x24\xb2\x66\xed\x3d\x63\x3d\xf6\x20\x15\x01\xe1\xb1\x09\xb8\xc4\xb6\xe9\x75\xf6\x80\xbe\x00\x22\x5a\x59\x19\x41\x68\x78\x78\x2c\x7b\xfa\x11\xa6\x42\x72\xdd\xeb\x6e\xaf\xf7\xd5\xfd\xa9\x7a\x3d\xd1\xae\x15\xfb\xce\x24\x32\xf0\x74\x56\x26\x51\x07\x45\x95\x87\x29\x70\x4c\xb0\x2e\xd4\xe5\x5e\x5a\xa9\xc0\x52\xe1\x76\x9d\x61\x4a\x0c\x9f\x24\x2d\xeb\x60\x19\x5a\x8a\x4a\x40\xf6\x91\xc2\x1c\xf7\xf1\x72\x82\x0e\x8b\x81\x53\xfe\x04\x59\xfc\x6f\x1e\xf8\xff\x51\x89\xfb\x0a\xc0\xa8\xe4\xba\xfa\x06\x68\xd9\xd9\x32\x75\x66\xc2\x87\x67\x3f\x04\xea\x73\x48\x94\xff\x13\xe5\x01\x4a\x00\xf9\xee\xf4\x62\x96\xa9\xed\x6c\x60\xc0\x22\x03\x10\x0a\xbc\x2d\x99\x91\xae\x2a\x50\xce\x14\x63\x79\xa3\x62\x39\xe4\x5b\x50\x5f\x40\x9a\xc5\x25\xc6\xf9\x5e\xa0\xc1\x1a\x48\xe7\x7f\x68\xda\x6b\xa6\xd5\x01\x46\x86\x24\x63\xdb\x23\xd0\xa7\xe0\x52\x76\x20\x45\x8d\xd7\xd2\x2c\x03\x4e\x74\xe7\xc0\xcb\xe4\x5c\xa1\x64\x29\x28\xa5\x1b\xa6\x38\x98\xf6\x5e\x5a\xa7\xf1\xc8\xe3\x14\xff\xce\x2d\xda\x62\xf7\x5d\x79\x4a\x07\x80\x0c\xc5\x21\xaf\xea\x0e\xa4\x2d\xea\xd6\xd4\x91\x5a\x74\x33\xd5\x34\x81\x5c\xd3\xa5\xb5\x26\x5a\x1a\xa6\x42\x95\x15\x9e\x24\x30\xa1\x6f\x62\xf8\xed\x05\x33\x78\x3a\xad\xb5\x5c\xb1\x62\x5d\x28\x71\xf9\x98\x86\xbc\x64\x9c\x16\x8e\x4f\x35\xf5\xc1\x3b\x2e\x39\xa8\xe1\x49\x61\x3e\x51\x3d\x16\x95\xb3\x43\xd5\x5e\x26\xf6\x44\x14\x90\x47\xd7\xf1\x9a\x8a\x8d\xd3\xda\xd4\xb4\x8e\xae\xc0\x55\x35\x0e\xe1\x52\x5b\xfe\xf5\x69\x7c\x26\x94\x7e\xcd\x8e\x53\x52\x77\xb4\xe8\x4c\x09\xe8\xb5\x15\x0c\x39\x9d\x9b\xfa\xdc\xf4\xfa\x9e\x8d\xf2\xe4\x61\x1d\xdd\xef\x65\xb8\x3d\xb8\xd7\xd4\x48\xf4\x2a\x17\xe7\x07\x4c\x8f\x4b\x36\xe7\x42\x57\x77\x82\x67\xaa\xa8\xfa\x0f\xb6\xfe\x07\x9c\x76\xdd\x29\x38\xbb\xaa\xb2\x06\x47\xce\xe2\x79\xfc\x12\x03\x30\x80\xe6\x8b\xe5\x31\x78\x3e\x26\xce\x3b\xf0\x00\x95\x7d\xd8\x5a\xda\xfa\x99\x12\xb6\x2a\xf9\x93\x51\x59\xed\x39\x13\xaf\x6c\x11\x85\xcd\x41\x75\xc6\x14\x92\xe1\x5b\x9d\xf1\x2a\x5b\x4f\x48\xbb\xab\x99\x34\x75\xb7\x73\x2d\x5b\x88\x75\xd2\xee\x40\x55\xf9\x67\xcc\x22\x55\x65\x59\xda\x35\x52\x34\x66\x63\x1b\x83\x78\x49\x37\x2c\xc2\x4d\x2d\xab\x96\x90\x8b\x4a\x72\x2a\x52\xd5\x35\x54\xf3\x3e\xe3\xd2\xbf\x3c\xd3\x03\xcf\xbe\xcc\x14\x00\x2f\x6c\xc6\xe1\xcd\xc0\xd8\xda\xc2\x84\xc1\x32\xc8\xb1\x00\x02\x9f\xb9\x8a\xc7\x36\x0a\x69\x5d\x33\xda\xa0\x66\x01\x56\xd5\xd6\x21\x8f\xd4\x07\x5a\x41\xf2\xc7\x21\x1c\x36\x07\xfd\xf2\x03\x8b\xa4\xd7\x89\x35\xb2\x40\x87\x08\x83\x9c\x77\xdc\xcf\x76\xc6\x97\xc1\xc1\xdd\xaf\x0e\x63\x0c\x3b\x86\xc6\xd8\xa8\x4c\xea\xc6\xab\x0a\x1c\xac\xa6\x59\x86\x28\x89\x42\x36\xc9\xdc\x00\xfe\xc6\x3c\xac\x56\x51\x29\xbe\x46\xaa\xb2\x8e\xd4\x16\x46\x90\xd3\x81\x7d\x39\x9e\x21\x79\xa0\xc1\xd2\x93\x47\xcc\x0a\x24\xee\x00\x4e\xd6\x3a\x3a\xa9\x86\xff\xc4\xcb\x5a\x34\xe0\x83\x2a\xad\x57\xbb\xa1\xcf\xfc\xfb\x95\x36\x33\xb9\x65\x7e\x90\x52\x6b\x2d\x7f\x83\x3c\x5e\xb7\xd1\x27\xfd\x85\xf6\xb9\x84\x6c\x22\x15\x65\x89\x29\x05\xfa\x23\x6d\xc9\x4e\x74\x00\x45\xd5\x73\xa8\x69\x5a\xec\xc4\xb4\xbd\xbb\x00\x6d\xc9\x46\xd1\xca\x9c\x0a\x76\x02\x5e\xf5\x88\x6e\x97\x67\x82\x49\xdc\x05\xce\x5e\xa3\xfb\xf5\x09\xd6\xcc\x0a\x6b\x86\xcd\x54\x95\x18\xab\xbd\x1c\x38\x18\x81\xc1\x0a\xa2\x57\x38\x90\xf7\x32\xb3\x24\xd0\x92\x02\x6f\x1f\xf6\xd1\xac\x21\xec\x49\xd9\x3d\x5f\x49\xb7\x2c\xbd\x85\x6d\xc7\x3e\xd4\x50\x00\x9a\x67\x5f\x42\x69\xa2\x6b\x20\x3c\x84\x22\xde\xc0\x20\xf6\x77\x0f\x7f\xe2\x0f\x4a\xa7\x03\xf8\x40\xc7\xd1\x41\xf9\xb9\x0a\x40\x8d\x92\xeb\x49\xc6\xcc\x27\xe3\xb5\x32\xc6\x64\x8c\xa4\x90\x1d\x50\x63\x1e\x89\x4b\xdb\x6c\xc0\x40\x6c\x52\x5d\x3a\x6d\x5a\x70\x3a\xf0\x4f\xda\x49\x18\x99\xd0\xd5\x53\xd5\x46\x63\x5a\x28\x7e\x7d\x03\xa2\x3b\x5e\x89\xf1\xc3\x44\xe9\x05\x61\x3f\x09\x0b\xb6\xea\xa0\x88\x6b\x9e\x7d\x01\x57\x32\xf0\xa3\xfc\x28\x92\x50\x8e\x44\x83\x4c\x63\xef\x02\xd1\xb5\xc3\x05\x56\x1b\xd6\xbe\x43\x69\xb4\x67\x48\x49\x0f\x78\x7d\xbe\x20\xe1\x97\x74\x9b\x73\x56\x64\xc9\xfe\x66\x0a\x9a\x94\xdb\xa6\x57\x7e\xe2\xb5\x81\xac\x11\x1c\xd8\x65\x22\x14\x4d\xfc\x30\x32\xa3\x4c\x15\x7b\x21\xeb\x3a\x5c\xae\x1c\xbc\xec\x99\x42\xa4\xe6\x06\xbb\xe8\x29\x2b\xac\xbe\x43\x87\xb1\x69\xb6\x16\x8d\x19\x7e\x01\x0b\x54\xe6\xa2\xe7\x1c\x63\x54\xad\x8d\x71\x0d\x76\xb4\x7d\x4a\x4b\x4f\xe3\xd5\x96\x4a\xb5\x9b\x65\xe8\x85\x0a\xe6\xee\xf0\x10\x29\x9d\x4c\x8e\x0f\x0b\xb3\x37\x18\xfd\x4b\xa4\xc9\x07\x8d\x6c\xef\x1a\xb0\x7b\xd1\x68\x04\x3b\xa0\x9b\x50\x5a\xf3\x37\x75\xef\x41\xbc\x6c\x51\xdb\xc6\xcc\xe4\xb6\x3a\xf1\x32\xc7\xf4\x0b\x5e\x38\x25\x5a\xd3\x28\xb0\x60\x3f\x52\x8a\x02\x92\xa1\xa3\x74\x8e\xaf\x71\x2f\x8c\x2c\xeb\x87\x49\xf0\x89\x4f\xcf\xb1\x41\x16\x5f\x2c\xf5\xfb\xab\x41\x43\x65\x7a\x8d\xa3\x32\xf7\x24\x54\x58\x04\x13\x69\x0f\x61\xad\xbe\xa4\x20\x35\x13\x00\xfd\xd8\x7d\x46\xc0\x07\x70\xc1\xbb\x0b\xbc\xe2\xe0\xb9\xee\x4b\x7f\x65\x8d\x50\x3f\xd8\xc3\x7a\x59\x40\xc1\x36\x10\x7d\xf6\x85\xd5\xff\x0d\xa4\x8e\x2e\x35\xdd\x5d\x93\x4c\x21\x2f\x2c\xd6\xb4\xd9\x5f\x23\x8c\x0b\x9b\xc3\x95\xfa\xdf\x54\x98\xb4\x09\xbb\x02\x59\xaf\xa3\x9b\x80\x29\xd7\x75\xc1\x41\x94\x50\xbb\x52\xd2\x74\x28\xa3\x35\x6c\xa9\xed\x98\xbc\xff\xe5\xd3\xf5\x4a\x2d\x73\x79\x13\xad\x50\x13\x92\xe6\x0c\x2a\xb6\x35\x33\x88\x9b\xf5\xd7\x61\x81\x9a\xb7\xe7\xde\x16\x6a\xc1\xf6\x32\xf6\xab\xfd\x6e\x3e\x66\x57\xbf\xd7\xed\x49\x29\x24\x9c\xaa\xa6\x29\x1a\x8c\xcd\x8d\x5b\x95\x78\x83\x83\x16\x9e\x35\xe8\x1f\x87\x1d\x7a\xb0\xd1\x82\xd6\x92\x21\xd2\xe9\x4f\x97\x83\x71\xb3\xb1\x4b\xbd\xda\x0c\x2a\xd4\xad\xdd\x24\x94\x98\x91\x4f\x57\xef\xd5\x2b\x70\xcf\x3d\xe8\x8f\x3c\xff\x20\xd6\xa2\x15\xcf\x67\xd3\x0b\x7b\x55\xe9\xb8\x5e\xcc\x0a\xab\x64\x5e\x42\xdc\x85\x6c\x87\x65\x43\xbf\x8c\x54\xf7\xf3\xdc\xb5\xb3\xa7\xb7\x40\x47\x79\x8a\x2f\xcd\xe1\xb8\xac\x3e\x9a\xcf\x2f\x58\x76\xea\xd3\xed\x51\xca\xc7\x22\x73\x8b\x03\x79\xf4\x62\x7c\xa3\x63\xb7\x3a\x5d\xbc\x49\xf3\x5c\x4f\xb7\xb7\xc4\x47\xa3\x4b\x60\xcb\x75\xc1\x72\xb0\x9b\x57\x3f\x8c\x0e\xd3\x68\x7b\x7a\x65\xfa\x98\xed\x76\x95\xf3\x46\xb6\x51\xba\xe5\x05\x4a\x3e\xf3\xbf\x87\xf7\x74\x0d\x25\x58\x5c\xd0\xc1\xda\xfe\xeb\x78\xa9\xa1\xeb\xd6\x06\xef\x0c\x16\x71\x2f\xe6\x81\xf9\xbb\x14\x18\x47\xee\xb7\x80\x70\xca\x6e\x14\x96\xdf\x37\xb4\xbe\x1c\x3a\x7c\xf4\xe0\x35\x51\x9d\xd8\x7b\x38\x00\xab\x85\x20\xc7\xa5\x63\x65\x7f\x2f\xc4\x8c\x0f\xf5\x31\xd1\x62\x87\x86\xd4\xb7\xce\xf1\xc6\xfe\xd0\xa5\x7c\x5c\xb2\x96\x46\x70\x8a\x72\xd8\x2a\x9d\x48\x69\xe0\x50\xc3\x26\xf4\x63\x2e\x86\xab\x9b\x43\xb7\x65\x14\x0a\x10\x08\x4f\x19\xc5\x97\x95\x13\xd6\xfe\xe6\xb2\x20\x5e\x48\xc2\xa8\xc4\x3b\x49\x2b\xf9\x69\x51\xa9\xa8\xc4\xba\x8b\xc0\xb2\xfd\x17\xa5\x47\x69\x9a\x5a\xa3\x41\x4b\x19\x48\xd2\x5c\x3f\xa0\x75\x8d\x43\xe2\xa2\xbf\x30\x9a\x80\x82\x76\xcc\xc5\xf9\x38\x90\xf6\xc7\xec\x87\x7c\x23\xbb\x70\xbf\x86\x2d\x49\xd3\x1a\x9b\xc4\xba\xa0\x56\x7d\x30\x2a\xef\xdc\x7d\xc1\xf8\x16\xa5\x04\xc3\xb3\x0d\xa9\xfe\xa0\x3e\x03\x67\xb6\x15\x1e\xf6\x36\xa3\xe7\xf3\xf9\x0f\x4f\x77\x33\x5f\x8e\xca\x88\x82\x04\x3c\xae\xfb\x4b\x21\xba\x86\x44\x05\x72\x74\xc7\x71\x5c\x51\x7c\x72\x03\x3f\x6d\xbc\x78\x64\x4c\xd4\x60\x40\xbc\x70\x9e\x7a\x0f\xc6\x15\xad\x21\xee\xde\x82\x94\xf0\x2d\xea\x2d\xc6\x79\x24\xca\xd6\x0e\xe3\x82\x90\x06\xea\x86\x45\x9e\x37\x5b\xd3\x39\x5b\xe2\xeb\xf2\x71\x69\xeb\x07\x68\x02\x12\x8f\x2f\x1c\xb3\xbe\xa0\x52\xe6\xb5\x46\x0c\xb5\x4d\xc3\x76\xa3\x5c\xcd\xb3\x41\x43\x81\xce\xfa\x8f\x41\xa4\x1e\xe0\x47\x9c\xea\x6b\x86\x7e\x56\x9f\x05\x9a\xc4\xc4\x53\xfb\x1b\x77\x99\xe7\x5d\x3c\xbd\xb9\x70\xd7\x27\xde\x4d\x44\x20\xd9\x64\x17\xf8\x3a\x10\xa9\xce\xf1\x35\x84\x0f\x2c\x92\x3b\x09\x52\xea\xc1\xd7\xf7\x3f\x4d\xf6\xaf\x25\xcb\x38\x25\x2f\x3c\xa6\x2e\xe6\xc0\x94\xbb\xbe\x8a\x01\x70\x99\x0f\x57\x03\xf0\xf3\x9e\x65\xf9\x66\x14\x11\xb4\x7d\x4f\x10\x9e\x68\xec\x92\xed\xaa\x6a\xb7\x7a\xc1\x8b\xe5\xb1\x72\x05\xff\x07\x7f\x93\x51\xdc\x71\x42\xdd\xe7\x2c\x86\x8c\x4d\x31\xde\xfd\x93\x7c\xfc\xf4\xcf\xb7\xd7\x1f\x4d\x8e\xf1\xf2\xd1\x16\x82\x5b\x79\xf5\xe9\xfa\xc3\xcd\xd5\x5b\x72\xf3\xe3\x2f\xef\xed\xf2\xb8\xa4\x60\x2c\x1c\xcc\x96\x63\x85\x11\xce\x56\xde\x99\x39\xe4\x06\xe7\x3c\x7f\x34\x0e\xfa\x8f\x06\x04\x06\x26\x11\xf5\x44\xdd\x46\xe7\x0c\x8a\x07\xc8\x49\x81\x86\xbe\x91\xb2\xf9\xf9\xa1\xe7\xac\x06\xfd\xa8\x85\xef\x4a\xd3\x6e\xb1\x9a\xcf\xda\xd6\xcf\xed\x86\xf1\x1b\xf1\x42\xe3\xc1\x13\xe3\x7a\xc6\x1b\xfd\xc4\x02\x04\x89\xd6\xeb\x65\x7e\xec\x6a\xec\xb0\xe9\x87\x05\x8b\xc2\xb5\xa3\xed\x95\xda\xe4\x21\x4b\x2d\x99\x12\x5c\x77\xab\xf8\xc2\xe7\x60\xc0\x10\x20\xca\x65\xe1\x5d\xa7\x1d\x01\xb7\xe7\xbe\x14\xf2\x2d\xdb\x70\xdd\x68\x0e\x6f\x69\x7b\xf1\xde\xf3\xa2\xe2\x6b\x24\xe4\xc3\x84\x3b\x7c\x64\x49\x02\xd6\xb1\xf0\x46\x37\xd7\xf1\xe0\x86\x26\xca\x19\x6d\xbb\x46\x35\x73\xb1\x41\x09\x2e\xfd\x1c\x8c\x9c\x3e\xf7\xac\xf3\xe7\xeb\xab\xbf\x5d\x7f\xb0\xf7\xa7\x2a\x85\x3c\x10\xb4\x97\x8b\x37\x17\xf9\xe9\x04\x13\x62\xef\x31\x0e\xb3\x47\x9f\xce\x8d\xaf\x82\x26\x8f\x84\xf4\x8b\x10\x46\xed\xc7\xc7\x61\xd4\xcc\x0c\x3d\x00\xb1\xe8\x9f\x4c\x70\xb3\x78\x68\x1e\xf0\xdd\x77\x65\x87\xc0\xdf\x6c\xd6\xf4\xc5\xf2\xfc\x7c\x46\xfa\xbf\xa0\x20\x5f\x1c\xef\xdb\xf7\x50\x24\x32\xb3\xd5\x55\xd1\x38\x0f\x0c\xb8\x57\x40\xf4\x8b\xeb\xd7\xaf\xaf\xcf\xc7\xa2\xb7\x1d\x01\x8f\xef\xa3\x3c\xcf\xf7\xe0\xf9\xa9\x9b\xeb\x5c\xb7\xcf\x1d\x9f\xca\xbe\xb9\x46\x1c\xfc\xf4\xbd\x22\xe0\xe1\x34\xd7\x63\x70\xac\x04\xfb\x3f\xa8\xe0\xfc\x38\xcc\xd3\xbe\xa6\xc3\xe0\xf1\xb7\xb0\x74\x87\x8f\xed\x29\xc6\x80\x2b\x13\x77\x96\x73\x6b\x4b\x7e\xd3\x13\x08\x46\xa0\xbf\x94\x6d\xd5\x93\x63\x96\x38\xb8\x94\x06\x9d\x19\xf9\x57\x7c\x7e\x70\x46\xae\xb3\x4d\x8f\xa9\x07\x8f\x65\x88\x28\xf7\x0f\x6f\xfd\x4e\x7c\xe5\x90\xd0\xf7\x97\x0f\xd8\xb4\x5c\xbc\x7e\xf2\xf6\x4a\x1c\x88\xc1\xed\x4e\xc3\xb6\x3e\xd4\xd3\x09\x2e\xde\xfc\xf9\xff\x46\x0c\x9f\x85\x3f\x24\xbc\x1b\xcc\xc0\x2a\xd6\x92\xeb\x87\x1a\xb6\x87\xb1\xc5\x3c\x5a\x2c\xbe\x47\x80\xae\x10\x6e\x85\x50\xfd\xa1\x49\x86\x9b\xf3\x07\x87\xef\xd3\x22\x4a\x55\x11\x73\x17\xb8\xf2\x36\x70\x2d\xe4\x45\x51\xe7\xc7\x79\xc1\x1e\x82\xae\x08\x3c\x39\x5e\x32\x7e\xe7\x7c\x07\x3e\x3b\x4c\x82\xb5\x11\xd8\xe4\x7d\x1f\x4d\x0f\xf9\x92\xdb\xae\x76\x9b\xd5\x4f\xc1\x95\x31\x16\x3f\x8d\x06\xe0\x72\x4f\x05\x31\xda\x1f\x72\x4d\x0a\x37\xe1\x71\xe4\x1e\x6b\x26\x00\x77\x17\x39\xbe\xf6\x22\x9b\x7e\x00\xed\xcc\x29\xc1\xd9\x99\x3d\xd9\xa0\x70\x5d\xea\xc2\x15\x0c\x0f\x2f\x1f\x4c\xfd\xea\xf1\x11\xb3\x4a\xdf\x6a\xfe\x1a\xb0\x80\xb1\x09\xfb\xaa\x1c\xa5\x9f\xbd\x5e\x83\x69\xe8\x9e\x9a\x2c\xa6\xa9\xdf\xa0\x1e\xc3\xd7\x08\xc4\xcf\xe7\x3f\x8c\x95\x09\x07\x9c\x5a\x63\x40\xfb\xe1\x2b\xe0\x90\xa4\x7a\x11\x19\xe6\x62\x77\xf1\xfb\xeb\x48\x2a\xf1\x72\x78\x0a\x3e\xe9\xd4\x79\xbe\xb2\xf7\x2c\x4f\x52\x97\x21\x61\xec\x8b\xef\xb7\x1e\x85\x0e\x73\xc0\x04\xfd\x5f\x6c\x63\xb6\x7e\xce\xfc\xe6\xe3\xa7\x9b\xf7\x7f\x37\x29\xcf\x51\xc1\xa5\xba\xbc\x1d\x7b\x8f\xe7\xcd\xca\x39\x75\x7e\xea\xe5\xa0\xf8\x6f\x72\x78\xbe\x8b\xcc\x7d\xcd\x4a\x75\x44\x41\xe0\xba\x1f\x3a\x06\x8c\x39\xe9\x53\x12\x4b\x33\xc6\x77\x4d\x58\x91\xf0\xb2\x5a\x38\x48\x57\x56\xc3\xe9\x24\xf6\x1b\x44\xa1\x5a\x6e\x6f\xe0\x5f\x4e\x0b\x39\x4f\x2b\x9e\x21\xe1\x35\xc3\x62\xa4\x2e\xbd\xde\x16\x94\x3d\x91\xb0\x39\xa9\x7a\x68\x4b\x33\x84\xb2\xb9\xaa\x44\x4f\xe1\xff\xb1\x46\xe6\x17\xe0\x2e\x7a\x78\x19\x18\x5e\x2c\x8f\x1f\xb7\xce\x00\x6e\xa2\x91\xa0\x90\x86\x10\xf4\x34\x96\x16\xcb\x83\x2c\x2d\xcf\x8e\x87\xa9\xa2\xa5\x35\x6d\x76\xb9\x26\x9c\x87\x64\xe1\xb5\x7e\x08\x38\xe4\xb9\x87\x70\x5a\x6f\x54\x3f\x21\xdd\x8e\xdf\x4c\x72\xc5\x33\x86\x2f\x7f\x23\xb0\xe2\xea\x91\x1b\x07\x3d\x31\x94\x4f\x9f\x8d\x6c\xca\x25\x76\xae\x6d\xa0\xd7\xda\xa8\xe1\xbe\x8f\x1b\xdb\x0e\xfe\xbf\x29\x9f\xbd\x7a\x7f\x03\x65\xf4\x8d\xad\x9f\x79\x8c\xb7\xc7\x76\x0d\xad\x78\x69\xda\xae\x0b\x49\xd4\x08\x0a\x50\x5d\x0c\xa9\x7f\xc2\x66\xce\xf7\xd7\x5b\xb6\xcb\x1b\x5a\x32\x33\xe9\x57\x15\xf4\xe1\xcd\xfd\x8b\xbb\xbe\x74\x6d\x04\xfe\xdb\x8a\x17\xd1\xe9\xc5\x3c\x63\x9b\xe3\x4b\xd2\x8f\x4d\x86\xbe\x61\x9f\xe0\x7f\x02\x00\x00\xff\xff\x10\x75\xa8\x21\x17\x39\x00\x00") + +func publicCssStylesCssBytes() ([]byte, error) { + return bindataRead( + _publicCssStylesCss, + "public/css/styles.css", + ) +} + func publicCssStylesCss() (*asset, error) { - path := "D:\\Code\\Go\\src\\github.com\\hacdias\\caddy-filemanager\\assets\\public\\css\\styles.css" - name := "public/css/styles.css" - bytes, err := bindataRead(path, name) + bytes, err := publicCssStylesCssBytes() if err != nil { return nil, err } - fi, err := os.Stat(path) - if err != nil { - err = fmt.Errorf("Error reading asset info %s at %s: %v", name, path, err) - } - - a := &asset{bytes: bytes, info: fi} - return a, err + info := bindataFileInfo{name: "public/css/styles.css", size: 14615, mode: os.FileMode(438), modTime: time.Unix(1466631017, 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\x7e\xdb\x21\x2d\x3e\x1e\x94\x56\x56\x9c\xba\x5a\xef\x70\xbd\xe2\x97\x87\x53\xb4\xc5\x25\x94\x44\x81\x8f\x80\x8a\x23\x55\xe5\x2e\x78\xb6\x0e\x24\xf6\x28\x84\x88\x35\x8d\xe6\xab\x00\x22\xd6\xad\x0d\xef\xf8\xa3\xc3\x98\xf5\x24\xb4\x91\x7f\x7b\x5a\x07\xc9\x20\xd5\x12\x34\x2b\xc8\x9e\xac\xd6\x53\x7f\x2a\xa9\x77\xd4\x67\x0c\x14\x45\x97\xff\xa8\x85\x6f\xf1\x20\x47\x77\x35\xa8\x1e\x1d\xca\xf0\x80\x35\xc2\x40\x70\xf0\x14\x57\xde\xa8\x59\x22\x06\xca\x09\x25\x0d\x4e\xff\x5d\xd2\xc2\xe8\xf1\x1f\x6f\x2f\xce\x85\xc8\x3f\xa8\x87\x81\x0e\x2c\xc4\x40\x29\xd7\xf4\xcf\xa6\x17\xd3\xd9\xd4\x1f\x4b\x4b\x6a\x5a\x06\x02\x6b\x8c\xa0\xf1\x2c\x4b\x39\x8d\xe2\x87\x42\xc0\x51\x57\xac\x74\x14\xa9\x44\xe5\x7d\x83\x23\x31\x3e\x22\x06\x86\xb2\x3f\x5a\x98\x1a\x10\x52\x2c\x0b\x04\xc0\xfc\x69\x41\x7a\x35\x22\xf9\x35\x0e\xa7\x99\x84\x7f\x18\x78\x32\x48\xe9\x49\xb6\x6c\x28\xdf\x82\xd4\x2d\x57\x6b\x3c\x03\x47\x0b\xb6\x50\x18\x60\xc2\x57\x66\xf1\x47\xb5\xaa\x32\x68\x0a\xf5\x4c\x09\xa5\x6b\x4b\x4d\x7e\x23\x3f\xe4\xdf\x8d\x31\x4e\x77\x2c\xd9\xc9\xb6\x7d\x76\x6d\x04\x9f\x1a\x68\x65\xe0\xc7\x99\x77\x07\xe3\x6e\x37\x6d\x83\xb1\x10\x0e\xf2\x4a\x36\x66\x13\xe8\xdd\xd0\x26\x17\x51\x21\xce\x18\x07\x5b\x65\xfc\xe1\x7d\xc4\x05\xb4\xca\x7d\x48\x5a\xa9\xc6\x62\xdf\xdf\x5e\x55\x1d\xdd\x13\x5b\xde\x73\x15\xc4\xce\xe8\x22\x2a\x13\xe1\x46\x94\x5c\x2d\x99\x95\x9e\xa0\x22\xbf\x86\x75\xd8\xc0\xed\x2c\x3f\x50\xa9\x1e\x99\xf6\x1c\xea\x5c\x3e\xfe\xd1\xf1\x0a\x93\xc2\x40\xbc\x72\xce\x91\xec\x3b\xf2\x08\x4b\x1f\x44\xaa\xe7\x9e\x59\xb4\x54\x99\x07\x21\xfc\x11\xa4\xd8\x0a\x49\x3b\x03\xae\x34\xbb\x58\xa2\x48\x41\xd9\x23\xe5\xc6\xdc\x03\x4d\x26\x87\x7c\x91\xb0\xf9\x2d\x78\x7d\x5d\x8d\x9a\x13\x89\xa3\xcf\x7b\x37\x1a\x42\x9c\xe2\xf7\xa9\x4d\x25\x44\x31\x00\xa5\xfe\x1b\x21\x38\x83\x7c\x01\xdc\xea\x29\x05\x8d\x99\x88\x6e\x12\x0a\x98\xbe\x53\x11\x28\x8c\x05\xa8\xa6\xa8\xc2\x2e\x4a\x74\x4b\x1f\xce\xb2\x7b\x5b\x9d\x18\x13\x59\xc5\xaa\x6e\x49\xfa\x01\x80\x9e\x62\x47\x00\x87\xe6\xe8\x0f\x55\x38\x94\x7a\xa1\xf7\x97\x3d\xaa\xb1\x30\x5b\xd2\x89\xaf\x9c\xc6\xef\x4d\x27\x3b\x26\x14\x09\x59\x0f\x3c\xef\xdf\xcc\x4e\xcf\xeb\xf9\xc4\xcd\x28\x42\xa3\x9f\x43\xd8\x40\xcd\x2b\xa7\x3e\x98\x65\xfe\xd8\x08\xd6\x81\x55\xe5\xa1\xc7\x67\xa2\x1d\x73\x51\x67\xc8\x7a\xd6\xcc\x46\xa4\xa1\x73\x54\x0d\xb0\x6c\x73\x4b\xbd\x47\x75\x4d\x76\x21\x8f\x90\x2a\x98\xcc\xfc\x08\x51\xdb\x62\x1b\x4f\x65\xb1\x52\x3c\x62\x3a\x6b\xcd\xf4\xe5\x4e\x1f\xe5\xb9\x1b\x1b\x24\x97\x62\x9b\x6d\xb5\xab\xc3\xb9\xcd\x76\x03\xf1\xb3\xe5\x37\xbb\xe7\x3b\x93\xf1\xec\xa7\xdd\xb0\xf2\xfa\xbf\x56\x5e\xff\xf3\x9f\x2b\xb5\x0f\xe9\xbc\x83\x4a\xed\xec\x90\xaf\x5f\x49\xeb\x71\x8b\xf8\xd6\xe3\xad\x7a\x53\x2b\x8b\x44\xea\x0c\x25\xb0\x0b\x64\xa8\x14\x70\xdc\xd3\x6e\x11\xb7\xc7\xa0\xce\xd0\xb5\x35\xe0\x75\x46\x2e\xd2\x9f\x54\x6a\xaa\x6b\x96\x1d\xd5\x92\x94\xb3\xbd\xeb\xa0\x90\x3d\x38\x37\x49\xc9\x01\xa1\x1d\xf4\x86\xac\xfb\x14\xe3\x3c\xd5\x36\x4f\x34\xcd\x46\x17\x08\xc3\x35\x5c\x4f\xd5\x80\x4c\xe0\x64\xb8\x95\xd5\x63\xbd\xf0\xff\xcd\xeb\x2a\x8b\x1b\x4b\xb8\x3d\xab\x5c\x79\x41\xbc\xd7\x86\x91\x89\x9a\x40\x54\xb2\x3e\xad\xf3\xed\x24\xd8\xa5\x9c\x6a\x28\xf3\x2b\xc3\x9e\xcd\x55\x01\x2a\xab\xa8\xc6\x31\x5b\x47\x2b\x5e\x99\xe3\x8e\x9e\x1d\xc6\xe8\xf4\xa8\xa7\x19\x9d\x39\x10\xc1\xe2\x48\x44\x3a\xf9\xfd\x9a\xf1\xf5\x19\xfc\x34\x09\x1d\xe7\x77\x81\x2c\x84\xe4\xa4\x14\x3e\x5e\x49\x1b\x1a\x13\xc0\x93\x17\x2f\xcc\x98\x0c\xf0\xc2\x28\xcf\x31\x8d\x49\x98\x2b\x76\x1d\xaa\xd8\x6f\x7e\x8e\xbe\xad\xda\x7f\xff\xee\xe3\xac\x5d\xeb\xd7\xab\xe3\xde\x1c\xec\xfd\x4d\x69\x67\x6c\xa6\x4c\xad\x16\x01\x05\xf8\xbd\xda\x04\x2b\x0c\xa7\xc8\x65\xd0\xa8\xf4\x1b\x26\xfc\x3e\xe5\x3c\xfa\x5e\x6f\x0f\x52\x93\xb4\xe4\xce\xc5\x5e\xc4\x39\x2c\xc2\x23\x79\xdd\x28\x02\xff\xa5\x8a\x49\xf0\x3c\xcc\xb3\x3c\x70\x7d\x3d\xc0\x87\xff\xca\x58\x2a\xa1\x6c\x99\x6f\x3d\xb8\x15\x3f\xbd\xe6\x28\x04\xec\xd5\x3b\xf0\x11\x59\x96\xdc\x44\x7c\xe8\x48\x68\x10\x65\x6d\xf7\x6a\xf7\xb2\x5c\xdf\x50\x44\xed\x8a\x2c\xca\xf9\x7b\x89\x1a\x94\x83\x54\x12\xf1\x46\xb5\xb8\x5e\xdf\xa1\x1a\x74\xd6\x9f\x9b\x8b\x4f\xc5\x5f\x63\xc8\xe9\x41\xfd\x01\x41\x5f\x1d\xe5\xfd\xc6\xad\x89\xe6\xfc\x84\x1c\xb5\xae\x4b\x9a\x8c\xe2\xb1\xc1\x61\x4a\x9d\x78\xcc\x8a\x8a\xfa\x10\xba\x2a\x83\xb6\x12\xd8\xf4\xf2\x88\xa5\xc9\xe3\x99\xd4\xd3\x8e\x6f\xe2\xb3\x87\xc6\x66\x28\x79\xb5\x6d\x61\xa8\xb8\xe6\x68\x1d\x25\x65\x23\x33\x80\xac\xaa\x93\xa1\x51\x25\x9c\x1e\x73\x3d\xde\xdd\x28\x46\xb2\x4b\xc4\x45\xa7\x26\x58\x71\xba\x70\x47\xe7\x9d\xf7\x68\xcf\xe4\x3d\x5a\x7f\x45\xd4\x46\x34\x17\xf4\xf2\x94\x4f\x9a\xef\x14\x34\xc6\xef\x8d\x8b\xb7\x3a\xa5\xbc\x2c\x56\x92\x8c\x54\xaa\xd3\x23\x34\x28\x75\x0f\x50\x07\x47\x56\x96\xea\x0f\x9d\xa6\xe2\x3e\x18\x9a\x13\xf6\x1f\x0a\x79\x91\x0a\xb6\x6e\xdc\xa6\x42\x4d\x8a\xea\x1b\x43\xf8\xab\xaa\x15\x1a\xe2\x4b\x01\xa7\xaa\x84\x03\x95\x42\xb8\x04\xa0\x05\x4b\x69\xac\x55\xab\x36\xd3\x02\x49\x71\x74\x1b\x44\x70\x9b\x80\x36\x2c\x1f\xeb\xbd\xf5\xfd\x8f\x7c\x81\xa2\xb8\x8c\x2e\x83\x78\x64\xb2\x6f\x1d\xdd\xd9\x5f\xe9\xb6\x03\xc5\x61\xc2\x64\x0a\xd2\xe0\x9c\xc4\xa1\x80\x82\x01\x14\x40\x3f\x02\x33\xba\x6a\xd8\x16\xc3\xcf\xde\xbd\xd5\x14\xb0\xd6\xd8\x12\xc3\x41\x2a\x75\xfd\x43\x9a\xaf\x9c\x14\xf8\x32\x4b\x08\x7b\x27\x41\xf7\x48\xdf\x9c\x16\x0f\x89\x78\x4a\x35\x86\x5e\x35\xd4\x69\x98\x4f\x9f\x9f\x1f\x70\x61\xf0\xa8\x36\xc6\x14\xd6\xdb\xc2\x64\x47\xc6\x44\x42\xa0\x62\x7b\x23\x64\x5d\xa4\x97\x16\x5e\xa7\x78\xa3\xe6\xf5\x66\x37\xd4\xc0\x8e\xf6\x56\x66\x84\x02\x6c\xdd\x15\xef\xc9\xec\xae\xdb\x6f\x3d\x3d\x7b\xeb\xa9\x4d\xdb\xcf\xa9\xa2\x3c\xc0\xa9\xbd\x64\xde\x8d\x53\x53\x48\x6f\xd3\x90\x81\x1b\xd8\xb9\xd5\x08\x6e\x21\x76\xc0\xd2\xbc\x14\x32\x97\x01\x81\xc0\xed\x44\x36\x43\xee\x61\x6f\x4e\xfa\x59\x71\xae\x7c\xea\x11\xb1\x45\x4b\xf7\x2e\xc3\xd4\xdc\xd6\x4d\x3b\xaf\x2a\xea\xf5\x44\x73\x6b\xba\x36\x66\x50\xbf\xab\x51\x85\xfa\x3d\xb0\xb5\x33\x0b\x76\x72\xc2\xa0\x45\xf5\x8d\x6c\xdb\xa4\xed\x5d\x62\x1e\x2d\x21\xf1\xf0\xbe\xa8\x35\x38\x6e\xd8\x8c\x55\x02\x31\x85\xdb\x6e\xfb\xb4\x9c\xa4\x3f\xcc\xc8\x0e\xba\x9a\x2a\xe0\xcf\xf6\x2b\x2d\xe1\x9f\xea\x4d\xfb\xe3\x98\x4a\x68\x74\x47\xbf\x3f\x57\x47\x4f\xe7\x29\xcb\x9f\x64\x0c\x95\x57\xe5\x6b\x62\x12\x08\x1b\xbc\x19\x8f\xd2\x62\x21\xeb\x72\x0d\xb0\xd0\x8d\x77\x0c\x39\x03\xbf\x6a\x86\xdc\xb6\x5c\xb7\xe2\x2d\xc6\x7b\x9a\x2b\x5c\xfa\x5f\x00\x00\x00\xff\xff\xf6\xda\xeb\x14\x58\x2a\x00\x00") + +func publicJsApplicationJsBytes() ([]byte, error) { + return bindataRead( + _publicJsApplicationJs, + "public/js/application.js", + ) } -// publicJsApplicationJs reads file data from disk. It returns an error on failure. func publicJsApplicationJs() (*asset, error) { - path := "D:\\Code\\Go\\src\\github.com\\hacdias\\caddy-filemanager\\assets\\public\\js\\application.js" - name := "public/js/application.js" - bytes, err := bindataRead(path, name) + bytes, err := publicJsApplicationJsBytes() if err != nil { return nil, err } - fi, err := os.Stat(path) - if err != nil { - err = fmt.Errorf("Error reading asset info %s at %s: %v", name, path, err) - } - - a := &asset{bytes: bytes, info: fi} - return a, 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") + +func templatesActionsTmplBytes() ([]byte, error) { + return bindataRead( + _templatesActionsTmpl, + "templates/actions.tmpl", + ) } -// templatesActionsTmpl reads file data from disk. It returns an error on failure. func templatesActionsTmpl() (*asset, error) { - path := "D:\\Code\\Go\\src\\github.com\\hacdias\\caddy-filemanager\\assets\\templates\\actions.tmpl" - name := "templates/actions.tmpl" - bytes, err := bindataRead(path, name) + bytes, err := templatesActionsTmplBytes() if err != nil { return nil, err } - fi, err := os.Stat(path) - if err != nil { - err = fmt.Errorf("Error reading asset info %s at %s: %v", name, path, err) - } - - a := &asset{bytes: bytes, info: fi} - return a, 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 +} + +var _templatesBaseTmpl = []byte("\x1f\x8b\x08\x00\x00\x09\x6e\x88\x00\xff\xb4\x56\xdf\xab\xdb\x36\x14\x7e\xcf\x5f\xa1\x8a\x41\x1e\xd6\x58\x19\x6c\x2f\xc5\xce\x60\xf7\x76\xac\xd0\x6e\xa5\x77\x63\xec\x29\x28\xf6\xb1\xad\x56\x96\x3c\x49\xce\x6d\x08\xf9\xdf\x77\x64\xd9\x8e\x93\x26\x4e\xba\x31\x08\xc4\x96\x8f\xbe\xf3\xeb\x3b\x9f\x14\xbf\x78\xfc\xed\xe1\xf7\xbf\xde\xbf\x26\xa5\xab\xe4\x6a\x16\x87\x3f\x12\x97\xc0\x33\xfc\x27\xb1\x13\x4e\xc2\x6a\xbf\x8f\x7e\xe5\x15\x1c\x0e\x31\x0b\x0b\xfe\x53\x05\x8e\x13\x85\xcb\x09\xdd\x0a\x78\xae\xb5\x71\x94\xa4\x5a\x39\x50\x2e\xa1\xcf\x22\x73\x65\x92\xc1\x56\xa4\xb0\x68\x5f\x5e\x12\xa1\x84\x13\x5c\x2e\x6c\xca\x25\x24\xdf\x45\x4b\xda\x02\x49\xa1\x3e\x91\xd2\x40\x9e\xd0\xd2\xb9\xda\xbe\x62\x2c\x47\x18\x1b\x15\x5a\x17\x12\x78\x2d\x6c\x94\xea\x8a\x09\x04\xff\x31\xe7\x95\x90\xbb\xe4\x1d\x77\x60\x10\xeb\xdb\x37\xb8\x68\x29\x31\x20\x13\x6a\xdd\x4e\x82\x2d\x01\xdc\x39\xf0\x7c\x12\x38\xb5\xb6\xc7\xfd\xa0\x37\xda\xe9\x57\xdf\x2f\x97\x2f\x7f\x58\x2e\xe7\x2d\xee\xfc\x88\x3b\x27\x6e\x57\x43\x32\x77\xf0\xd9\xf9\x6d\xf3\xa3\x9f\xf3\x08\xba\x8c\xf6\x7b\x12\x3d\x68\x95\x8b\x22\xfa\x89\x5b\xf8\xe3\xc3\x5b\x72\x38\xb0\x75\x2e\x24\x54\x5c\xf1\x02\xb3\xc0\x8a\x19\xc5\xa5\xc7\x63\x01\x20\xc2\xc7\x90\x82\x4d\x8d\xa8\x1d\xb1\x26\xfd\x2a\xa8\x8f\x96\xf1\xba\x96\x22\xe5\x4e\x68\x15\x7d\x44\xb4\x98\x05\x2c\x0f\x8b\x48\x22\x27\x0a\x06\xbc\x27\xef\xf6\xc9\xc7\x4d\x28\x45\x54\xb4\x41\xdf\x7e\xd1\x9b\xfb\x0d\x5f\x5a\x76\x56\x6c\x30\x43\x54\x50\x59\xd8\x1d\x3c\xf4\x9b\x7e\x69\x0a\xfd\x5a\xf1\x8d\x84\xac\x07\x7f\xb1\x58\x10\xbf\x4c\x6a\xd9\x14\x42\x11\xeb\x9a\x3c\x27\x8b\x45\xeb\xef\xdf\x54\xb4\x44\xb0\xa9\x52\xde\x55\xcb\x13\x90\xdb\x45\xec\xd3\x8d\x59\x37\x30\xf1\x46\x67\xbb\xb6\x71\x7e\x01\x4c\x70\x9c\x89\x6d\x5f\x46\xf2\x8d\xc4\xcc\x5e\x25\x24\x7a\x6f\x70\x36\x74\x63\xdf\xfa\x54\x43\x51\x8e\x7d\x69\xad\x28\xed\x96\x49\xcc\x8f\xb9\xa3\x01\xfc\xdd\x19\x10\xe6\x9b\xc5\xf6\x7b\x90\x16\xf0\x29\x8a\x18\xfe\xb0\x59\x63\xf0\xc3\x61\x88\x34\x14\xa2\x0b\x89\xa4\x92\x5b\x9b\x50\x9e\xfa\xf4\x28\x11\x59\x42\x6b\xdc\x37\x18\x91\x58\xf4\x36\x55\x37\x6e\x0b\xd1\x8e\xdb\xca\x36\x9b\x4c\x18\x48\x9d\x36\xbb\x35\x37\x46\x3f\xaf\x25\xe4\x2e\x66\x62\xf0\xc0\x86\xac\xf1\x99\xaf\x7c\x0c\x21\xc8\xd9\x95\x08\x48\x26\x6c\x4b\x91\x0b\xa1\xfc\x87\x48\x46\x81\x8c\x09\x8a\x1f\xea\xd5\xb5\xea\x9e\x53\x83\x92\xae\xce\x7d\x0e\x17\xe9\xf3\x65\x99\xa7\xa6\xc0\xbf\x1d\x01\x7f\xc6\x21\x26\xef\xc2\x14\x9f\x86\xd9\x56\x6f\x46\x4e\xe8\xd1\xaa\x31\xa1\x6c\x20\xc8\x44\x81\xd2\x12\xb6\x46\xab\xb5\x11\x45\x39\x6e\x90\x4f\xa1\x85\xf1\xaa\x5e\x5f\x28\xd0\xb1\x70\x27\x04\xf6\x09\xbd\xb1\x8f\xc2\x0c\xf1\xe5\xda\x54\x77\x34\x0a\xb8\x49\xcb\x31\x43\x84\xaa\x1b\x17\x04\x95\x7a\x41\xa5\xa8\x05\x3c\x85\x52\x4b\x9c\x9c\x84\x3e\xb5\x1b\xe8\xd0\xc6\x91\x9b\x6b\xf4\xf5\xe7\xd0\x1d\x9c\xf1\x66\x6b\x3f\xa0\x28\x33\x70\x91\x29\x57\x3d\x34\xb5\xd4\x3c\xbb\xc3\x87\x57\xe5\x75\xb0\xbe\xec\xe1\x7c\x20\xf0\xdd\x41\x85\x15\x70\xd8\xd9\xe0\x12\xcf\xb5\x68\x24\x0d\x5d\x6b\x66\xb7\x98\xd5\xf9\x9a\x54\xd8\x53\xd6\x5f\x90\x42\x0b\xce\x09\x55\xd8\x29\xc9\xb8\x47\x28\x3a\x98\x09\x65\x98\x2e\xb8\xd4\x85\x6e\xdc\x1d\x05\x87\xcf\xc2\xad\x9d\x5e\xa3\x64\xdf\x1e\xfe\x61\x3d\x28\xb7\x17\xea\xd9\x29\xbb\x7b\x43\x1f\x96\x8f\xc3\x69\x2d\x37\xdc\x74\x81\xc4\xb7\x99\xb2\xe1\xe9\xa7\x3b\xc2\x0e\x92\xe5\x8d\xaf\x10\xb1\x1e\x30\x6c\xcd\x55\x0b\x6d\x41\xa2\xe0\x41\xb6\x50\x4d\xb5\x01\x8c\x69\x89\xe7\x12\x7e\xec\x2d\xfb\xef\xd1\x30\xd8\x23\xc4\xf8\x84\x82\x53\x94\x1b\x09\x40\xff\x34\x2e\x62\x5c\x71\x11\x5c\x9e\xe0\x74\x37\x40\xc4\x79\xe4\x78\x41\x0c\xa6\xac\xb7\x45\xb1\xd0\xae\x3b\x17\x9f\xc0\x6c\x91\xb0\xcf\xc2\x95\xb3\x40\xc8\xf6\xc4\x57\x5a\xd7\xa0\xc0\x10\xa5\x91\x9f\x60\x0c\x66\x78\x76\x3d\x4c\x79\x96\xed\xac\xdf\x6e\xfc\x05\x8e\xae\x1e\xfc\x42\x4f\x26\xae\xb2\xaf\xc4\x2b\x30\x84\x66\xd3\xde\x05\x4b\x9e\x66\x82\xdb\xe0\x62\x31\xba\x5b\xd1\xd5\x58\xa3\xbd\xaf\x68\x76\x63\x10\xff\x44\x58\xc2\x49\x2e\xf9\x56\x37\x86\xe8\x7c\x46\xfe\x8f\xb8\xbc\xd3\x36\x9e\x93\xee\xb0\xa1\xd2\x31\x0b\xb7\x12\xe4\xba\xbf\xde\xff\x13\x00\x00\xff\xff\x8f\xc0\xd0\x15\xf5\x0b\x00\x00") + +func templatesBaseTmplBytes() ([]byte, error) { + return bindataRead( + _templatesBaseTmpl, + "templates/base.tmpl", + ) } -// templatesBaseTmpl reads file data from disk. It returns an error on failure. func templatesBaseTmpl() (*asset, error) { - path := "D:\\Code\\Go\\src\\github.com\\hacdias\\caddy-filemanager\\assets\\templates\\base.tmpl" - name := "templates/base.tmpl" - bytes, err := bindataRead(path, name) + bytes, err := templatesBaseTmplBytes() if err != nil { return nil, err } - fi, err := os.Stat(path) - if err != nil { - err = fmt.Errorf("Error reading asset info %s at %s: %v", name, path, err) - } - - a := &asset{bytes: bytes, info: fi} - return a, err + info := bindataFileInfo{name: "templates/base.tmpl", size: 3061, mode: os.FileMode(438), modTime: time.Unix(1466630263, 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") + +func templatesListingTmplBytes() ([]byte, error) { + return bindataRead( + _templatesListingTmpl, + "templates/listing.tmpl", + ) } -// templatesListingTmpl reads file data from disk. It returns an error on failure. func templatesListingTmpl() (*asset, error) { - path := "D:\\Code\\Go\\src\\github.com\\hacdias\\caddy-filemanager\\assets\\templates\\listing.tmpl" - name := "templates/listing.tmpl" - bytes, err := bindataRead(path, name) + bytes, err := templatesListingTmplBytes() if err != nil { return nil, err } - fi, err := os.Stat(path) - if err != nil { - err = fmt.Errorf("Error reading asset info %s at %s: %v", name, path, err) - } - - a := &asset{bytes: bytes, info: fi} - return a, 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") + +func templatesSingleTmplBytes() ([]byte, error) { + return bindataRead( + _templatesSingleTmpl, + "templates/single.tmpl", + ) } -// templatesSingleTmpl reads file data from disk. It returns an error on failure. func templatesSingleTmpl() (*asset, error) { - path := "D:\\Code\\Go\\src\\github.com\\hacdias\\caddy-filemanager\\assets\\templates\\single.tmpl" - name := "templates/single.tmpl" - bytes, err := bindataRead(path, name) + bytes, err := templatesSingleTmplBytes() if err != nil { return nil, err } - fi, err := os.Stat(path) - if err != nil { - err = fmt.Errorf("Error reading asset info %s at %s: %v", name, path, err) - } - - a := &asset{bytes: bytes, info: fi} - return a, 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 } // Asset loads and returns the asset for the given name. diff --git a/filemanager.go b/filemanager.go index 40de0453..07e10f45 100644 --- a/filemanager.go +++ b/filemanager.go @@ -1,6 +1,6 @@ //go:generate go get github.com/jteeuwen/go-bindata //go:generate go install github.com/jteeuwen/go-bindata/go-bindata -//go:generate go-bindata -debug -pkg filemanager -prefix "assets" -o binary.go assets/... +//go:generate go-bindata -pkg filemanager -prefix "assets" -o binary.go assets/... // Package filemanager provides middleware for managing files in a directory // when directory path is requested instead of a specific file. Based on browse