flounder

A simple gemini site builder
Log | Files | Refs | README | LICENSE

commit 256d36d69c410a8bd7646e184a793c440b50e7e5
parent ffe3b298ca84c8a300b34cc7771b94887cc9fde2
Author: alex wennerberg <alex@alexwennerberg.com>
Date:   Sun, 24 Oct 2021 15:37:56 -0700

add template oops

Diffstat:
Atemplates/fingerproxy.html | 35+++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+), 0 deletions(-)

diff --git a/templates/fingerproxy.html b/templates/fingerproxy.html @@ -0,0 +1,35 @@ +<!DOCTYPE html> +<html lang="en"> + <head> + <meta charset="utf-8" /> + <title>Finger Proxy</title> + <meta name="viewport" content="width=device-width" /> + <link rel="icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>🐟</text></svg>"> + <meta name="description" content="a finger proxy"> +<style>#output { white-space: pre-wrap; font-family:monospace;}</style> + </head> + <body> + <form action="/" method="post"> + <label for="query">finger query: [user@host]</label><br> + <input + id="query" + name="query" + type="query" + value="" + /> + <input + class="button" + id="submit" + name="submit" + type="submit" + value="finger" +/> + </form> + + <div id="output"> + {{ .Output }} + <span style="color:red;">{{.Error}} + </div> + + </body> +</html>