Move from fileb0x to embed.FS. Fixes #22.

Also removed unused fontawesome JS.
This commit is contained in:
pztrn committed 2021-06-16 06:22:33 +05:00
1 parent 383233202e
commit 0f47434f60
29 files changed
+22 -866

No files matched your search

+7
View File
@@ -0,0 +1,7 @@
package assets
import "embed"
// Data is an embedded assets data.
//go:embed *
var Data embed.FS
-5
View File
@@ -1,5 +0,0 @@
/*!
* Font Awesome Free 5.0.7 by @fontawesome - https://fontawesome.com
* License - https://fontawesome.com/license (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
*/
!function(){"use strict";var c={};try{"undefined"!=typeof window&&(c=window)}catch(c){}var l=(c.navigator||{}).userAgent,h=void 0===l?"":l,v=c,z=(~h.indexOf("MSIE")||h.indexOf("Trident/"),"___FONT_AWESOME___"),e=function(){try{return!0}catch(c){return!1}}(),a=[1,2,3,4,5,6,7,8,9,10],m=a.concat([11,12,13,14,15,16,17,18,19,20]);["xs","sm","lg","fw","ul","li","border","pull-left","pull-right","spin","pulse","rotate-90","rotate-180","rotate-270","flip-horizontal","flip-vertical","stack","stack-1x","stack-2x","inverse","layers","layers-text","layers-counter"].concat(a.map(function(c){return c+"x"})).concat(m.map(function(c){return"w-"+c}));var t=v||{};t[z]||(t[z]={}),t[z].styles||(t[z].styles={}),t[z].hooks||(t[z].hooks={}),t[z].shims||(t[z].shims=[]);var s=t[z],r=Object.assign||function(c){for(var l=1;l<arguments.length;l++){var h=arguments[l];for(var v in h)Object.prototype.hasOwnProperty.call(h,v)&&(c[v]=h[v])}return c};var f={"500px":[448,512,[],"f26e","M103.3 344.3c-6.5-14.2-6.9-18.3 7.4-23.1 25.6-8 8 9.2 43.2 49.2h.3v-93.9c1.2-50.2 44-92.2 97.7-92.2 53.9 0 97.7 43.5 97.7 96.8 0 63.4-60.8 113.2-128.5 93.3-10.5-4.2-2.1-31.7 8.5-28.6 53 0 89.4-10.1 89.4-64.4 0-61-77.1-89.6-116.9-44.6-23.5 26.4-17.6 42.1-17.6 157.6 50.7 31 118.3 22 160.4-20.1 24.8-24.8 38.5-58 38.5-93 0-35.2-13.8-68.2-38.8-93.3-24.8-24.8-57.8-38.5-93.3-38.5s-68.8 13.8-93.5 38.5c-.3.3-16 16.5-21.2 23.9l-.5.6c-3.3 4.7-6.3 9.1-20.1 6.1-6.9-1.7-14.3-5.8-14.3-11.8V20c0-5 3.9-10.5 10.5-10.5h241.3c8.3 0 8.3 11.6 8.3 15.1 0 3.9 0 15.1-8.3 15.1H130.3v132.9h.3c104.2-109.8 282.8-36 282.8 108.9 0 178.1-244.8 220.3-310.1 62.8zm63.3-260.8c-.5 4.2 4.6 24.5 14.6 20.6C306 56.6 384 144.5 390.6 144.5c4.8 0 22.8-15.3 14.3-22.8-93.2-89-234.5-57-238.3-38.2zM393 414.7C283 524.6 94 475.5 61 310.5c0-12.2-30.4-7.4-28.9 3.3 24 173.4 246 256.9 381.6 121.3 6.9-7.8-12.6-28.4-20.7-20.4zM213.6 306.6c0 4 4.3 7.3 5.5 8.5 3 3 6.1 4.4 8.5 4.4 3.8 0 2.6.2 22.3-19.5 19.6 19.3 19.1 19.5 22.3 19.5 5.4 0 18.5-10.4 10.7-18.2L265.6 284l18.2-18.2c6.3-6.8-10.1-21.8-16.2-15.7L249.7 268c-18.6-18.8-18.4-19.5-21.5-19.5-5 0-18 11.7-12.4 17.3L234 284c-18.1 17.9-20.4 19.2-20.4 22.6z"],"accessible-icon":[448,512,[],"f368","M423.9 255.8L411 413.1c-3.3 40.7-63.9 35.1-60.6-4.9l10-122.5-41.1 2.3c10.1 20.7 15.8 43.9 15.8 68.5 0 41.2-16.1 78.7-42.3 106.5l-39.3-39.3c57.9-63.7 13.1-167.2-74-167.2-25.9 0-49.5 9.9-67.2 26L73 243.2c22-20.7 50.1-35.1 81.4-40.2l75.3-85.7-42.6-24.8-51.6 46c-30 26.8-70.6-18.5-40.5-45.4l68-60.7c9.8-8.8 24.1-10.2 35.5-3.6 0 0 139.3 80.9 139.5 81.1 16.2 10.1 20.7 36 6.1 52.6L285.7 229l106.1-5.9c18.5-1.1 33.6 14.4 32.1 32.7zm-64.9-154c28.1 0 50.9-22.8 50.9-50.9C409.9 22.8 387.1 0 359 0c-28.1 0-50.9 22.8-50.9 50.9 0 28.1 22.8 50.9 50.9 50.9zM179.6 456.5c-80.6 0-127.4-90.6-82.7-156.1l-39.7-39.7C36.4 287 24 320.3 24 356.4c0 130.7 150.7 201.4 251.4 122.5l-39.7-39.7c-16 10.9-35.3 17.3-56.1 17.3z"],accusoft:[640,512,[],"f369","M482.2 372.1C476.5 365.2 250 75 242.3 65.5c-13.7-17.2 0-16.8 19.2-16.9 9.7-.1 106.3-.6 116.5-.6 24.1-.1 28.7.6 38.4 12.8 2.1 2.7 205.1 245.8 207.2 248.3 5.5 6.7 15.2 19.1 7.2 23.4-2.4 1.3-114.6 47.7-117.8 48.9-10.1 4-17.5 6.8-30.8-9.3m114.7-5.6s-115 50.4-117.5 51.6c-16 7.3-26.9-3.2-36.7-14.6l-57.1-74c-5.4-.9-60.4-9.6-65.3-9.3-3.1.2-9.6.8-14.4 2.9-4.9 2.1-145.2 52.8-150.2 54.7-5.1 2-11.4 3.6-11.1 7.6.2 2.5 2 2.6 4.6 3.5 2.7.8 300.9 67.6 308 69.1 15.6 3.3 38.5 10.5 53.6 1.7 2.1-1.2 123.8-76.4 125.8-77.8 5.4-4 4.3-6.8-1.7-8.2-2.3-.3-24.6-4.7-38-7.2m-326-181.3s-12 1.6-25 15.1c-9 9.3-242.1 239.1-243.4 240.9-7 10 1.6 6.8 15.7 1.7.8 0 114.5-36.6 114.5-36.6.5-.6-.1-.1.6-.6-.4-5.1-.8-26.2-1-27.7-.6-5.2 2.2-6.9 7-8.9l92.6-33.8c.6-.8 88.5-81.7 90.2-83.3v-1l-51.2-65.8"],adn:[496,512,[],"f170","M248 167.5l64.9 98.8H183.1l64.9-98.8zM496 256c0 136.9-111.1 248-248 248S0 392.9 0 256 111.1 8 248 8s248 111.1 248 248zm-99.8 82.7L248 115.5 99.8 338.7h30.4l33.6-51.7h168.6l33.6 51.7h30.2z"],adversal:[512,512,[],"f36a","M482.1 32H28.7C5.8 32 0 37.9 0 60.9v390.2C0 474.4 5.8 480 28.7 480h453.4c24.4 0 29.9-5.2 29.9-29.7V62.2c0-24.6-5.4-30.2-29.9-30.2zM178.4 220.3c-27.5-20.2-72.1-8.7-84.2 23.4-4.3 11.1-9.3 9.5-17.5 8.3-9.7-1.5-17.2-3.2-22.5-5.5-28.8-11.4 8.6-55.3 24.9-64.3 41.1-21.4 83.4-22.2 125.3-4.8 40.9 16.8 34.5 59.2 34.5 128.5 2.7 25.8-4.3 58.3 9.3 88.8 1.9 4.4.4 7.9-2.7 10.7-8.4 6.7-39.3 2.2-46.6-7.4-1.9-2.2-1.8-3.6-3.9-6.2-3.6-3.9-7.3-2.2-11.9 1-57.4 36.4-140.3 21.4-147-43.3-3.1-29.3 12.4-57.1 39.6-71 38.2-19.5 112.2-11.8 114-30.9 1.1-10.2-1.9-20.1-11.3-27.3zm286.7 222c0 15.1-11.1 9.9-17.8 9.9H52.4c-7.4 0-18.2 4.8-17.8-10.7.4-13.9 10.5-9.1 17.1-9.1 132.3-.4 264.5-.4 396.8 0 6.8 0 16.6-4.4 16.6 9.9zm3.8-340.5v291c0 5.7-.7 13.9-8.1 13.9-12.4-.4-27.5 7.1-36.1-5.6-5.8-8.7-7.8-4-12.4-1.2-53.4 29.7-128.1 7.1-144.4-85.2-6.1-33.4-.7-67.1 15.7-100 11.8-23.9 56.9-76.1 136.1-30.5v-71c0-26.2-.1-26.2 26-26.2 3.1 0 6.6.4 9.7 0 10.1-.8 13.6 4.4 13.6 14.3-.1.2-.1.3-.1.5zm-51.5 232.3c-19.5 47.6-72.9 43.3-90 5.2-15.1-33.3-15.5-68.2.4-101.5 16.3-34.1 59.7-35.7 81.5-4.8 20.6 28.8 14.9 84.6 8.1 101.1zm-2Line truncated
-183
View File
@@ -1,183 +0,0 @@
// Code generated by fileb0x at "2021-01-09 06:15:34.328599857 +0500 +05 m=+0.033228523" from config file "fileb0x.yml" DO NOT EDIT.
// modification hash(a501d12d9fe3316e4b2134554bdc730c.238872c2653234e79053054d1ba776af)
package static
import (
"bytes"
"context"
"io"
"net/http"
"os"
"path"
"golang.org/x/net/webdav"
)
var (
// CTX is a context for webdav vfs
CTX = context.Background()
// FS is a virtual memory file system
FS = webdav.NewMemFS()
// Handler is used to server files through a http handler
Handler *webdav.Handler
// HTTP is the http file system
HTTP http.FileSystem = new(HTTPFS)
)
// HTTPFS implements http.FileSystem
type HTTPFS struct {
// Prefix allows to limit the path of all requests. F.e. a prefix "css" would allow only calls to /css/*
Prefix string
}
func init() {
err := CTX.Err()
if err != nil {
panic(err)
}
err = FS.Mkdir(CTX, "static/", 0777)
if err != nil && err != os.ErrExist {
panic(err)
}
err = FS.Mkdir(CTX, "static/css/", 0777)
if err != nil && err != os.ErrExist {
panic(err)
}
err = FS.Mkdir(CTX, "static/js/", 0777)
if err != nil && err != os.ErrExist {
panic(err)
}
Handler = &webdav.Handler{
FileSystem: FS,
LockSystem: webdav.NewMemLS(),
}
}
// Open a file
func (hfs *HTTPFS) Open(path string) (http.File, error) {
path = hfs.Prefix + path
f, err := FS.OpenFile(CTX, path, os.O_RDONLY, 0644)
if err != nil {
return nil, err
}
return f, nil
}
// ReadFile is adapTed from ioutil
func ReadFile(path string) ([]byte, error) {
f, err := FS.OpenFile(CTX, path, os.O_RDONLY, 0644)
if err != nil {
return nil, err
}
buf := bytes.NewBuffer(make([]byte, 0, bytes.MinRead))
// If the buffer overflows, we will get bytes.ErrTooLarge.
// Return that as an error. Any other panic remains.
defer func() {
e := recover()
if e == nil {
return
}
if panicErr, ok := e.(error); ok && panicErr == bytes.ErrTooLarge {
err = panicErr
} else {
panic(e)
}
}()
_, err = buf.ReadFrom(f)
return buf.Bytes(), err
}
// WriteFile is adapTed from ioutil
func WriteFile(filename string, data []byte, perm os.FileMode) error {
f, err := FS.OpenFile(CTX, filename, os.O_WRONLY|os.O_CREATE|os.O_TRUNC, perm)
if err != nil {
return err
}
n, err := f.Write(data)
if err == nil && n < len(data) {
err = io.ErrShortWrite
}
if err1 := f.Close(); err == nil {
err = err1
}
return err
}
// WalkDirs looks for files in the given dir and returns a list of files in it
// usage for all files in the b0x: WalkDirs("", false)
func WalkDirs(name string, includeDirsInList bool, files ...string) ([]string, error) {
f, err := FS.OpenFile(CTX, name, os.O_RDONLY, 0)
if err != nil {
return nil, err
}
fileInfos, err := f.Readdir(0)
if err != nil {
return nil, err
}
err = f.Close()
if err != nil {
return nil, err
}
for _, info := range fileInfos {
filename := path.Join(name, info.Name())
if includeDirsInList || !info.IsDir() {
files = append(files, filename)
}
if info.IsDir() {
files, err = WalkDirs(filename, includeDirsInList, files...)
if err != nil {
return nil, err
}
}
}
return files, nil
}
@@ -1,35 +0,0 @@
// Code generaTed by fileb0x at "2021-01-09 06:15:34.380518788 +0500 +05 m=+0.085147493" from config file "fileb0x.yml" DO NOT EDIT.
// modified(2021-01-08 11:51:03.805743275 +0500 +05)
// original path: assets/database_not_available.html
package static
import (
"os"
)
// FileDatabaseNotAvailableHTML is "/database_not_available.html"
var FileDatabaseNotAvailableHTML = []byte("\x3c\x73\x65\x63\x74\x69\x6f\x6e\x20\x63\x6c\x61\x73\x73\x3d\x22\x73\x65\x63\x74\x69\x6f\x6e\x22\x3e\x0a\x20\x20\x20\x20\x3c\x64\x69\x76\x20\x63\x6c\x61\x73\x73\x3d\x22\x6e\x6f\x74\x69\x66\x69\x63\x61\x74\x69\x6f\x6e\x20\x69\x73\x2d\x64\x61\x6e\x67\x65\x72\x22\x3e\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x3c\x68\x33\x3e\x3c\x73\x74\x72\x6f\x6e\x67\x3e\x44\x61\x74\x61\x62\x61\x73\x65\x20\x6e\x6f\x74\x20\x61\x76\x61\x69\x6c\x61\x62\x6c\x65\x3c\x2f\x73\x74\x72\x6f\x6e\x67\x3e\x3c\x2f\x68\x33\x3e\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x3c\x70\x3e\x53\x6f\x6d\x65\x74\x68\x69\x6e\x67\x20\x77\x65\x6e\x74\x20\x77\x72\x6f\x6e\x67\x20\x77\x68\x69\x6c\x65\x20\x74\x72\x79\x69\x6e\x67\x20\x74\x6f\x20\x63\x6f\x6e\x6e\x65\x63\x74\x20\x74\x6f\x20\x64\x61\x74\x61\x62\x61\x73\x65\x2e\x20\x43\x68\x65\x63\x6b\x20\x6c\x6f\x67\x73\x20\x66\x6f\x72\x20\x64\x65\x74\x61\x69\x6c\x73\x2e\x3c\x2f\x70\x3e\x0a\x20\x20\x20\x20\x3c\x2f\x64\x69\x76\x3e\x0a\x3c\x2f\x73\x65\x63\x74\x69\x6f\x6e\x3e")
func init() {
f, err := FS.OpenFile(CTX, "/database_not_available.html", os.O_RDWR|os.O_CREATE|os.O_TRUNC, 0777)
if err != nil {
panic(err)
}
_, err = f.Write(FileDatabaseNotAvailableHTML)
if err != nil {
panic(err)
}
err = f.Close()
if err != nil {
panic(err)
}
}
-35
View File
@@ -1,35 +0,0 @@
// Code generaTed by fileb0x at "2021-01-09 06:15:34.366001707 +0500 +05 m=+0.070630336" from config file "fileb0x.yml" DO NOT EDIT.
// modified(2021-01-08 11:51:03.805743275 +0500 +05)
// original path: assets/error.html
package static
import (
"os"
)
// FileErrorHTML is "/error.html"
var FileErrorHTML = []byte("\x3c\x73\x65\x63\x74\x69\x6f\x6e\x20\x63\x6c\x61\x73\x73\x3d\x22\x73\x65\x63\x74\x69\x6f\x6e\x22\x3e\x0a\x20\x20\x20\x20\x3c\x64\x69\x76\x20\x63\x6c\x61\x73\x73\x3d\x22\x62\x6f\x78\x20\x68\x61\x73\x2d\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\x64\x2d\x77\x61\x72\x6e\x69\x6e\x67\x22\x3e\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x3c\x70\x3e\x7b\x65\x72\x72\x6f\x72\x7d\x3c\x2f\x70\x3e\x0a\x20\x20\x20\x20\x3c\x2f\x64\x69\x76\x3e\x0a\x3c\x2f\x73\x65\x63\x74\x69\x6f\x6e\x3e")
func init() {
f, err := FS.OpenFile(CTX, "/error.html", os.O_RDWR|os.O_CREATE|os.O_TRUNC, 0777)
if err != nil {
panic(err)
}
_, err = f.Write(FileErrorHTML)
if err != nil {
panic(err)
}
err = f.Close()
if err != nil {
panic(err)
}
}
-35
View File
@@ -1,35 +0,0 @@
// Code generaTed by fileb0x at "2021-01-09 06:15:34.379885693 +0500 +05 m=+0.084514363" from config file "fileb0x.yml" DO NOT EDIT.
// modified(2021-01-09 06:13:46.102341215 +0500 +05)
// original path: assets/footer.html
package static
import (
"os"
)
// FileFooterHTML is "/footer.html"
var FileFooterHTML = []byte("\x3c\x64\x69\x76\x20\x63\x6c\x61\x73\x73\x3d\x22\x63\x6f\x6e\x74\x61\x69\x6e\x65\x72\x22\x3e\x0a\x20\x20\x20\x20\x3c\x64\x69\x76\x20\x63\x6c\x61\x73\x73\x3d\x22\x63\x6f\x6e\x74\x65\x6e\x74\x20\x68\x61\x73\x2d\x74\x65\x78\x74\x2d\x63\x65\x6e\x74\x65\x72\x65\x64\x22\x3e\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x3c\x70\x3e\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x3c\x73\x74\x72\x6f\x6e\x67\x3e\x46\x61\x73\x74\x20\x70\x61\x73\x74\x65\x20\x62\x69\x6e\x3c\x2f\x73\x74\x72\x6f\x6e\x67\x3e\x20\x76\x65\x72\x73\x69\x6f\x6e\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x3c\x73\x74\x72\x6f\x6e\x67\x3e\x7b\x76\x65\x72\x73\x69\x6f\x6e\x7d\x3c\x2f\x73\x74\x72\x6f\x6e\x67\x3e\x20\x62\x79\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x3c\x61\x20\x68\x72\x65\x66\x3d\x22\x68\x74\x74\x70\x73\x3a\x2f\x2f\x70\x7a\x74\x72\x6e\x2e\x6e\x61\x6d\x65\x22\x3e\x53\x74\x61\x6e\x69\x73\x6c\x61\x76\x20\x4e\x2e\x20\x61\x6b\x61\x20\x70\x7a\x74\x72\x6e\x3c\x2f\x61\x3e\x2e\x20\x54\x68\x65\x20\x73\x6f\x75\x72\x63\x65\x20\x63\x6f\x64\x65\x20\x69\x73\x20\x6c\x69\x63\x65\x6e\x73\x65\x64\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x3c\x61\x20\x68\x72\x65\x66\x3d\x22\x68\x74\x74\x70\x3a\x2f\x2f\x6f\x70\x65\x6e\x73\x6f\x75\x72\x63\x65\x2e\x6f\x72\x67\x2f\x6c\x69\x63\x65\x6e\x73\x65\x73\x2f\x6d\x69\x74\x2d\x6c\x69\x63\x65\x6e\x73\x65\x2e\x70\x68\x70\x22\x3e\x4d\x49\x54\x3c\x2f\x61\x3e\x2e\x20\x47\x65\x74\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x3c\x61\x20\x68\x72\x65\x66\x3d\x22\x68\x74\x74\x70\x73\x3a\x2f\x2f\x67\x69\x74\x6c\x61\x62\x2e\x70\x7a\x74\x72\x6e\x2e\x6e\x61\x6d\x65\x2f\x66\x61\x73\x74\x70\x61\x73\x74\x65\x62\x69\x6e\x2f\x66\x61\x73\x74\x70\x61\x73\x74\x65\x62\x69\x6e\x22\x3e\x73\x6f\x75\x72\x63\x65\x20\x6f\x72\x20\x62\x69\x6e\x61\x72\x79\x20\x72\x65\x6c\x65\x61\x73\x65\x73\x20\x68\x65\x72\x65\x3c\x2f\x61\x3e\x21\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x3c\x2f\x70\x3e\x0a\x20\x20\x20\x20\x3c\x2f\x64\x69\x76\x3e\x0a\x3c\x2f\x64\x69\x76\x3e\x0a")
func init() {
f, err := FS.OpenFile(CTX, "/footer.html", os.O_RDWR|os.O_CREATE|os.O_TRUNC, 0777)
if err != nil {
panic(err)
}
_, err = f.Write(FileFooterHTML)
if err != nil {
panic(err)
}
err = f.Close()
if err != nil {
panic(err)
}
}
-35
View File
@@ -1,35 +0,0 @@
// Code generaTed by fileb0x at "2021-01-09 06:15:34.332231462 +0500 +05 m=+0.036860253" from config file "fileb0x.yml" DO NOT EDIT.
// modified(2021-01-08 11:51:03.805743275 +0500 +05)
// original path: assets/index.html
package static
import (
"os"
)
// FileIndexHTML is "/index.html"
var FileIndexHTML = []byte("\x3c\x73\x65\x63\x74\x69\x6f\x6e\x20\x63\x6c\x61\x73\x73\x3d\x22\x73\x65\x63\x74\x69\x6f\x6e\x22\x3e\x0a\x20\x20\x20\x20\x3c\x66\x6f\x72\x6d\x20\x61\x63\x74\x69\x6f\x6e\x3d\x22\x2f\x70\x61\x73\x74\x65\x2f\x22\x20\x6d\x65\x74\x68\x6f\x64\x3d\x22\x50\x4f\x53\x54\x22\x20\x61\x75\x74\x6f\x63\x6f\x6d\x70\x6c\x65\x74\x65\x3d\x22\x6f\x66\x66\x22\x3e\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x3c\x64\x69\x76\x20\x63\x6c\x61\x73\x73\x3d\x22\x63\x6f\x6c\x75\x6d\x6e\x73\x22\x3e\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x3c\x64\x69\x76\x20\x63\x6c\x61\x73\x73\x3d\x22\x63\x6f\x6c\x75\x6d\x6e\x20\x69\x73\x2d\x38\x20\x66\x69\x65\x6c\x64\x22\x3e\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x3c\x64\x69\x76\x20\x63\x6c\x61\x73\x73\x3d\x22\x63\x6f\x6e\x74\x72\x6f\x6c\x22\x3e\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x3c\x74\x65\x78\x74\x61\x72\x65\x61\x20\x63\x6c\x61\x73\x73\x3d\x22\x74\x65\x78\x74\x61\x72\x65\x61\x22\x20\x70\x6c\x61\x63\x65\x68\x6f\x6c\x64\x65\x72\x3d\x22\x50\x61\x73\x74\x65\x20\x63\x6f\x6e\x74\x65\x6e\x74\x73\x22\x20\x6e\x61\x6d\x65\x3d\x22\x70\x61\x73\x74\x65\x2d\x63\x6f\x6e\x74\x65\x6e\x74\x73\x22\x20\x69\x64\x3d\x22\x70\x61\x73\x74\x65\x2d\x63\x6f\x6e\x74\x65\x6e\x74\x73\x22\x3e\x3c\x2f\x74\x65\x78\x74\x61\x72\x65\x61\x3e\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x3c\x2f\x64\x69\x76\x3e\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x3c\x2f\x64\x69\x76\x3e\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x3c\x64\x69\x76\x20\x63\x6c\x61\x73\x73\x3d\x22\x63\x6f\x6c\x75\x6d\x6e\x20\x69\x73\x2d\x34\x22\x3e\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x3c\x64\x69\x76\x20\x63\x6c\x61\x73\x73\x3d\x22\x66\x69\x65\x6c\x64\x22\x3e\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x3c\x64\x69\x76\x20\x63\x6c\x61\x73\x73\x3d\x22\x63\x6f\x6e\x74\x72\x6f\x6c\x22\x3e\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x3c\x69\x6e\x70\x75\x74\x20\x63\x6c\x61\x73\x73\x3d\x22\x69\x6e\x70\x75\x74\x22\x20\x74\x79\x70\x65\x3d\x22\x74\x65\x78\x74\x22\x20\x70\x6c\x61\x63\x65\x68\x6f\x6c\x64\x65\x72\x3d\x22\x50\x61\x73\x74\x65\x20\x74\x69\x74\x6c\x65\x22\x20\x6e\x61\x6d\x65\x3d\x22\x70\x61\x73\x74\x65\x2d\x74\x69\x74\x6c\x65\x22\x20\x69\x64\x3d\x22\x70\x61\x73\x74\x65\x2d\x74\x69\x74\x6c\x65\x22\x3e\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x3c\x2f\x64\x69\x76\x3e\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x3c\x2f\x64\x69\x76\x3e\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x3c\x64\x69\x76\x20\x63\x6c\x61\x73\x73\x3d\x22\x66\x69\x65\x6c\x64\x22\x3e\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x3c\x6c\x61\x62\x65\x6c\x20\x66\x6f\x72\x3d\x22\x70\x61\x73\x74\x65\x2d\x6b\x65\x65\x70\x2d\x66\x6f\x72\x22\x3e\x50\x61\x73\x74\x65\x20\x73\x68\x6f\x75\x6c\x64\x20\x62\x65\x20\x61\x76\x61\x69\x6c\x61\x62\x6c\x65\x20\x66\x6f\x72\x3a\x3c\x2f\x6c\x61\x62\x65\x6c\x3e\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x3c\x64\x69\x76\x20\x63\x6c\x61\x73\x73\x3d\x22\x63\x6f\x6e\x74\x72\x6f\x6c\x22\x3e\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x3c\x64\x69\x76\x20\x63\x6c\x61\x73\x73\x3d\x22\x73\x65\x6c\x65\x63\x74\x22\x3e\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x3c\x73\x65\x6c\x65\x63\x74\x20\x69\x64\x3d\x22\x70\x61\x73\x74\x65\x2d\x6b\x65\x65\x70\x2d\x66\x6f\x72\x22\x20\x6e\x61\x6d\x65\x3d\x22\x70\x61\x73\x74\x65\x2d\x6b\x65\x65\x70\x2d\x66\x6f\x72\x22\x3e\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x3c\x6f\x70\x74\x69\x6f\x6e\x20\x76\x61\x6c\x75\x65\x3d\x22\x33\x30\x4d\x22\x3e\x33\x30\x20\x6d\x69\x6e\x75\x74\x65\x73\x3c\x2f\x6f\x70\x74\x69\x6f\x6e\x3e\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x3c\x6f\x70\x74\x69\x6f\x6e\x20\x76\x61\x6c\x75\x65\x3d\x22\x31\x68\x22\x3e\x31\x20\x68\x6f\x75\x72\x3c\x2f\x6f\x70\x74\x69\x6f\x6e\x3e\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x3c\x6f\x70\x74\x69\x6f\x6e\x20\x76\x61\x6c\x75\x65\x3d\x22\x33\x68\x22\x3e\x33\x20\x68\x6f\x75\x72\x73\x3c\x2f\x6f\x70\x74\x69\x6f\x6e\x3e\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x3c\x6f\x70\x74\x69\x6f\x6e\x20\x76\x61\x6c\x75\x65\x3d\x22\x36\x68\x22\x3e\x36\x20\x68\x6f\x75\x72\x73\x3c\x2f\x6f\x70\x74\x69\x6f\x6e\x3e\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x2Line truncated
func init() {
f, err := FS.OpenFile(CTX, "/index.html", os.O_RDWR|os.O_CREATE|os.O_TRUNC, 0777)
if err != nil {
panic(err)
}
_, err = f.Write(FileIndexHTML)
if err != nil {
panic(err)
}
err = f.Close()
if err != nil {
panic(err)
}
}
-35
View File
@@ -1,35 +0,0 @@
// Code generaTed by fileb0x at "2021-01-09 06:15:34.333846038 +0500 +05 m=+0.038474816" from config file "fileb0x.yml" DO NOT EDIT.
// modified(2021-01-08 11:51:03.815743367 +0500 +05)
// original path: assets/main.html
package static
import (
"os"
)
// FileMainHTML is "/main.html"
var FileMainHTML = []byte("\x3c\x21\x44\x4f\x43\x54\x59\x50\x45\x20\x68\x74\x6d\x6c\x3e\x0a\x3c\x68\x74\x6d\x6c\x3e\x0a\x0a\x3c\x68\x65\x61\x64\x3e\x0a\x20\x20\x20\x20\x3c\x6d\x65\x74\x61\x20\x63\x68\x61\x72\x73\x65\x74\x3d\x22\x75\x74\x66\x2d\x38\x22\x3e\x0a\x20\x20\x20\x20\x3c\x6d\x65\x74\x61\x20\x6e\x61\x6d\x65\x3d\x22\x76\x69\x65\x77\x70\x6f\x72\x74\x22\x20\x63\x6f\x6e\x74\x65\x6e\x74\x3d\x22\x77\x69\x64\x74\x68\x3d\x64\x65\x76\x69\x63\x65\x2d\x77\x69\x64\x74\x68\x2c\x20\x69\x6e\x69\x74\x69\x61\x6c\x2d\x73\x63\x61\x6c\x65\x3d\x31\x22\x3e\x0a\x20\x20\x20\x20\x3c\x74\x69\x74\x6c\x65\x3e\x46\x61\x73\x74\x20\x50\x61\x73\x74\x65\x20\x42\x69\x6e\x3c\x2f\x74\x69\x74\x6c\x65\x3e\x0a\x20\x20\x20\x20\x3c\x6c\x69\x6e\x6b\x20\x72\x65\x6c\x3d\x22\x73\x74\x79\x6c\x65\x73\x68\x65\x65\x74\x22\x20\x68\x72\x65\x66\x3d\x22\x2f\x73\x74\x61\x74\x69\x63\x2f\x63\x73\x73\x2f\x62\x75\x6c\x6d\x61\x2d\x30\x2e\x37\x2e\x35\x2e\x6d\x69\x6e\x2e\x63\x73\x73\x22\x3e\x0a\x20\x20\x20\x20\x3c\x6c\x69\x6e\x6b\x20\x72\x65\x6c\x3d\x22\x73\x74\x79\x6c\x65\x73\x68\x65\x65\x74\x22\x20\x68\x72\x65\x66\x3d\x22\x2f\x73\x74\x61\x74\x69\x63\x2f\x63\x73\x73\x2f\x62\x75\x6c\x6d\x61\x2d\x74\x6f\x6f\x6c\x74\x69\x70\x2d\x33\x2e\x30\x2e\x30\x2e\x6d\x69\x6e\x2e\x63\x73\x73\x22\x3e\x0a\x20\x20\x20\x20\x3c\x6c\x69\x6e\x6b\x20\x72\x65\x6c\x3d\x22\x73\x74\x79\x6c\x65\x73\x68\x65\x65\x74\x22\x20\x68\x72\x65\x66\x3d\x22\x2f\x73\x74\x61\x74\x69\x63\x2f\x63\x73\x73\x2f\x73\x74\x79\x6c\x65\x2e\x63\x73\x73\x22\x3e\x0a\x3c\x2f\x68\x65\x61\x64\x3e\x0a\x0a\x3c\x62\x6f\x64\x79\x3e\x0a\x20\x20\x20\x20\x7b\x6e\x61\x76\x69\x67\x61\x74\x69\x6f\x6e\x7d\x20\x7b\x64\x6f\x63\x75\x6d\x65\x6e\x74\x42\x6f\x64\x79\x7d\x0a\x3c\x2f\x62\x6f\x64\x79\x3e\x0a\x3c\x66\x6f\x6f\x74\x65\x72\x20\x63\x6c\x61\x73\x73\x3d\x22\x66\x6f\x6f\x74\x65\x72\x22\x3e\x0a\x20\x20\x20\x20\x7b\x66\x6f\x6f\x74\x65\x72\x7d\x0a\x3c\x2f\x66\x6f\x6f\x74\x65\x72\x3e\x0a\x0a\x3c\x2f\x68\x74\x6d\x6c\x3e")
func init() {
f, err := FS.OpenFile(CTX, "/main.html", os.O_RDWR|os.O_CREATE|os.O_TRUNC, 0777)
if err != nil {
panic(err)
}
_, err = f.Write(FileMainHTML)
if err != nil {
panic(err)
}
err = f.Close()
if err != nil {
panic(err)
}
}
-35
View File
@@ -1,35 +0,0 @@
// Code generaTed by fileb0x at "2021-01-09 06:15:34.381029312 +0500 +05 m=+0.085658023" from config file "fileb0x.yml" DO NOT EDIT.
// modified(2021-01-08 11:51:03.815743367 +0500 +05)
// original path: assets/navigation.html
package static
import (
"os"
)
// FileNavigationHTML is "/navigation.html"
var FileNavigationHTML = []byte("\x3c\x6e\x61\x76\x20\x63\x6c\x61\x73\x73\x3d\x22\x6e\x61\x76\x62\x61\x72\x20\x69\x73\x2d\x64\x61\x72\x6b\x22\x3e\x0a\x20\x20\x20\x20\x3c\x64\x69\x76\x20\x63\x6c\x61\x73\x73\x3d\x22\x6e\x61\x76\x62\x61\x72\x2d\x62\x72\x61\x6e\x64\x22\x3e\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x3c\x61\x20\x63\x6c\x61\x73\x73\x3d\x22\x6e\x61\x76\x62\x61\x72\x2d\x69\x74\x65\x6d\x22\x20\x68\x72\x65\x66\x3d\x22\x2f\x22\x3e\x46\x61\x73\x74\x20\x50\x61\x73\x74\x65\x20\x42\x69\x6e\x3c\x2f\x61\x3e\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x3c\x61\x20\x63\x6c\x61\x73\x73\x3d\x22\x6e\x61\x76\x62\x61\x72\x2d\x69\x74\x65\x6d\x22\x20\x68\x72\x65\x66\x3d\x22\x2f\x70\x61\x73\x74\x65\x73\x2f\x22\x3e\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x50\x61\x73\x74\x65\x73\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x3c\x2f\x61\x3e\x0a\x20\x20\x20\x20\x3c\x2f\x64\x69\x76\x3e\x0a\x0a\x20\x20\x20\x20\x3c\x64\x69\x76\x20\x69\x64\x3d\x22\x6e\x61\x76\x62\x61\x72\x49\x74\x65\x6d\x73\x22\x20\x63\x6c\x61\x73\x73\x3d\x22\x6e\x61\x76\x62\x61\x72\x2d\x6d\x65\x6e\x75\x22\x3e\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x3c\x64\x69\x76\x20\x63\x6c\x61\x73\x73\x3d\x22\x6e\x61\x76\x62\x61\x72\x2d\x73\x74\x61\x72\x74\x22\x3e\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x3c\x2f\x64\x69\x76\x3e\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x3c\x64\x69\x76\x20\x63\x6c\x61\x73\x73\x3d\x22\x6e\x61\x76\x62\x61\x72\x2d\x65\x6e\x64\x22\x3e\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x3c\x2f\x64\x69\x76\x3e\x0a\x20\x20\x20\x20\x3c\x2f\x64\x69\x76\x3e\x0a\x3c\x2f\x6e\x61\x76\x3e")
func init() {
f, err := FS.OpenFile(CTX, "/navigation.html", os.O_RDWR|os.O_CREATE|os.O_TRUNC, 0777)
if err != nil {
panic(err)
}
_, err = f.Write(FileNavigationHTML)
if err != nil {
panic(err)
}
err = f.Close()
if err != nil {
panic(err)
}
}
-35
View File
@@ -1,35 +0,0 @@
// Code generaTed by fileb0x at "2021-01-09 06:15:34.373359597 +0500 +05 m=+0.077988268" from config file "fileb0x.yml" DO NOT EDIT.
// modified(2021-01-08 11:51:03.815743367 +0500 +05)
// original path: assets/pagination.html
package static
import (
"os"
)
// FilePaginationHTML is "/pagination.html"
var FilePaginationHTML = []byte("\x3c\x73\x65\x63\x74\x69\x6f\x6e\x20\x63\x6c\x61\x73\x73\x3d\x22\x73\x65\x63\x74\x69\x6f\x6e\x22\x3e\x0a\x20\x20\x20\x20\x3c\x6e\x61\x76\x20\x63\x6c\x61\x73\x73\x3d\x22\x70\x61\x67\x69\x6e\x61\x74\x69\x6f\x6e\x20\x69\x73\x2d\x63\x65\x6e\x74\x65\x72\x65\x64\x22\x20\x72\x6f\x6c\x65\x3d\x22\x6e\x61\x76\x69\x67\x61\x74\x69\x6f\x6e\x22\x20\x61\x72\x69\x61\x2d\x6c\x61\x62\x65\x6c\x3d\x22\x70\x61\x67\x69\x6e\x61\x74\x69\x6f\x6e\x22\x3e\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x3c\x61\x20\x63\x6c\x61\x73\x73\x3d\x22\x70\x61\x67\x69\x6e\x61\x74\x69\x6f\x6e\x2d\x70\x72\x65\x76\x69\x6f\x75\x73\x22\x20\x68\x72\x65\x66\x3d\x22\x7b\x70\x72\x65\x76\x69\x6f\x75\x73\x50\x61\x67\x65\x4c\x69\x6e\x6b\x7d\x22\x3e\x50\x72\x65\x76\x69\x6f\x75\x73\x20\x70\x61\x67\x65\x3c\x2f\x61\x3e\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x3c\x75\x6c\x20\x63\x6c\x61\x73\x73\x3d\x22\x70\x61\x67\x69\x6e\x61\x74\x69\x6f\x6e\x2d\x6c\x69\x73\x74\x22\x3e\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x7b\x70\x61\x67\x69\x6e\x61\x74\x69\x6f\x6e\x4c\x69\x6e\x6b\x73\x7d\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x3c\x2f\x75\x6c\x3e\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x3c\x61\x20\x63\x6c\x61\x73\x73\x3d\x22\x70\x61\x67\x69\x6e\x61\x74\x69\x6f\x6e\x2d\x6e\x65\x78\x74\x22\x20\x68\x72\x65\x66\x3d\x22\x7b\x6e\x65\x78\x74\x50\x61\x67\x65\x4c\x69\x6e\x6b\x7d\x22\x3e\x4e\x65\x78\x74\x20\x70\x61\x67\x65\x3c\x2f\x61\x3e\x0a\x20\x20\x20\x20\x3c\x2f\x6e\x61\x76\x3e\x0a\x3c\x2f\x73\x65\x63\x74\x69\x6f\x6e\x3e")
func init() {
f, err := FS.OpenFile(CTX, "/pagination.html", os.O_RDWR|os.O_CREATE|os.O_TRUNC, 0777)
if err != nil {
panic(err)
}
_, err = f.Write(FilePaginationHTML)
if err != nil {
panic(err)
}
err = f.Close()
if err != nil {
panic(err)
}
}
@@ -1,35 +0,0 @@
// Code generaTed by fileb0x at "2021-01-09 06:15:34.372861545 +0500 +05 m=+0.077490249" from config file "fileb0x.yml" DO NOT EDIT.
// modified(2021-01-08 11:51:03.815743367 +0500 +05)
// original path: assets/pagination_ellipsis.html
package static
import (
"os"
)
// FilePaginationEllipsisHTML is "/pagination_ellipsis.html"
var FilePaginationEllipsisHTML = []byte("\x3c\x6c\x69\x3e\x0a\x20\x20\x20\x20\x3c\x73\x70\x61\x6e\x20\x63\x6c\x61\x73\x73\x3d\x22\x70\x61\x67\x69\x6e\x61\x74\x69\x6f\x6e\x2d\x65\x6c\x6c\x69\x70\x73\x69\x73\x22\x3e\x26\x68\x65\x6c\x6c\x69\x70\x3b\x3c\x2f\x73\x70\x61\x6e\x3e\x0a\x3c\x2f\x6c\x69\x3e")
func init() {
f, err := FS.OpenFile(CTX, "/pagination_ellipsis.html", os.O_RDWR|os.O_CREATE|os.O_TRUNC, 0777)
if err != nil {
panic(err)
}
_, err = f.Write(FilePaginationEllipsisHTML)
if err != nil {
panic(err)
}
err = f.Close()
if err != nil {
panic(err)
}
}
@@ -1,35 +0,0 @@
// Code generaTed by fileb0x at "2021-01-09 06:15:34.334873281 +0500 +05 m=+0.039502074" from config file "fileb0x.yml" DO NOT EDIT.
// modified(2021-01-08 11:51:03.815743367 +0500 +05)
// original path: assets/pagination_link.html
package static
import (
"os"
)
// FilePaginationLinkHTML is "/pagination_link.html"
var FilePaginationLinkHTML = []byte("\x3c\x6c\x69\x3e\x0a\x20\x20\x20\x20\x3c\x61\x20\x63\x6c\x61\x73\x73\x3d\x22\x70\x61\x67\x69\x6e\x61\x74\x69\x6f\x6e\x2d\x6c\x69\x6e\x6b\x22\x20\x61\x72\x69\x61\x2d\x6c\x61\x62\x65\x6c\x3d\x22\x47\x6f\x20\x74\x6f\x20\x70\x61\x67\x65\x20\x7b\x70\x61\x67\x65\x4e\x75\x6d\x7d\x22\x20\x68\x72\x65\x66\x3d\x22\x7b\x70\x61\x67\x69\x6e\x61\x74\x69\x6f\x6e\x4c\x69\x6e\x6b\x7d\x22\x3e\x7b\x70\x61\x67\x65\x4e\x75\x6d\x7d\x3c\x2f\x61\x3e\x0a\x3c\x2f\x6c\x69\x3e")
func init() {
f, err := FS.OpenFile(CTX, "/pagination_link.html", os.O_RDWR|os.O_CREATE|os.O_TRUNC, 0777)
if err != nil {
panic(err)
}
_, err = f.Write(FilePaginationLinkHTML)
if err != nil {
panic(err)
}
err = f.Close()
if err != nil {
panic(err)
}
}
@@ -1,35 +0,0 @@
// Code generaTed by fileb0x at "2021-01-09 06:15:34.366696762 +0500 +05 m=+0.071325415" from config file "fileb0x.yml" DO NOT EDIT.
// modified(2021-01-08 11:51:03.815743367 +0500 +05)
// original path: assets/pagination_link_current.html
package static
import (
"os"
)
// FilePaginationLinkCurrentHTML is "/pagination_link_current.html"
var FilePaginationLinkCurrentHTML = []byte("\x3c\x6c\x69\x3e\x0a\x20\x20\x20\x20\x3c\x61\x20\x63\x6c\x61\x73\x73\x3d\x22\x70\x61\x67\x69\x6e\x61\x74\x69\x6f\x6e\x2d\x6c\x69\x6e\x6b\x20\x69\x73\x2d\x63\x75\x72\x72\x65\x6e\x74\x22\x20\x61\x72\x69\x61\x2d\x6c\x61\x62\x65\x6c\x3d\x22\x50\x61\x67\x65\x20\x7b\x70\x61\x67\x65\x4e\x75\x6d\x7d\x22\x20\x61\x72\x69\x61\x2d\x63\x75\x72\x72\x65\x6e\x74\x3d\x22\x70\x61\x67\x65\x22\x3e\x7b\x70\x61\x67\x65\x4e\x75\x6d\x7d\x3c\x2f\x61\x3e\x0a\x3c\x2f\x6c\x69\x3e")
func init() {
f, err := FS.OpenFile(CTX, "/pagination_link_current.html", os.O_RDWR|os.O_CREATE|os.O_TRUNC, 0777)
if err != nil {
panic(err)
}
_, err = f.Write(FilePaginationLinkCurrentHTML)
if err != nil {
panic(err)
}
err = f.Close()
if err != nil {
panic(err)
}
}
@@ -1,35 +0,0 @@
// Code generaTed by fileb0x at "2021-01-09 06:15:34.373841671 +0500 +05 m=+0.078470340" from config file "fileb0x.yml" DO NOT EDIT.
// modified(2021-01-08 11:51:03.815743367 +0500 +05)
// original path: assets/passworded_paste_verify.html
package static
import (
"os"
)
// FilePasswordedPasteVerifyHTML is "/passworded_paste_verify.html"
var FilePasswordedPasteVerifyHTML = []byte("\x3c\x73\x65\x63\x74\x69\x6f\x6e\x20\x63\x6c\x61\x73\x73\x3d\x22\x73\x65\x63\x74\x69\x6f\x6e\x22\x3e\x0a\x20\x20\x20\x20\x3c\x64\x69\x76\x20\x63\x6c\x61\x73\x73\x3d\x22\x63\x6f\x6e\x74\x65\x6e\x74\x22\x3e\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x3c\x64\x69\x76\x20\x63\x6c\x61\x73\x73\x3d\x22\x63\x6f\x6c\x75\x6d\x6e\x73\x22\x3e\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x3c\x64\x69\x76\x20\x63\x6c\x61\x73\x73\x3d\x22\x63\x6f\x6c\x75\x6d\x6e\x20\x69\x73\x2d\x34\x20\x69\x73\x2d\x6f\x66\x66\x73\x65\x74\x2d\x34\x22\x3e\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x3c\x66\x6f\x72\x6d\x20\x61\x63\x74\x69\x6f\x6e\x3d\x22\x2f\x70\x61\x73\x74\x65\x2f\x7b\x70\x61\x73\x74\x65\x49\x44\x7d\x2f\x7b\x70\x61\x73\x74\x65\x54\x69\x6d\x65\x73\x74\x61\x6d\x70\x7d\x2f\x76\x65\x72\x69\x66\x79\x22\x20\x6d\x65\x74\x68\x6f\x64\x3d\x22\x50\x4f\x53\x54\x22\x20\x61\x75\x74\x6f\x63\x6f\x6d\x70\x6c\x65\x74\x65\x3d\x22\x6f\x66\x66\x22\x3e\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x3c\x64\x69\x76\x20\x63\x6c\x61\x73\x73\x3d\x22\x63\x61\x72\x64\x22\x3e\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x3c\x68\x65\x61\x64\x65\x72\x20\x63\x6c\x61\x73\x73\x3d\x22\x63\x61\x72\x64\x2d\x68\x65\x61\x64\x65\x72\x22\x3e\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x3c\x70\x20\x63\x6c\x61\x73\x73\x3d\x22\x63\x61\x72\x64\x2d\x68\x65\x61\x64\x65\x72\x2d\x74\x69\x74\x6c\x65\x22\x3e\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x54\x68\x69\x73\x20\x70\x61\x73\x74\x65\x20\x69\x73\x20\x70\x72\x6f\x74\x65\x63\x74\x65\x64\x20\x77\x69\x74\x68\x20\x70\x61\x73\x73\x77\x6f\x72\x64\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x3c\x2f\x70\x3e\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x3c\x2f\x68\x65\x61\x64\x65\x72\x3e\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x3c\x64\x69\x76\x20\x63\x6c\x61\x73\x73\x3d\x22\x63\x61\x72\x64\x2d\x63\x6f\x6e\x74\x65\x6e\x74\x22\x3e\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x3c\x64\x69\x76\x20\x63\x6c\x61\x73\x73\x3d\x22\x63\x6f\x6e\x74\x65\x6e\x74\x22\x3e\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x3c\x64\x69\x76\x20\x63\x6c\x61\x73\x73\x3d\x22\x66\x69\x65\x6c\x64\x20\x74\x6f\x6f\x6c\x74\x69\x70\x20\x69\x73\x2d\x74\x6f\x6f\x6c\x74\x69\x70\x2d\x62\x6f\x74\x74\x6f\x6d\x20\x69\x73\x2d\x74\x6f\x6f\x6c\x74\x69\x70\x2d\x6d\x75\x6c\x74\x69\x6c\x69\x6e\x65\x22\x20\x64\x61\x74\x61\x2d\x74\x6f\x6f\x6c\x74\x69\x70\x3d\x22\x49\x66\x20\x79\x6f\x75\x27\x6c\x6c\x20\x65\x6e\x74\x65\x72\x20\x70\x61\x73\x73\x77\x6f\x72\x64\x20\x68\x65\x72\x65\x20\x2d\x20\x27\x50\x72\x69\x76\x61\x74\x65\x20\x70\x61\x73\x74\x65\x20\x77\x69\x74\x68\x20\x75\x6e\x69\x71\x75\x65\x20\x55\x52\x4c\x27\x20\x63\x68\x65\x63\x6b\x62\x6f\x78\x20\x77\x69\x6c\x6c\x20\x62\x65\x20\x61\x73\x73\x75\x6d\x65\x64\x20\x61\x73\x20\x63\x68\x65\x63\x6b\x65\x64\x2e\x22\x3e\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x3c\x6c\x61\x62\x65\x6c\x20\x66\x6f\x72\x3d\x22\x70\x61\x73\x74\x65\x2d\x70\x61\x73\x73\x77\x6f\x72\x64\x22\x3e\x50\x61\x73\x73\x77\x6f\x72\x64\x20\x66\x6f\x72\x20\x70\x61\x73\x74\x65\x3a\x3c\x2f\x6c\x61\x62\x65\x6c\x3e\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x3c\x64\x69\x76\x20\x63\x6c\x61\x73\x73\x3d\x22\x63\x6f\x6e\x74\x72\x6f\x6c\x22\x3e\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x3c\x69\x6e\x70\x75\x74\x20\x63\x6c\x61\x73\x73\x3d\x22\x69\x6e\x70\x75\x74\x22\x20\x74\x79\x70\x65\x3d\x22\x74\x65\x78\x74\x22\x20\x70\x6c\x61\x63\x65\x68\x6f\x6c\x64\x65\x72\x3d\x22\x45\x6e\x74\x65\x72\x20\x70\x61\x73\x73\x77\x6f\x72\x64\x2e\x22\x20\x6e\x61\x6d\x65\x3d\x22\x70\x61\x73\x74\x65\x2d\x70\x61\x73\x73\x77\x6f\x72\x64\x22\x20\x69\x64\x3d\x22\x70\x61\x73\x74\x65\x2d\x70\x61\x73\x73\x77\x6f\x72\x64\x22\x3e\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x3c\x2f\x64\x69\x76\x3e\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x3c\x2f\x64\x69\x76\x3e\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x2Line truncated
func init() {
f, err := FS.OpenFile(CTX, "/passworded_paste_verify.html", os.O_RDWR|os.O_CREATE|os.O_TRUNC, 0777)
if err != nil {
panic(err)
}
_, err = f.Write(FilePasswordedPasteVerifyHTML)
if err != nil {
panic(err)
}
err = f.Close()
if err != nil {
panic(err)
}
}
-35
View File
@@ -1,35 +0,0 @@
// Code generaTed by fileb0x at "2021-01-09 06:15:34.36723926 +0500 +05 m=+0.071867934" from config file "fileb0x.yml" DO NOT EDIT.
// modified(2021-01-08 11:51:03.815743367 +0500 +05)
// original path: assets/paste.html
package static
import (
"os"
)
// FilePasteHTML is "/paste.html"
var FilePasteHTML = []byte("\x3c\x73\x65\x63\x74\x69\x6f\x6e\x20\x63\x6c\x61\x73\x73\x3d\x22\x73\x65\x63\x74\x69\x6f\x6e\x22\x3e\x0a\x20\x20\x20\x20\x3c\x64\x69\x76\x20\x63\x6c\x61\x73\x73\x3d\x22\x63\x6f\x6e\x74\x65\x6e\x74\x22\x3e\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x3c\x74\x61\x62\x6c\x65\x20\x63\x6c\x61\x73\x73\x3d\x22\x74\x61\x62\x6c\x65\x20\x69\x73\x2d\x62\x6f\x72\x64\x65\x72\x65\x64\x20\x69\x73\x2d\x73\x74\x72\x69\x70\x65\x64\x20\x69\x73\x2d\x6e\x61\x72\x72\x6f\x77\x20\x69\x73\x2d\x68\x6f\x76\x65\x72\x61\x62\x6c\x65\x20\x69\x73\x2d\x66\x75\x6c\x6c\x77\x69\x64\x74\x68\x22\x3e\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x3c\x74\x68\x65\x61\x64\x3e\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x3c\x74\x72\x3e\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x3c\x74\x68\x3e\x23\x3c\x2f\x74\x68\x3e\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x3c\x74\x68\x3e\x54\x69\x74\x6c\x65\x3c\x2f\x74\x68\x3e\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x3c\x74\x68\x3e\x4c\x61\x6e\x67\x75\x61\x67\x65\x3c\x2f\x74\x68\x3e\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x3c\x74\x68\x3e\x50\x61\x73\x74\x65\x64\x20\x6f\x6e\x3c\x2f\x74\x68\x3e\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x3c\x74\x68\x3e\x57\x69\x6c\x6c\x20\x65\x78\x70\x69\x72\x65\x20\x6f\x6e\x3c\x2f\x74\x68\x3e\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x3c\x74\x68\x3e\x50\x61\x73\x74\x65\x20\x74\x79\x70\x65\x3c\x2f\x74\x68\x3e\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x3c\x2f\x74\x72\x3e\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x3c\x2f\x74\x68\x65\x61\x64\x3e\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x3c\x74\x62\x6f\x64\x79\x3e\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x3c\x74\x72\x3e\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x3c\x74\x64\x3e\x7b\x70\x61\x73\x74\x65\x49\x44\x7d\x3c\x2f\x74\x64\x3e\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x3c\x74\x64\x3e\x7b\x70\x61\x73\x74\x65\x54\x69\x74\x6c\x65\x7d\x3c\x2f\x74\x64\x3e\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x3c\x74\x64\x3e\x7b\x70\x61\x73\x74\x65\x4c\x61\x6e\x67\x75\x61\x67\x65\x7d\x3c\x2f\x74\x64\x3e\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x3c\x74\x64\x3e\x7b\x70\x61\x73\x74\x65\x44\x61\x74\x65\x7d\x3c\x2f\x74\x64\x3e\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x3c\x74\x64\x3e\x7b\x70\x61\x73\x74\x65\x45\x78\x70\x69\x72\x61\x74\x69\x6f\x6e\x7d\x3c\x2f\x74\x64\x3e\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x3c\x74\x64\x3e\x7b\x70\x61\x73\x74\x65\x54\x79\x70\x65\x7d\x3c\x2f\x74\x64\x3e\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x3c\x2f\x74\x72\x3e\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x3c\x74\x72\x3e\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x3c\x74\x64\x20\x63\x6f\x6c\x73\x70\x61\x6e\x3d\x22\x36\x22\x3e\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x3c\x61\x20\x63\x6c\x61\x73\x73\x3d\x22\x62\x75\x74\x74\x6f\x6e\x22\x20\x68\x72\x65\x66\x3d\x22\x2f\x70\x61\x73\x74\x65\x2f\x7b\x70\x61\x73\x74\x65\x49\x44\x7d\x2f\x7b\x70\x61\x73\x74\x65\x54\x73\x7d\x72\x61\x77\x22\x3e\x56\x69\x65\x77\x20\x72\x61\x77\x3c\x2f\x61\x3e\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x3c\x2f\x74\x64\x3e\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x3c\x2f\x74\x72\x3e\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x3c\x2f\x74\x62\x6f\x64\x79\x3e\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x3c\x2f\x74\x61\x62\x6c\x65\x3e\x0a\x20\x20\x20\x20\x3c\x2f\x64\x69\x76\x3e\x0a\x3c\x2f\x73\x65\x63\x74\x69\x6f\x6e\x3e\x0a\x3c\x64\x69\x76\x20\x63\x6c\x61\x73\x73\x3d\x22\x70\x61\x73\x74\x65\x2d\x64\x61\x74\x61\x22\x3e\x0a\x20\x20\x20\x20\x7b\x70\x61\x73\x74\x65\x64\x61\x74\x61\x7d\x0a\x3c\x2f\x64\x69\x76\x3e")
func init() {
f, err := FS.OpenFile(CTX, "/paste.html", os.O_RDWR|os.O_CREATE|os.O_TRUNC, 0777)
if err != nil {
panic(err)
}
_, err = f.Write(FilePasteHTML)
if err != nil {
panic(err)
}
err = f.Close()
if err != nil {
panic(err)
}
}
@@ -1,35 +0,0 @@
// Code generaTed by fileb0x at "2021-01-09 06:15:34.335668233 +0500 +05 m=+0.040296968" from config file "fileb0x.yml" DO NOT EDIT.
// modified(2021-01-08 11:51:03.815743367 +0500 +05)
// original path: assets/pastelist_list.html
package static
import (
"os"
)
// FilePastelistListHTML is "/pastelist_list.html"
var FilePastelistListHTML = []byte("\x3c\x73\x65\x63\x74\x69\x6f\x6e\x20\x63\x6c\x61\x73\x73\x3d\x22\x73\x65\x63\x74\x69\x6f\x6e\x22\x3e\x0a\x20\x20\x20\x20\x3c\x64\x69\x76\x3e\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x7b\x70\x61\x67\x69\x6e\x61\x74\x69\x6f\x6e\x7d\x0a\x20\x20\x20\x20\x3c\x2f\x64\x69\x76\x3e\x0a\x20\x20\x20\x20\x3c\x64\x69\x76\x3e\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x7b\x70\x61\x73\x74\x65\x73\x7d\x0a\x20\x20\x20\x20\x3c\x2f\x64\x69\x76\x3e\x0a\x20\x20\x20\x20\x3c\x64\x69\x76\x3e\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x7b\x70\x61\x67\x69\x6e\x61\x74\x69\x6f\x6e\x7d\x0a\x20\x20\x20\x20\x3c\x2f\x64\x69\x76\x3e\x0a\x3c\x2f\x73\x65\x63\x74\x69\x6f\x6e\x3e")
func init() {
f, err := FS.OpenFile(CTX, "/pastelist_list.html", os.O_RDWR|os.O_CREATE|os.O_TRUNC, 0777)
if err != nil {
panic(err)
}
_, err = f.Write(FilePastelistListHTML)
if err != nil {
panic(err)
}
err = f.Close()
if err != nil {
panic(err)
}
}
@@ -1,35 +0,0 @@
// Code generaTed by fileb0x at "2021-01-09 06:15:34.336449591 +0500 +05 m=+0.041078378" from config file "fileb0x.yml" DO NOT EDIT.
// modified(2021-01-08 11:51:03.815743367 +0500 +05)
// original path: assets/pastelist_paste.html
package static
import (
"os"
)
// FilePastelistPasteHTML is "/pastelist_paste.html"
var FilePastelistPasteHTML = []byte("\x3c\x64\x69\x76\x20\x63\x6c\x61\x73\x73\x3d\x22\x63\x6f\x6e\x74\x65\x6e\x74\x22\x3e\x0a\x20\x20\x20\x20\x3c\x64\x69\x76\x20\x63\x6c\x61\x73\x73\x3d\x22\x63\x61\x72\x64\x22\x3e\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x3c\x68\x65\x61\x64\x65\x72\x20\x63\x6c\x61\x73\x73\x3d\x22\x63\x61\x72\x64\x2d\x68\x65\x61\x64\x65\x72\x22\x3e\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x3c\x70\x20\x63\x6c\x61\x73\x73\x3d\x22\x63\x61\x72\x64\x2d\x68\x65\x61\x64\x65\x72\x2d\x74\x69\x74\x6c\x65\x22\x3e\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x50\x61\x73\x74\x65\x20\x23\x7b\x70\x61\x73\x74\x65\x49\x44\x7d\x2c\x20\x70\x6f\x73\x74\x65\x64\x20\x6f\x6e\x20\x7b\x70\x61\x73\x74\x65\x44\x61\x74\x65\x7d\x20\x61\x6e\x64\x20\x74\x69\x74\x6c\x65\x64\x20\x61\x73\x20\x22\x7b\x70\x61\x73\x74\x65\x54\x69\x74\x6c\x65\x7d\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x3c\x2f\x70\x3e\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x3c\x2f\x68\x65\x61\x64\x65\x72\x3e\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x3c\x64\x69\x76\x20\x63\x6c\x61\x73\x73\x3d\x22\x63\x61\x72\x64\x2d\x63\x6f\x6e\x74\x65\x6e\x74\x22\x3e\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x3c\x64\x69\x76\x20\x63\x6c\x61\x73\x73\x3d\x22\x63\x6f\x6e\x74\x65\x6e\x74\x22\x3e\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x3c\x70\x72\x65\x3e\x7b\x70\x61\x73\x74\x65\x44\x61\x74\x61\x7d\x3c\x2f\x70\x72\x65\x3e\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x3c\x2f\x64\x69\x76\x3e\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x3c\x2f\x64\x69\x76\x3e\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x3c\x66\x6f\x6f\x74\x65\x72\x20\x63\x6c\x61\x73\x73\x3d\x22\x63\x61\x72\x64\x2d\x66\x6f\x6f\x74\x65\x72\x22\x3e\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x3c\x61\x20\x68\x72\x65\x66\x3d\x22\x2f\x70\x61\x73\x74\x65\x2f\x7b\x70\x61\x73\x74\x65\x49\x44\x7d\x22\x20\x63\x6c\x61\x73\x73\x3d\x22\x63\x61\x72\x64\x2d\x66\x6f\x6f\x74\x65\x72\x2d\x69\x74\x65\x6d\x20\x62\x75\x74\x74\x6f\x6e\x20\x69\x73\x2d\x73\x75\x63\x63\x65\x73\x73\x20\x69\x73\x2d\x72\x61\x64\x69\x75\x73\x6c\x65\x73\x73\x22\x3e\x56\x69\x65\x77\x3c\x2f\x61\x3e\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x3c\x2f\x66\x6f\x6f\x74\x65\x72\x3e\x0a\x20\x20\x20\x20\x3c\x2f\x64\x69\x76\x3e\x0a\x3c\x2f\x64\x69\x76\x3e")
func init() {
f, err := FS.OpenFile(CTX, "/pastelist_paste.html", os.O_RDWR|os.O_CREATE|os.O_TRUNC, 0777)
if err != nil {
panic(err)
}
_, err = f.Write(FilePastelistPasteHTML)
if err != nil {
panic(err)
}
err = f.Close()
if err != nil {
panic(err)
}
}
@@ -1,35 +0,0 @@
// Code generaTed by fileb0x at "2021-01-09 06:15:34.374526566 +0500 +05 m=+0.079155233" from config file "fileb0x.yml" DO NOT EDIT.
// modified(2021-01-08 11:51:03.802409911 +0500 +05)
// original path: assets/css/bulma-0.7.5.min.css
package static
import (
"os"
)
// FileStaticCSSBulma075MinCSS is "static/css/bulma-0.7.5.min.css"
var FileStaticCSSBulma075MinCSS = []byte("\x2f\x2a\x21\x20\x62\x75\x6c\x6d\x61\x2e\x69\x6f\x20\x76\x30\x2e\x37\x2e\x35\x20\x7c\x20\x4d\x49\x54\x20\x4c\x69\x63\x65\x6e\x73\x65\x20\x7c\x20\x67\x69\x74\x68\x75\x62\x2e\x63\x6f\x6d\x2f\x6a\x67\x74\x68\x6d\x73\x2f\x62\x75\x6c\x6d\x61\x20\x2a\x2f\x40\x2d\x77\x65\x62\x6b\x69\x74\x2d\x6b\x65\x79\x66\x72\x61\x6d\x65\x73\x20\x73\x70\x69\x6e\x41\x72\x6f\x75\x6e\x64\x7b\x66\x72\x6f\x6d\x7b\x2d\x77\x65\x62\x6b\x69\x74\x2d\x74\x72\x61\x6e\x73\x66\x6f\x72\x6d\x3a\x72\x6f\x74\x61\x74\x65\x28\x30\x29\x3b\x74\x72\x61\x6e\x73\x66\x6f\x72\x6d\x3a\x72\x6f\x74\x61\x74\x65\x28\x30\x29\x7d\x74\x6f\x7b\x2d\x77\x65\x62\x6b\x69\x74\x2d\x74\x72\x61\x6e\x73\x66\x6f\x72\x6d\x3a\x72\x6f\x74\x61\x74\x65\x28\x33\x35\x39\x64\x65\x67\x29\x3b\x74\x72\x61\x6e\x73\x66\x6f\x72\x6d\x3a\x72\x6f\x74\x61\x74\x65\x28\x33\x35\x39\x64\x65\x67\x29\x7d\x7d\x40\x6b\x65\x79\x66\x72\x61\x6d\x65\x73\x20\x73\x70\x69\x6e\x41\x72\x6f\x75\x6e\x64\x7b\x66\x72\x6f\x6d\x7b\x2d\x77\x65\x62\x6b\x69\x74\x2d\x74\x72\x61\x6e\x73\x66\x6f\x72\x6d\x3a\x72\x6f\x74\x61\x74\x65\x28\x30\x29\x3b\x74\x72\x61\x6e\x73\x66\x6f\x72\x6d\x3a\x72\x6f\x74\x61\x74\x65\x28\x30\x29\x7d\x74\x6f\x7b\x2d\x77\x65\x62\x6b\x69\x74\x2d\x74\x72\x61\x6e\x73\x66\x6f\x72\x6d\x3a\x72\x6f\x74\x61\x74\x65\x28\x33\x35\x39\x64\x65\x67\x29\x3b\x74\x72\x61\x6e\x73\x66\x6f\x72\x6d\x3a\x72\x6f\x74\x61\x74\x65\x28\x33\x35\x39\x64\x65\x67\x29\x7d\x7d\x2e\x62\x72\x65\x61\x64\x63\x72\x75\x6d\x62\x2c\x2e\x62\x75\x74\x74\x6f\x6e\x2c\x2e\x64\x65\x6c\x65\x74\x65\x2c\x2e\x66\x69\x6c\x65\x2c\x2e\x69\x73\x2d\x75\x6e\x73\x65\x6c\x65\x63\x74\x61\x62\x6c\x65\x2c\x2e\x6d\x6f\x64\x61\x6c\x2d\x63\x6c\x6f\x73\x65\x2c\x2e\x70\x61\x67\x69\x6e\x61\x74\x69\x6f\x6e\x2d\x65\x6c\x6c\x69\x70\x73\x69\x73\x2c\x2e\x70\x61\x67\x69\x6e\x61\x74\x69\x6f\x6e\x2d\x6c\x69\x6e\x6b\x2c\x2e\x70\x61\x67\x69\x6e\x61\x74\x69\x6f\x6e\x2d\x6e\x65\x78\x74\x2c\x2e\x70\x61\x67\x69\x6e\x61\x74\x69\x6f\x6e\x2d\x70\x72\x65\x76\x69\x6f\x75\x73\x2c\x2e\x74\x61\x62\x73\x7b\x2d\x77\x65\x62\x6b\x69\x74\x2d\x74\x6f\x75\x63\x68\x2d\x63\x61\x6c\x6c\x6f\x75\x74\x3a\x6e\x6f\x6e\x65\x3b\x2d\x77\x65\x62\x6b\x69\x74\x2d\x75\x73\x65\x72\x2d\x73\x65\x6c\x65\x63\x74\x3a\x6e\x6f\x6e\x65\x3b\x2d\x6d\x6f\x7a\x2d\x75\x73\x65\x72\x2d\x73\x65\x6c\x65\x63\x74\x3a\x6e\x6f\x6e\x65\x3b\x2d\x6d\x73\x2d\x75\x73\x65\x72\x2d\x73\x65\x6c\x65\x63\x74\x3a\x6e\x6f\x6e\x65\x3b\x75\x73\x65\x72\x2d\x73\x65\x6c\x65\x63\x74\x3a\x6e\x6f\x6e\x65\x7d\x2e\x6e\x61\x76\x62\x61\x72\x2d\x6c\x69\x6e\x6b\x3a\x6e\x6f\x74\x28\x2e\x69\x73\x2d\x61\x72\x72\x6f\x77\x6c\x65\x73\x73\x29\x3a\x3a\x61\x66\x74\x65\x72\x2c\x2e\x73\x65\x6c\x65\x63\x74\x3a\x6e\x6f\x74\x28\x2e\x69\x73\x2d\x6d\x75\x6c\x74\x69\x70\x6c\x65\x29\x3a\x6e\x6f\x74\x28\x2e\x69\x73\x2d\x6c\x6f\x61\x64\x69\x6e\x67\x29\x3a\x3a\x61\x66\x74\x65\x72\x7b\x62\x6f\x72\x64\x65\x72\x3a\x33\x70\x78\x20\x73\x6f\x6c\x69\x64\x20\x74\x72\x61\x6e\x73\x70\x61\x72\x65\x6e\x74\x3b\x62\x6f\x72\x64\x65\x72\x2d\x72\x61\x64\x69\x75\x73\x3a\x32\x70\x78\x3b\x62\x6f\x72\x64\x65\x72\x2d\x72\x69\x67\x68\x74\x3a\x30\x3b\x62\x6f\x72\x64\x65\x72\x2d\x74\x6f\x70\x3a\x30\x3b\x63\x6f\x6e\x74\x65\x6e\x74\x3a\x22\x20\x22\x3b\x64\x69\x73\x70\x6c\x61\x79\x3a\x62\x6c\x6f\x63\x6b\x3b\x68\x65\x69\x67\x68\x74\x3a\x2e\x36\x32\x35\x65\x6d\x3b\x6d\x61\x72\x67\x69\x6e\x2d\x74\x6f\x70\x3a\x2d\x2e\x34\x33\x37\x35\x65\x6d\x3b\x70\x6f\x69\x6e\x74\x65\x72\x2d\x65\x76\x65\x6e\x74\x73\x3a\x6e\x6f\x6e\x65\x3b\x70\x6f\x73\x69\x74\x69\x6f\x6e\x3a\x61\x62\x73\x6f\x6c\x75\x74\x65\x3b\x74\x6f\x70\x3a\x35\x30\x25\x3b\x2d\x77\x65\x62\x6b\x69\x74\x2d\x74\x72\x61\x6e\x73\x66\x6f\x72\x6d\x3a\x72\x6f\x74\x61\x74\x65\x28\x2d\x34\x35\x64\x65\x67\x29\x3b\x74\x72\x61\x6e\x73\x66\x6f\x72\x6d\x3a\x72\x6f\x74\x61\x74\x65\x28\x2d\x34\x35\x64\x65\x67\x29\x3b\x2d\x77\x65\x62\x6b\x69\x74\x2d\x74\x72\x61\x6e\x73\x66\x6f\x72\x6d\x2d\x6f\x72\x69\x67\x69\x6e\x3a\x63\x65\x6e\x74\x65\x72\x3b\x74\x72\x61\x6e\x73\x66\x6f\x72\x6d\x2d\x6f\x72\x69\x67\x69\x6e\x3a\x63\x65\x6e\x74\x65\x72\x3b\x77\x69\x64\x74\x68\x3a\x2e\x36\x32\x35\x65\x6d\x7d\x2e\x62\x6c\x6f\x63\x6b\x3a\x6e\x6f\x74\x28\x3a\x6c\x61\x73\x74\x2d\x63\x68\x69\x6c\x64\x29\x2c\x2e\x62\x6f\x78\x3a\x6e\x6f\x74\x28\x3a\x6c\x61\x73\x74\x2d\x63\x68\x69\x6c\x64\x29\x2c\x2e\x62\x72\x65\x61\x64\x63\x72\x75\x6d\x62\x3a\x6e\x6f\x74\x28\x3a\x6c\x61\x73\x74\x2d\x63\x68\x69\x6c\x64\x29\x2c\x2e\x63\x6f\x6e\x74\x65\x6e\x74\x3a\x6e\x6f\x74\x28\x3a\x6c\x61\x73\x74\x2d\x63\x68\x69\x6c\x64\x29\x2c\x2e\x68\x69\x67\x68\x6c\x69\x67\x68\x74\x3a\x6e\x6f\x74\x28\x3a\x6c\x61\x73\x74\x2d\x63\x68\x69\x6c\x64\x29\x2c\x2e\x6c\x65\x76\x65\x6c\x3a\x6e\x6f\x74\x28\x3a\x6c\x61\x73\x74\x2d\x63\x68\x69\x6c\x64\x29\x2c\x2e\x6c\x69\x73\x74\x3a\x6e\x6f\x74\x28\x3a\x6c\x61\x73\x74\x2d\x63\x68\x69\x6c\x64\x29\x2c\x2e\x6d\x65\x73\x73\x61\x67\x65\x3a\x6e\x6f\x74\x28\x3a\x6c\x61\x73\x74\x2d\x63\x68\x69\x6c\x64\x29\x2c\x2e\x6e\x6f\x74\x69\x66\x69\x63\x61\x74\x69\x6f\x6e\x3a\x6e\x6f\x74\x28\x3a\x6c\x61\x73\x74\x2d\x63\x68\x69\x6c\x64\x29\x2c\x2e\x70\x72\x6f\x67\x72\x65\Line truncated
func init() {
f, err := FS.OpenFile(CTX, "static/css/bulma-0.7.5.min.css", os.O_RDWR|os.O_CREATE|os.O_TRUNC, 0777)
if err != nil {
panic(err)
}
_, err = f.Write(FileStaticCSSBulma075MinCSS)
if err != nil {
panic(err)
}
err = f.Close()
if err != nil {
panic(err)
}
}
@@ -1,35 +0,0 @@
// Code generaTed by fileb0x at "2021-01-09 06:15:34.337410722 +0500 +05 m=+0.042039413" from config file "fileb0x.yml" DO NOT EDIT.
// modified(2021-01-08 11:51:03.802409911 +0500 +05)
// original path: assets/css/bulma-tooltip-3.0.0.min.css
package static
import (
"os"
)
// FileStaticCSSBulmaTooltip300MinCSS is "static/css/bulma-tooltip-3.0.0.min.css"
var FileStaticCSSBulmaTooltip300MinCSS = []byte("\x40\x2d\x77\x65\x62\x6b\x69\x74\x2d\x6b\x65\x79\x66\x72\x61\x6d\x65\x73\x20\x73\x70\x69\x6e\x41\x72\x6f\x75\x6e\x64\x7b\x66\x72\x6f\x6d\x7b\x2d\x77\x65\x62\x6b\x69\x74\x2d\x74\x72\x61\x6e\x73\x66\x6f\x72\x6d\x3a\x72\x6f\x74\x61\x74\x65\x28\x30\x29\x3b\x74\x72\x61\x6e\x73\x66\x6f\x72\x6d\x3a\x72\x6f\x74\x61\x74\x65\x28\x30\x29\x7d\x74\x6f\x7b\x2d\x77\x65\x62\x6b\x69\x74\x2d\x74\x72\x61\x6e\x73\x66\x6f\x72\x6d\x3a\x72\x6f\x74\x61\x74\x65\x28\x33\x35\x39\x64\x65\x67\x29\x3b\x74\x72\x61\x6e\x73\x66\x6f\x72\x6d\x3a\x72\x6f\x74\x61\x74\x65\x28\x33\x35\x39\x64\x65\x67\x29\x7d\x7d\x40\x6b\x65\x79\x66\x72\x61\x6d\x65\x73\x20\x73\x70\x69\x6e\x41\x72\x6f\x75\x6e\x64\x7b\x66\x72\x6f\x6d\x7b\x2d\x77\x65\x62\x6b\x69\x74\x2d\x74\x72\x61\x6e\x73\x66\x6f\x72\x6d\x3a\x72\x6f\x74\x61\x74\x65\x28\x30\x29\x3b\x74\x72\x61\x6e\x73\x66\x6f\x72\x6d\x3a\x72\x6f\x74\x61\x74\x65\x28\x30\x29\x7d\x74\x6f\x7b\x2d\x77\x65\x62\x6b\x69\x74\x2d\x74\x72\x61\x6e\x73\x66\x6f\x72\x6d\x3a\x72\x6f\x74\x61\x74\x65\x28\x33\x35\x39\x64\x65\x67\x29\x3b\x74\x72\x61\x6e\x73\x66\x6f\x72\x6d\x3a\x72\x6f\x74\x61\x74\x65\x28\x33\x35\x39\x64\x65\x67\x29\x7d\x7d\x5b\x64\x61\x74\x61\x2d\x74\x6f\x6f\x6c\x74\x69\x70\x5d\x3a\x6e\x6f\x74\x28\x2e\x69\x73\x2d\x64\x69\x73\x61\x62\x6c\x65\x64\x29\x2c\x5b\x64\x61\x74\x61\x2d\x74\x6f\x6f\x6c\x74\x69\x70\x5d\x3a\x6e\x6f\x74\x28\x2e\x69\x73\x2d\x6c\x6f\x61\x64\x69\x6e\x67\x29\x2c\x5b\x64\x61\x74\x61\x2d\x74\x6f\x6f\x6c\x74\x69\x70\x5d\x3a\x6e\x6f\x74\x28\x5b\x64\x69\x73\x61\x62\x6c\x65\x64\x5d\x29\x7b\x63\x75\x72\x73\x6f\x72\x3a\x70\x6f\x69\x6e\x74\x65\x72\x3b\x6f\x76\x65\x72\x66\x6c\x6f\x77\x3a\x76\x69\x73\x69\x62\x6c\x65\x3b\x70\x6f\x73\x69\x74\x69\x6f\x6e\x3a\x72\x65\x6c\x61\x74\x69\x76\x65\x7d\x5b\x64\x61\x74\x61\x2d\x74\x6f\x6f\x6c\x74\x69\x70\x5d\x3a\x6e\x6f\x74\x28\x2e\x69\x73\x2d\x64\x69\x73\x61\x62\x6c\x65\x64\x29\x3a\x3a\x61\x66\x74\x65\x72\x2c\x5b\x64\x61\x74\x61\x2d\x74\x6f\x6f\x6c\x74\x69\x70\x5d\x3a\x6e\x6f\x74\x28\x2e\x69\x73\x2d\x64\x69\x73\x61\x62\x6c\x65\x64\x29\x3a\x3a\x62\x65\x66\x6f\x72\x65\x2c\x5b\x64\x61\x74\x61\x2d\x74\x6f\x6f\x6c\x74\x69\x70\x5d\x3a\x6e\x6f\x74\x28\x2e\x69\x73\x2d\x6c\x6f\x61\x64\x69\x6e\x67\x29\x3a\x3a\x61\x66\x74\x65\x72\x2c\x5b\x64\x61\x74\x61\x2d\x74\x6f\x6f\x6c\x74\x69\x70\x5d\x3a\x6e\x6f\x74\x28\x2e\x69\x73\x2d\x6c\x6f\x61\x64\x69\x6e\x67\x29\x3a\x3a\x62\x65\x66\x6f\x72\x65\x2c\x5b\x64\x61\x74\x61\x2d\x74\x6f\x6f\x6c\x74\x69\x70\x5d\x3a\x6e\x6f\x74\x28\x5b\x64\x69\x73\x61\x62\x6c\x65\x64\x5d\x29\x3a\x3a\x61\x66\x74\x65\x72\x2c\x5b\x64\x61\x74\x61\x2d\x74\x6f\x6f\x6c\x74\x69\x70\x5d\x3a\x6e\x6f\x74\x28\x5b\x64\x69\x73\x61\x62\x6c\x65\x64\x5d\x29\x3a\x3a\x62\x65\x66\x6f\x72\x65\x7b\x62\x6f\x78\x2d\x73\x69\x7a\x69\x6e\x67\x3a\x62\x6f\x72\x64\x65\x72\x2d\x62\x6f\x78\x3b\x63\x6f\x6c\x6f\x72\x3a\x23\x66\x66\x66\x3b\x64\x69\x73\x70\x6c\x61\x79\x3a\x69\x6e\x6c\x69\x6e\x65\x2d\x62\x6c\x6f\x63\x6b\x3b\x66\x6f\x6e\x74\x2d\x66\x61\x6d\x69\x6c\x79\x3a\x42\x6c\x69\x6e\x6b\x4d\x61\x63\x53\x79\x73\x74\x65\x6d\x46\x6f\x6e\x74\x2c\x2d\x61\x70\x70\x6c\x65\x2d\x73\x79\x73\x74\x65\x6d\x2c\x22\x53\x65\x67\x6f\x65\x20\x55\x49\x22\x2c\x52\x6f\x62\x6f\x74\x6f\x2c\x4f\x78\x79\x67\x65\x6e\x2c\x55\x62\x75\x6e\x74\x75\x2c\x43\x61\x6e\x74\x61\x72\x65\x6c\x6c\x2c\x22\x46\x69\x72\x61\x20\x53\x61\x6e\x73\x22\x2c\x22\x44\x72\x6f\x69\x64\x20\x53\x61\x6e\x73\x22\x2c\x22\x48\x65\x6c\x76\x65\x74\x69\x63\x61\x20\x4e\x65\x75\x65\x22\x2c\x48\x65\x6c\x76\x65\x74\x69\x63\x61\x2c\x41\x72\x69\x61\x6c\x2c\x73\x61\x6e\x73\x2d\x73\x65\x72\x69\x66\x3b\x66\x6f\x6e\x74\x2d\x73\x69\x7a\x65\x3a\x2e\x37\x35\x72\x65\x6d\x3b\x2d\x77\x65\x62\x6b\x69\x74\x2d\x68\x79\x70\x68\x65\x6e\x73\x3a\x61\x75\x74\x6f\x3b\x2d\x6d\x73\x2d\x68\x79\x70\x68\x65\x6e\x73\x3a\x61\x75\x74\x6f\x3b\x68\x79\x70\x68\x65\x6e\x73\x3a\x61\x75\x74\x6f\x3b\x6f\x70\x61\x63\x69\x74\x79\x3a\x30\x3b\x6f\x76\x65\x72\x66\x6c\x6f\x77\x3a\x68\x69\x64\x64\x65\x6e\x3b\x70\x6f\x69\x6e\x74\x65\x72\x2d\x65\x76\x65\x6e\x74\x73\x3a\x6e\x6f\x6e\x65\x3b\x70\x6f\x73\x69\x74\x69\x6f\x6e\x3a\x61\x62\x73\x6f\x6c\x75\x74\x65\x3b\x76\x69\x73\x69\x62\x69\x6c\x69\x74\x79\x3a\x68\x69\x64\x64\x65\x6e\x3b\x7a\x2d\x69\x6e\x64\x65\x78\x3a\x31\x30\x32\x30\x7d\x5b\x64\x61\x74\x61\x2d\x74\x6f\x6f\x6c\x74\x69\x70\x5d\x3a\x6e\x6f\x74\x28\x2e\x69\x73\x2d\x64\x69\x73\x61\x62\x6c\x65\x64\x29\x3a\x3a\x61\x66\x74\x65\x72\x2c\x5b\x64\x61\x74\x61\x2d\x74\x6f\x6f\x6c\x74\x69\x70\x5d\x3a\x6e\x6f\x74\x28\x2e\x69\x73\x2d\x6c\x6f\x61\x64\x69\x6e\x67\x29\x3a\x3a\x61\x66\x74\x65\x72\x2c\x5b\x64\x61\x74\x61\x2d\x74\x6f\x6f\x6c\x74\x69\x70\x5d\x3a\x6e\x6f\x74\x28\x5b\x64\x69\x73\x61\x62\x6c\x65\x64\x5d\x29\x3a\x3a\x61\x66\x74\x65\x72\x7b\x63\x6f\x6e\x74\x65\x6e\x74\x3a\x27\x27\x3b\x62\x6f\x72\x64\x65\x72\x2d\x73\x74\x79\x6c\x65\x3a\x73\x6f\x6c\x69\x64\x3b\x62\x6f\x72\x64\x65\x72\x2d\x77\x69\x64\x74\x68\x3a\x36\x70\x78\x3b\x62\x6f\x72\x64\x65\x72\x2d\x63\x6f\x6c\x6f\x72\x3a\x72\x67\x62\x61\x28\x37\x34\x2c\x37\x34\x2c\x37\x34\x2c\x2e\x39\x29\x20\x74\x72\x61\x6e\xLine truncated
func init() {
f, err := FS.OpenFile(CTX, "static/css/bulma-tooltip-3.0.0.min.css", os.O_RDWR|os.O_CREATE|os.O_TRUNC, 0777)
if err != nil {
panic(err)
}
_, err = f.Write(FileStaticCSSBulmaTooltip300MinCSS)
if err != nil {
panic(err)
}
err = f.Close()
if err != nil {
panic(err)
}
}
@@ -1,35 +0,0 @@
// Code generaTed by fileb0x at "2021-01-09 06:15:34.368013516 +0500 +05 m=+0.072642140" from config file "fileb0x.yml" DO NOT EDIT.
// modified(2021-01-08 11:51:03.805743275 +0500 +05)
// original path: assets/css/bulma.css.map
package static
import (
"os"
)
// FileStaticCSSBulmaCSSMap is "static/css/bulma.css.map"
var FileStaticCSSBulmaCSSMap = []byte("\x7b\x22\x76\x65\x72\x73\x69\x6f\x6e\x22\x3a\x33\x2c\x22\x73\x6f\x75\x72\x63\x65\x73\x22\x3a\x5b\x22\x2e\x2e\x2f\x62\x75\x6c\x6d\x61\x2e\x73\x61\x73\x73\x22\x2c\x22\x2e\x2e\x2f\x73\x61\x73\x73\x2f\x75\x74\x69\x6c\x69\x74\x69\x65\x73\x2f\x61\x6e\x69\x6d\x61\x74\x69\x6f\x6e\x73\x2e\x73\x61\x73\x73\x22\x2c\x22\x62\x75\x6c\x6d\x61\x2e\x63\x73\x73\x22\x2c\x22\x2e\x2e\x2f\x73\x61\x73\x73\x2f\x75\x74\x69\x6c\x69\x74\x69\x65\x73\x2f\x6d\x69\x78\x69\x6e\x73\x2e\x73\x61\x73\x73\x22\x2c\x22\x2e\x2e\x2f\x73\x61\x73\x73\x2f\x75\x74\x69\x6c\x69\x74\x69\x65\x73\x2f\x69\x6e\x69\x74\x69\x61\x6c\x2d\x76\x61\x72\x69\x61\x62\x6c\x65\x73\x2e\x73\x61\x73\x73\x22\x2c\x22\x2e\x2e\x2f\x73\x61\x73\x73\x2f\x75\x74\x69\x6c\x69\x74\x69\x65\x73\x2f\x63\x6f\x6e\x74\x72\x6f\x6c\x73\x2e\x73\x61\x73\x73\x22\x2c\x22\x2e\x2e\x2f\x73\x61\x73\x73\x2f\x62\x61\x73\x65\x2f\x6d\x69\x6e\x69\x72\x65\x73\x65\x74\x2e\x73\x61\x73\x73\x22\x2c\x22\x2e\x2e\x2f\x73\x61\x73\x73\x2f\x62\x61\x73\x65\x2f\x67\x65\x6e\x65\x72\x69\x63\x2e\x73\x61\x73\x73\x22\x2c\x22\x2e\x2e\x2f\x73\x61\x73\x73\x2f\x62\x61\x73\x65\x2f\x68\x65\x6c\x70\x65\x72\x73\x2e\x73\x61\x73\x73\x22\x2c\x22\x2e\x2e\x2f\x73\x61\x73\x73\x2f\x65\x6c\x65\x6d\x65\x6e\x74\x73\x2f\x62\x6f\x78\x2e\x73\x61\x73\x73\x22\x2c\x22\x2e\x2e\x2f\x73\x61\x73\x73\x2f\x65\x6c\x65\x6d\x65\x6e\x74\x73\x2f\x62\x75\x74\x74\x6f\x6e\x2e\x73\x61\x73\x73\x22\x2c\x22\x2e\x2e\x2f\x73\x61\x73\x73\x2f\x75\x74\x69\x6c\x69\x74\x69\x65\x73\x2f\x66\x75\x6e\x63\x74\x69\x6f\x6e\x73\x2e\x73\x61\x73\x73\x22\x2c\x22\x2e\x2e\x2f\x73\x61\x73\x73\x2f\x65\x6c\x65\x6d\x65\x6e\x74\x73\x2f\x63\x6f\x6e\x74\x61\x69\x6e\x65\x72\x2e\x73\x61\x73\x73\x22\x2c\x22\x2e\x2e\x2f\x73\x61\x73\x73\x2f\x65\x6c\x65\x6d\x65\x6e\x74\x73\x2f\x63\x6f\x6e\x74\x65\x6e\x74\x2e\x73\x61\x73\x73\x22\x2c\x22\x2e\x2e\x2f\x73\x61\x73\x73\x2f\x65\x6c\x65\x6d\x65\x6e\x74\x73\x2f\x69\x63\x6f\x6e\x2e\x73\x61\x73\x73\x22\x2c\x22\x2e\x2e\x2f\x73\x61\x73\x73\x2f\x65\x6c\x65\x6d\x65\x6e\x74\x73\x2f\x69\x6d\x61\x67\x65\x2e\x73\x61\x73\x73\x22\x2c\x22\x2e\x2e\x2f\x73\x61\x73\x73\x2f\x65\x6c\x65\x6d\x65\x6e\x74\x73\x2f\x6e\x6f\x74\x69\x66\x69\x63\x61\x74\x69\x6f\x6e\x2e\x73\x61\x73\x73\x22\x2c\x22\x2e\x2e\x2f\x73\x61\x73\x73\x2f\x65\x6c\x65\x6d\x65\x6e\x74\x73\x2f\x70\x72\x6f\x67\x72\x65\x73\x73\x2e\x73\x61\x73\x73\x22\x2c\x22\x2e\x2e\x2f\x73\x61\x73\x73\x2f\x65\x6c\x65\x6d\x65\x6e\x74\x73\x2f\x74\x61\x62\x6c\x65\x2e\x73\x61\x73\x73\x22\x2c\x22\x2e\x2e\x2f\x73\x61\x73\x73\x2f\x65\x6c\x65\x6d\x65\x6e\x74\x73\x2f\x74\x61\x67\x2e\x73\x61\x73\x73\x22\x2c\x22\x2e\x2e\x2f\x73\x61\x73\x73\x2f\x65\x6c\x65\x6d\x65\x6e\x74\x73\x2f\x74\x69\x74\x6c\x65\x2e\x73\x61\x73\x73\x22\x2c\x22\x2e\x2e\x2f\x73\x61\x73\x73\x2f\x65\x6c\x65\x6d\x65\x6e\x74\x73\x2f\x6f\x74\x68\x65\x72\x2e\x73\x61\x73\x73\x22\x2c\x22\x2e\x2e\x2f\x73\x61\x73\x73\x2f\x66\x6f\x72\x6d\x2f\x73\x68\x61\x72\x65\x64\x2e\x73\x61\x73\x73\x22\x2c\x22\x2e\x2e\x2f\x73\x61\x73\x73\x2f\x66\x6f\x72\x6d\x2f\x69\x6e\x70\x75\x74\x2d\x74\x65\x78\x74\x61\x72\x65\x61\x2e\x73\x61\x73\x73\x22\x2c\x22\x2e\x2e\x2f\x73\x61\x73\x73\x2f\x66\x6f\x72\x6d\x2f\x63\x68\x65\x63\x6b\x62\x6f\x78\x2d\x72\x61\x64\x69\x6f\x2e\x73\x61\x73\x73\x22\x2c\x22\x2e\x2e\x2f\x73\x61\x73\x73\x2f\x66\x6f\x72\x6d\x2f\x73\x65\x6c\x65\x63\x74\x2e\x73\x61\x73\x73\x22\x2c\x22\x2e\x2e\x2f\x73\x61\x73\x73\x2f\x66\x6f\x72\x6d\x2f\x66\x69\x6c\x65\x2e\x73\x61\x73\x73\x22\x2c\x22\x2e\x2e\x2f\x73\x61\x73\x73\x2f\x66\x6f\x72\x6d\x2f\x74\x6f\x6f\x6c\x73\x2e\x73\x61\x73\x73\x22\x2c\x22\x2e\x2e\x2f\x73\x61\x73\x73\x2f\x63\x6f\x6d\x70\x6f\x6e\x65\x6e\x74\x73\x2f\x62\x72\x65\x61\x64\x63\x72\x75\x6d\x62\x2e\x73\x61\x73\x73\x22\x2c\x22\x2e\x2e\x2f\x73\x61\x73\x73\x2f\x63\x6f\x6d\x70\x6f\x6e\x65\x6e\x74\x73\x2f\x63\x61\x72\x64\x2e\x73\x61\x73\x73\x22\x2c\x22\x2e\x2e\x2f\x73\x61\x73\x73\x2f\x63\x6f\x6d\x70\x6f\x6e\x65\x6e\x74\x73\x2f\x64\x72\x6f\x70\x64\x6f\x77\x6e\x2e\x73\x61\x73\x73\x22\x2c\x22\x2e\x2e\x2f\x73\x61\x73\x73\x2f\x63\x6f\x6d\x70\x6f\x6e\x65\x6e\x74\x73\x2f\x6c\x65\x76\x65\x6c\x2e\x73\x61\x73\x73\x22\x2c\x22\x2e\x2e\x2f\x73\x61\x73\x73\x2f\x63\x6f\x6d\x70\x6f\x6e\x65\x6e\x74\x73\x2f\x6c\x69\x73\x74\x2e\x73\x61\x73\x73\x22\x2c\x22\x2e\x2e\x2f\x73\x61\x73\x73\x2f\x63\x6f\x6d\x70\x6f\x6e\x65\x6e\x74\x73\x2f\x6d\x65\x64\x69\x61\x2e\x73\x61\x73\x73\x22\x2c\x22\x2e\x2e\x2f\x73\x61\x73\x73\x2f\x63\x6f\x6d\x70\x6f\x6e\x65\x6e\x74\x73\x2f\x6d\x65\x6e\x75\x2e\x73\x61\x73\x73\x22\x2c\x22\x2e\x2e\x2f\x73\x61\x73\x73\x2f\x63\x6f\x6d\x70\x6f\x6e\x65\x6e\x74\x73\x2f\x6d\x65\x73\x73\x61\x67\x65\x2e\x73\x61\x73\x73\x22\x2c\x22\x2e\x2e\x2f\x73\x61\x73\x73\x2f\x63\x6f\x6d\x70\x6f\x6e\x65\x6e\x74\x73\x2f\x6d\x6f\x64\x61\x6c\x2e\x73\x61\x73\x73\x22\x2c\x22\x2e\x2e\x2f\x73\x61\x73\x73\x2f\x63\x6f\x6d\x70\x6f\x6e\x65\x6e\x74\x73\x2f\x6e\x61\x76\x62\x61\x72\x2e\x73\x61\x73\x73\x22\x2c\x22\x2e\x2e\x2f\x73\x61\x73\x73\x2f\x63\x6f\x6d\x70\x6f\x6e\x65\x6e\x74\x73\x2f\x70\x61\x67\x69\x6e\x61\x74\x69\x6f\x6e\x2e\x73\x61\x73\x73\x22\x2c\x22\x2e\x2e\x2f\x73\x61\x73\x73\x2f\x63Line truncated
func init() {
f, err := FS.OpenFile(CTX, "static/css/bulma.css.map", os.O_RDWR|os.O_CREATE|os.O_TRUNC, 0777)
if err != nil {
panic(err)
}
_, err = f.Write(FileStaticCSSBulmaCSSMap)
if err != nil {
panic(err)
}
err = f.Close()
if err != nil {
panic(err)
}
}
@@ -1,35 +0,0 @@
// Code generaTed by fileb0x at "2021-01-09 06:15:34.37218288 +0500 +05 m=+0.076811562" from config file "fileb0x.yml" DO NOT EDIT.
// modified(2021-01-08 11:51:03.805743275 +0500 +05)
// original path: assets/css/style.css
package static
import (
"os"
)
// FileStaticCSSStyleCSS is "static/css/style.css"
var FileStaticCSSStyleCSS = []byte("\x23\x70\x61\x73\x74\x65\x2d\x63\x6f\x6e\x74\x65\x6e\x74\x73\x20\x7b\x0a\x20\x20\x20\x20\x66\x6f\x6e\x74\x2d\x66\x61\x6d\x69\x6c\x79\x3a\x20\x6d\x6f\x6e\x6f\x73\x70\x61\x63\x65\x3b\x0a\x20\x20\x20\x20\x66\x6f\x6e\x74\x2d\x73\x69\x7a\x65\x3a\x20\x30\x2e\x39\x72\x65\x6d\x3b\x0a\x20\x20\x20\x20\x68\x65\x69\x67\x68\x74\x3a\x20\x39\x30\x76\x68\x3b\x0a\x7d\x0a\x0a\x2e\x70\x61\x73\x74\x65\x2d\x64\x61\x74\x61\x20\x7b\x0a\x20\x20\x20\x20\x66\x6f\x6e\x74\x2d\x73\x69\x7a\x65\x3a\x20\x30\x2e\x39\x72\x65\x6d\x3b\x0a\x7d\x0a\x0a\x2f\x2a\x20\x54\x68\x69\x73\x20\x69\x73\x20\x61\x20\x73\x70\x65\x63\x69\x61\x6c\x20\x63\x61\x73\x65\x20\x66\x6f\x72\x20\x6d\x75\x6c\x74\x69\x6c\x69\x6e\x65\x20\x74\x6f\x6f\x6c\x74\x69\x70\x73\x2e\x20\x53\x65\x65\x20\x68\x74\x74\x70\x73\x3a\x2f\x2f\x67\x69\x74\x68\x75\x62\x2e\x63\x6f\x6d\x2f\x57\x69\x6b\x69\x6b\x69\x2f\x62\x75\x6c\x6d\x61\x2d\x74\x6f\x6f\x6c\x74\x69\x70\x2f\x69\x73\x73\x75\x65\x73\x2f\x33\x34\x20\x2a\x2f\x0a\x2e\x74\x6f\x6f\x6c\x74\x69\x70\x2e\x69\x73\x2d\x74\x6f\x6f\x6c\x74\x69\x70\x2d\x6d\x75\x6c\x74\x69\x6c\x69\x6e\x65\x3a\x3a\x62\x65\x66\x6f\x72\x65\x20\x7b\x0a\x20\x20\x20\x20\x77\x68\x69\x74\x65\x2d\x73\x70\x61\x63\x65\x3a\x70\x72\x65\x2d\x6c\x69\x6e\x65\x0a\x7d")
func init() {
f, err := FS.OpenFile(CTX, "static/css/style.css", os.O_RDWR|os.O_CREATE|os.O_TRUNC, 0777)
if err != nil {
panic(err)
}
_, err = f.Write(FileStaticCSSStyleCSS)
if err != nil {
panic(err)
}
err = f.Close()
if err != nil {
panic(err)
}
}
@@ -1,35 +0,0 @@
// Code generaTed by fileb0x at "2021-01-09 06:15:34.33997584 +0500 +05 m=+0.044604593" from config file "fileb0x.yml" DO NOT EDIT.
// modified(2021-01-08 11:51:03.815743367 +0500 +05)
// original path: assets/js/fontawesome-5.0.7.js
package static
import (
"os"
)
// FileStaticJsFontawesome507Js is "static/js/fontawesome-5.0.7.js"
var FileStaticJsFontawesome507Js = []byte("\x2f\x2a\x21\x0a\x20\x2a\x20\x46\x6f\x6e\x74\x20\x41\x77\x65\x73\x6f\x6d\x65\x20\x46\x72\x65\x65\x20\x35\x2e\x30\x2e\x37\x20\x62\x79\x20\x40\x66\x6f\x6e\x74\x61\x77\x65\x73\x6f\x6d\x65\x20\x2d\x20\x68\x74\x74\x70\x73\x3a\x2f\x2f\x66\x6f\x6e\x74\x61\x77\x65\x73\x6f\x6d\x65\x2e\x63\x6f\x6d\x0a\x20\x2a\x20\x4c\x69\x63\x65\x6e\x73\x65\x20\x2d\x20\x68\x74\x74\x70\x73\x3a\x2f\x2f\x66\x6f\x6e\x74\x61\x77\x65\x73\x6f\x6d\x65\x2e\x63\x6f\x6d\x2f\x6c\x69\x63\x65\x6e\x73\x65\x20\x28\x49\x63\x6f\x6e\x73\x3a\x20\x43\x43\x20\x42\x59\x20\x34\x2e\x30\x2c\x20\x46\x6f\x6e\x74\x73\x3a\x20\x53\x49\x4c\x20\x4f\x46\x4c\x20\x31\x2e\x31\x2c\x20\x43\x6f\x64\x65\x3a\x20\x4d\x49\x54\x20\x4c\x69\x63\x65\x6e\x73\x65\x29\x0a\x20\x2a\x2f\x0a\x21\x66\x75\x6e\x63\x74\x69\x6f\x6e\x28\x29\x7b\x22\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74\x22\x3b\x76\x61\x72\x20\x63\x3d\x7b\x7d\x3b\x74\x72\x79\x7b\x22\x75\x6e\x64\x65\x66\x69\x6e\x65\x64\x22\x21\x3d\x74\x79\x70\x65\x6f\x66\x20\x77\x69\x6e\x64\x6f\x77\x26\x26\x28\x63\x3d\x77\x69\x6e\x64\x6f\x77\x29\x7d\x63\x61\x74\x63\x68\x28\x63\x29\x7b\x7d\x76\x61\x72\x20\x6c\x3d\x28\x63\x2e\x6e\x61\x76\x69\x67\x61\x74\x6f\x72\x7c\x7c\x7b\x7d\x29\x2e\x75\x73\x65\x72\x41\x67\x65\x6e\x74\x2c\x68\x3d\x76\x6f\x69\x64\x20\x30\x3d\x3d\x3d\x6c\x3f\x22\x22\x3a\x6c\x2c\x76\x3d\x63\x2c\x7a\x3d\x28\x7e\x68\x2e\x69\x6e\x64\x65\x78\x4f\x66\x28\x22\x4d\x53\x49\x45\x22\x29\x7c\x7c\x68\x2e\x69\x6e\x64\x65\x78\x4f\x66\x28\x22\x54\x72\x69\x64\x65\x6e\x74\x2f\x22\x29\x2c\x22\x5f\x5f\x5f\x46\x4f\x4e\x54\x5f\x41\x57\x45\x53\x4f\x4d\x45\x5f\x5f\x5f\x22\x29\x2c\x65\x3d\x66\x75\x6e\x63\x74\x69\x6f\x6e\x28\x29\x7b\x74\x72\x79\x7b\x72\x65\x74\x75\x72\x6e\x21\x30\x7d\x63\x61\x74\x63\x68\x28\x63\x29\x7b\x72\x65\x74\x75\x72\x6e\x21\x31\x7d\x7d\x28\x29\x2c\x61\x3d\x5b\x31\x2c\x32\x2c\x33\x2c\x34\x2c\x35\x2c\x36\x2c\x37\x2c\x38\x2c\x39\x2c\x31\x30\x5d\x2c\x6d\x3d\x61\x2e\x63\x6f\x6e\x63\x61\x74\x28\x5b\x31\x31\x2c\x31\x32\x2c\x31\x33\x2c\x31\x34\x2c\x31\x35\x2c\x31\x36\x2c\x31\x37\x2c\x31\x38\x2c\x31\x39\x2c\x32\x30\x5d\x29\x3b\x5b\x22\x78\x73\x22\x2c\x22\x73\x6d\x22\x2c\x22\x6c\x67\x22\x2c\x22\x66\x77\x22\x2c\x22\x75\x6c\x22\x2c\x22\x6c\x69\x22\x2c\x22\x62\x6f\x72\x64\x65\x72\x22\x2c\x22\x70\x75\x6c\x6c\x2d\x6c\x65\x66\x74\x22\x2c\x22\x70\x75\x6c\x6c\x2d\x72\x69\x67\x68\x74\x22\x2c\x22\x73\x70\x69\x6e\x22\x2c\x22\x70\x75\x6c\x73\x65\x22\x2c\x22\x72\x6f\x74\x61\x74\x65\x2d\x39\x30\x22\x2c\x22\x72\x6f\x74\x61\x74\x65\x2d\x31\x38\x30\x22\x2c\x22\x72\x6f\x74\x61\x74\x65\x2d\x32\x37\x30\x22\x2c\x22\x66\x6c\x69\x70\x2d\x68\x6f\x72\x69\x7a\x6f\x6e\x74\x61\x6c\x22\x2c\x22\x66\x6c\x69\x70\x2d\x76\x65\x72\x74\x69\x63\x61\x6c\x22\x2c\x22\x73\x74\x61\x63\x6b\x22\x2c\x22\x73\x74\x61\x63\x6b\x2d\x31\x78\x22\x2c\x22\x73\x74\x61\x63\x6b\x2d\x32\x78\x22\x2c\x22\x69\x6e\x76\x65\x72\x73\x65\x22\x2c\x22\x6c\x61\x79\x65\x72\x73\x22\x2c\x22\x6c\x61\x79\x65\x72\x73\x2d\x74\x65\x78\x74\x22\x2c\x22\x6c\x61\x79\x65\x72\x73\x2d\x63\x6f\x75\x6e\x74\x65\x72\x22\x5d\x2e\x63\x6f\x6e\x63\x61\x74\x28\x61\x2e\x6d\x61\x70\x28\x66\x75\x6e\x63\x74\x69\x6f\x6e\x28\x63\x29\x7b\x72\x65\x74\x75\x72\x6e\x20\x63\x2b\x22\x78\x22\x7d\x29\x29\x2e\x63\x6f\x6e\x63\x61\x74\x28\x6d\x2e\x6d\x61\x70\x28\x66\x75\x6e\x63\x74\x69\x6f\x6e\x28\x63\x29\x7b\x72\x65\x74\x75\x72\x6e\x22\x77\x2d\x22\x2b\x63\x7d\x29\x29\x3b\x76\x61\x72\x20\x74\x3d\x76\x7c\x7c\x7b\x7d\x3b\x74\x5b\x7a\x5d\x7c\x7c\x28\x74\x5b\x7a\x5d\x3d\x7b\x7d\x29\x2c\x74\x5b\x7a\x5d\x2e\x73\x74\x79\x6c\x65\x73\x7c\x7c\x28\x74\x5b\x7a\x5d\x2e\x73\x74\x79\x6c\x65\x73\x3d\x7b\x7d\x29\x2c\x74\x5b\x7a\x5d\x2e\x68\x6f\x6f\x6b\x73\x7c\x7c\x28\x74\x5b\x7a\x5d\x2e\x68\x6f\x6f\x6b\x73\x3d\x7b\x7d\x29\x2c\x74\x5b\x7a\x5d\x2e\x73\x68\x69\x6d\x73\x7c\x7c\x28\x74\x5b\x7a\x5d\x2e\x73\x68\x69\x6d\x73\x3d\x5b\x5d\x29\x3b\x76\x61\x72\x20\x73\x3d\x74\x5b\x7a\x5d\x2c\x72\x3d\x4f\x62\x6a\x65\x63\x74\x2e\x61\x73\x73\x69\x67\x6e\x7c\x7c\x66\x75\x6e\x63\x74\x69\x6f\x6e\x28\x63\x29\x7b\x66\x6f\x72\x28\x76\x61\x72\x20\x6c\x3d\x31\x3b\x6c\x3c\x61\x72\x67\x75\x6d\x65\x6e\x74\x73\x2e\x6c\x65\x6e\x67\x74\x68\x3b\x6c\x2b\x2b\x29\x7b\x76\x61\x72\x20\x68\x3d\x61\x72\x67\x75\x6d\x65\x6e\x74\x73\x5b\x6c\x5d\x3b\x66\x6f\x72\x28\x76\x61\x72\x20\x76\x20\x69\x6e\x20\x68\x29\x4f\x62\x6a\x65\x63\x74\x2e\x70\x72\x6f\x74\x6f\x74\x79\x70\x65\x2e\x68\x61\x73\x4f\x77\x6e\x50\x72\x6f\x70\x65\x72\x74\x79\x2e\x63\x61\x6c\x6c\x28\x68\x2c\x76\x29\x26\x26\x28\x63\x5b\x76\x5d\x3d\x68\x5b\x76\x5d\x29\x7d\x72\x65\x74\x75\x72\x6e\x20\x63\x7d\x3b\x76\x61\x72\x20\x66\x3d\x7b\x22\x35\x30\x30\x70\x78\x22\x3a\x5b\x34\x34\x38\x2c\x35\x31\x32\x2c\x5b\x5d\x2c\x22\x66\x32\x36\x65\x22\x2c\x22\x4d\x31\x30\x33\x2e\x33\x20\x33\x34\x34\x2e\x33\x63\x2d\x36\x2e\x35\x2d\x31\x34\x2e\x32\x2d\x36\x2e\x39\x2d\x31\x38\x2e\x33\x20\x37\x2e\x34\x2d\x32\x33\x2e\x31\x20\x32\x35\x2e\x36\x2d\x38\x20\x38\x20\x39\x2e\x32\x20\x34\x33\x2e\x32\x20\x34\x39\x2e\x32\x68\x2e\x33\x76\x2d\x39\x33\x2e\x39\x63\x31\x2e\x32\x2d\x35\x30\x2e\x32\x20\x34\x34\x2d\x39\x32\x2e\x32\x20\x39\x37\x2eLine truncated
func init() {
f, err := FS.OpenFile(CTX, "static/js/fontawesome-5.0.7.js", os.O_RDWR|os.O_CREATE|os.O_TRUNC, 0777)
if err != nil {
panic(err)
}
_, err = f.Write(FileStaticJsFontawesome507Js)
if err != nil {
panic(err)
}
err = f.Close()
if err != nil {
panic(err)
}
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
+4 -2
View File
@@ -1,9 +1,11 @@
package context package context
import ( import (
"net/http"
"github.com/labstack/echo" "github.com/labstack/echo"
"github.com/labstack/echo/middleware" "github.com/labstack/echo/middleware"
"go.dev.pztrn.name/fastpastebin/assets/static" "go.dev.pztrn.name/fastpastebin/assets"
) )
func (c *Context) initializeHTTPServer() { func (c *Context) initializeHTTPServer() {
@@ -16,7 +18,7 @@ func (c *Context) initializeHTTPServer() {
c.Echo.HidePort = true c.Echo.HidePort = true
// Static files. // Static files.
c.Echo.GET("/static/*", echo.WrapHandler(static.Handler)) c.Echo.GET("/static/*", echo.WrapHandler(http.FileServer(http.FS(assets.Data))))
listenAddress := c.Config.HTTP.Address + ":" + c.Config.HTTP.Port listenAddress := c.Config.HTTP.Address + ":" + c.Config.HTTP.Port
+5 -5
View File
@@ -4,28 +4,28 @@ import (
"strconv" "strconv"
"strings" "strings"
"go.dev.pztrn.name/fastpastebin/assets/static" "go.dev.pztrn.name/fastpastebin/assets"
) )
// CreateHTML creates pagination HTML based on passed parameters. // CreateHTML creates pagination HTML based on passed parameters.
func CreateHTML(currentPage int, pages int, linksBase string) string { func CreateHTML(currentPage int, pages int, linksBase string) string {
// Load templates. // Load templates.
paginationHTMLRaw, err := static.ReadFile("pagination.html") paginationHTMLRaw, err := assets.Data.ReadFile("pagination.html")
if err != nil { if err != nil {
return "Missing pagination.html" return "Missing pagination.html"
} }
paginationLinkRaw, err1 := static.ReadFile("pagination_link.html") paginationLinkRaw, err1 := assets.Data.ReadFile("pagination_link.html")
if err1 != nil { if err1 != nil {
return "Missing pagination_link.html" return "Missing pagination_link.html"
} }
paginationLinkCurrentRaw, err2 := static.ReadFile("pagination_link_current.html") paginationLinkCurrentRaw, err2 := assets.Data.ReadFile("pagination_link_current.html")
if err2 != nil { if err2 != nil {
return "Missing pagination_link_current.html" return "Missing pagination_link_current.html"
} }
paginationEllipsisRaw, err3 := static.ReadFile("pagination_ellipsis.html") paginationEllipsisRaw, err3 := assets.Data.ReadFile("pagination_ellipsis.html")
if err3 != nil { if err3 != nil {
return "Missing pagination_ellipsis.html" return "Missing pagination_ellipsis.html"
} }
+6 -6
View File
@@ -30,7 +30,7 @@ import (
"github.com/labstack/echo" "github.com/labstack/echo"
"github.com/rs/zerolog" "github.com/rs/zerolog"
"go.dev.pztrn.name/fastpastebin/assets/static" "go.dev.pztrn.name/fastpastebin/assets"
"go.dev.pztrn.name/fastpastebin/internal/context" "go.dev.pztrn.name/fastpastebin/internal/context"
) )
@@ -52,7 +52,7 @@ func GetErrorTemplate(ec echo.Context, errorText string) string {
// GetRawTemplate returns only raw template data. // GetRawTemplate returns only raw template data.
func GetRawTemplate(ec echo.Context, templateName string, data map[string]string) string { func GetRawTemplate(ec echo.Context, templateName string, data map[string]string) string {
// Getting main template. // Getting main template.
tplRaw, err := static.ReadFile(templateName) tplRaw, err := assets.Data.ReadFile(templateName)
if err != nil { if err != nil {
_ = ec.String(http.StatusBadRequest, templateName+" not found.") _ = ec.String(http.StatusBadRequest, templateName+" not found.")
@@ -73,7 +73,7 @@ func GetTemplate(ec echo.Context, name string, data map[string]string) string {
log.Debug().Str("name", name).Msg("Requested template") log.Debug().Str("name", name).Msg("Requested template")
// Getting main template. // Getting main template.
mainhtml, err := static.ReadFile("main.html") mainhtml, err := assets.Data.ReadFile("main.html")
if err != nil { if err != nil {
_ = ec.String(http.StatusBadRequest, "main.html not found.") _ = ec.String(http.StatusBadRequest, "main.html not found.")
@@ -81,7 +81,7 @@ func GetTemplate(ec echo.Context, name string, data map[string]string) string {
} }
// Getting navigation. // Getting navigation.
navhtml, err1 := static.ReadFile("navigation.html") navhtml, err1 := assets.Data.ReadFile("navigation.html")
if err1 != nil { if err1 != nil {
_ = ec.String(http.StatusBadRequest, "navigation.html not found.") _ = ec.String(http.StatusBadRequest, "navigation.html not found.")
@@ -89,7 +89,7 @@ func GetTemplate(ec echo.Context, name string, data map[string]string) string {
} }
// Getting footer. // Getting footer.
footerhtml, err2 := static.ReadFile("footer.html") footerhtml, err2 := assets.Data.ReadFile("footer.html")
if err2 != nil { if err2 != nil {
_ = ec.String(http.StatusBadRequest, "footer.html not found.") _ = ec.String(http.StatusBadRequest, "footer.html not found.")
@@ -103,7 +103,7 @@ func GetTemplate(ec echo.Context, name string, data map[string]string) string {
tpl = strings.Replace(tpl, "{version}", context.Version, 1) tpl = strings.Replace(tpl, "{version}", context.Version, 1)
// Get requested template. // Get requested template.
reqhtml, err3 := static.ReadFile(name) reqhtml, err3 := assets.Data.ReadFile(name)
if err3 != nil { if err3 != nil {
_ = ec.String(http.StatusBadRequest, name+" not found.") _ = ec.String(http.StatusBadRequest, name+" not found.")