mirror of
https://github.com/Luzifer/share.git
synced 2024-12-20 10:31:16 +00:00
Add text displa and code highlight
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
e716fbcd1d
commit
4aa525a02b
3 changed files with 112 additions and 75 deletions
158
bindata.go
158
bindata.go
|
@ -80,35 +80,39 @@ func (fi bindataFileInfo) Sys() interface{} {
|
|||
}
|
||||
|
||||
var _bindataFrontendAppjs = []byte(
|
||||
"\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x84\x55\x4d\x8f\xdb\x36\x10\xbd\xeb\x57\xcc\xc1\x00\xa9\xd4\x2b\x37\x68" +
|
||||
"\x4e\x76\x1d\xb4\x48\x9c\x64\x81\xec\x6e\xe1\x75\x6e\x45\x37\x34\x35\x12\xd9\xd0\xa4\x40\x52\x95\x83\xc0\xff\xbd" +
|
||||
"\x20\xf5\xb1\x96\xed\x75\x6e\x14\x67\xe6\xbd\xe1\x9b\x0f\x29\xf4\x50\x48\x85\x5f\xd6\x9f\x61\x09\xba\x56\x6a\x91" +
|
||||
"\x70\xa3\x9d\x87\xbb\xc7\x8f\x4f\xf7\x0f\x9b\xa7\x0f\x0f\x5f\xee\xdf\xc3\x12\xc8\x07\xa9\x10\xb4\xf1\x50\x98\x5a" +
|
||||
"\xe7\xe4\xd4\xef\xaf\xd5\xfa\xee\x76\xb3\x59\x45\xdf\x7b\xe3\x81\x29\x65\x1a\xcc\xc1\x1b\x60\x9c\xa3\x73\x91\x68" +
|
||||
"\x14\xf7\x71\x75\xbf\x5a\xdf\xbe\x7b\x5a\xad\xd7\x21\xea\xd1\xec\xd0\x0b\xa9\x4b\x68\x50\x7b\x68\xac\xd1\x25\x59" +
|
||||
"\x24\xc9\xec\x15\x94\xca\x6c\x99\x82\xc9\xbc\x60\xca\x21\xbc\x9a\x25\x09\x57\xcc\x39\x78\x14\xcc\x22\xfc\x48\x00" +
|
||||
"\xa4\x96\x9e\xa6\xf1\x08\x30\xa1\x8d\xd4\xb9\x69\xd2\x6c\x2b\x75\x4e\x89\x60\x4e\x70\xc1\x74\x89\x64\x0a\x14\x53" +
|
||||
"\x58\xbe\xed\x3c\x01\xbc\x90\x2e\x0b\x0e\x9f\x0d\xcb\x69\xba\x88\xd7\x87\x74\x91\xc4\x43\x50\x88\x55\xd5\x46\x7a" +
|
||||
"\x85\xb0\x84\xaf\x2d\xe1\x1f\x30\xf9\xd1\x32\x64\xca\x70\xe6\xa5\xd1\x99\x30\xce\x1f\xbe\x76\xf4\xc4\x87\x80\x69" +
|
||||
"\xc6\xaa\x2a\x9e\x48\x9a\x79\xdc\x7b\xda\x43\xf5\xf0\x17\xc8\x0f\xc1\x82\xbb\x2d\xe6\x41\xf2\x5b\x5d\x18\x1a\x94" +
|
||||
"\x0b\x0a\x91\xfe\x7d\xb2\x80\xee\x72\x79\x7c\x3d\xe0\xe9\x5c\xe1\xca\x5a\x63\xef\xd0\x39\x56\x22\x1d\x95\xb3\x7f" +
|
||||
"\x63\x9b\xc2\x73\xfd\xc3\xa9\x35\x4d\x32\xf6\x2f\xdb\x47\x8a\xe9\x80\x1d\xaa\x63\xf2\x39\x90\x4f\xab\x3f\xdf\x93" +
|
||||
"\x69\x77\xeb\xea\x58\xdd\x39\xd0\x9c\x79\x36\x05\xe7\x99\xaf\xdd\x14\xf6\xc2\x8e\x64\x1e\xe7\x16\x9e\x77\x21\x60" +
|
||||
"\xd1\x39\x1f\x7a\x74\x0c\x8f\x98\x03\xdd\x0b\xdb\x7b\x5e\x41\x0d\xce\x23\xd7\x13\xbc\xc3\xb3\xc0\xd7\xf3\xe8\xf0" +
|
||||
"\x43\xf1\xfd\xf7\x2a\x68\xbf\x17\x36\x2b\xd1\xaf\xd1\x55\x46\x3b\xfc\x84\x2c\x47\x4b\xc9\x3b\xa3\x3d\x6a\x7f\xb3" +
|
||||
"\xf9\x5e\x21\xe9\x8b\x3a\xa1\x24\xe3\x46\x7b\x26\x35\x5a\x92\x66\x42\xe6\xd8\x37\x56\xb0\x05\x59\x35\xdb\x0d\x4d" +
|
||||
"\xd1\x55\x20\x73\xf5\xd6\x79\x2b\x75\x39\xdc\x28\xe6\xfc\xad\xce\x71\xff\x50\x50\x32\x23\x29\xfc\x02\xaf\xd3\x9e" +
|
||||
"\x26\x34\x41\xc8\x2e\xdb\x31\xcf\x05\x9d\xfd\x23\x77\xac\xc4\xbf\x67\xb3\xf4\xb9\x1f\x7a\x3a\x25\xf5\xb7\x1b\x67" +
|
||||
"\x39\x49\x33\xe6\xbd\xa5\x24\x9c\xa7\x7d\xed\x07\x9d\x82\xbb\x13\xa6\xb9\x89\x50\x24\x8d\x1f\x74\x30\x5b\xf4\xb5" +
|
||||
"\xd5\x7d\xf7\x5c\xcc\xe1\x3f\x99\xa3\x19\xe7\x10\x54\x74\x96\xc3\x32\xc0\xff\xee\x4c\x6d\x39\xbe\x25\x03\xa8\xb3" +
|
||||
"\xfc\x6a\x4e\xd1\x5e\x55\xa8\xf3\x8d\xa1\x13\x4a\x22\x03\x49\xcf\x73\xee\x0c\x57\x73\x4e\xce\x44\x11\x16\x8b\x41" +
|
||||
"\x95\xf8\x71\x9a\xc2\x40\x50\xa2\x46\x2b\xf9\x88\xe2\xb8\x99\xce\xda\xef\xa8\x8d\x76\xed\x20\xc6\x29\x6e\x61\x5d" +
|
||||
"\x23\x3d\x17\xb1\xb5\xb3\xb1\x3f\x00\x67\x0e\xe1\xcd\xaf\x6f\xe6\x43\x9b\x3f\xc7\x8f\x46\x79\x31\x38\x6c\x2d\xb2" +
|
||||
"\x6f\x8b\x71\xfc\x6f\xd7\xe2\x87\x8d\xfd\x02\x46\x8e\x05\xab\x95\x7f\x09\xe2\x68\x79\x5f\x04\x38\x8c\x16\xdc\xd9" +
|
||||
"\x42\xea\xc0\x2e\x6a\x78\xea\x33\x2c\x75\x92\xc5\x7d\xd0\xcf\xcd\x31\xc6\xcf\xa7\x2e\x96\xb0\x8f\x3f\x2b\x60\xbf" +
|
||||
"\x81\x8f\x4a\xd6\x6d\xdd\xb3\x3d\xcf\x9c\x38\x1a\xd5\xd7\x1d\x45\x7c\xe8\xf9\xda\xee\x38\x0e\x49\x32\xa1\x45\xad" +
|
||||
"\x79\x80\xe8\x58\xe2\x5c\xc4\xdf\xc9\x12\x34\x36\xed\xbf\xac\x4d\x2a\x5e\x67\xed\x2f\x6d\x91\x84\xb5\xf5\x7f\x00" +
|
||||
"\x00\x00\xff\xff\x41\xd0\x93\x2b\xaa\x07\x00\x00")
|
||||
"\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x9c\x56\x4b\x6f\x1b\x37\x10\xbe\xef\xaf\x98\x83\x00\x72\x53\x79\xd5\xa0" +
|
||||
"\x39\x49\x55\xd0\x22\x51\x6c\x03\x7e\x14\xb2\x7c\x33\xea\x50\xdc\xd1\x92\x0e\x45\x2e\x48\x2a\x52\x90\xea\xbf\x17" +
|
||||
"\xe4\x3e\xb4\x2b\x39\x4a\x51\x9d\x28\x72\xe6\x9b\xd7\x37\x33\xab\xd0\xc3\x4a\x2a\x7c\x9c\xdf\xc0\x14\xf4\x46\xa9" +
|
||||
"\x49\xc2\x8d\x76\x1e\x6e\x1f\x2e\x9f\xef\xee\x17\xcf\x9f\xee\x1f\xef\x3e\xc2\x14\xc8\x27\xa9\x10\xb4\xf1\xb0\x32" +
|
||||
"\x1b\x9d\x93\x63\xb9\xbf\x66\xf3\xdb\xeb\xc5\x62\x16\x65\xef\x8c\x07\xa6\x94\xd9\x62\x0e\xde\x00\xe3\x1c\x9d\x8b" +
|
||||
"\x86\x7a\x7a\x97\xb3\xbb\xd9\xfc\xfa\xc3\xf3\x6c\x3e\x0f\x5a\x0f\x66\x8d\x5e\x48\x5d\xc0\x16\xb5\x87\xad\x35\xba" +
|
||||
"\x20\x93\x24\x19\xbd\x81\x42\x99\x25\x53\x30\x18\xaf\x98\x72\x08\x6f\x46\x49\xc2\x15\x73\x0e\x1e\x04\xb3\x08\xdf" +
|
||||
"\x13\x00\xa9\xa5\xa7\x69\x3c\x02\x0c\xe8\x56\xea\xdc\x6c\xd3\x6c\x29\x75\x4e\x89\x60\x4e\x70\xc1\x74\x81\x64\x08" +
|
||||
"\x14\x53\x98\xbe\xaf\x25\x01\xbc\x90\x2e\x0b\x02\x37\x86\xe5\x34\x9d\xc4\xeb\x7d\x3a\x49\xe2\x21\x64\x88\x95\xe5" +
|
||||
"\x42\x7a\x85\x30\x85\xcf\x95\xc1\x3f\x60\xf0\xbd\xb2\x90\x29\xc3\x99\x97\x46\x67\xc2\x38\xbf\xff\x3c\xa9\xed\x13" +
|
||||
"\x1f\x34\x86\x19\x2b\xcb\x78\x22\x69\xe6\x71\xe7\x69\x83\xd5\xe0\xbf\x62\x7d\x1f\x5e\x70\xbd\xc4\x3c\xe4\xfc\x5a" +
|
||||
"\xaf\x0c\x0d\xa9\x0b\x29\x22\x4d\x80\x72\x05\xf5\xe5\xb4\x7b\xdd\xe2\xe9\x5c\xe1\xcc\x5a\x63\x6f\xd1\x39\x56\x20" +
|
||||
"\xed\xd5\xb3\x09\xb2\x72\xe1\x40\x80\x70\xaa\x03\xc8\xd8\x0b\xdb\x45\x13\xc3\x16\x3b\x94\xc7\xe4\x63\x20\x57\xb3" +
|
||||
"\x3f\x3f\x92\x61\x7d\xeb\x36\xb1\xbc\x63\xa0\x39\xf3\x6c\x08\xce\x33\xbf\x71\x43\xd8\x09\xdb\xcb\x73\xdf\xb7\x10" +
|
||||
"\xde\x2b\x0a\x93\x5a\x78\xdf\xa0\x63\x08\x62\x0c\x74\x27\x6c\x23\x79\x06\x35\x08\xf7\x44\x8f\xf0\xf6\x87\x04\x9f" +
|
||||
"\xf7\xa3\xc6\x0f\xd5\xf7\xdf\xca\x90\xfb\x9d\xb0\x59\x81\x7e\x8e\xae\x34\xda\xe1\x15\xb2\x1c\x2d\x25\x1f\x8c\xf6" +
|
||||
"\xa8\xfd\xc5\xe2\x5b\x89\xa4\x29\xea\x80\x92\x8c\x1b\xed\x99\xd4\x68\x49\x9a\x09\x99\x63\xc3\xac\xf0\x16\xd2\xaa" +
|
||||
"\xd9\xba\x25\x45\x5d\x81\xcc\x6d\x96\xce\x5b\xa9\x8b\xf6\x46\x31\xe7\xaf\x75\x8e\xbb\xfb\x15\x25\x23\x92\xc2\x2f" +
|
||||
"\xf0\x36\x6d\xcc\x04\x12\x04\xef\xb2\x35\xf3\x5c\xd0\xd1\xdf\x72\xcd\x0a\x7c\x1a\x8d\xd2\x03\x1f\x1a\x73\x4a\xea" +
|
||||
"\x2f\x17\xce\x72\x92\x66\xcc\x7b\x4b\x49\x38\x0f\x9b\xda\xb7\x79\x0a\xe2\x4e\x98\xed\x45\x84\x22\x69\xfc\x43\xdb" +
|
||||
"\x67\x8b\x7e\x63\x75\x8f\x3d\x27\x4e\x7c\x95\x39\x9a\xbe\x13\x21\x8d\xce\x72\x98\x06\xfc\xdf\x9d\xd9\x58\x8e\xef" +
|
||||
"\x49\x8b\xea\x2c\x3f\xeb\x54\x7c\x2f\x4b\xd4\xf9\xc2\xd0\x01\x25\xd1\x02\x49\x4f\x9d\xae\x1f\xfe\x87\xd3\x34\xd4" +
|
||||
"\xe1\x69\xf4\x0f\x2b\x4b\x25\xab\x86\x7e\x1a\xbd\xb0\xaf\xcc\x71\x2b\x4b\x9f\xf6\x52\x7a\xe8\x8d\xc7\xf9\xcd\xb0" +
|
||||
"\x43\xc5\xc0\xa3\x40\x84\x31\x90\x80\xd7\xb6\x48\xa7\x75\x2e\x67\x8b\xce\x75\xbf\x77\x8e\x88\x1d\x03\xe3\x26\x6f" +
|
||||
"\x69\x12\x65\x26\xfd\xf7\x2a\xf0\x68\xed\x38\xee\xf0\x13\xea\xc5\x65\x61\x34\x5e\xc9\x42\x28\x59\x08\x1f\xd8\xd5" +
|
||||
"\x11\xd9\x1f\x9c\xf9\x79\xab\xfd\xc7\x66\xeb\xa0\xee\xcf\x55\xa1\xc7\x4d\x61\x71\xd5\x92\x33\xfe\x39\x26\x42\x1b" +
|
||||
"\x6d\x81\x1a\xad\xe4\xbd\x80\xbb\x3d\x7d\xe2\x58\xa7\x9b\xd7\xd5\x3c\x8c\xc3\xb4\x82\x75\x5b\xe9\xb9\x88\x61\x67" +
|
||||
"\x7d\x79\x00\xce\x1c\xc2\xbb\x5f\xdf\x8d\x3b\x85\x6c\xf4\x7b\x13\xf5\x10\xfa\xd2\x22\xfb\x32\xe9\xeb\xff\x76\x4e" +
|
||||
"\xbf\xdd\x9c\x3f\xc0\xc8\x71\xc5\x36\xca\xff\x08\xa2\xb3\x44\x5f\x05\xd8\xf7\xf6\xcc\xc9\x5e\xa8\xc1\x5e\xcd\xe1" +
|
||||
"\xb1\x4c\xbb\x5c\x49\x16\xb9\xd2\xf0\xb2\x8b\xf1\xf3\xe1\x17\x4b\xd8\xe8\x9f\x14\xb0\x59\x84\x9d\x92\xd5\xcb\xef" +
|
||||
"\x64\xdf\x32\x27\x3a\x13\xf3\x6d\x6d\x22\x06\x7a\xba\x3d\x6b\x1b\xfb\x24\x19\xd0\xd5\x46\xf3\x00\x51\x5b\x89\xd3" +
|
||||
"\x29\xae\xf5\x29\x68\xdc\x56\xdf\x14\x95\x53\xf1\x3a\xab\x3e\x2d\x26\x49\x20\xf3\xbf\x01\x00\x00\xff\xff\xf5\xea" +
|
||||
"\xef\x38\x32\x09\x00\x00")
|
||||
|
||||
func bindataFrontendAppjsBytes() ([]byte, error) {
|
||||
return bindataRead(
|
||||
|
@ -127,7 +131,7 @@ func bindataFrontendAppjs() (*asset, error) {
|
|||
|
||||
info := bindataFileInfo{
|
||||
name: "frontend/app.js",
|
||||
size: 1962,
|
||||
size: 2354,
|
||||
md5checksum: "",
|
||||
mode: os.FileMode(436),
|
||||
modTime: time.Unix(1, 0),
|
||||
|
@ -139,49 +143,55 @@ func bindataFrontendAppjs() (*asset, error) {
|
|||
}
|
||||
|
||||
var _bindataFrontendIndexhtml = []byte(
|
||||
"\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xb4\x96\x5d\x57\xdb\x38\x13\xc7\xaf\xe1\x53\xa8\x7e\x2e\x41\x56\x12\x42" +
|
||||
"\x08\xd4\xce\x39\x81\x94\xa7\x40\x43\x1a\x28\xdd\xb6\x77\x8a\x35\xb6\x95\xc8\x92\x90\xe4\xbc\xd0\xb3\xdf\x7d\x8f" +
|
||||
"\x9d\x38\x2f\xed\xd2\xc2\x9e\x5d\x6e\xc2\x48\x9a\xd1\xff\x37\x33\xf6\x38\x78\xc3\x54\xe4\x16\x1a\x50\xea\x32\xd1" +
|
||||
"\xd9\x0f\x8a\x1f\x24\xa8\x4c\x42\x0f\xa4\xd7\xd9\x47\x28\x48\x81\xb2\xe2\x1f\x84\x82\x37\x18\xa3\x3b\x78\xcc\xb9" +
|
||||
"\x01\x86\x32\x70\x14\x39\x9a\x58\x84\xf1\x6a\xbf\x5c\x8a\x52\x6a\x2c\xb8\xd0\xcb\x5d\x8c\xdb\xde\xf6\x56\xea\x9c" +
|
||||
"\xc6\x85\xff\x34\xf4\xbe\xe0\x87\x2e\xbe\x50\x99\xa6\x8e\x8f\x04\x78\x28\x52\xd2\x81\x74\xa1\x77\xf5\x2e\x04\x96" +
|
||||
"\xc0\x8e\xa7\xa4\x19\x84\xde\x94\xc3\x4c\x2b\xe3\xb6\x0e\xcf\x38\x73\x69\xc8\x60\xca\x23\xc0\xa5\x71\x88\xb8\xe4" +
|
||||
"\x8e\x53\x81\x6d\x44\x05\x84\xf5\x43\x64\x53\xc3\xe5\x04\x3b\x85\x63\xee\x42\xa9\xbc\xce\xfe\x06\xe8\x5c\x29\x67" +
|
||||
"\x9d\xa1\x1a\x5d\xdc\xdf\x6f\x58\x04\x97\x13\x64\x40\x84\x9e\x75\x0b\x01\x36\x05\x70\x1e\x4a\x0d\xc4\xa1\x57\x70" +
|
||||
"\xd8\x33\x42\x22\x26\xc7\xd6\x8f\x84\xca\x59\x2c\xa8\x01\x3f\x52\x19\xa1\x63\x3a\x27\x82\x8f\x2c\x71\x33\xee\x1c" +
|
||||
"\x18\x3c\xaa\x6e\x20\x4d\xbf\xe6\xd7\x48\x64\x2d\x59\xaf\xf9\x19\x97\x7e\x64\xad\x57\x5e\xbb\xfc\xe3\xd2\x41\x62" +
|
||||
"\xb8\x5b\x84\x9e\x4d\x69\xe3\xb8\x85\x3f\x74\xdb\xa7\x4f\x07\x93\xd3\x78\x9c\xf4\x6f\x86\x64\xf2\xd8\x1c\x0c\x1a" +
|
||||
"\x7d\x13\xb7\x3f\x0b\xf7\x35\x13\xe4\xf3\xbb\xfb\x83\xbb\xa4\x16\xa7\x8d\x5a\xe8\xa1\xc8\x28\x6b\x95\xe1\x09\x97" +
|
||||
"\xa1\x47\xa5\x92\x8b\x4c\xe5\xd6\x43\xe4\xdf\x63\x2b\xf5\xcf\xa8\x8b\xd2\x15\x14\xa3\x66\x22\x16\xaf\xe5\x1a\xa5" +
|
||||
"\xbd\x26\xe9\xb1\x8b\xae\xbe\xed\x7e\x15\x03\x3d\xbd\xb1\xf6\x81\x36\xd2\x5e\xad\x97\xb7\xe7\x26\x19\x4c\xdd\xd7" +
|
||||
"\xe6\xac\x71\x6c\xd3\xfe\xaf\xb9\x5e\x0e\x96\x5b\xf0\x63\x25\x1d\x9d\x81\x55\xd9\x92\xcb\x80\x00\x6a\xc1\x92\xe9" +
|
||||
"\xb1\x5f\xf3\xeb\xcb\x12\x51\x21\x7e\x0d\x70\xd4\x6e\xe2\x03\x56\xfb\xd8\x3e\x92\xa7\x13\x3a\xec\x5f\xcc\xc6\xed" +
|
||||
"\xcb\xe6\xdd\xf5\x79\xab\xe5\x9e\xae\x66\x83\x9b\xcc\xb0\x51\xb3\x75\xa0\x95\xe9\x91\xc1\xd4\x5c\x1f\x1c\x9d\xfc" +
|
||||
"\xf1\x78\xd5\x3f\x79\x50\xe7\x6e\xf6\x7e\xd0\xba\x15\xc9\xb3\x50\x15\x92\xe3\x4e\x40\xe7\x3e\xa5\x06\x02\xb2\x34" +
|
||||
"\x56\x3b\x25\x62\x67\xa5\x2e\xad\xa3\xef\xc8\xc1\xdc\x61\x2a\x78\x22\xcf\x50\x04\xd2\x81\x79\x8b\x0a\x54\x6c\xf9" +
|
||||
"\x13\x9c\xa1\x93\x63\x3d\x7f\x8b\xfe\xac\x3c\x1a\xbf\xf7\x68\x34\xb7\x3d\xfc\xe2\xa9\xa3\x5c\x82\x41\xdf\x51\x46" +
|
||||
"\x4d\xc2\x25\x76\x4a\x9f\xa1\xa3\xda\xce\x31\x9b\xaa\x19\x4e\x40\x82\xe1\xd1\xe1\xca\xe4\x19\x4d\xa0\x32\xa6\x9c" +
|
||||
"\x81\xaa\x0c\x30\x46\x15\x01\x19\xb7\x5a\xd0\xc5\x19\x92\x4a\x42\x15\x2d\x20\x6b\xca\x80\x54\x6f\xa2\x60\xa4\xd8" +
|
||||
"\xa2\xb3\xbf\xb7\x17\x48\x3a\x45\x91\xa0\xd6\x86\x9e\xa4\xd3\x11\x35\x68\xf9\x83\x61\xae\xa9\x64\x58\x24\xd5\x42" +
|
||||
"\xd1\x9e\x68\x94\x60\x6d\x78\x46\xcd\xc2\xab\xf2\x16\xd0\xdd\x00\x78\x64\xa8\x64\x55\xcf\xfc\xcf\xeb\x04\xbc\x3a" +
|
||||
"\x10\x53\x8b\x62\x8a\x6d\x51\x0a\x4c\x85\xc3\xf6\x31\xa7\x06\xbc\x4e\x40\x78\x67\xdd\x24\x81\xd5\x54\x56\x2e\x54" +
|
||||
"\xeb\xb2\x64\x5e\x55\xc0\x62\xb3\x13\x10\x5a\xaa\x27\x92\x4e\xab\x62\x32\xbe\x26\xd9\x64\xb9\xcc\x8f\x50\x94\x71" +
|
||||
"\x99\x6c\x14\xa7\xf5\xad\xdb\x7e\x52\xa7\xb9\x2c\x5c\x63\x8a\x75\x2e\x2c\x78\x88\x1a\x4e\x71\xca\x19\x03\x19\x7a" +
|
||||
"\xce\xe4\xbb\x82\x03\x52\x85\x0b\x08\xe3\x2f\x90\xb3\xaa\xeb\xae\x9c\xbd\xbd\xbd\xbd\x9f\xa4\x94\xef\x0e\xcc\xd4" +
|
||||
"\x4c\x16\x08\x45\xc6\x9e\xb9\xb9\x08\xd2\xe8\x04\x74\x9d\xf4\x75\x20\x2e\xa0\x78\xa4\x71\xb1\x81\x0a\xab\x98\x03" +
|
||||
"\x5e\x27\x97\x65\x56\x59\x91\xc8\x80\xa4\x8d\x57\x01\x94\x9d\xb8\x6c\xfc\x65\xc7\x6f\xf7\xc2\x2f\x15\x78\xdb\x79" +
|
||||
"\xcf\x12\x64\x4d\x14\x7a\xeb\xa3\x3c\x4b\x70\x2c\x72\xce\xd0\xda\xc9\x9a\xad\x3c\x15\x45\x7f\x85\xcc\xf2\x19\xd9" +
|
||||
"\x78\x6f\x1d\x84\x6c\x04\x0c\x1b\xb0\x5a\x49\xcb\xa7\x80\x7e\x5c\xc0\xf5\xd6\x68\x71\xba\xad\xb6\x0c\x56\x0e\x4d" +
|
||||
"\xa3\x84\xdd\xda\x20\xe5\xce\x46\x63\x29\xed\x15\x2a\xcb\x87\xf7\x05\xbd\x00\xf3\x48\xd0\x8c\x3a\xae\x24\x8e\xb8" +
|
||||
"\x89\xc4\x73\x5d\x58\xf6\xc2\x9a\x74\x19\xfd\x99\x12\x17\xc3\x7b\x3c\xcc\xc1\x2c\x50\xcc\x8d\x75\x87\xc8\xa5\x20" +
|
||||
"\xd1\x47\xa5\x35\x18\x7f\x6c\x57\xf6\x66\xbe\x5f\x6f\x8d\x77\x1b\x19\xae\xdd\xb2\x84\x2f\x1c\x79\xe3\xc7\xe2\x2e" +
|
||||
"\x72\xe4\x1f\xf9\xf5\x95\x51\x0e\xb9\xf1\xce\x88\xf8\xbb\x29\x77\x99\xe8\x8b\x11\xb9\xb9\x1e\x8a\x0f\xb7\xf1\x20" +
|
||||
"\x3f\xad\x3b\x7a\xd4\x50\xe4\xb6\xff\x6d\x2e\xdc\xec\x4e\xb5\x87\x2e\x9b\xf4\xef\x58\x37\x6f\x3f\x3f\xe5\x3a\x01" +
|
||||
"\x59\x8a\xfe\xe7\x04\xba\x4a\x0d\xa9\xfb\xf5\xa6\x5f\xaf\x16\x5e\x46\x71\xff\xa9\xd1\x87\xc8\x7c\x31\xd7\xb4\x6b" +
|
||||
"\x1f\xb3\x58\x4f\x4e\xbf\xdc\x0d\xaf\x3e\x89\x9e\x5a\xf4\xb3\x07\x97\xdc\x9c\xbf\x93\xac\xc7\xed\x7d\xf4\x9f\x52" +
|
||||
"\x3c\xf7\x59\x35\xfe\xf1\xab\xea\xf7\x48\xc7\x07\xb5\xc6\x53\x7e\xfc\xf0\xf0\x61\x38\x19\x9c\xcc\xea\xff\xbf\x32" +
|
||||
"\xad\x69\xec\x2e\x92\x7e\x7c\xc9\xbe\x45\xdd\xf7\xd0\x73\x97\xf2\xe6\x9b\x3d\xb7\x2f\x42\xfa\x99\x89\x6a\x5d\xe8" +
|
||||
"\xd8\xc1\x0e\xc8\x72\x80\x05\x64\xf9\xd5\xfd\x57\x00\x00\x00\xff\xff\x97\xe8\xa6\x1b\x86\x0b\x00\x00")
|
||||
"\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xb4\x57\x5d\x57\xe3\x36\x13\xbe\x66\x7f\x85\xea\x5e\xb2\xb2\xf2\x45\x08" +
|
||||
"\xd4\xce\x39\x84\x2c\x05\xb2\x21\xe5\x73\x59\xee\x14\x6b\x6c\x2b\x91\x25\x47\x92\x63\xc2\x9e\xf7\xbf\xbf\xc7\x4e" +
|
||||
"\x9c\x84\xb6\xd0\xd0\xb3\xe5\xc6\x8c\x46\x33\x7a\x9e\x99\x91\x66\xe2\xfd\xc2\x54\x60\x17\x29\xa0\xd8\x26\xa2\xfb" +
|
||||
"\xc9\x2b\x3e\x48\x50\x19\xf9\x0e\x48\xa7\xfb\x09\x21\x2f\x06\xca\x8a\x7f\x10\xf2\x7e\xc1\x18\xdd\xc0\x2c\xe3\x1a" +
|
||||
"\x18\x4a\xc0\x52\x64\x69\x64\x10\xc6\x2b\x7d\xb9\x14\xc4\x54\x1b\xb0\xbe\x93\xd9\x10\x77\x9c\x6d\x55\x6c\x6d\x8a" +
|
||||
"\x0b\xfb\xb9\xef\x3c\xe2\xfb\x13\x7c\xaa\x92\x94\x5a\x3e\x16\xe0\xa0\x40\x49\x0b\xd2\xfa\xce\xc5\x17\x1f\x58\x04" +
|
||||
"\xaf\x2c\x25\x4d\xc0\x77\xe6\x1c\xf2\x54\x69\xbb\xb5\x39\xe7\xcc\xc6\x3e\x83\x39\x0f\x00\x97\xc2\x67\xc4\x25\xb7" +
|
||||
"\x9c\x0a\x6c\x02\x2a\xc0\xaf\x7f\x46\x26\xd6\x5c\x4e\xb1\x55\x38\xe4\xd6\x97\xca\xe9\x7e\xda\x10\xea\x29\x65\x8d" +
|
||||
"\xd5\x34\x45\xa7\xb7\xb7\x1b\x2e\x82\xcb\x29\xd2\x20\x7c\xc7\xd8\x85\x00\x13\x03\x58\x07\xc5\x1a\x42\xdf\x29\x78" +
|
||||
"\x98\x63\x42\x02\x26\x27\xc6\x0d\x84\xca\x58\x28\xa8\x06\x37\x50\x09\xa1\x13\xfa\x4c\x04\x1f\x1b\x62\x73\x6e\x2d" +
|
||||
"\x68\x3c\xae\x4e\x20\x2d\xb7\xe6\xd6\x48\x60\x0c\x59\xaf\xb9\x09\x97\x6e\x60\x8c\x53\x1e\xbb\xfc\xe3\xd2\x42\xa4" +
|
||||
"\xb9\x5d\xf8\x8e\x89\x69\xe3\xa0\x8d\xbf\x9e\x74\x8e\x5e\xf6\xa7\x47\xe1\x24\x1a\x0e\xae\xc9\x74\xd6\x1a\x8d\x1a" +
|
||||
"\x43\x1d\x76\x1e\x84\xfd\x9e\x08\xf2\xf0\xe5\x76\xff\x26\xaa\x85\x71\xa3\xe6\x3b\x28\xd0\xca\x18\xa5\x79\xc4\xa5" +
|
||||
"\xef\x50\xa9\xe4\x22\x51\x99\x71\x10\xf9\x79\xdc\x4a\xfc\x39\xb5\x41\xbc\x22\xc5\xa8\x9e\x8a\xc5\x47\x79\x8d\xe3" +
|
||||
"\x7e\x8b\xf4\xd9\xe9\x49\x7a\x75\xf2\x5d\x8c\xd2\xf9\xc0\x98\x7b\xda\x88\xfb\xb5\x7e\xd6\x79\xd6\xd1\x68\x6e\xbf" +
|
||||
"\xb7\xf2\xc6\x81\x89\x87\xef\xf3\xda\x9d\x58\x66\xc0\x0d\x95\xb4\x34\x07\xa3\x92\x25\x2f\x0d\x02\xa8\x01\x43\xe6" +
|
||||
"\x07\x6e\xcd\xad\x2f\x53\x44\x85\x78\x9f\x40\xb3\xd3\xc2\xfb\xac\xf6\x47\xa7\x29\x8f\xa6\xf4\x7a\x78\x9a\x4f\x3a" +
|
||||
"\x67\xad\x9b\xcb\x5e\xbb\x6d\x5f\x2e\xf2\xd1\x20\xd1\x6c\xdc\x6a\xef\xa7\x4a\xf7\xc9\x68\xae\x2f\xf7\x9b\x87\xdf" +
|
||||
"\x66\x17\xc3\xc3\x7b\xd5\xb3\xf9\xf9\xa8\x7d\x25\xa2\x37\x49\xfd\xbc\x54\xc5\x3c\x8a\x05\x8f\x62\xeb\x4e\x0c\x39" +
|
||||
"\x72\xeb\x0d\xb7\x46\x96\xce\x08\x95\x4c\x2b\xce\x8c\xcd\x18\x57\xbb\x65\x4c\x7f\x79\x90\x0b\x18\x86\xd3\xc1\x4b" +
|
||||
"\xd2\xcb\x55\xc0\x00\xf8\xec\xf7\x51\x56\x1f\x12\x6b\xef\xcf\x7b\x87\x83\x5a\x02\x83\x8b\x7c\x36\xcf\x77\xc9\x98" +
|
||||
"\xe5\x56\x40\xf7\x36\xa6\x1a\x3c\xb2\x14\x56\x9a\x12\x62\x77\x85\x25\xae\xa3\x1f\xc8\xc2\xb3\xc5\x54\xf0\x48\x1e" +
|
||||
"\xa3\x00\xa4\x05\xfd\x1b\x2a\x32\x89\x0d\x7f\x81\x63\x74\x78\x90\x3e\xff\x86\xfe\x57\x59\x34\xfe\xd9\xa2\xd1\xda" +
|
||||
"\xb6\x48\x35\xa0\x40\x31\x40\x3f\x50\xa0\x84\xd2\xc7\xe8\x57\xe8\x34\xa1\x13\x6c\xb6\xb8\xc5\xbb\x43\xb9\x04\x8d" +
|
||||
"\x7e\xa0\x84\xea\x88\x4b\x6c\x55\x7a\x8c\x9a\xb5\x6d\x4f\xae\x89\x55\x8e\x23\x90\xa0\x79\xf0\x79\x25\xf2\x84\x46" +
|
||||
"\x50\x09\x73\xce\x40\x55\x02\x68\xad\x0a\x87\x8c\x9b\x54\xd0\xc5\x31\x92\x4a\x42\xe5\xcd\x23\xeb\x40\x78\xa4\x7a" +
|
||||
"\x8b\xbd\xb1\x62\x8b\xee\xa7\xbd\x3d\x4f\xd2\x39\x0a\x04\x35\xc6\x77\x24\x9d\x8f\xa9\x46\xcb\x0f\x86\xe7\x94\x4a" +
|
||||
"\x86\x45\x54\x2d\x14\x17\x14\x8d\x23\x9c\x6a\x9e\x50\xbd\x70\xaa\xd0\x7a\xf4\xb5\x03\x3c\xd6\x54\xb2\xaa\xc6\x7e" +
|
||||
"\x75\xba\x1e\xaf\x36\x84\xd4\xa0\x90\x62\x53\x64\x0b\x53\x61\xb1\x99\x65\x54\x83\xd3\xf5\x08\xef\xae\xab\xc6\x33" +
|
||||
"\x29\x95\x95\x09\x4d\xd3\x32\xab\x4e\x95\xe3\x42\xd9\xf5\x08\x2d\xd1\x13\x49\xe7\x55\xbe\x19\x5f\x33\xd9\x44\xb9" +
|
||||
"\x8c\x8f\x50\x94\x71\x19\x6d\x10\xc7\xf5\xad\xd3\xfe\x82\x2e\xe5\xb2\x30\x0d\x29\x4e\x33\x61\xc0\x41\x54\x73\x8a" +
|
||||
"\x63\xce\x18\x48\xdf\xb1\x3a\x7b\x0d\xd8\x23\x95\x3b\x8f\x30\xbe\x03\x9c\x55\x5e\x5f\xc3\xd9\xdb\xdb\xdb\xfb\x0b" +
|
||||
"\x94\xf2\x4a\x62\xa6\x72\x59\x50\x28\x22\xf6\xc6\xc9\x85\x93\x46\xd7\xa3\xeb\xa0\xaf\x1d\x71\x01\xc5\x13\x80\x0b" +
|
||||
"\x05\x2a\xa4\xa2\x13\x3a\xdd\x4c\x96\x51\x65\x45\x20\x3d\x12\x37\x3e\x44\xa0\xac\xc4\xe5\xdd\x58\x5e\x8a\xed\x5a" +
|
||||
"\x78\x17\x81\xb3\x1d\xf7\x24\x42\x46\x07\xbe\xb3\xde\xca\x93\x08\x87\x22\xe3\x0c\xad\x8d\x8c\xde\x8a\x53\x91\xf4" +
|
||||
"\x0f\xc0\x2c\xef\xc8\xc6\x7a\x6b\x23\x24\x63\x60\x58\x83\x49\x95\x34\x7c\x0e\xe8\xcf\x0b\xb8\xde\x1e\x2f\x8e\xb6" +
|
||||
"\xd1\x96\xce\xca\xb1\x41\x2b\x61\xb6\x14\xa4\xd4\x6c\x30\x96\xd0\x3e\x80\xb2\x08\xe3\x06\x64\xaa\xa1\xeb\x15\x8f" +
|
||||
"\x48\xd7\x23\xab\x4f\xb1\xf4\x11\x87\xe5\x6b\xb0\x43\x71\xc1\x73\x20\x68\x42\x2d\x57\x12\x07\x5c\x07\xe2\xad\xb2" +
|
||||
"\x2e\x8b\x6b\x1d\xba\xa5\xf7\x37\x6a\xa6\x98\x87\x26\xd7\x19\xe8\x05\x0a\xb9\x36\xf6\x33\xb2\x31\x48\xf4\x87\x4a" +
|
||||
"\x53\xd0\xee\xc4\xac\xe4\xcd\xc8\x74\xb9\x35\x31\x99\x40\xf3\xd4\x2e\x6b\x62\xc7\xd6\x34\x99\x15\x67\x91\xa6\xdb" +
|
||||
"\x74\xeb\x2b\xa1\xec\x42\x93\x57\x4d\xe8\xef\xda\xd0\x59\x94\x9e\x8e\xc9\xe0\xf2\x5a\x7c\xbd\x0a\x47\xd9\x51\xdd" +
|
||||
"\xd2\x66\x43\x91\xab\xe1\xd3\xb3\xb0\xf9\x8d\xea\x5c\xdb\x64\x3a\xbc\x61\x27\x59\xe7\xed\x36\xd4\xf5\xc8\x12\xf4" +
|
||||
"\xbf\x67\x90\x56\xa1\x21\x75\xb7\xde\x72\xeb\xd5\xc2\x6e\x2c\x6e\xef\x1a\x43\x08\xf4\xa3\xbe\xa4\x27\x66\x96\x84" +
|
||||
"\xe9\xf4\xe8\xf1\xe6\xfa\xe2\x4e\xf4\xd5\x62\x98\xdc\xdb\x68\xd0\xfb\x22\x59\x9f\x9b\xdb\xe0\x3f\x65\xf1\xd6\xa4" +
|
||||
"\x3a\xf9\xf3\xa0\xfa\xcf\x94\x0e\xf6\x6b\x8d\x97\xec\xe0\xfe\xfe\xeb\xf5\x74\x74\x98\xd7\x7f\xbf\xd0\xed\x79\x68" +
|
||||
"\x4f\xa3\x61\x78\xc6\x9e\x82\x93\x73\xe8\xdb\x33\x39\x78\x32\x3d\xb3\x13\xa5\x7f\xcd\xe9\xef\xc6\x9e\xcd\xda\x6e" +
|
||||
"\x64\x48\x2f\xe4\x17\xd3\x73\x71\xae\x1e\x78\xfc\xc4\x82\xf6\xdd\x59\x36\x39\x1c\x26\x97\xb5\xbb\x6f\xc1\x37\x33" +
|
||||
"\x7c\x9c\x42\xff\x2c\x8f\x79\xed\xe5\x9d\x61\xe7\x5d\x32\x34\x4d\x0b\x1c\xaf\x72\xe8\x91\x65\x7b\xf7\xc8\xf2\x57" +
|
||||
"\xd9\xff\x03\x00\x00\xff\xff\xa0\xfe\x71\x7a\xa6\x0d\x00\x00")
|
||||
|
||||
func bindataFrontendIndexhtmlBytes() ([]byte, error) {
|
||||
return bindataRead(
|
||||
|
@ -200,7 +210,7 @@ func bindataFrontendIndexhtml() (*asset, error) {
|
|||
|
||||
info := bindataFileInfo{
|
||||
name: "frontend/index.html",
|
||||
size: 2950,
|
||||
size: 3494,
|
||||
md5checksum: "",
|
||||
mode: os.FileMode(436),
|
||||
modTime: time.Unix(1, 0),
|
||||
|
|
|
@ -11,7 +11,7 @@ class Share {
|
|||
this.hashLoad();
|
||||
});
|
||||
|
||||
let appTitle = `Share @ ${window.location.host}`
|
||||
let appTitle = `Share @ ${window.location.host}`;
|
||||
$('title,.apptitle').text(appTitle);
|
||||
|
||||
this.hashLoad();
|
||||
|
@ -45,6 +45,7 @@ class Share {
|
|||
$('.show-image').show();
|
||||
return;
|
||||
}
|
||||
|
||||
if (type.match(/^video\//)) {
|
||||
let src = $('<source>');
|
||||
src.attr('src', fileURL);
|
||||
|
@ -53,6 +54,22 @@ class Share {
|
|||
return;
|
||||
}
|
||||
|
||||
if (type.match(/^(text\/|application\/javascript)/)) {
|
||||
$.ajax(fileURL, {
|
||||
dataType: 'text',
|
||||
method: 'GET',
|
||||
success: (data) => {
|
||||
$('code').text(data);
|
||||
$('.show-text').show();
|
||||
hljs.initHighlighting();
|
||||
},
|
||||
error: (xhr, status) => {
|
||||
this.handleError(xhr, status);
|
||||
},
|
||||
});
|
||||
return;
|
||||
}
|
||||
|
||||
$('.filelink-href').attr('href', fileURL);
|
||||
$('.show-generic').show();
|
||||
}
|
||||
|
|
|
@ -14,12 +14,15 @@
|
|||
|
||||
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.0.10/css/all.css"
|
||||
integrity="sha384-+d0P83n9kaQMCwj8F4RJB66tzIwOKmrdb46+porD/OvrJ+37WqIM7UoBtwHO6Nlg" crossorigin="anonymous">
|
||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/styles/androidstudio.min.css"
|
||||
integrity="sha256-rEVnyeMfkKzmBwocdeeiqGOu1M/ttUHB7K0meKIwqvw=" crossorigin="anonymous" />
|
||||
|
||||
<title>Share</title>
|
||||
|
||||
<style>
|
||||
h1 { text-align: center; font-size: 75px; }
|
||||
h2 { text-align: center; font-size: 24px; }
|
||||
pre code { color: #e83e8c; }
|
||||
.container { margin-top: 30px; }
|
||||
.show-generic, .show-image, .show-video, .show-error { display: none; }
|
||||
</style>
|
||||
|
@ -56,6 +59,10 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<div class="container show-text">
|
||||
<pre><code></code></pre>
|
||||
</div>
|
||||
|
||||
<div class="container show-error">
|
||||
<h1>
|
||||
<i class="fas fa-exclamation-circle"></i>
|
||||
|
@ -71,6 +78,9 @@
|
|||
<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.0.0/js/bootstrap.min.js"
|
||||
integrity="sha256-5+02zu5UULQkO7w1GIr6vftCgMfFdZcAHeDtFnKZsBs=" crossorigin="anonymous"></script>
|
||||
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/highlight.min.js"
|
||||
integrity="sha256-/BfiIkHlHoVihZdc6TFuj7MmJ0TWcWsMXkeDFwhi0zw=" crossorigin="anonymous"></script>
|
||||
|
||||
<script src="app.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
Loading…
Reference in a new issue