| 12345678910111213141516171819202122232425262728293031323334353637383940 |
- <!doctype html>
- <html lang="en">
- <head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1">
- <meta name="robots" content="noindex">
- <title>{{if .Title}}{{.Title}}{{else if .Error}}Couldn't convert{{else if gt (len .Files) 1}}Your books are ready{{else}}Your book is ready{{end}} · ReKoPub</title>
- <meta name="color-scheme" content="light dark">
- <link rel="icon" href="/favicon.svg" type="image/svg+xml">
- <link rel="stylesheet" href="/style.css">
- </head>
- <body>
- <!-- Shown when the converter form is used without JavaScript. -->
- <header class="site-header">
- <div class="wrap header-inner">
- <a class="wordmark" href="/">reko<span>pub</span></a>
- </div>
- </header>
- <main class="wrap">
- <section class="about">
- {{- if .Error}}
- <h1>{{if .Title}}{{.Title}}{{else if .Paused}}Temporarily paused{{else}}Couldn't convert{{end}}</h1>
- <p class="convert-error">{{.Error}}</p>
- {{- else}}
- <h1>{{if gt (len .Files) 1}}Your books are ready{{else}}Your book is ready{{end}}</h1>
- <p class="small">Links work for {{.KeepHours}} hours.</p>
- <ul class="convert-files">
- {{- range .Files}}
- <li><a href="{{.URL}}" download>{{.Name}}</a> <span class="small">{{.Format}}, {{kb .Size}}</span></li>
- {{- end}}
- </ul>
- {{- if .Warning}}
- <p class="convert-error">{{.Warning}}</p>
- {{- end}}
- {{- end}}
- <p><a href="/#convert">Convert another article</a></p>
- </section>
- </main>
- </body>
- </html>
|