2016-06-10 17:27:27 +00:00
|
|
|
// Code generated by go-bindata.
|
|
|
|
// sources:
|
2016-07-01 09:46:09 +00:00
|
|
|
// assets/embed/public/css/styles.css
|
|
|
|
// assets/embed/public/js/application.js
|
|
|
|
// assets/embed/public/js/form2js.js
|
|
|
|
// assets/embed/templates/actions.tmpl
|
|
|
|
// assets/embed/templates/base.tmpl
|
|
|
|
// assets/embed/templates/editor.tmpl
|
|
|
|
// assets/embed/templates/frontmatter.tmpl
|
|
|
|
// assets/embed/templates/listing.tmpl
|
|
|
|
// assets/embed/templates/minimal.tmpl
|
|
|
|
// assets/embed/templates/single.tmpl
|
2016-06-10 17:27:27 +00:00
|
|
|
// DO NOT EDIT!
|
|
|
|
|
2016-06-25 20:57:10 +00:00
|
|
|
package assets
|
2016-06-10 17:27:27 +00:00
|
|
|
|
|
|
|
import (
|
2016-07-01 13:55:17 +00:00
|
|
|
"bytes"
|
|
|
|
"compress/gzip"
|
2016-06-10 17:27:27 +00:00
|
|
|
"fmt"
|
2016-07-01 13:55:17 +00:00
|
|
|
"io"
|
2016-06-10 17:27:27 +00:00
|
|
|
"io/ioutil"
|
|
|
|
"os"
|
|
|
|
"path/filepath"
|
|
|
|
"strings"
|
2016-07-01 13:55:17 +00:00
|
|
|
"time"
|
2016-06-10 17:27:27 +00:00
|
|
|
)
|
|
|
|
|
2016-07-01 13:55:17 +00:00
|
|
|
func bindataRead(data []byte, name string) ([]byte, error) {
|
|
|
|
gz, err := gzip.NewReader(bytes.NewBuffer(data))
|
2016-06-10 17:27:27 +00:00
|
|
|
if err != nil {
|
2016-07-01 13:55:17 +00:00
|
|
|
return nil, fmt.Errorf("Read %q: %v", name, err)
|
2016-06-10 17:27:27 +00:00
|
|
|
}
|
2016-07-01 13:55:17 +00:00
|
|
|
|
|
|
|
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
|
2016-06-10 17:27:27 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type asset struct {
|
|
|
|
bytes []byte
|
|
|
|
info os.FileInfo
|
|
|
|
}
|
|
|
|
|
2016-07-01 13:55:17 +00:00
|
|
|
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\xc4\x5b\x7b\x73\xdb\xb6\x96\xff\x3f\x33\xf9\x0e\xdc\x78\x3a\x79\x54\x64\x29\xd9\x92\x63\x79\xda\xa9\x93\xb8\xbb\x9e\x4d\xd2\x9d\x24\x33\x3b\xbd\x99\xfc\x01\x91\xa0\x84\x9a\x24\x38\x24\x65\xcb\xe9\xe4\xbb\xdf\x03\x10\x00\xf1\x22\x25\xfb\xa6\xf7\x5a\x6d\x4c\x13\xaf\x83\xf3\xfc\xe1\xe0\xe8\xa7\x17\xc1\xfb\xdf\x3f\xbc\xbb\x78\x7b\xf5\x8f\xcb\xe0\xf5\xc7\x8f\xc1\x8b\x9f\x1e\x3f\x7a\xfc\x68\xd3\x16\x79\xf0\xd7\xe3\x47\x01\xfc\x64\xb4\x6c\xc3\x0c\x15\x24\xbf\x5b\x06\x0d\x2a\x9b\xb0\xc1\x35\xc9\xce\xbb\xd6\xb0\x68\xc2\x16\xef\xda\xb0\x21\x5f\x71\x88\xd2\x3f\xb7\x4d\xbb\x0c\xa6\x71\xfc\x83\xec\x70\x8b\x57\xd7\xa4\x1d\xe8\xf4\xf8\xd1\x37\xb6\xde\x8a\xa6\x77\x72\xbd\x02\xd5\x6b\x52\x2e\x83\x58\xb4\xa1\xba\x25\x49\x8e\x27\xf0\xd4\x90\x94\xfd\x4e\x71\x8b\x48\xde\xc0\x53\x46\xd6\x09\xaa\x5a\x42\xcb\xee\x8f\x6d\xcd\xda\x33\x4a\x5b\x5c\xc3\xc3\x06\xa3\x94\x3f\x14\x88\xb0\x1e\x05\x2e\xb7\xf0\xab\x44\x37\xf0\x6f\x83\x13\x31\xb0\xd9\x16\xb0\xa8\x22\x20\x25\x4d\x95\x23\xd8\xec\x2a\xa7\xc9\xb5\xa4\x62\x9b\x12\x0a\x7d\x13\x54\xde\x20\xb6\x74\x55\xd3\x75\x8d\x1b\xf6\x78\x03\x64\x51\x67\x34\x29\x73\x52\xe2\xd0\x99\x64\x59\xd2\xf6\xd9\xe7\x04\xb8\x5a\xd3\xbc\xf9\xf2\xdc\x19\x58\xd2\x12\x0b\xe6\x6d\x30\x59\x6f\xda\x9e\x17\x72\x51\x39\xe6\x06\x33\xe6\xa0\x3c\x44\x39\x59\x03\xcf\x56\xa8\xc1\x6c\x55\xd1\xbd\xc5\x05\x4c\xd9\x32\x9e\x7c\xde\x90\x34\xc5\xe5\x17\xef\x6a\x92\x3c\xd9\xb8\x42\xc9\xf5\xba\xa6\xdb\x32\x0d\x13\x9a\xd3\x7a\x19\xb4\x35\x08\xbe\x42\x35\x2e\x5b\x9f\x5c\x53\x9c\xd0\x1a\x31\x76\x86\xcd\x35\xa9\x96\x01\x5d\xfd\x09\xec\x6d\xe4\xc4\x4b\x04\xbc\xbe\xe1\x32\x5c\x6e\x28\x50\x2d\x57\xa2\xdb\x96\x73\xe9\x96\xa4\xed\x46\x93\xf9\x6a\x55\x7f\x6e\x49\x9b\x63\x45\xf0\x8a\xd6\x20\xcb\x70\x45\xdb\x96\x16\x06\x93\x2c\x0a\x96\x01\xd0\x8d\x6b\x36\xed\xde\x0e\x41\x0a\xd3\xe1\x54\x6a\x21\xd3\x05\x90\x4a\xb9\x36\x74\xff\x56\x08\x81\x94\x1b\x50\xfc\xf6\xb0\xce\x2b\x9a\xc3\x1a\xa2\x6f\x9a\x95\x46\xa7\xa6\xbd\xcb\x31\x4c\xd8\x82\xd8\x12\xd1\x67\x33\x35\xbb\x80\xa5\x2c\x83\x19\x2e\xce\x2d\xab\x88\x16\xa7\xb8\x50\x8c\x82\xd7\xd7\xc3\x52\x3b\xca\xb2\x58\x8c\x97\x6f\xe2\x58\x0e\x6d\x0a\x94\xe7\x9e\x35\x5f\x2a\xab\x6c\xb6\x7c\x93\xdb\xca\xd3\xeb\x74\x2e\x0d\x9c\xcb\x4f\x29\xaa\x78\x59\xd1\x86\x74\xbc\xae\x31\x68\x20\xc8\xfe\xfc\x20\x8d\x85\x25\x7b\x81\x77\x92\x0e\xe3\x68\x36\xc7\x85\xea\xa0\xa8\x69\x69\xc5\x5b\xfb\x46\x52\xac\x2d\x75\x11\x9c\xd6\xb4\xa5\x40\x3b\xa9\x6d\xc2\x4b\x75\xf3\xde\xac\xb9\x61\x2e\x6b\x70\x1e\xca\x26\x99\xaa\x66\x39\xbd\x5d\x06\x9d\xf9\x88\xce\x09\xe5\x7e\xe8\x7a\x95\x72\x47\xc0\x9e\x1b\x54\x54\x5e\x8f\x59\xd0\x92\x82\xe5\x24\x78\xd2\x3f\x9e\x3b\xec\x9c\xaa\x3d\x74\x5e\xcc\x76\x86\xd0\x1e\x9c\xc4\xd5\x4e\x2a\x4b\xdd\xef\x73\xc7\xa6\x20\xe5\x7a\x19\x30\x9f\x02\x06\x0a\x36\xb2\xb3\xfd\xc7\xb9\xbd\x9f\x1b\xd2\x90\x55\x2e\xd9\xbe\xda\x02\xaf\x99\x2b\x24\x65\xb5\x6d\xb9\x73\xcc\xc1\x7e\x27\xcc\x85\xec\x5a\x30\x7b\xa4\xef\x4d\x99\x82\xad\x9b\x62\x36\x5a\xb5\x4c\x0f\xab\x41\xc3\xf0\xae\xea\xf2\x7c\x80\xc6\x8e\x36\xa5\x05\xcc\xb8\xb9\x7b\xca\x68\x5d\x18\xfe\x4c\x8d\x88\xd4\x13\x0f\x6c\x9f\xdb\xbb\x0a\xff\xfc\xa4\x7b\xf9\xe4\x0b\xf3\x8e\xdd\x1b\x70\xad\xb8\xd5\x5f\x80\x3a\x16\x04\xde\xc8\xc5\x20\x5c\x4a\xbf\x87\xaa\x0a\x23\x58\x36\x01\xe9\x75\x33\x9d\xf3\xe0\xe9\x75\x38\x9a\xfe\xf5\xa6\x99\x05\xff\x45\x8a\x8a\xd6\x2d\x52\x4e\xd5\x63\xc2\xb3\x05\x5a\x9c\x21\xdd\x93\x09\xcb\x49\x40\xd4\xb8\x96\x46\x88\xc1\x8f\x81\xba\x83\x76\x71\x55\x88\xe6\xd5\xce\x76\xd4\x8c\x47\xc2\x28\xa3\x59\x13\x60\xb0\xbc\x10\xfc\xaf\x9c\x7a\xbc\x39\xd9\xd6\x0d\xa3\xa7\xa2\x44\x5b\x96\x6b\xdf\x06\xa5\x4c\x5a\x71\x30\xab\x76\x01\xac\x0b\x4f\xf5\x7a\x85\x9e\xc5\x93\x40\xfc\x17\x4d\x17\xcf\x27\xa2\xc3\x34\xf6\xf7\x98\x3d\x3f\xd7\x2d\xd7\xe0\x99\x30\xe6\x1a\xa5\x64\xdb\x2c\xd9\x34\xe7\x23\xc1\xd6\xd2\xfd\x19\x77\x1f\x3e\x67\x65\xb4\x88\x48\xa4\xb9\x30\x94\xa6\x9c\x97\x40\x77\xad\xba\xd9\xea\xb6\x05\x35\xa8\x13\xe0\xd5\x80\x7f\x2b\xc0\x6f\xe4\xd8\x16\x05\xaa\xc2\x0d\xd0\x90\x33\x3a\xfc\x21\x56\x53\xe0\xe5\x32\x2c\xe8\xd7\x30\xa3\xc9\xb6\x09\x49\x59\x72\x44\x13\x8d\xb5\xd9\x1a\xee\xed\x65\xea\xfc\x58\x17\
|
|
|
|
|
|
|
|
func publicCssStylesCssBytes() ([]byte, error) {
|
|
|
|
return bindataRead(
|
|
|
|
_publicCssStylesCss,
|
|
|
|
"public/css/styles.css",
|
|
|
|
)
|
|
|
|
}
|
|
|
|
|
2016-06-10 21:18:44 +00:00
|
|
|
func publicCssStylesCss() (*asset, error) {
|
2016-07-01 13:55:17 +00:00
|
|
|
bytes, err := publicCssStylesCssBytes()
|
2016-06-10 17:27:27 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
|
2016-07-01 13:55:17 +00:00
|
|
|
info := bindataFileInfo{name: "public/css/styles.css", size: 19242, mode: os.FileMode(438), modTime: time.Unix(1467381276, 0)}
|
|
|
|
a := &asset{bytes: bytes, info: info}
|
|
|
|
return a, nil
|
|
|
|
}
|
2016-06-11 22:03:54 +00:00
|
|
|
|
2016-07-01 13:55:17 +00:00
|
|
|
var _publicJsApplicationJs = []byte("\x1f\x8b\x08\x00\x00\x09\x6e\x88\x00\xff\xd4\x3d\xfd\x73\xdb\xb6\x92\xbf\x67\x26\xff\x03\xca\xeb\x3c\x4a\x89\x2c\x27\x79\xd7\xb9\x19\x7f\x75\x52\xdb\x49\x7c\xcf\x71\x32\xb1\xfb\xee\x66\x6c\x37\xa1\x44\x48\x62\x43\x91\x3a\x7e\xd8\xd1\x6b\xfd\xbf\xdf\x2e\x3e\x48\x00\x04\x48\xca\x76\xaf\x3d\xf6\xbd\x48\x22\x17\x8b\xdd\xc5\x62\xbf\x00\xd0\x7e\x99\x53\x92\x17\x59\x34\x2d\xfc\xdd\xa7\x4f\x9e\x3e\x99\xa6\x49\x5e\x90\x82\x2e\x57\x27\x47\x64\x9f\x78\x9f\x67\xcb\xcf\x51\x52\xd0\x2c\x09\xe2\xcf\x78\x3b\xcd\x82\x6c\xfd\x39\x0a\xbd\xa7\x4f\x6e\x82\x8c\xe4\x34\xa6\xd3\x82\x86\x27\xf0\x2c\x87\x06\x97\xd7\x0c\xcd\xf6\x33\xd2\xfa\xdf\xd3\x27\xf0\x6f\xdb\xa5\x40\xbc\x3d\x3e\x3b\xfe\xf4\xfa\x94\xbc\xf9\xf9\xec\xf0\xe2\xe4\xc3\xd9\x79\x03\xa2\x15\x47\xeb\x7f\xdb\x8c\xd8\x6d\xf2\x89\x2e\xd3\x1b\x9a\x93\x20\x21\xc0\xd0\x92\x26\xc5\x88\x44\x33\x42\xbf\x45\x79\x91\x8f\xc8\x2c\x4b\x97\xf8\x2c\xc8\xb2\x60\xfd\xf4\xc9\x6b\xfc\x18\xaf\xb2\xb4\x48\x8b\xf5\x8a\x8e\x33\xd6\xfa\x98\x37\x04\x21\xcc\xca\x64\x5a\x44\x69\x32\x10\xb8\x86\xe4\x37\x20\x05\x2e\x94\x58\x04\x00\xc5\x22\xca\xc7\x51\x12\xd2\x6f\x1f\x66\x15\xd0\x2e\x87\x81\x6e\x07\x11\xf9\x6e\x9f\x6c\xbd\xac\xda\xe1\xc5\xda\xe4\xab\x38\x9a\xd2\x41\x34\x22\x2f\x25\xfc\xdd\xd3\x27\x77\x15\x17\xab\x38\x98\x6a\x6c\x90\x28\xc9\xa3\x90\x56\xc4\x93\xc9\x1a\xbe\xa7\xc5\x82\x66\x36\x3e\x58\x7b\x0b\x23\x13\x3a\x8f\x92\x11\xa1\x49\xd8\xce\x0b\x83\xeb\xc3\xc9\x65\x74\x0d\x6d\x01\x5f\x93\x8b\x73\xb8\x0b\x2c\x90\x69\x9a\x17\xe5\x92\xd0\x1b\xa4\xa5\x48\x49\x54\x80\xb2\xcd\x9e\x3e\x39\x4a\xa7\x25\xd2\xa7\x10\x9e\x43\x93\x43\x06\x7e\x7c\x63\x50\x5e\xd0\x6f\xb5\xfc\x19\xad\x61\x94\xaf\x82\x62\xba\x60\xa0\x83\x84\xde\x92\xc3\x32\x2f\x52\xde\x94\xc3\x23\x07\x92\x9c\xb7\xb4\xc8\xa1\x21\x05\x7a\x60\x1e\x00\xf2\x74\xc6\x88\x4b\xbf\x46\xd4\x4a\xcc\x9c\x16\x87\xec\xa9\x4a\x46\x12\x2c\xa9\x26\xba\x0c\x1f\x63\xe7\x9f\xe8\xfc\xf8\xdb\x6a\xe0\x0d\x7e\xdc\x81\xff\xfd\xf2\xfb\xf8\xd9\xee\xd5\x55\xfe\x6c\xe8\x91\xe7\x04\x5b\xc1\x87\x87\x37\xae\xae\xf6\xf1\x63\x70\xf9\xcb\xee\xf5\xb3\xe1\xf8\xd9\xf7\xc3\xdf\x7f\x81\x7f\x3d\x29\xed\x8c\x16\x65\x96\x90\x50\x12\xc4\x29\x94\x63\x3a\xc8\xe8\x88\x78\xdf\xbf\xf4\x54\xd6\x0e\x17\x41\x32\x47\x75\x21\x93\xb2\x28\xd2\x04\xa5\x8c\x9c\xc6\x69\x10\x46\xc9\x1c\x14\x25\x5a\x06\x48\xfe\xd3\x27\x42\x27\x14\x36\xa7\xac\xf1\x45\x7a\x2a\x80\x15\x66\x2b\x46\x63\x5a\x54\x8a\xc8\x35\x65\xb7\x7e\x90\x66\x11\x28\x4b\x10\x5f\x80\xc4\x51\x17\x44\x0f\x51\x92\xd0\xec\xdd\xc5\xfb\x53\x66\x48\x10\x58\x3e\xc9\x8b\x75\x4c\xc7\xe9\x2a\x98\x46\xc5\x1a\x5a\xbc\xa8\x20\x72\x5a\x5c\x44\x4b\x9a\x96\xc5\xa0\x49\x84\x8a\xa2\x42\x0e\xcd\xfd\xbd\x88\x4c\xe3\x20\xcf\xf7\x3d\xe0\x92\x66\x51\x10\x6f\x45\x68\xff\x48\xbe\x8a\x12\xef\x20\x28\x8b\x34\xa3\x30\x44\x7b\xdb\xd1\x81\xbf\xdb\x44\x66\xd2\xf3\x52\xea\xf2\x88\xbc\x7a\xf1\x62\x58\x51\x27\x46\x46\xe5\xd7\x36\x08\xf5\x9c\x85\x61\x08\xd3\x84\xf6\x93\xff\x11\x42\xaa\x36\x27\xcb\xd2\x6c\x44\x16\xc5\x32\xd6\xf5\xde\x2d\x3e\x1c\x0d\x00\xc9\xc2\xf3\x82\xae\xe0\x09\xc8\x6e\xff\xa0\x61\x7b\x54\xd9\x21\xf6\x5d\xd3\x36\x59\xc4\x51\x83\xa0\x31\xd0\x9c\xc5\x38\xa6\xc9\xbc\x58\x90\x7d\xa0\x84\xfc\xed\x6f\xb5\xe2\xc2\xfc\x11\xdc\xfe\xb4\x3e\x09\x07\x7e\x0c\x36\x18\x14\xcc\x1f\x6a\x23\x8a\x57\xd5\xc4\x98\xff\x03\x9f\x0b\x27\xdc\x92\x3d\xfa\x43\x85\xda\xbb\xca\xe4\xd4\xec\xe7\x14\x46\xbe\x9d\x7f\x9b\xfc\x24\x80\xa2\x80\x95\x20\x2b\x2d\x68\x74\x36\x8b\xb2\xbc\x70\xf5\x85\x82\x62\x63\xd8\x60\xb7\x31\x0a\x4e\x0d\xf6\x0e\xa6\x71\x9a\x53\x53\x71\xef\x40\xc3\xc0\xdf\x3f\x00\x2d\xaa\x65\x03\xab\x3a\xcc\x3d\x34\x41\x91\x55\x2d\x75\x70\x68\x2f\x2c\xd2\x52\x27\xb6\x14\x9a\x26\x57\x31\xb7\x66\x01\x30\xa6\x4c\xaa\x77\x41\x12\xc6\x94\xdb\xed\x74\x45\x01\x20\x8a\xa9\xb4\x72\xcc\xa3\xf0\xf0\x05\x9f\x35\x5c\x06\x7b\x5e\x49\x1f\xc7\x83\x71\xc5\x44\x72\x0a\xca\x38\x46\x4f\x10\x80\x63\x1d\xf8\xe0\x4b\x82\x49\x8c\xfa\xa5\x8d\x96\x41\x95\xc6\x92\x6b\x22\x68\x08\x6e\xc1\xa1\xa6\xb7\x63\x24\x4f\x07\xbe\x7c\x71\x0d\x0e\xc1\xff\x31\x0b\x6e\xf7\x8b\xac\xa4\x9a\x62\xb7\x75\xab\x62\x14\xdf\xe3\x74\xca\xac\x8b\x1d\x61\x0f\xc9\x86\x40\x59\x61\x13\x2b\x7f\xd0\x21\x58\x36\xed\x60\x62\x
|
|
|
|
|
|
|
|
func publicJsApplicationJsBytes() ([]byte, error) {
|
|
|
|
return bindataRead(
|
|
|
|
_publicJsApplicationJs,
|
|
|
|
"public/js/application.js",
|
|
|
|
)
|
2016-06-10 17:27:27 +00:00
|
|
|
}
|
|
|
|
|
2016-06-10 21:18:44 +00:00
|
|
|
func publicJsApplicationJs() (*asset, error) {
|
2016-07-01 13:55:17 +00:00
|
|
|
bytes, err := publicJsApplicationJsBytes()
|
2016-06-10 21:18:44 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
|
2016-07-01 13:55:17 +00:00
|
|
|
info := bindataFileInfo{name: "public/js/application.js", size: 26940, mode: os.FileMode(438), modTime: time.Unix(1467366883, 0)}
|
|
|
|
a := &asset{bytes: bytes, info: info}
|
|
|
|
return a, nil
|
|
|
|
}
|
2016-06-10 21:18:44 +00:00
|
|
|
|
2016-07-01 13:55:17 +00:00
|
|
|
var _publicJsForm2jsJs = []byte("\x1f\x8b\x08\x00\x00\x09\x6e\x88\x00\xff\x8c\x56\xdb\x6e\xdb\x38\x13\xbe\x2f\xd0\x77\x70\x84\x1f\x06\x59\x33\x72\xf2\x03\x7b\xb1\x56\xd8\x20\x49\x73\x51\xa0\xe8\x2e\xb6\x59\x60\x01\x45\x2d\x64\x8b\xb6\x69\x4b\xa2\x42\x51\x3e\x29\x7a\xf7\x1d\x1e\x74\x88\x81\xed\xae\x2f\x64\x6a\xf8\xcd\xe9\x9b\xe1\x88\xd3\x0f\xa3\xb5\x52\x45\x39\x9b\x4e\x57\x5c\xad\xab\xb9\xbf\x10\xd9\x34\x8b\x0f\xb1\xda\x0b\xb9\x9d\x2e\x85\xcc\xfe\xbf\x29\x47\x1f\xa6\xef\xdf\xa1\x65\x95\x2f\x14\x17\x39\x8a\xc9\x1c\xd7\x7c\x89\xd4\xb1\x60\x62\x39\x62\x87\x42\x48\x55\x5e\x50\xea\x55\x79\xc2\x96\x3c\x67\x89\x37\x1e\xbb\xdd\x4c\x24\x55\xca\xce\x37\xad\xd4\x77\xaa\xb8\x7e\xfb\x4e\xe7\x08\x37\x2c\x2d\xd9\xc0\x8b\xd5\xa5\x60\xa7\x8d\x03\xcc\x58\xa1\x1f\x67\x09\xae\xed\x1a\xcd\x9d\x66\xec\xbb\xe0\x8d\xb1\xa6\x41\x6a\xcd\x4b\xd2\xe5\x80\xeb\x76\x39\x62\x28\x23\x5b\xb2\x21\x2f\x24\x25\x12\xd7\x92\xca\x5b\x25\x2b\x36\x5b\xc6\x60\x27\xe8\x23\xd8\xbc\xc9\xe1\xf5\x15\xde\xf3\x2a\x4d\x71\xbd\xa1\x1a\xdf\xf4\xc8\xed\x19\x72\xdb\x22\xb7\xd4\xf3\x3d\x0d\x8c\xe5\xaa\xca\x58\xae\x4a\x3f\x65\xf9\x4a\xad\x6f\x7e\xc1\x75\x4a\x8d\xc7\x26\xa3\x2d\x75\x60\xa6\x54\x92\xe7\x2b\xef\x36\x11\x0b\xa3\xe0\xaf\x98\x7a\x4c\x99\x5e\xde\x1f\x3f\x27\x28\xc3\xb3\x2c\xd8\xc5\x72\x54\xd0\x30\x22\x82\xe4\xf4\x4a\x87\x9c\x41\x21\x73\xd0\xad\x16\x4a\x48\x4a\xef\xa4\x8c\x8f\xaf\xaf\x6d\x7c\x5f\x45\xc2\xbe\xf0\x52\x5d\x9c\x15\xe5\xad\x52\x8b\xc2\xb8\xde\xaf\x79\xca\x90\xa0\x59\x98\x4f\x26\x11\xae\x0b\x5a\x68\xec\x22\x56\x28\x41\xc2\x31\x07\x2c\x1b\xe6\x0b\x0a\x61\x39\x59\x23\x99\xaa\x64\x3e\x9a\xa3\x02\x18\xde\xe2\xa6\x63\x7d\x8e\x4a\x72\x47\x1e\x70\x6d\x83\xaf\x1b\xf2\xa2\x1f\x47\x72\x20\x7b\xb2\x23\x15\x91\x24\x27\x0a\x32\xca\xc8\x89\x7c\x22\xf7\x01\x94\x13\x1d\x21\xbb\xe3\x4d\x4b\x5a\x70\x9c\x4c\x70\x5d\xd1\x32\x3c\x46\xfe\x2e\x4e\x2b\x53\xad\xbb\xf1\x18\x55\xba\x4f\x80\x78\xfd\x6f\x98\xc7\x35\x84\xab\x78\x0e\x65\xfa\x64\xf1\x79\x9c\xb1\xe0\x9e\x7e\xf2\xcb\x22\xe5\x0a\x3d\xe0\x40\x02\x83\x41\x4e\x8b\x40\x81\xae\x71\x77\x00\x77\x87\x9b\xfb\xd6\xdd\x41\xbb\x3b\xd1\xfb\xf0\x10\x39\x2d\x2f\x0a\x3d\xac\x9d\x9e\x1c\xe6\xe3\x35\x34\x16\x68\xee\x41\x73\x7f\xd3\x4a\x83\xbd\xd6\x04\xd8\x9e\xd2\x2b\x30\x11\xee\x23\xaa\x1f\x13\x2f\xf2\xba\x3e\x87\xbd\x16\x7f\x79\xed\x40\x5e\xe8\x4d\xf4\xc2\x82\xde\x88\x8c\x2e\xf4\x8a\x5e\xfb\x59\xac\x16\x6b\x34\x45\x61\x7c\x79\xfa\x11\x4d\xf0\xed\x73\xe8\xd6\xfa\x79\x75\xf9\x2b\x08\x6f\xf1\x73\x34\xe5\x26\xda\xcc\x06\xb9\xa3\xd7\xc1\xee\x26\x6b\x83\xdc\xb9\x20\xb3\x70\x07\x25\x96\x7e\x51\x95\x6b\xfb\xd2\xb8\xca\x3a\x99\x76\xd9\xcb\xa8\x6c\x5b\xe1\x04\xc2\x9e\x36\x79\x46\x9b\x04\xda\x2c\x55\x1c\x7a\xee\xf0\xdb\x12\x79\x61\xe4\xe1\x8f\x97\xd7\xe3\xf1\x81\x52\x39\xc8\x5d\x00\x13\x65\x35\x87\x56\x44\x57\x64\x88\xf7\x30\x0e\xd4\x84\x0a\x6d\xe7\x22\x0f\x05\xc4\xa9\x9f\x50\xb8\x46\xff\xdb\xf0\xaa\x7e\x76\xbc\xd5\xfd\xf8\xaf\xb6\x81\x4e\x5f\xb2\x22\x8d\x17\x0c\xd8\xfc\x3e\xe4\x13\xbf\xa2\xe7\xe8\x7f\x18\xe6\x24\xf1\x3c\x13\x85\xf7\xc3\x9b\x88\x89\x7e\x66\x26\x9e\x97\x50\x41\x3c\xfa\x09\x8d\xac\x0f\xb9\x80\xf3\x05\xc7\xea\x2c\x50\xd8\x38\x4b\x57\x43\x75\xbf\x02\xa6\xcd\x20\xd0\x66\xc2\x2c\xa2\x79\x98\x77\x48\xd7\x06\xc3\x4c\x07\x38\x11\x85\x66\xa7\x47\x77\x34\x5c\x38\x94\x71\x85\xa6\xdf\x43\xe8\x08\x9b\xd9\x73\x78\x0b\x3d\xe1\x2b\x56\x2a\x04\x05\x9a\x5c\x47\x18\x0f\x1c\xd4\x0d\x3e\xf7\x19\x42\xe9\x7f\xea\x34\xa7\x6e\xdb\x6a\x02\x51\x27\x4d\x4f\xdf\x10\x2e\x65\xa0\xe5\x64\x68\x39\x19\xbe\x72\xaa\x57\xad\x37\x90\x55\x8d\xfe\xb9\xf9\x51\xf4\x83\x23\x41\x29\x8c\xeb\x8c\x6c\xec\xe8\xe0\x34\xee\x04\x81\x43\xf3\xf6\x34\x5e\xdd\xf2\xd9\xaa\xdb\xee\x6d\x58\x59\xde\xdb\x80\xd9\x99\xd1\xd4\x5f\x72\x59\xaa\x07\x18\x76\x49\x60\x47\x1e\x9c\x14\x4e\x79\xdb\xe0\xb1\xf9\x52\x68\x35\xdd\x2a\x99\x9f\xb3\x83\xfa\xc6\xe7\x29\x4c\xe8\x36\x50\xde\x3b\xb1\x68\xa1\x9d\x98\x89\x9c\xf0\x32\x9e\xa7\x2c\x81\x8e\x00\x91\xc5\x43\x3f\xe8\x00\x52\x30\xca\x49\x41\x01\x46\x04\x0e\x52\xba\x1d\x8f\xb7\xe0\x5c\x13\x97\x8e\xc7\xa9\x99\x56\x3a\x94\x30\x8d\xba\xaa\x16\xb6\xbd\x20\x0c\x18\xd4\x5f\x01\xd0\x8e\x81\xcf\x5f\x7f\xff\xf3\xe9\xf5\xe9\xf1\xaf\xa7\xbb\x3f\x1e\xef\xa0\xbe\xc0\x32\x5d\x
|
|
|
|
|
|
|
|
func publicJsForm2jsJsBytes() ([]byte, error) {
|
|
|
|
return bindataRead(
|
|
|
|
_publicJsForm2jsJs,
|
|
|
|
"public/js/form2js.js",
|
|
|
|
)
|
2016-06-10 21:18:44 +00:00
|
|
|
}
|
|
|
|
|
2016-06-28 09:01:00 +00:00
|
|
|
func publicJsForm2jsJs() (*asset, error) {
|
2016-07-01 13:55:17 +00:00
|
|
|
bytes, err := publicJsForm2jsJsBytes()
|
2016-06-27 17:57:54 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
|
2016-07-01 13:55:17 +00:00
|
|
|
info := bindataFileInfo{name: "public/js/form2js.js", size: 2975, mode: os.FileMode(438), modTime: time.Unix(1467104291, 0)}
|
|
|
|
a := &asset{bytes: bytes, info: info}
|
|
|
|
return a, nil
|
|
|
|
}
|
|
|
|
|
|
|
|
var _templatesActionsTmpl = []byte("\x1f\x8b\x08\x00\x00\x09\x6e\x88\x00\xff\x84\xcf\x31\x6e\x02\x31\x10\x05\xd0\x9e\x53\x8c\xdc\x27\x5c\xc0\xb8\xa2\x49\x9d\x03\x58\xa3\x9d\xbf\xd2\x48\xde\x31\xb2\xad\x50\x20\xee\x1e\x7b\x03\x81\x44\x02\xaa\xd5\xce\x7c\xfb\xf9\x9f\x4e\x24\x98\xd5\x40\x8e\xa7\xa6\xd9\xaa\xa3\xf3\x79\x43\x5e\xf4\x8b\xa6\xc4\xb5\xee\x2e\x0b\x47\x2a\x3b\x97\x0f\x30\x17\x36\x44\x5e\xaf\xeb\x85\x1b\x8a\x72\x7a\xd3\x69\x1c\x0f\x23\x12\xd5\xa2\xe1\xe8\xb7\x1a\xc8\xd7\x03\x5b\xf8\x04\xa8\x70\x9f\xac\x7f\x1d\xd8\x76\xa1\x7f\xfb\x03\x74\xa6\xf7\x8f\xba\xd7\xb2\xca\x0f\xe9\x02\xe3\x05\x2b\xfe\x44\x5f\xb2\x20\x42\xb4\x0d\x7b\xdc\x76\x73\x60\xf2\xb4\x9b\xe4\xa3\xa5\xcc\xf2\xa2\xdf\xac\x09\xf1\x9a\xbd\x6b\xb8\xff\x1d\xfd\xab\xf8\xd0\x43\x42\xc3\x0b\xed\x27\x74\xcf\x5c\x06\x7f\x91\x5b\xbd\xef\x00\x00\x00\xff\xff\x81\xb5\xfd\x35\xd2\x01\x00\x00")
|
2016-06-27 17:57:54 +00:00
|
|
|
|
2016-07-01 13:55:17 +00:00
|
|
|
func templatesActionsTmplBytes() ([]byte, error) {
|
|
|
|
return bindataRead(
|
|
|
|
_templatesActionsTmpl,
|
|
|
|
"templates/actions.tmpl",
|
|
|
|
)
|
2016-06-27 17:57:54 +00:00
|
|
|
}
|
|
|
|
|
2016-06-14 19:33:59 +00:00
|
|
|
func templatesActionsTmpl() (*asset, error) {
|
2016-07-01 13:55:17 +00:00
|
|
|
bytes, err := templatesActionsTmplBytes()
|
2016-06-14 19:33:59 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
|
2016-07-01 13:55:17 +00:00
|
|
|
info := bindataFileInfo{name: "templates/actions.tmpl", size: 466, mode: os.FileMode(438), modTime: time.Unix(1467365302, 0)}
|
|
|
|
a := &asset{bytes: bytes, info: info}
|
|
|
|
return a, nil
|
|
|
|
}
|
|
|
|
|
2016-07-01 14:46:06 +00:00
|
|
|
var _templatesBaseTmpl = []byte("\x1f\x8b\x08\x00\x00\x09\x6e\x88\x00\xff\xb4\x57\xd1\x6f\xdb\xb6\x13\x7e\xef\x5f\xc1\x12\x3f\xc0\x0f\xbf\x58\x72\xbb\xed\x25\x90\x3c\x0c\x49\x86\x05\x48\xb7\x20\x6e\x51\xec\xc9\xa0\xa5\xb3\xc5\x94\x22\x35\x92\x72\x62\x04\xfe\xdf\x77\x24\x25\x4b\x72\x6c\xd7\x45\xbb\x87\x20\x32\x75\xfc\xee\xbb\xbb\x8f\xc7\x53\xf2\xf6\xfa\xaf\xab\x8f\x7f\xdf\xdf\x90\xc2\x96\x62\xfa\x26\x09\xff\x48\x52\x00\xcb\xf1\x3f\x49\x2c\xb7\x02\xa6\x2f\x2f\xd1\x9f\xac\x84\xed\x36\x89\xc3\x82\x7b\x55\x82\x65\x44\xe2\x72\x4a\xd7\x1c\x9e\x2a\xa5\x2d\x25\x99\x92\x16\xa4\x4d\xe9\x13\xcf\x6d\x91\xe6\xb0\xe6\x19\x8c\xfd\x8f\x0b\xc2\x25\xb7\x9c\x89\xb1\xc9\x98\x80\xf4\x5d\x34\xa1\x1e\x48\x70\xf9\x85\x14\x1a\x96\x29\x2d\xac\xad\xcc\x65\x1c\x2f\x11\xc6\x44\x2b\xa5\x56\x02\x58\xc5\x4d\x94\xa9\x32\xe6\x08\xfe\xeb\x92\x95\x5c\x6c\xd2\x0f\xcc\x82\x46\xac\xff\xdf\xe2\xa2\xa1\x44\x83\x48\xa9\xb1\x1b\x01\xa6\x00\xb0\xfb\xc0\xa3\x93\xc0\x99\x31\x2d\xee\x83\x5a\x28\xab\x2e\x7f\x9e\x4c\x2e\x7e\x99\x4c\x46\x1e\x77\xd4\xe1\x8e\x88\xdd\x54\x90\x8e\x2c\x3c\x5b\xb7\x6d\xd4\xf9\xd9\x67\xd0\x44\xf4\xf2\x42\xa2\x2b\x25\x97\x7c\x15\xfd\xb6\x30\x4a\xd4\x16\x3e\x3d\xdc\x91\xed\x36\x9e\x2f\xb9\x80\x92\x49\xb6\xc2\x48\x30\x6b\x5a\x32\xe1\x30\xe3\x00\x12\xe1\x23\x86\x81\xf8\x08\xc1\x97\x44\xc2\x0e\x68\xe6\x0c\x66\xce\x0b\xa1\x14\xa1\xd0\x86\x24\x7e\x97\xa3\xe3\x36\xbc\xb6\x6c\xac\xe2\x9d\x19\xa2\x82\xcc\xfd\xee\x24\x6e\xea\x9d\x2c\x54\xbe\xf1\x21\xb9\x05\xd0\x1e\x2e\xc9\xf9\xba\xc5\x25\xff\x13\x18\xea\x65\x4a\xa2\x7b\x8d\xa5\x55\xb5\xb9\x73\xb1\x07\xf0\x8e\xa8\xb7\xa2\xb4\x59\x26\x09\xeb\x92\xe1\x5f\x6d\xb7\x34\x20\xf6\x59\x90\xc6\x17\xc9\x04\x33\x26\xa5\x2c\xb3\x5c\xc9\x80\x09\xff\x74\x98\x24\xe7\x86\x2d\x04\xe4\xbb\xbd\x94\xf0\x3c\xa5\x15\x32\x6a\x61\x49\xc2\x5b\x98\xb2\x51\xca\x98\x7b\xa5\x4c\x4d\xbd\xc8\xb9\x86\xcc\x2a\xbd\x99\x33\xad\xd5\xd3\x5c\xc0\xd2\x26\x31\x6f\xf6\x26\xf1\x2e\xe0\xe3\x11\xc5\x6c\x97\x92\x86\xff\x9b\xc3\xfc\x03\x37\x55\x81\x1c\x4b\xd6\xf1\x3b\xc5\xb0\x04\x59\xef\xe8\x34\x6c\xc2\x73\x35\x7d\x9d\xd0\x90\x9d\x43\x1a\xf3\xda\x88\x1d\x43\x61\x00\x1f\x8f\x4a\xb1\x4b\x64\x4b\x2f\xe0\xb6\xd6\x7f\xd4\x2b\x75\x23\x7d\xce\xd1\xc8\xfd\xea\x40\x7f\x47\x11\x93\x0f\x41\xc5\xfb\xc5\x6c\x93\xd4\x53\xb0\x6b\x23\x84\xc6\xbb\x44\x9e\x48\x43\x56\xc0\x5a\x2b\x39\xd7\x7c\x55\xf8\xf2\x38\xfe\x7e\x7f\xe7\xa0\xda\xaf\xc2\x30\x63\x9d\x74\xf7\x6a\xa3\xa4\xd8\x8c\x0d\xcf\xa1\x57\x90\x33\x04\x4e\xc8\x49\x55\xb4\x8e\x8e\xcb\xbd\x03\xe8\x27\xea\x00\xc1\xef\x12\xff\x57\x15\xf6\xd5\x33\xd0\x22\xc4\xfd\x04\x9e\x15\xfb\xae\xe6\xfb\x91\xf6\x57\x77\x42\x3e\x90\xb1\xff\x44\xcf\x03\xf2\xdf\x29\xeb\x23\x91\x76\x6a\x24\xc3\x53\xdb\xf9\xbd\x35\xd7\x5c\xf7\x52\xe1\x0b\xee\xaa\x67\x80\xe9\xac\x18\xb2\x3d\x51\x3d\x2c\x1b\xf2\xda\xaf\x56\xc2\x65\x55\xdb\x70\x41\x51\x77\x41\x51\x52\x09\x96\x41\xa1\x04\xb6\xf2\x94\xde\x3c\x43\x86\x29\x22\x0c\x2f\xe9\x12\xef\x9d\x3c\x8a\xa2\x3d\x97\x8e\xf4\x67\xcd\xd1\x68\xa3\x6a\x4d\x56\xdc\x5e\x90\x12\x74\x56\x3b\xf7\x44\x69\x62\xd6\xb2\xdd\x4d\xdc\x1f\xca\xce\x18\xcc\x0e\x12\x8c\x86\x62\xd9\xcb\xc0\xd1\xce\xe8\x46\x87\x3e\x8b\xe3\x61\x3b\xcb\xb9\xbb\x97\xf0\xba\xf5\xc1\xe3\x9d\x57\x31\x39\x9d\x3d\x71\x9b\x15\xc4\xbd\xc6\xeb\xcd\xad\x74\x4e\x87\xfa\x3d\xc6\xa1\xae\x84\x62\xf9\x79\x2c\xdc\xa5\x3d\x0f\x1b\x7a\x1c\x3e\x35\x0b\x27\xdd\x77\xea\xea\x2f\x59\x28\xb1\x4c\x98\xf2\x86\x12\x0e\x33\x51\xcf\xe4\xf5\x01\x3a\x16\x85\x50\x2b\x55\xdb\xb3\x6e\x18\x78\xe6\x76\x6e\xd5\x9c\x55\x55\x2f\x88\x3b\x0f\xb0\x17\x44\x17\x43\xef\xa9\xd5\xad\x5a\x83\x16\x6c\x43\xa7\xbb\x77\x61\x94\x70\x93\xc3\x9b\xa1\xec\xdb\xe6\xdc\x6e\xb5\x4a\x89\x05\xd3\x0d\xdd\x5e\xa3\x3e\x16\xde\x82\x65\x5f\xce\xb8\xde\x43\x37\x73\xc6\x87\x6f\xf4\xae\xf5\xf8\xa0\x9b\xe3\x27\xb0\x17\x42\x3e\x96\x75\xb9\x00\xe4\x34\x19\x26\xa1\x7d\x1f\xed\x8e\x78\x0f\x31\x19\x4c\x0b\xa7\xaa\x79\x20\x95\x83\xea\x26\x25\xe3\xc1\xe7\x00\xa8\x19\xa9\x11\xe8\x9a\xe1\xc4\xed\xc1\x92\x38\xd8\xba\xc7\xa5\x52\xb6\x19\xd5\x66\xa0\xd7\xd8\xcc\xf0\x40\x14\xde\x0d\x0b\x53\xa9\x54\x6e\xfe\x00\x4d\xa4\xc2\x2e\x0b\x5a\x63\x8c\x7b\x03\x77\xc6\xf2\x7c\x63\xdc\x76\xed\x46\x62\x3a\xbd\x72\x0b\x6d\x8f\xc3\xa3\xfe\x8d\x78\x
|
2016-06-23 14:44:52 +00:00
|
|
|
|
2016-07-01 13:55:17 +00:00
|
|
|
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) {
|
2016-07-01 13:55:17 +00:00
|
|
|
bytes, err := templatesBaseTmplBytes()
|
2016-06-10 21:38:52 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
|
2016-07-01 14:46:06 +00:00
|
|
|
info := bindataFileInfo{name: "templates/base.tmpl", size: 3801, mode: os.FileMode(438), modTime: time.Unix(1467383708, 0)}
|
2016-07-01 13:55:17 +00:00
|
|
|
a := &asset{bytes: bytes, info: info}
|
|
|
|
return a, nil
|
|
|
|
}
|
|
|
|
|
|
|
|
var _templatesEditorTmpl = []byte("\x1f\x8b\x08\x00\x00\x09\x6e\x88\x00\xff\x84\x52\xcb\x0e\xdb\x20\x10\xbc\xe7\x2b\x56\x9c\xda\x83\xc3\xa1\x57\x6c\xa9\xad\xd4\x5b\xd4\x4a\xed\x0f\x10\xb3\x56\x50\x6c\x70\x61\x13\x35\x8a\xf2\xef\x5d\x30\xc4\x4e\x9f\x3e\x2d\x78\x66\x98\xd9\xdd\xfb\x1d\x0c\x0e\xd6\x21\x88\xde\x3b\x42\x47\x02\x1e\x8f\x1d\x28\x63\xaf\x60\x4d\x2b\xd0\x58\xf2\x41\x40\x3f\xea\x18\xdb\x0c\xd2\x0c\xe7\x1b\xa3\x49\x37\x67\xeb\x18\xc4\x2a\xfb\x8f\x09\xc0\x5c\xd1\xed\x00\xd4\xe0\xc3\x04\x13\xd2\xc9\xf3\xef\x2f\x9f\xbf\x7e\x13\xa0\x7b\xb2\xde\xb5\x62\x2f\x33\x04\x98\x64\x07\xf0\x01\xde\xe0\xf7\x4a\x17\x43\xe0\x07\x26\x4d\x84\xa1\xf1\x6e\xbc\x89\xb7\x2f\xbf\x7b\x3f\xcd\x23\x12\xf2\x75\x72\xc9\x5f\x36\x5a\xcc\x6d\xc8\xc5\x1e\xdd\x66\x6c\xc5\xac\x43\x0a\x96\x5f\xcd\xef\x12\xb2\x8c\x26\x0e\x7d\x1c\x7d\x7f\x8e\x02\xf6\x9f\x12\xf7\x90\xb9\x55\xfa\x45\xfb\x78\x21\xf2\x0e\xb4\x31\xa2\x7b\x6f\x0c\x0c\x16\x47\xa3\x24\x23\x16\xd9\xb5\x64\x7d\x74\x26\x89\xfc\x35\x65\x69\xf5\xff\x13\xee\xe0\x29\xf1\x67\xd0\xd3\xea\xe9\x5d\xf7\xc1\x9b\x9b\x92\x5c\x54\x56\xb1\xf1\x6b\x94\x3a\xe8\x6e\x93\x72\x1d\x75\x13\xfd\x25\xf4\x58\x1a\x38\x79\x83\xcb\x7c\x0f\x5c\xe5\xf1\x6e\x42\x83\x22\xfc\x41\xdc\x5d\x0d\x4e\x4f\xb8\x91\xce\x1b\xb1\x1c\x98\xa4\x64\xc5\xfd\xbb\x59\x6a\x6d\x67\xe9\x77\xf2\x15\x2f\xc7\xc9\xf2\x5e\x2e\xc3\xac\xa7\xcd\x7c\x7f\x5b\xbf\x24\x10\x67\xed\x4a\x0d\xca\xd6\xec\xbc\x1d\x18\xac\x1e\x1b\xcb\x56\xa3\xe8\xa2\xbe\xa2\x92\xb6\x92\xe4\x86\xb5\x28\x2c\x80\xf5\x5a\xc9\xc5\x59\x3e\x3d\x73\x28\x99\x16\x9e\xab\x72\xb3\xc6\xfa\x19\x00\x00\xff\xff\x7a\xfe\xd4\x86\x61\x03\x00\x00")
|
2016-06-10 21:38:52 +00:00
|
|
|
|
2016-07-01 13:55:17 +00:00
|
|
|
func templatesEditorTmplBytes() ([]byte, error) {
|
|
|
|
return bindataRead(
|
|
|
|
_templatesEditorTmpl,
|
|
|
|
"templates/editor.tmpl",
|
|
|
|
)
|
2016-06-10 21:38:52 +00:00
|
|
|
}
|
|
|
|
|
2016-06-23 22:21:44 +00:00
|
|
|
func templatesEditorTmpl() (*asset, error) {
|
2016-07-01 13:55:17 +00:00
|
|
|
bytes, err := templatesEditorTmplBytes()
|
2016-06-23 22:21:44 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
|
2016-07-01 13:55:17 +00:00
|
|
|
info := bindataFileInfo{name: "templates/editor.tmpl", size: 865, mode: os.FileMode(438), modTime: time.Unix(1467104435, 0)}
|
|
|
|
a := &asset{bytes: bytes, info: info}
|
|
|
|
return a, nil
|
|
|
|
}
|
|
|
|
|
|
|
|
var _templatesFrontmatterTmpl = []byte("\x1f\x8b\x08\x00\x00\x09\x6e\x88\x00\xff\xac\x55\x4d\x6f\xdb\x30\x0c\xbd\xf7\x57\x08\x42\x0f\x1b\x30\x3b\x6e\xf7\x71\x28\x9c\x00\x43\x81\x62\x87\x6d\x1d\xb0\xfc\x01\xc5\xa6\x5b\xad\x8a\xed\xc9\x4c\xb1\xac\xe8\x7f\x1f\xf5\x65\xcb\x89\xb3\x65\x45\x6e\x32\x43\x91\x4f\x8f\xef\x31\x4f\x4f\xac\x84\x4a\xd6\xc0\xf8\x4a\x35\xc5\x43\xc7\xd9\xf3\xf3\x19\xa3\xb0\xac\x58\x7a\x23\x41\x95\x9d\x8d\xb0\xbc\x94\x8f\xac\x50\xa2\xeb\xe6\xfc\x4e\x37\x9b\x96\x2f\x28\x4a\x89\x50\x97\x2e\x83\xce\x5a\xd4\x77\xc0\xce\x1f\x60\xfb\x86\x9d\x3f\x0a\xb5\x01\x76\x35\x1f\xd7\xf1\xb5\xe1\xa7\x4f\x48\xbf\x09\x0d\x35\xa6\xcb\x6d\x4b\x20\x84\xd6\x62\xcb\x7d\xa6\xeb\x29\xcb\x39\xa7\x3b\x3e\xfb\xab\x58\x03\xfd\x9c\x98\x08\xb5\xa1\x23\x67\xa5\x40\x91\x20\xdd\x9f\xbb\xfb\x89\x44\x58\x5b\x78\xae\x1d\x7d\xb5\x4a\x20\x95\xb7\x35\x78\x80\xe6\xbb\x8c\x9e\x26\x0a\x94\x4d\x4d\xa4\x28\x40\xf0\xa5\xdd\xc7\x3f\x50\xf8\x76\x2c\x97\xa1\xd4\x9a\x5a\x6a\x29\x54\x22\x8b\xa6\xee\xf8\xa2\x50\x4d\x07\xf9\x4c\xfa\xcc\x7c\x46\x6d\xdd\x39\x3a\x1a\x42\x55\x07\x23\x06\x7c\x3d\x3b\x20\x6e\xf9\xb0\xc7\x64\x0f\x8f\xc7\x4b\xed\x90\x28\x9d\x00\x1c\x50\xe6\x4a\xac\x40\xb1\xaa\xd1\x93\x49\x14\xfa\xde\x2a\x89\xd7\xa2\x95\x28\x94\xfc\x0d\x21\x65\x29\x51\x99\x9c\x7c\x66\x2b\x9c\x9e\xe3\x43\x2f\x3b\x0d\xbd\x3b\x72\x8d\xcf\x7b\x7a\xf7\x97\x86\xb4\xb3\xbf\x28\xfc\xa3\xd1\x5d\xd7\x17\x1b\xd8\xa8\xa4\x19\x27\x8e\xf8\x38\xae\xe4\xed\xea\x07\x14\xf8\x82\x9a\xe3\x63\xb0\xb7\x1f\xcb\xe0\x6e\x72\x60\xfa\x69\xf9\xe5\xb3\x33\x1e\xc2\x2f\x24\x23\x0a\xef\xbd\x3c\x7c\x07\xb6\xbb\x42\x37\x4a\x71\x56\xd3\x3c\xac\x66\x06\xcd\x39\x83\xee\x68\xb0\xb5\xae\xf6\xae\x34\xe9\xb1\xcd\xbd\xc6\xd2\x6b\x27\xd4\xf4\x16\xef\x41\x5b\x55\x85\xb6\x61\xb7\x18\x2b\xec\x61\xa5\x06\x80\x72\x0d\x01\xab\xac\xdb\x0d\x1e\x46\x16\x05\x2c\x09\x2e\x36\xea\x9d\xde\x34\x9a\xf4\xc4\xf8\x65\x96\x7d\x48\xb2\x8b\x24\xbb\x5c\x5e\xbc\xbf\xca\xde\x71\x7b\xcd\xbd\x22\xb4\x4d\x48\xa2\x42\x1d\xfb\x4e\x52\xa4\x81\x17\x3f\xe8\x54\xa8\x23\x6c\xe6\xb7\x9e\xa0\xe3\x87\x30\x80\x1b\x44\x33\x2d\x9f\x5e\x73\x06\x7c\x5e\x59\xa3\x00\xee\x63\x8d\x76\xb1\x89\xf7\x9d\x7a\x93\xd5\x0d\xb2\x57\x66\x9e\x6e\x95\x70\xfe\xda\xef\x88\xfc\xfe\xed\xd4\xe2\x89\x56\x0e\x25\xec\xf8\x76\x62\xab\x88\xb2\x74\xcb\xe2\xf0\xa6\xa0\x14\xbf\x27\xfa\xcd\xf0\x1f\x7f\x01\xe3\x95\x74\xdc\x3e\xea\xfb\x8c\x7c\x1c\xfe\x71\xc3\x54\x1d\xb7\xb3\x40\xee\x22\x1a\xc5\x9f\x00\x00\x00\xff\xff\x81\xbc\x28\x25\xa8\x07\x00\x00")
|
2016-06-23 22:21:44 +00:00
|
|
|
|
2016-07-01 13:55:17 +00:00
|
|
|
func templatesFrontmatterTmplBytes() ([]byte, error) {
|
|
|
|
return bindataRead(
|
|
|
|
_templatesFrontmatterTmpl,
|
|
|
|
"templates/frontmatter.tmpl",
|
|
|
|
)
|
2016-06-23 22:21:44 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func templatesFrontmatterTmpl() (*asset, error) {
|
2016-07-01 13:55:17 +00:00
|
|
|
bytes, err := templatesFrontmatterTmplBytes()
|
2016-06-23 22:21:44 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
|
2016-07-01 13:55:17 +00:00
|
|
|
info := bindataFileInfo{name: "templates/frontmatter.tmpl", size: 1960, mode: os.FileMode(438), modTime: time.Unix(1467126307, 0)}
|
|
|
|
a := &asset{bytes: bytes, info: info}
|
|
|
|
return a, nil
|
|
|
|
}
|
2016-06-23 22:21:44 +00:00
|
|
|
|
2016-07-01 13:55:17 +00:00
|
|
|
var _templatesListingTmpl = []byte("\x1f\x8b\x08\x00\x00\x09\x6e\x88\x00\xff\x8c\x54\xc1\x8e\xd4\x30\x0c\xbd\xcf\x57\x58\x39\x20\x38\xb4\xcd\x2c\x2c\x48\x43\x67\x4e\x08\x81\xc4\x22\x04\xbb\x17\x2e\xab\xd0\xb8\x5b\x8b\x34\xad\x9a\x74\xd9\xa1\xea\xbf\xe3\xb4\xd3\x6e\x67\x60\xc4\x9e\xea\xd8\x7e\xcf\xcf\x4e\xdc\xae\x03\x8d\x39\x59\x04\x91\x55\xd6\xa3\xf5\x02\xfa\x7e\x05\xa9\xa6\x7b\xc8\x8c\x72\x6e\x2b\x0c\x39\x4f\xf6\x4e\xec\x56\x70\xe4\x0f\x00\xc5\xd0\x46\x00\xe9\xe3\x34\xe8\xba\x08\x1a\x65\xef\x10\xe2\x8f\x1e\x4b\x17\x38\x8f\xd1\xc4\x6e\x01\x5a\x79\x15\x69\x6a\xb6\x22\x20\x28\xe7\x74\xf7\x8e\x9a\xbe\xf7\x4d\x8b\x2c\x0e\x8d\x43\x16\x94\x2b\xfe\x86\xa3\xd5\x7c\x1a\xeb\x75\x5d\x7c\xf3\xf5\x13\x9f\x86\x82\x03\xf7\x68\x41\xaa\xa0\x68\x30\xff\x2b\x65\x94\xb5\x28\x72\xf0\xa6\x34\x89\x2a\x95\xc7\x86\x94\x89\x88\x9b\x73\x62\x97\x57\x46\x63\x93\x26\xb4\x24\x08\x9a\x9e\x80\x25\xeb\xb0\xf1\xb7\xba\xa1\x7b\xbc\xcd\xc9\xe0\x29\x8d\xd5\x13\x4b\x9a\xa8\x43\x13\xc9\xdc\xc5\x93\xfa\x49\x5d\xad\xec\x24\xc0\xaa\x12\xc5\x8e\x73\x3e\xb3\xd1\xf7\x69\x12\x82\xff\xe9\xbc\x1e\x6f\xa0\x6a\xb8\xcd\xad\x88\xd6\x62\xf7\xac\xd4\xca\x15\x6f\xd3\xa4\x3e\xdf\xf3\x31\x8a\x2b\x7e\xa3\xdf\x18\x64\xb1\xf9\xa1\x2d\x95\x1d\xcf\xa7\x1c\x8f\x0d\x33\xc5\x14\x81\xd4\x53\x89\x81\x10\x83\x31\xd0\x0d\x1c\x57\x95\xbe\x0e\x11\x01\x17\x52\xbe\x8e\xe4\x3a\x92\x17\xd7\xeb\xcb\x8d\x7c\xb5\x91\x97\xdf\xc5\xb2\xdc\x9c\x2a\xd7\x89\xbc\x48\x42\x3e\xc8\x97\x63\x26\x7c\xb9\x82\x48\xbe\xd9\x48\x29\x82\xa2\x50\x63\x9e\xde\xac\xef\x9f\x17\xb0\x9c\x6d\x56\x60\xf6\xf3\x47\xf5\x70\x78\xb1\xa7\xd7\x71\xfe\x15\x0c\xc0\x70\xf3\x0b\xe6\xa3\x61\xcc\xfe\x83\x11\x2c\xb2\x75\xeb\xc1\xf9\xbd\xe1\x79\x68\x72\xb5\x51\xfb\x8d\xad\x2c\x0a\xf0\xfb\x9a\x7d\xe1\x39\x8d\x5b\xd0\xd6\xa6\x52\x3a\x1a\x10\x02\x2a\x9b\x15\x61\xeb\xb6\x82\x3f\xda\xe0\x7b\xce\x73\xcf\x7d\x41\x2e\x0e\x10\xf7\x42\xc0\xbd\x32\x2d\xc7\x6f\x06\x9c\x80\xb2\x35\x9e\x6a\xc3\x33\x59\x1d\xca\x06\x56\x8b\xbf\x78\x29\xa7\x6a\x1e\x1f\x98\x9b\x45\x64\x58\x0c\x0b\xb1\x15\xe1\x89\xc5\x71\x2c\x46\xbd\x8b\xb5\xce\x99\xf6\xf1\x37\xb0\x8c\xa8\xcc\x53\x65\xc5\xc4\x3f\xad\xed\xd9\xc9\x29\xad\xa7\x8d\x39\x9d\x11\xcc\xbf\x82\xd5\x9f\x00\x00\x00\xff\xff\xca\xcc\x03\x80\xc1\x04\x00\x00")
|
|
|
|
|
|
|
|
func templatesListingTmplBytes() ([]byte, error) {
|
|
|
|
return bindataRead(
|
|
|
|
_templatesListingTmpl,
|
|
|
|
"templates/listing.tmpl",
|
|
|
|
)
|
2016-06-23 22:21:44 +00:00
|
|
|
}
|
|
|
|
|
2016-06-10 21:38:52 +00:00
|
|
|
func templatesListingTmpl() (*asset, error) {
|
2016-07-01 13:55:17 +00:00
|
|
|
bytes, err := templatesListingTmplBytes()
|
2016-06-10 17:27:27 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
|
2016-07-01 13:55:17 +00:00
|
|
|
info := bindataFileInfo{name: "templates/listing.tmpl", size: 1217, mode: os.FileMode(438), modTime: time.Unix(1467365722, 0)}
|
|
|
|
a := &asset{bytes: bytes, info: info}
|
|
|
|
return a, nil
|
|
|
|
}
|
|
|
|
|
|
|
|
var _templatesMinimalTmpl = []byte("\x1f\x8b\x08\x00\x00\x09\x6e\x88\x00\xff\xaa\xae\x56\x28\x49\xcd\x2d\xc8\x49\x2c\x49\x55\x50\x4a\xce\xcf\x2b\x49\xcd\x2b\x51\x52\xd0\x73\x49\x2c\x49\x54\xa8\xad\xe5\xe5\x02\x04\x00\x00\xff\xff\xb5\x2d\xa0\x4a\x20\x00\x00\x00")
|
2016-06-11 22:03:54 +00:00
|
|
|
|
2016-07-01 13:55:17 +00:00
|
|
|
func templatesMinimalTmplBytes() ([]byte, error) {
|
|
|
|
return bindataRead(
|
|
|
|
_templatesMinimalTmpl,
|
|
|
|
"templates/minimal.tmpl",
|
|
|
|
)
|
2016-06-10 17:27:27 +00:00
|
|
|
}
|
|
|
|
|
2016-06-30 21:37:52 +00:00
|
|
|
func templatesMinimalTmpl() (*asset, error) {
|
2016-07-01 13:55:17 +00:00
|
|
|
bytes, err := templatesMinimalTmplBytes()
|
2016-06-30 21:37:52 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
|
2016-07-01 13:55:17 +00:00
|
|
|
info := bindataFileInfo{name: "templates/minimal.tmpl", size: 32, mode: os.FileMode(438), modTime: time.Unix(1467321928, 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-30 21:37:52 +00:00
|
|
|
|
2016-07-01 13:55:17 +00:00
|
|
|
func templatesSingleTmplBytes() ([]byte, error) {
|
|
|
|
return bindataRead(
|
|
|
|
_templatesSingleTmpl,
|
|
|
|
"templates/single.tmpl",
|
|
|
|
)
|
2016-06-30 21:37:52 +00:00
|
|
|
}
|
|
|
|
|
2016-06-11 13:32:50 +00:00
|
|
|
func templatesSingleTmpl() (*asset, error) {
|
2016-07-01 13:55:17 +00:00
|
|
|
bytes, err := templatesSingleTmplBytes()
|
2016-06-11 13:32:50 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
|
2016-07-01 13:55:17 +00:00
|
|
|
info := bindataFileInfo{name: "templates/single.tmpl", size: 301, mode: os.FileMode(438), modTime: time.Unix(1467104452, 0)}
|
|
|
|
a := &asset{bytes: bytes, info: info}
|
|
|
|
return a, nil
|
2016-06-11 13:32:50 +00:00
|
|
|
}
|
|
|
|
|
2016-06-10 17:27:27 +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-30 21:37:52 +00:00
|
|
|
"public/css/styles.css": publicCssStylesCss,
|
|
|
|
"public/js/application.js": publicJsApplicationJs,
|
|
|
|
"public/js/form2js.js": publicJsForm2jsJs,
|
|
|
|
"templates/actions.tmpl": templatesActionsTmpl,
|
|
|
|
"templates/base.tmpl": templatesBaseTmpl,
|
|
|
|
"templates/editor.tmpl": templatesEditorTmpl,
|
2016-06-23 22:21:44 +00:00
|
|
|
"templates/frontmatter.tmpl": templatesFrontmatterTmpl,
|
2016-06-30 21:37:52 +00:00
|
|
|
"templates/listing.tmpl": templatesListingTmpl,
|
|
|
|
"templates/minimal.tmpl": templatesMinimalTmpl,
|
|
|
|
"templates/single.tmpl": templatesSingleTmpl,
|
2016-06-10 17:27:27 +00: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))
|
|
|
|
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{}},
|
2016-06-30 21:37:52 +00:00
|
|
|
"form2js.js": &bintree{publicJsForm2jsJs, map[string]*bintree{}},
|
2016-06-10 21:18:44 +00:00
|
|
|
}},
|
|
|
|
}},
|
|
|
|
"templates": &bintree{nil, map[string]*bintree{
|
2016-06-30 21:37:52 +00:00
|
|
|
"actions.tmpl": &bintree{templatesActionsTmpl, map[string]*bintree{}},
|
|
|
|
"base.tmpl": &bintree{templatesBaseTmpl, map[string]*bintree{}},
|
|
|
|
"editor.tmpl": &bintree{templatesEditorTmpl, map[string]*bintree{}},
|
2016-06-23 22:21:44 +00:00
|
|
|
"frontmatter.tmpl": &bintree{templatesFrontmatterTmpl, map[string]*bintree{}},
|
2016-06-30 21:37:52 +00:00
|
|
|
"listing.tmpl": &bintree{templatesListingTmpl, map[string]*bintree{}},
|
|
|
|
"minimal.tmpl": &bintree{templatesMinimalTmpl, map[string]*bintree{}},
|
|
|
|
"single.tmpl": &bintree{templatesSingleTmpl, map[string]*bintree{}},
|
2016-06-10 21:18:44 +00:00
|
|
|
}},
|
2016-06-10 17:27:27 +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, "/")...)...)
|
|
|
|
}
|
2016-06-30 21:37:52 +00:00
|
|
|
|