Cosmetic changes

This commit is contained in:
Unrud 2020-02-17 18:01:59 +01:00
parent 7934a06207
commit bac6c4ac0c
3 changed files with 71 additions and 67 deletions

View file

@ -1,4 +1,4 @@
// Code generated by go-bindata. // Package main Code generated by go-bindata. (@generated) DO NOT EDIT.
// sources: // sources:
// webdata/fn.js // webdata/fn.js
// webdata/icon.png // webdata/icon.png
@ -7,8 +7,6 @@
// webdata/main.css // webdata/main.css
// webdata/sha256.js // webdata/sha256.js
// webdata/tex.png // webdata/tex.png
// DO NOT EDIT!
package main package main
import ( import (
@ -27,7 +25,7 @@ import (
func bindataRead(data []byte, name string) ([]byte, error) { func bindataRead(data []byte, name string) ([]byte, error) {
gz, err := gzip.NewReader(bytes.NewBuffer(data)) gz, err := gzip.NewReader(bytes.NewBuffer(data))
if err != nil { if err != nil {
return nil, fmt.Errorf("Read %q: %v", name, err) return nil, fmt.Errorf("read %q: %v", name, err)
} }
var buf bytes.Buffer var buf bytes.Buffer
@ -35,7 +33,7 @@ func bindataRead(data []byte, name string) ([]byte, error) {
clErr := gz.Close() clErr := gz.Close()
if err != nil { if err != nil {
return nil, fmt.Errorf("Read %q: %v", name, err) return nil, fmt.Errorf("read %q: %v", name, err)
} }
if clErr != nil { if clErr != nil {
return nil, err return nil, err
@ -56,21 +54,32 @@ type bindataFileInfo struct {
modTime time.Time modTime time.Time
} }
// Name return file name
func (fi bindataFileInfo) Name() string { func (fi bindataFileInfo) Name() string {
return fi.name return fi.name
} }
// Size return file size
func (fi bindataFileInfo) Size() int64 { func (fi bindataFileInfo) Size() int64 {
return fi.size return fi.size
} }
// Mode return file mode
func (fi bindataFileInfo) Mode() os.FileMode { func (fi bindataFileInfo) Mode() os.FileMode {
return fi.mode return fi.mode
} }
// ModTime return file modify time
func (fi bindataFileInfo) ModTime() time.Time { func (fi bindataFileInfo) ModTime() time.Time {
return fi.modTime return fi.modTime
} }
// IsDir return file whether a directory
func (fi bindataFileInfo) IsDir() bool { func (fi bindataFileInfo) IsDir() bool {
return false return fi.mode&os.ModeDir != 0
} }
// Sys return file is sys mode
func (fi bindataFileInfo) Sys() interface{} { func (fi bindataFileInfo) Sys() interface{} {
return nil return nil
} }
@ -135,7 +144,7 @@ func webdataIconWoff() (*asset, error) {
return a, nil return a, nil
} }
var _webdataIndexHtml = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x9c\x55\xbd\x6e\x14\x31\x10\xee\xef\x29\x8c\x6b\xee\x16\x90\x40\x14\xeb\x95\x50\x92\x82\x0a\x84\x82\x04\xe5\x9c\x3d\x77\x6b\xe2\x3f\xec\xd9\x4d\xee\x05\x40\x20\x24\x1a\x0a\x2a\x90\x80\x82\x86\x9f\x9e\xb7\xe1\x09\x78\x04\xb4\xeb\xe4\x76\x73\x1c\x5c\x48\xb5\x9a\x6f\xe6\x9b\xef\xf3\x8c\xe5\x2d\xaf\xec\xdf\xdb\x3b\x7c\x7c\xff\x80\xd5\x64\x4d\x35\x29\xbb\x0f\x33\xe0\x96\x82\xa3\xe3\xd5\x64\x52\xd6\x08\xaa\x9a\x30\xc6\x58\x69\x91\x80\xc9\x1a\x62\x42\x12\xbc\xa1\xc5\xf4\x36\x67\xc5\x38\xe9\xc0\xa2\xe0\xad\xc6\xe3\xe0\x23\x71\x26\xbd\x23\x74\x24\xf8\xb1\x56\x54\x0b\x85\xad\x96\x38\xed\x03\xa6\x9d\x26\x0d\x66\x9a\x24\x18\x14\xd7\xaf\x32\x0b\x27\xda\x36\x76\x00\x9a\x84\xb1\x8f\x60\x6e\x50\x5c\xdb\xd0\xaa\x89\xc2\x14\x9f\x36\xba\x15\xfc\xd1\xf4\xe1\x9d\xe9\x9e\xb7\x01\x48\xcf\x0d\x8e\x84\xef\x1e\x08\x54\x4b\x1c\xb8\x49\x46\x1d\x88\xa5\x28\x05\x5f\xb8\xd9\x93\xc4\xab\xb2\xc8\xe0\x96\x8a\x54\xc3\x8d\x9b\xb7\xb6\x55\x91\x26\x83\xd5\x03\xb4\x9e\x90\x1d\xfa\x46\xd6\x01\x54\x59\x64\x38\x97\x18\xed\x8e\x58\x1d\x71\x21\xb8\x05\xed\x66\x32\x25\xce\x2c\x2a\x0d\x82\x27\x19\x11\x1d\x67\x11\x8d\xe0\x89\x56\x06\x53\x8d\x48\x83\xcf\x11\x59\x4b\xef\x66\xc1\x2d\x39\xa3\x55\x40\xc1\xb5\x85\x25\x16\x3d\x90\xe9\xb5\x8f\x24\x1b\x62\x5d\x61\xdf\xa1\x2c\xf2\xda\x26\xe5\xdc\xab\xd5\x69\x47\xa5\x5b\xa6\x95\xe0\x3e\xa0\xd3\x6e\xc9\x33\xdc\xa7\x42\xb5\xe7\x9d\x43\x49\xda\x2d\x67\xb3\x59\x59\x84\x53\x4e\xa1\x74\xbb\x41\x97\xc6\x27\x54\xe7\xd9\xfb\x3a\xc9\xdc\x00\xd5\x9a\xdc\xe7\xe6\x0d\x91\x77\x3d\x31\xa2\xf1\xa0\x32\xc0\xab\x9f\xcf\x7e\x94\x45\x0e\xfe\xae\x15\xe0\x9c\x50\x07\x4b\x03\x29\x09\x9e\x99\x69\x94\xdd\x94\x3b\xc2\x55\x5a\x8b\xbd\xfd\x7e\x5e\x6c\x43\x30\x1f\xe3\x4c\xd2\xc0\x1c\x0d\xaf\x86\xa5\x86\xcb\x7a\x58\x34\xc6\xe4\x4d\xaf\x9d\x7c\xfa\xf0\xa7\x93\x2d\xd6\xe7\x1e\xe2\x30\xab\x57\x9f\xff\x69\x7f\xdb\xe8\xce\x7a\x8c\xe7\x47\x78\x42\x10\x11\xfa\x82\x2e\xe8\x6e\xf5\x19\xb8\x7d\x69\x09\xdd\x60\xe3\xdd\xc7\xdd\x2b\xeb\xc6\x7e\xe9\x9d\x85\x88\x2d\x45\x90\x47\x6b\xc9\xd7\x5f\x77\x8f\x2b\x18\x58\x05\x68\x12\x0e\xac\x6f\xbb\x59\x0e\x4f\x68\x43\xeb\xcb\xee\x4b\xf2\x5f\xc7\x69\xbd\x69\x2c\x2a\x7f\xbc\x5e\xff\xaf\xf7\x6f\x5e\xec\xb6\x96\x79\xb6\x21\x1c\xf1\x9e\x5f\x94\xd7\x84\x11\xeb\xe5\x45\x2e\x4e\x59\xe4\x67\xa2\x7b\x37\xfa\xff\xc0\xef\x00\x00\x00\xff\xff\x24\xc8\x4c\x09\x18\x06\x00\x00") var _webdataIndexHtml = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xa4\x92\xbf\x6e\x13\x41\x10\xc6\x7b\x3f\xc5\x66\x6b\xec\x03\x24\x10\xc5\xed\x49\x28\x49\x01\x0d\x08\x82\x04\xe5\x78\x77\xec\x5b\xb2\xff\xd8\x9d\xbb\xc4\x2f\x00\x02\x21\xd1\x50\x50\x81\x04\x14\x34\xfc\xe9\x79\x1b\x9e\x80\x47\x40\x77\xeb\xf8\x8c\x13\x5b\x41\x54\xa7\x9d\xf9\x3e\xfd\xbe\x9b\x99\x72\xef\xe0\xde\xfe\xd1\x93\xfb\x87\xac\x26\x6b\xaa\x51\xd9\x7d\x98\x01\x37\x17\x1c\x1d\xaf\x46\xa3\xd2\x22\x01\x93\x35\xc4\x84\x24\x78\x43\xb3\xf1\x2d\xce\x8a\x6a\xd9\x70\x60\x51\xf0\x56\xe3\x49\xf0\x91\x38\x93\xde\x11\x3a\x12\xfc\x44\x2b\xaa\x85\xc2\x56\x4b\x1c\xf7\x0f\xa6\x9d\x26\x0d\x66\x9c\x24\x18\x14\xd7\xae\x30\x0b\xa7\xda\x36\x76\x28\x34\x09\x63\xff\x82\xa9\x41\x71\x75\x8d\x53\x13\x85\x31\x3e\x6b\x74\x2b\xf8\xe3\xf1\xa3\xdb\xe3\x7d\x6f\x03\x90\x9e\x1a\x5c\x83\xde\x39\x14\xa8\xe6\x98\x7d\x49\x46\x1d\x88\xa5\x28\x05\x9f\xb9\xc9\xd3\xc4\xab\xb2\xc8\xc5\x8d\x6e\xaa\xe1\xfa\x8d\x9b\x9b\x0a\xd2\x64\xb0\x7a\x80\xd6\x13\xb2\x23\xdf\xc8\x3a\x80\x2a\x8b\x5c\x1e\x95\x46\xbb\x63\x56\x47\x9c\x09\x6e\x41\xbb\x89\x4c\x89\x33\x8b\x4a\x83\xe0\x49\x46\x44\xc7\x59\x44\x23\x78\xa2\x85\xc1\x54\x23\x52\xce\xb5\x66\xd4\xd2\xbb\x49\x70\x73\xce\x68\x11\x50\x70\x6d\x61\x8e\x45\x5f\xc8\xd6\xda\x47\x92\x0d\xb1\x4e\xd8\xbb\x47\xa5\xd2\x2d\xd3\x4a\x70\x1f\xd0\x69\x37\xe7\xd5\x88\x31\xc6\xca\x50\xed\x7b\xe7\x50\x92\x76\xf3\xc9\x64\x52\x16\x61\xd9\x70\x7e\xf9\x47\x65\xa8\xee\x42\x0b\x0f\xf3\x8f\xeb\xc4\x62\x37\xcf\x88\x6a\xaf\x13\x97\xc5\x4a\x38\x2a\x0b\xa5\xdb\x6a\x40\x49\xe3\x13\x2a\xce\xa4\x81\x94\x04\xaf\xb5\x52\xfd\x71\x2c\xc1\x07\x3a\xc9\xcc\x46\x35\x70\xa7\x0d\x91\x77\xbd\x3f\xa2\xf1\xa0\x72\x81\x57\xbf\x9e\xff\x2c\x8b\xfc\x38\x8f\x0a\xb0\x8d\xd3\x29\x96\x8d\x6c\x4e\xcb\xce\x26\xed\x18\x17\x69\xc5\x7a\xf7\x63\x60\xf5\xc2\xcc\xcb\xc9\xcf\x88\x06\xa6\x68\x78\x35\xec\x38\xfc\x2b\x73\xd6\x18\x93\x97\xbe\x22\x7f\xfe\xf8\x37\xf9\x82\x98\x53\x0f\x71\x18\xcb\xeb\x2f\x17\x46\xdd\x9c\xd0\x99\x6f\xcb\x98\x08\x4f\x09\x22\x42\xaf\xed\x1e\xdd\x4d\x9f\x15\xcf\xaf\x26\xa1\x1b\x12\xbc\xff\xb4\x7d\x31\xdd\x54\xff\x77\x33\x21\x62\x4b\x11\xe4\xf1\x8a\xf8\xe6\xdb\xee\x21\x05\x03\x8b\x00\x4d\xc2\xc1\xf1\x7d\xb7\xc3\xe1\x29\x6d\x30\xbe\x6e\x3f\x81\x4b\x47\x6f\xbd\x69\x2c\x2a\x7f\xb2\x5a\xf0\xef\x0f\x6f\x5f\xee\x8e\x92\x3d\xb6\x21\x5c\xf3\xbc\xb8\x8c\xa7\x09\x6b\x8e\x57\xbb\xce\xe2\x4f\x00\x00\x00\xff\xff\x46\xf9\xea\xef\xc1\x05\x00\x00")
func webdataIndexHtmlBytes() ([]byte, error) { func webdataIndexHtmlBytes() ([]byte, error) {
return bindataRead( return bindataRead(
@ -150,12 +159,12 @@ func webdataIndexHtml() (*asset, error) {
return nil, err return nil, err
} }
info := bindataFileInfo{name: "webdata/index.html", size: 1560, mode: os.FileMode(436), modTime: time.Unix(1, 0)} info := bindataFileInfo{name: "webdata/index.html", size: 1473, mode: os.FileMode(436), modTime: time.Unix(1, 0)}
a := &asset{bytes: bytes, info: info} a := &asset{bytes: bytes, info: info}
return a, nil return a, nil
} }
var _webdataMainCss = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x94\x56\xeb\x8e\xea\x36\x10\xfe\x9f\xa7\x70\x17\x55\x62\x8f\x08\x0d\xcb\x6e\x75\x64\xa4\xd5\x79\x15\xc7\x9e\x80\x8b\xe3\x89\x6c\x87\xc0\x56\xbc\x7b\x15\x3b\x04\xe7\xa6\xed\x11\x52\x24\xcf\xed\xf3\xcc\x7c\x33\xe6\x57\x81\xda\xa5\x05\xe3\x40\xfe\x4d\x08\x21\xa4\x3b\x97\x52\xdd\x28\x79\x91\x1c\xf5\xcb\xc1\x2b\xac\xe1\x94\xd4\x46\xad\xbd\x70\xdb\x60\x51\xbc\xbc\x92\x02\x4d\xc9\xdc\xfa\x25\x1c\x0f\xc9\x3d\x49\x7e\x74\x91\xd2\x12\xbf\xd2\xda\x82\x49\x2d\x28\xe0\x8e\x12\x8d\x1a\x42\xb0\xb4\x81\xfc\x2c\xdd\xa2\xba\xb4\x4b\xaa\x19\xf1\x3d\x49\xb6\x27\x29\x04\xe8\x0e\x59\x48\x5b\x29\x76\x8b\xf4\x27\x57\xaa\x4d\x92\xa3\xb8\x85\x2f\xf9\x24\x42\x5e\x3a\xf3\x46\x0a\x77\xa2\x64\x97\x65\x7f\x06\x8c\x13\xc8\xe3\xc9\xc5\x92\x92\x99\xa3\xd4\x94\x64\x3e\xda\x24\x42\xce\xf8\xf9\x68\xb0\xd6\x22\xe5\xa8\xd0\x50\xb2\x7a\xcf\xda\x1f\xf9\x43\x96\x15\x1a\xc7\xb4\x3b\x8c\x2d\x65\xc9\x8e\x10\x4a\xea\xe0\xba\xad\xf4\xf1\xf5\x30\x6d\x81\x65\xda\x1e\x86\x59\x15\x0a\xae\x9d\xa5\x82\x6b\x2a\xa4\x01\xee\x24\x6a\x4a\x38\xaa\xba\xd4\x41\xf7\x4f\x6d\x9d\x2c\x6e\x29\x47\xed\x40\x3b\x4a\x38\x68\x07\xc6\x27\xb0\xc2\x0a\xb4\xd4\xc7\x4d\xb2\xe2\x0a\x2d\x88\x4d\xb2\x3a\xc3\xcd\x76\xe9\x30\x25\x8f\x3a\x95\x0e\x4a\x3b\x74\x8b\x6c\x26\xe1\xfd\x5d\x40\x8b\xde\x32\x47\x66\xc4\x83\x55\xa3\x8b\x1a\x6c\xbc\x5d\x15\xb3\xce\xca\x2f\xa0\xe4\xcd\x40\x19\x32\xe8\x4a\xd9\x9c\xa4\xeb\x9a\xdf\xa0\x11\x69\x63\x58\x45\x49\x6e\x80\x9d\xd3\x56\x10\x00\x2b\x26\x14\xcb\x41\x75\x01\x3b\xdf\xa3\x61\xb7\xe0\xea\xe0\xea\x52\x7b\x62\x02\x1b\xea\x05\x9e\x67\xbb\xea\x1a\x3e\x19\xc9\x15\xe3\xe7\x4d\xaf\x5a\xd6\x78\xe9\xa2\x4f\xa4\x08\xc0\x58\x31\x2e\xdd\x8d\x92\x6c\x9b\xfd\x8c\x1a\xdc\x74\x24\xcb\x51\x89\x98\x64\xa9\xc3\x8a\x12\x56\x3b\x1c\x48\x73\x74\x0e\xcb\x58\xe1\x33\xf2\xad\x7a\x36\x69\x54\xcb\xf7\xbe\x96\xcb\x95\xfb\x55\x82\x90\x8c\xac\x4b\x76\x4d\xbb\x49\xd8\xb7\x3d\x78\xed\x2a\x39\xae\xec\x08\x62\xb7\xbf\x34\x01\xe2\xee\x07\x31\xaf\x9d\x43\x6d\xc7\x93\x18\x38\xdb\xce\x8e\xd7\x2f\xce\x8d\x33\x4c\xdb\x8a\x19\xe8\x07\x06\x8d\x00\x43\x7d\x5d\x2d\x2a\x29\xe2\xda\xf6\x83\xba\xfd\xe8\x13\x0d\x29\xbc\x3d\xce\xff\x93\x59\xb3\x6b\xaf\xbf\x2e\x2d\x90\xd7\x8f\x9c\xb0\x76\x4a\x6a\x88\xb6\xcb\xaa\xa8\x95\xb2\xdc\x00\xe8\x60\xbf\x79\x0e\x40\x2f\xb0\xa0\xc5\x30\x79\x9f\x59\xdf\xd8\x67\xb4\x76\xca\x7a\xb7\x99\xd0\x6d\x45\x2b\x56\x5b\xe8\x25\x97\x76\xee\xa1\xac\x1d\xcc\x21\x28\x28\xdc\x7c\xfc\xa1\x9d\x27\xde\xd3\xec\x7b\x98\x49\x9a\xc3\x78\x26\x34\x67\x00\x3c\x35\xee\xf8\x1d\x2e\x19\xd8\xdd\xda\x1a\x50\xc8\x86\x96\x13\x62\xdf\x93\xa4\x1d\x02\x66\x80\x45\x7b\x86\x92\xb7\x21\x75\x9e\x8f\x87\x81\xe0\xfe\x94\xcc\xd2\x63\x4a\xcb\x88\x29\x9d\x24\x62\xe1\xf0\x71\x58\x6c\xf4\xa0\x1c\xf3\x65\x9f\x3e\x3e\xfd\xd6\xfd\x24\xa3\xd1\x1a\xed\x85\x6c\xfb\xf1\xa8\xc9\xc4\xe1\x93\x0c\xee\xf3\x40\xf8\xdb\x8c\x86\xe6\xe7\x23\xc2\xcc\x4e\x78\xfb\x88\x77\xc2\x37\x08\x51\x4c\xce\x14\x5f\x67\xdb\xfd\x9e\xfc\x20\xeb\x5d\x96\x5d\x1a\x92\x92\x5d\x1b\xeb\x35\x5a\x1b\x31\x60\x5f\x80\xfd\xf6\x77\x31\x1f\xae\x1d\xe8\xc7\x03\xf3\xd4\x62\x86\x68\x4b\xa8\xcc\x56\xc0\x5d\x6a\x98\x93\x48\xc9\xfb\x5f\xfb\x18\x37\x7e\xca\xbe\x7b\x77\xef\x49\x70\x9b\xd0\x60\x61\x22\x47\x2a\xcf\x86\xd9\x65\xb7\xb0\xf0\x66\xff\xc1\xb4\xe9\xfd\x17\x00\x00\xff\xff\x62\x5e\xd2\x08\xdb\x09\x00\x00") var _webdataMainCss = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x94\x56\xeb\x8e\xea\x36\x10\xfe\x9f\xa7\x70\x17\x55\x62\x8f\x08\x0d\xcb\x6e\x75\x64\xa4\xd5\x79\x15\xc7\x9e\x80\x8b\xe3\x89\x6c\x87\xc0\x56\xbc\x7b\x15\x3b\x04\xe7\xa6\xed\x11\x52\x24\xcf\xed\x9b\x19\x7f\x33\xe6\x57\x81\xda\xa5\x05\xe3\x40\xfe\x4d\x08\x21\xa4\x3b\x97\x52\xdd\x28\x79\x91\x1c\xf5\xcb\xc1\x2b\xac\xe1\x94\xd4\x46\xad\xbd\x70\xdb\x60\x51\xbc\xbc\x92\x02\x4d\xc9\xdc\xfa\x25\x1c\x0f\xc9\x3d\x49\x7e\x74\x91\xd2\x12\xbf\xd2\xda\x82\x49\x2d\x28\xe0\x8e\x12\x8d\x1a\x42\xb0\xb4\x81\xfc\x2c\xdd\xa2\xba\xb4\x4b\xaa\x19\xf1\x3d\x49\xb6\x27\x29\x04\xe8\x0e\x59\x48\x5b\x29\x76\x8b\xf4\x27\x57\xaa\x4d\x92\xa3\xb8\x85\x2f\xf9\x24\x42\x5e\x3a\xf3\x46\x0a\x77\xa2\x64\x97\x65\x7f\x06\x8c\x13\xc8\xe3\xc9\xc5\x92\x92\x99\xa3\xd4\x94\x64\x87\x69\x93\x2c\xd3\x36\xb5\x60\x64\xe1\xa1\x26\xe1\x73\xc6\xcf\x47\x83\xb5\x16\x29\x47\x85\x86\x92\xd5\x7b\xd6\xfe\xc8\x1f\xb2\xac\xd0\x38\xa6\xdd\x61\x6c\x29\x4b\x76\x84\xd0\x6f\x07\xd7\x6d\xa5\x8f\xaf\x87\x61\x6d\x85\x82\x6b\x97\x8d\x82\x6b\x2a\xa4\x01\xee\x24\x6a\x4a\x38\xaa\xba\xd4\x41\xf7\x4f\x6d\x9d\x2c\x6e\x29\x47\xed\x40\x3b\x4a\x38\x68\x07\xc6\x67\xba\xc2\x0a\xb4\xd4\xc7\x4d\xb2\xe2\x0a\x2d\x88\x4d\xb2\x3a\xc3\xcd\x76\x79\x33\x25\x8f\x3a\x95\x0e\x4a\x3b\x74\x8b\x6c\x26\xe1\x7d\x2e\xa0\x45\x6f\x99\x23\x33\xe2\xc1\xad\x51\xa2\x06\x1b\x6f\x57\xc5\xdc\xb3\xf2\x0b\x28\x79\x33\x50\x86\x0a\xba\x9e\x35\x27\xe9\x3a\x0a\x34\x68\x44\xda\x18\x56\x51\x92\x1b\x60\xe7\xb4\x15\x04\xc0\x8a\x09\xc5\x72\x50\x5d\xc0\xce\xf7\x68\xd8\x2d\xb8\x3a\xb8\xba\xd4\x9e\x98\xc0\x86\x7a\x81\x67\xdb\xae\xba\x86\x4f\x46\x72\xc5\xf8\x79\xd3\xab\x96\x35\x5e\xba\xe8\x13\x29\x02\x30\x56\x8c\x4b\x77\xa3\x24\xdb\x66\x3f\x23\x12\x35\x1d\xd5\x72\x54\x22\xa6\x5a\xea\xb0\xa2\x84\xd5\x0e\x07\xd2\x1c\x9d\xc3\x32\x56\xf8\x8a\xfc\x55\x3d\x2f\x69\xd4\xcb\xf7\xbe\x97\xcb\x9d\xfb\x55\x82\x90\x8c\xac\x4b\x76\x4d\xbb\x79\xd8\xb7\x77\xf0\xda\x75\x72\xdc\xd9\x11\xc4\x6e\x7f\x69\x02\xc4\xdd\x8f\x63\x5e\x3b\x87\xda\x8e\xe7\x31\x70\xb6\x1d\x12\xaf\x5f\x1c\x10\x67\x98\xb6\x15\x33\xd0\x4f\x06\x1a\x01\x86\xfa\xbe\x5a\x54\x52\xc4\xbd\xed\xc7\x75\xfb\xd1\x17\x1a\x4a\x78\x7b\x9c\xff\x27\xb3\x66\x97\x5f\x9f\x2e\x2d\x90\xd7\x8f\x9a\xb0\x76\x4a\x6a\x88\x76\xcc\xaa\xa8\x95\xb2\xdc\x00\xe8\x60\xbf\x79\x0e\x40\x2f\xb0\xa0\xc5\xb0\x78\x5f\x59\x7f\xb1\xcf\x68\xed\x94\xf5\x6e\x33\xa1\xdb\x8e\x56\xac\xb6\xd0\x4b\x2e\xed\xdc\x43\x59\x3b\x98\x43\x50\x50\xb8\xf9\xf8\x43\x3b\x4f\xbc\xa7\xd9\xf7\x30\x93\x32\x87\xf1\x4c\xb8\x9c\x01\xf0\xd4\xb8\xe3\x77\x48\x32\xb0\xbb\xb5\x35\xa0\x90\x0d\x2d\x27\xc4\xbe\x27\x49\x3b\x04\xcc\x00\x8b\xf6\x0c\x25\x6f\x43\xea\x3c\x9f\x10\x03\xc1\xfd\x29\x99\xa5\xc7\x94\x96\x11\x53\x3a\x49\xc4\xc2\xe8\x89\x68\x33\x5f\xba\xe8\x41\x3b\xe6\xdb\x3e\x7d\x82\xfa\xad\xfb\x49\x46\xa3\x35\xda\x0b\xd9\xf6\xe3\xd1\x93\x89\xc3\x27\x19\xe4\xf3\x40\xf8\xdb\x8c\x86\xe6\xe7\x23\xc2\xcc\x4e\x78\xfb\x88\x77\xc2\x37\x08\x51\x4c\xce\x14\x5f\x67\xdb\xfd\x9e\xfc\x20\xeb\x5d\x96\x5d\x1a\x92\x92\x5d\x1b\xeb\x35\x5a\x1b\x31\x60\xdf\x80\xfd\xf6\x77\x31\x1f\xae\x1d\xe8\xc7\x03\xf3\xd4\x62\x86\x68\x4b\xa8\xcc\x56\xc0\x5d\x6a\x98\x93\x48\xc9\xfb\x5f\xfb\x18\x37\x7e\xca\xbe\x7b\x77\xef\x49\x70\x9b\xd0\x60\x61\x22\x47\x2a\xcf\x86\xd9\x65\xb7\xb0\xf0\x66\xff\xc7\xb4\xe5\xfd\x17\x00\x00\xff\xff\x59\xb5\xe7\xdf\xe1\x09\x00\x00")
func webdataMainCssBytes() ([]byte, error) { func webdataMainCssBytes() ([]byte, error) {
return bindataRead( return bindataRead(
@ -170,7 +179,7 @@ func webdataMainCss() (*asset, error) {
return nil, err return nil, err
} }
info := bindataFileInfo{name: "webdata/main.css", size: 2523, mode: os.FileMode(436), modTime: time.Unix(1, 0)} info := bindataFileInfo{name: "webdata/main.css", size: 2529, mode: os.FileMode(436), modTime: time.Unix(1, 0)}
a := &asset{bytes: bytes, info: info} a := &asset{bytes: bytes, info: info}
return a, nil return a, nil
} }
@ -267,13 +276,13 @@ func AssetNames() []string {
// _bindata is a table, holding each asset generator, mapped to its name. // _bindata is a table, holding each asset generator, mapped to its name.
var _bindata = map[string]func() (*asset, error){ var _bindata = map[string]func() (*asset, error){
"webdata/fn.js": webdataFnJs, "webdata/fn.js": webdataFnJs,
"webdata/icon.png": webdataIconPng, "webdata/icon.png": webdataIconPng,
"webdata/icon.woff": webdataIconWoff, "webdata/icon.woff": webdataIconWoff,
"webdata/index.html": webdataIndexHtml, "webdata/index.html": webdataIndexHtml,
"webdata/main.css": webdataMainCss, "webdata/main.css": webdataMainCss,
"webdata/sha256.js": webdataSha256Js, "webdata/sha256.js": webdataSha256Js,
"webdata/tex.png": webdataTexPng, "webdata/tex.png": webdataTexPng,
} }
// AssetDir returns the file names below a certain // AssetDir returns the file names below a certain
@ -315,15 +324,16 @@ type bintree struct {
Func func() (*asset, error) Func func() (*asset, error)
Children map[string]*bintree Children map[string]*bintree
} }
var _bintree = &bintree{nil, map[string]*bintree{ var _bintree = &bintree{nil, map[string]*bintree{
"webdata": &bintree{nil, map[string]*bintree{ "webdata": &bintree{nil, map[string]*bintree{
"fn.js": &bintree{webdataFnJs, map[string]*bintree{}}, "fn.js": &bintree{webdataFnJs, map[string]*bintree{}},
"icon.png": &bintree{webdataIconPng, map[string]*bintree{}}, "icon.png": &bintree{webdataIconPng, map[string]*bintree{}},
"icon.woff": &bintree{webdataIconWoff, map[string]*bintree{}}, "icon.woff": &bintree{webdataIconWoff, map[string]*bintree{}},
"index.html": &bintree{webdataIndexHtml, map[string]*bintree{}}, "index.html": &bintree{webdataIndexHtml, map[string]*bintree{}},
"main.css": &bintree{webdataMainCss, map[string]*bintree{}}, "main.css": &bintree{webdataMainCss, map[string]*bintree{}},
"sha256.js": &bintree{webdataSha256Js, map[string]*bintree{}}, "sha256.js": &bintree{webdataSha256Js, map[string]*bintree{}},
"tex.png": &bintree{webdataTexPng, map[string]*bintree{}}, "tex.png": &bintree{webdataTexPng, map[string]*bintree{}},
}}, }},
}} }}
@ -374,7 +384,6 @@ func _filePath(dir, name string) string {
return filepath.Join(append([]string{dir}, strings.Split(cannonicalName, "/")...)...) return filepath.Join(append([]string{dir}, strings.Split(cannonicalName, "/")...)...)
} }
func assetFS() *assetfs.AssetFS { func assetFS() *assetfs.AssetFS {
assetInfo := func(path string) (os.FileInfo, error) { assetInfo := func(path string) (os.FileInfo, error) {
return os.Stat(path) return os.Stat(path)

View file

@ -1,51 +1,46 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en"> <html lang="en">
<head> <meta charset="utf-8" />
<meta charset="utf-8" /> <meta name="viewport" content="width=device-width initial-scale=1, maximum-scale=1, user-scalable=0" />
<meta name="viewport" content="width=device-width initial-scale=1, maximum-scale=1, user-scalable=0" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> <script src="fn.js"></script>
<script src="fn.js"></script> <script src="sha256.js"></script>
<script src="sha256.js"></script> <title>Remote Touchpad</title>
<title>Remote Touchpad</title> <link href="main.css" media="screen" rel="stylesheet" />
<link href="main.css" media="screen" rel="stylesheet" /> <link href="icon.png" type="image/png" rel="shortcut icon" />
<link href="icon.png" type="image/png" rel="shortcut icon" />
</head>
<body> <div id="opening">
<div id="opening"> <p>Connecting...</p>
<p>Connecting...</p> <noscript><p>JavaScript is required!</p></noscript>
</div>
<div id="closed" class="hidden">
<p>Disconnected</p>
<button id="reloadbutton"></button>
</div>
<div id="pad" class="hidden">
<div class="buttons">
<button id="keysbutton"></button>
</div> </div>
<div id="closed"> <p id="padlabel">Touchpad</p>
<p>Disconnected</p> <div class="buttons">
<button id="reloadbutton"></button> <button id="fullscreenbutton"></button>
<button id="keyboardbutton"></button>
</div> </div>
<div id="pad"> </div>
<div class="buttons"> <div id="keyboard" class="hidden">
<button id="keysbutton"></button> <textarea id="text"></textarea>
</div> <button id="sendbutton"></button>
<p id="padlabel">Touchpad</p> </div>
<div class="buttons"> <div id="keys" class="hidden">
<button id="fullscreenbutton"></button> <div class="buttons">
<button id="keyboardbutton"></button> <button id="prevtrackbutton"></button>
</div> <button id="playpausebutton"></button>
<button id="nexttrackbutton"></button>
</div> </div>
<div id="keyboard"> <div class="buttons">
<textarea id="text"></textarea> <button id="volumedownbutton">🔉</button>
<button id="sendbutton"></button> <button id="volumemutebutton">🔇</button>
<button id="volumeupbutton">🔊</button>
</div> </div>
<div id="keys"> </div>
<div class="buttons">
<button id="prevtrackbutton"></button>
<button id="playpausebutton"></button>
<button id="nexttrackbutton"></button>
</div>
<div class="buttons">
<button id="volumedownbutton">🔉</button>
<button id="volumemutebutton">🔇</button>
<button id="volumeupbutton">🔊</button>
</div>
</div>
</body>
</html>

View file

@ -20,12 +20,12 @@ body > div {
width: 100%; width: 100%;
height: 100%; height: 100%;
margin: 0; margin: 0;
font-family: sans-serif;
} }
body > div { body > div {
background-color: #404040 !important; background-color: #404040 !important;
background-image: url(tex.png); background-image: url(tex.png);
font-family: sans;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
justify-content: center; justify-content: center;