git.alexw.nyc home about git garden
    1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
   14
   15
   16
   17
   18
   19
   20
   21
   22
   23
   24
   25
   26
   27
   28
   29
   30
   31
   32
   33
   34
   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>