1
0
dwelling-upload/web/uploaded.jade.go

31 lines
1.6 KiB
Go
Raw Normal View History

2022-06-13 20:24:17 +04:00
// Code generated by "jade.go"; DO NOT EDIT.
package web
import (
"io"
)
const (
uploaded__0 = `<!DOCTYPE html><html lang="en"><head><title>Arav's dwelling / Upload</title><meta charset="utf-8"/><meta http-equiv="X-UA-Compatible" content="IE=edge"/><meta name="viewport" content="width=device-width, initial-scale=1.0"/><meta name="theme-color" content="#cd2682"/><meta name="description" content="File upload service for ya."/><link rel="icon" href="/assets/img/favicon.svg" sizes="any" type="image/svg+xml"/><link href="/assets/css/main.css" rel="stylesheet"/></head></html><body><header><svg id="logo" viewBox="0 -25 216 40"><text class="logo">Arav's dwelling</text><text class="under" y="11">Welcome to my sacred place, wanderer</text></svg><nav><a href="`
uploaded__1 = `" title="Arav&#39;s dwelling">Back to main website</a></nav></header></body><h1>Upload</h1><section id="file"><h2>Your link</h2><center><a href="`
uploaded__2 = `">`
uploaded__3 = `</a></center><center>It will be available for next `
uploaded__4 = ` hours.</center><center><a href="/">Back to index page</a></center></section><footer>2022 Arav &lt;<a href="mailto:me@arav.top">me@arav.top</a>&gt;</footer>`
)
func Uploaded(mainSite, downloadLink string, keepForHours int, wr io.Writer) {
buffer := &WriterAsBuffer{wr}
buffer.WriteString(uploaded__0)
WriteEscString(mainSite, buffer)
buffer.WriteString(uploaded__1)
WriteEscString(downloadLink, buffer)
buffer.WriteString(uploaded__2)
WriteEscString(downloadLink, buffer)
buffer.WriteString(uploaded__3)
WriteInt(int64(keepForHours), buffer)
buffer.WriteString(uploaded__4)
}