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
|
|
|
|
}
|
|
|
|
|
2016-07-05 16:46:45 +00:00
|
|
|
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\
|
2016-07-01 13:55:17 +00:00
|
|
|
|
|
|
|
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-05 16:46:45 +00:00
|
|
|
info := bindataFileInfo{name: "public/css/styles.css", size: 19279, mode: os.FileMode(438), modTime: time.Unix(1467736858, 0)}
|
2016-07-01 13:55:17 +00:00
|
|
|
a := &asset{bytes: bytes, info: info}
|
|
|
|
return a, nil
|
|
|
|
}
|
2016-06-11 22:03:54 +00:00
|
|
|
|
2016-07-06 10:25:00 +00:00
|
|
|
var _publicJsApplicationJs = []byte("\x1f\x8b\x08\x00\x00\x09\x6e\x88\x00\xff\xd4\x3d\x6b\x73\xdb\x46\x92\xdf\x5d\xe5\xff\x80\xe0\x52\x0b\x32\xa6\x28\xdb\x7b\xa9\xab\xd2\x2b\xe5\x48\xb2\xad\x5b\x59\x76\x59\xcc\xde\x55\x49\x8a\x0d\x11\x43\x12\x31\x08\xf0\xf0\x90\xac\x4d\xf4\xdf\xaf\x7b\x1e\xc0\x3c\x01\x90\x52\x1e\x8b\xec\x9a\x24\xd0\xd3\xd3\xd3\xd3\xd3\xaf\xe9\x81\x82\xaa\x20\x5e\x51\xe6\xf1\xb4\x0c\x76\x9f\x3e\x79\xfa\x64\x9a\xa5\x45\xe9\x95\x64\xb9\x3a\x39\xf2\xf6\x3d\xff\xd3\x6c\xf9\x29\x4e\x4b\x92\xa7\x61\xf2\x09\x6f\x67\x79\x98\xdf\x7d\x8a\x23\xff\xe9\x93\x9b\x30\xf7\x0a\x92\x90\x69\x49\xa2\x13\x78\x56\x40\x83\x8b\xab\x5d\xf6\xa0\xcc\xbe\x90\x14\x31\xf8\x14\xef\xf6\x77\x5e\xeb\x7f\x4f\x9f\xc0\xbf\x6d\x97\x04\xf1\xe6\xf8\xec\xf8\xe3\xab\x53\xef\xf5\x4f\x67\x87\x93\x93\xf7\x67\xe7\x06\x44\x2b\x8e\xd6\xff\xb6\x29\xb1\xdb\xde\x47\xb2\xcc\x6e\x48\xe1\x85\xa9\x07\x23\x5c\x92\xb4\x1c\x79\xf1\xcc\x23\x5f\xe3\xa2\x2c\x46\xde\x2c\xcf\x96\xf8\x2c\xcc\xf3\xf0\xee\xe9\x93\x57\xf8\x31\x5e\xe5\x59\x99\x95\x77\x2b\x32\xce\x69\xeb\x63\xd6\x10\x98\x30\xab\xd2\x69\x19\x67\xe9\x80\xe3\x1a\x7a\xbf\x02\x29\x70\x21\xa7\x62\x00\x28\x17\x71\x31\x8e\xd3\x88\x7c\x7d\x3f\xab\x81\x76\x19\x0c\x74\x3b\x88\xbd\x6f\xf6\xbd\xad\x17\x75\x3b\xbc\x68\x9b\x62\x95\xc4\x53\x32\x88\x47\xde\x0b\x01\x7f\xff\xf4\xc9\x7d\x3d\x8a\x55\x12\x4e\x95\x61\x78\x71\x5a\xc4\x11\xa9\x89\xf7\xae\xef\xe0\x7b\x56\x2e\x48\x6e\x1b\x07\x6d\x6f\x19\xc8\x35\x99\xc7\xe9\xc8\x23\x69\xd4\x3e\x16\x0a\xd7\x67\x24\x17\xf1\x15\xb4\x05\x7c\xe6\x28\xce\xe1\x2e\x0c\xc1\x9b\x66\x45\x59\x2d\x3d\x72\x83\xb4\x94\x99\x17\x97\x20\x7d\xb3\xa7\x4f\x8e\xb2\x69\x85\xf4\x49\x84\x17\xd0\xe4\x90\x82\x1f\xdf\x68\x94\x97\xe4\x6b\xc3\x7f\x4a\x6b\x14\x17\xab\xb0\x9c\x2e\x28\xe8\x20\x25\xb7\xde\x61\x55\x94\x19\x6b\xca\xe0\x71\x04\x82\x9c\x37\xa4\x2c\xa0\x21\x01\x7a\x60\x61\x00\xf2\x6c\x46\x89\xcb\xbe\xc4\xc4\x4a\xcc\x9c\x94\x87\xf4\xa9\x4c\x46\x1a\x2e\x89\xc2\xba\x1c\x1f\x63\xe7\x1f\xc9\xfc\xf8\xeb\x6a\xe0\x0f\x7e\xd8\x81\xff\xfd\xfc\xdb\xf8\xbb\xdd\xcb\xcb\xe2\xbb\xa1\xef\x3d\xf3\xb0\x15\x7c\xf8\x78\xe3\xf2\x72\x1f\x3f\x06\x17\x3f\xef\x5e\x7d\x37\x1c\x7f\xf7\xed\xf0\xb7\x9f\xe1\x5f\x5f\x70\x3b\x27\x65\x95\xa7\x5e\x24\x08\x62\x14\x8a\x39\x1d\xe4\x64\xe4\xf9\xdf\xbe\xf0\xe5\xa1\x1d\x2e\xc2\x74\x8e\xe2\xe2\x5d\x57\x65\x99\xa5\xc8\x65\x1c\x69\x92\x85\x51\x9c\xce\x41\x50\xe2\x65\x88\xe4\x3f\x7d\xc2\x65\x42\x1a\xe6\x94\x36\x9e\x64\xa7\x1c\x58\x1a\x6c\x3d\xd0\x84\x94\xb5\x20\x32\x49\xd9\x6d\x1e\x64\x79\x0c\xc2\x12\x26\x13\xe0\x38\xca\x02\xef\x21\x4e\x53\x92\xbf\x9d\xbc\x3b\xa5\x8a\x04\x81\xc5\x93\xa2\xbc\x4b\xc8\x38\x5b\x85\xd3\xb8\xbc\x83\x16\xcf\x6b\x88\x82\x94\x93\x78\x49\xb2\xaa\x1c\x98\x44\xc8\x28\x6a\xe4\xd0\x3c\xd8\x8b\xbd\x69\x12\x16\xc5\xbe\x0f\xa3\x24\x79\x1c\x26\x5b\x31\x2a\x44\xaf\x58\xc5\xa9\x7f\x10\x56\x65\x96\x13\x98\xa2\xbd\xed\xf8\x20\xd8\x35\x91\xe9\xf4\xbc\x10\xb2\x3c\xf2\x5e\x3e\x7f\x3e\xac\xa9\xe3\x33\x23\x8f\xd7\x36\x09\xcd\x9a\x85\x69\x88\xb2\x94\xf4\xe3\xff\x11\x42\xca\x3a\x27\xcf\xb3\x7c\xe4\x2d\xca\x65\xa2\xca\xbd\x9b\x7d\x38\x1b\x00\x92\x47\xe7\x25\x59\xc1\x13\xe0\xdd\xfe\x81\xa1\x7b\x64\xde\x21\xf6\x5d\x5d\x37\x59\xd8\xd1\x80\xa0\x32\x50\xac\xc7\x38\x21\xe9\xbc\x5c\x78\xfb\x40\x89\xf7\xb7\xbf\x35\x82\x0b\xeb\x87\x8f\xf6\xc7\xbb\x93\x68\x10\x24\xa0\x83\x41\xc0\x82\xa1\x32\xa3\x78\xd5\x4d\xb4\xf5\x3f\x08\x18\x73\xa2\x2d\xd1\x63\x30\x94\xa8\xbd\xaf\x55\x4e\x33\xfc\x82\xc0\xcc\xb7\x8f\xdf\xc6\x3f\x01\x20\x09\x60\xcd\xc8\x5a\x0a\x8c\xce\x66\x71\x5e\x94\xae\xbe\x90\x51\x74\x0e\x8d\xe1\x1a\xb3\xe0\x94\x60\xff\x60\x9a\x64\x05\xd1\x05\xf7\x1e\x24\x0c\x1c\x80\x07\xa0\x45\xb1\x34\xb0\xca\xd3\xdc\x43\x12\x24\x5e\x35\x5c\x07\x83\xf6\xdc\xc2\x2d\x79\x61\x0b\xa6\x29\x7c\xe5\x6b\x6b\x16\xc2\xc0\xa4\x45\xf5\x36\x4c\xa3\x84\x30\xbd\x9d\xad\xc0\x33\x99\xc5\x09\x11\x5a\x8e\x5a\x14\xe6\xb6\xe0\x33\xc3\x64\xd0\xe7\x35\xf7\x71\x3e\xe8\xa8\x28\x4b\x4e\x41\x18\xc7\x68\x09\x42\x30\xac\x83\x00\x6c\x49\x78\x9d\xa0\x7c\x29\xb3\xa5\x51\xa5\x0c\xc9\xb5\x10\x14\x04\xb7\x60\x50\xb3\xdb\x31\x92\xa7\x02\x5f\x3c\xbf\x02\x83\x10\xfc\x90\x87\xb7\xfb\x65\x5e\x11\x45\xb0\xdb\xba\x95\x31\xf2\xef\x49\x36\xa5\xda\xc5\x8e\xb0\x
|
2016-07-01 13:55:17 +00:00
|
|
|
|
|
|
|
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-06 10:25:00 +00:00
|
|
|
info := bindataFileInfo{name: "public/js/application.js", size: 28849, mode: os.FileMode(438), modTime: time.Unix(1467800632, 0)}
|
2016-07-01 13:55:17 +00:00
|
|
|
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-05 16:46:45 +00:00
|
|
|
var _templatesBaseTmpl = []byte("\x1f\x8b\x08\x00\x00\x09\x6e\x88\x00\xff\xb4\x57\xdf\x6f\xdb\x36\x10\x7e\xcf\x5f\xc1\x12\x03\xfc\xb0\x58\x72\xbb\xed\x25\x90\x3c\x0c\x49\x86\x05\x48\xb7\x20\x4e\x51\xec\xc9\xa0\xa5\xb3\xc5\x84\x22\x35\x92\x72\x62\x04\xfe\xdf\x77\xa4\x24\xeb\x47\x6c\xd7\x45\xdb\x87\x20\x32\x45\x7e\xf7\xdd\x77\xc7\xbb\x53\xf4\xee\xea\x9f\xcb\x87\x7f\xef\xae\x49\x66\x73\x31\x3d\x8b\xaa\x7f\x24\xca\x80\xa5\xf8\x9f\x44\x96\x5b\x01\xd3\xd7\xd7\xe0\x6f\x96\xc3\x76\x1b\x85\xd5\x82\x7b\x95\x83\x65\x44\xe2\x72\x4c\xd7\x1c\x9e\x0b\xa5\x2d\x25\x89\x92\x16\xa4\x8d\xe9\x33\x4f\x6d\x16\xa7\xb0\xe6\x09\x8c\xfd\x8f\x73\xc2\x25\xb7\x9c\x89\xb1\x49\x98\x80\xf8\x7d\x30\xa1\x1e\x48\x70\xf9\x44\x32\x0d\xcb\x98\x66\xd6\x16\xe6\x22\x0c\x97\x08\x63\x82\x95\x52\x2b\x01\xac\xe0\x26\x48\x54\x1e\x72\x04\xff\x7d\xc9\x72\x2e\x36\xf1\x47\x66\x41\x23\xd6\xcf\x37\xb8\x68\x28\xd1\x20\x62\x6a\xec\x46\x80\xc9\x00\xec\x10\x78\x74\x14\x38\x31\xa6\xc1\xbd\x57\x0b\x65\xd5\xc5\xaf\x93\xc9\xf9\x6f\x93\xc9\xc8\xe3\x8e\x5a\xdc\x11\xb1\x9b\x02\xe2\x91\x85\x17\xeb\x8e\x8d\x5a\x3b\x43\x06\xb5\x47\xaf\xaf\x24\xb8\x54\x72\xc9\x57\xc1\x1f\x0b\xa3\x44\x69\xe1\xd3\xfd\x2d\xd9\x6e\xc3\xf9\x92\x0b\xc8\x99\x64\x2b\xf4\x04\x55\xd3\x92\x09\x87\x19\x56\x20\x01\x3e\xa2\x1b\x88\x8f\x10\x7c\x49\x24\xec\x80\x66\x6e\xc3\xcc\x59\x21\x94\x22\x14\xee\x21\x91\x3f\xe5\xe8\xb8\x03\x6f\x77\xd6\xbb\xc2\xdd\x36\x44\x05\x99\xfa\xd3\x51\x58\xc7\x3b\x5a\xa8\x74\xe3\x5d\x72\x0b\xa0\x3d\x5c\x94\xf2\x75\x83\x4b\x7e\x12\xe8\xea\x45\x4c\x82\x3b\x8d\xa1\x55\xa5\xb9\x75\xbe\x57\xe0\x2d\x51\xbf\x8b\xd2\x7a\x99\x44\xac\x15\xc3\xbf\xda\x6e\x69\x85\xd8\x65\x41\x6a\x5b\x24\x11\xcc\x98\x98\xb2\xc4\x72\x25\x2b\x4c\xf8\xaf\xc5\x24\x29\x37\x6c\x21\x20\xdd\x9d\xa5\x84\xa7\x31\x2d\x90\x51\x03\x4b\x22\xde\xc0\xe4\x75\xa6\x8c\xb9\xcf\x94\xa9\x29\x17\x29\xd7\x90\x58\xa5\x37\x73\xa6\xb5\x7a\x9e\x0b\x58\xda\x28\xe4\xf5\xd9\x28\xdc\x39\x7c\xd8\xa3\x90\xed\x24\xa9\xf9\x9f\xed\xe7\x5f\x71\x53\x05\xc8\xb1\x64\x2d\xbf\x63\x0c\x73\x90\xe5\x8e\x4e\xcd\xa6\x7a\x2e\xa6\x6f\x05\xad\xd4\xd9\x97\x63\x3e\x37\x42\xc7\x50\x18\xc0\xc7\x83\xa9\xd8\x0a\xd9\xd0\xab\x70\x9b\xdd\x7f\x95\x2b\x75\x2d\xbd\xe6\xb8\xc9\xfd\x6a\x41\xff\xc4\x24\x26\x1f\xab\x2c\x1e\x06\xb3\x11\xa9\x93\xc1\xae\x8c\x10\x1a\xee\x84\x3c\x22\x43\x92\xc1\x5a\x2b\x39\xd7\x7c\x95\xf9\xf0\x38\xfe\xfe\x7c\x6b\xa0\x18\x46\xa1\xaf\x58\x9b\xba\x83\xd8\x28\x29\x36\x63\xc3\x53\xe8\x04\xe4\x84\x04\x27\xe4\x68\x56\x34\x86\x0e\xa7\x7b\x0b\xd0\x15\x6a\x0f\xc1\x6f\x4a\xfe\x2f\x66\xd8\x17\xef\x40\x83\x10\x76\x05\x3c\xc9\xf7\x5d\xcc\x87\x9e\x76\x57\x77\x89\xbc\x47\xb1\x1f\x92\xcf\x3d\xf2\xdf\x98\xd6\x07\x3c\x6d\xb3\x91\xf4\x6f\x6d\x6b\xf7\xc6\x5c\x71\xdd\x91\xc2\x07\xdc\x45\xcf\x00\xd3\x49\xd6\x67\x7b\x24\x7a\x18\x36\xe4\x35\x8c\x56\xc4\x65\x51\xda\xaa\x41\x51\xd7\xa0\x28\x29\x04\x4b\x20\x53\x02\x4b\x79\x4c\xaf\x5f\x20\x41\x89\x08\xc3\x26\x9d\x63\xdf\x49\x83\x20\x18\x98\x74\xa4\x3f\x6b\x8e\x9b\x36\xaa\xd4\x64\xc5\xed\x39\xc9\x41\x27\xa5\x33\x4f\x94\x26\x66\x2d\x9b\xd3\xc4\xfd\x61\xda\x19\x83\xea\x20\xc1\xa0\x9f\x2c\x03\x05\x0e\x56\x46\x37\x3a\x74\x59\x1c\x76\xdb\xed\x9c\xbb\xbe\x84\xed\xd6\x3b\x8f\x3d\xaf\x60\x72\x3a\x7b\xe6\x36\xc9\x88\x7b\x8d\xed\xcd\xad\xb4\x46\xfb\xf9\x7b\x88\x43\x59\x08\xc5\xd2\xd3\x58\xb8\xa6\x3d\xaf\x0e\x74\x38\x7c\xaa\x17\x8e\x9a\x6f\xb3\xab\xbb\x64\x21\xc7\x30\xa1\xe4\x35\x25\x1c\x66\x82\xce\x96\xb7\x17\xe8\x90\x17\x42\xad\x54\x69\x4f\xea\x30\xf0\xc2\xed\xdc\xaa\x39\x2b\x8a\x8e\x13\xb7\x1e\x60\xe0\x44\xeb\x43\xe7\xa9\xc9\x5b\xb5\x06\x2d\xd8\x86\x4e\x77\xef\xaa\x51\xc2\x4d\x0e\x67\xfd\xb4\x6f\x8a\x73\x73\xd4\x2a\x25\x16\x4c\xd7\x74\x3b\x85\xfa\x90\x7b\x0b\x96\x3c\x9d\xd0\xde\xab\x6a\xe6\x36\xef\xef\xe8\x6d\xe9\xf1\x4e\xd7\xd7\x4f\x60\x2d\x84\x74\x2c\xcb\x7c\x01\xc8\x69\xd2\x17\xa1\x79\x1f\xec\xae\x78\x07\x31\xea\x4d\x0b\xc7\xa2\xb9\x47\xca\x5e\x74\xa3\x9c\xf1\xca\x66\x0f\xa8\x1e\xa9\x11\xe8\x8a\xe1\xc4\xdd\x8c\x7b\x0d\x79\xab\x9e\x40\xd2\x69\xa7\x18\x3e\xb8\x15\xe2\x86\xf5\xc6\x89\x28\xac\xa0\xdd\xe3\x52\x29\x5b\x4f\x76\x33\xd0\x6b\xac\x7d\x78\x7f\x32\x8f\xc9\xaa\x21\x56\x2a\x37\xae\x80\x26\x52\x61\x51\x06\xad\x51\x92\xc1\x7c\x9e\xb0\x34\xdd\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-05 16:46:45 +00:00
|
|
|
info := bindataFileInfo{name: "templates/base.tmpl", size: 3848, mode: os.FileMode(438), modTime: time.Unix(1467736426, 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
|
|
|
|
}
|
|
|
|
|
2016-07-05 16:46:45 +00:00
|
|
|
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\xb2\x29\x2e\x48\xcc\x53\xc8\x4c\xb1\x55\x2a\xc9\xcf\x4e\xcd\x53\xb2\x03\x6a\xd0\x73\xce\xcf\x4b\xcb\x4c\xd7\x0b\x01\x89\x00\x55\xd9\xe8\x83\x14\xd9\xf1\x72\x01\x02\x00\x00\xff\xff\xb7\x02\xfa\x70\x4d\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-05 16:46:45 +00:00
|
|
|
info := bindataFileInfo{name: "templates/minimal.tmpl", size: 77, mode: os.FileMode(438), modTime: time.Unix(1467736433, 0)}
|
2016-07-01 13:55:17 +00:00
|
|
|
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
|
|
|
|