x

Programs, configuration and documentation that don't fit anywhere else
Log | Files | Refs | README | LICENSE

index.html (964B)


      1 <!DOCTYPE html>
      2 <html>
      3 <head>
      4 <meta charset="utf-8">
      5 <meta name="viewport" content="width=device-width, initial-scale=1.0">
      6 
      7 <link rel="manifest" href="manifest.json">
      8 <link rel="stylesheet" href="https://www.olowe.co/style.css">
      9 <style>
     10 textarea {
     11 	width: 80%;
     12 }
     13 
     14 pre {
     15 	font-family: sans-serif;
     16 	white-space: pre-wrap;
     17 }
     18 
     19 label {
     20 	font-style: italic;
     21 }
     22 </style>
     23 
     24 <title>llmweb</title>
     25 </head>
     26 
     27 <body>
     28 <header>
     29 <nav>
     30 <a href="/">New</a>
     31 Model: <code>{{.Model}}</code>
     32 </nav>
     33 </header>
     34 
     35 <main>
     36 <form method="POST">
     37 {{range .Messages}}
     38 	<label for="{{.Role}}">{{.Role}}</label>
     39 	{{- if eq .Role "system"}}
     40 	<p><textarea name="{{.Role}}" id="system" placeholder="Answer concisely...">{{.Content}}</textarea></p>
     41 	{{else}}
     42 	<textarea name="{{.Role}}" hidden>{{.Content}}</textarea>
     43 	<pre>{{.Content}}</pre>
     44 	{{end}}
     45 {{end}}
     46 <textarea name="user" rows=4 placeholder="Provide an overview of..."></textarea>
     47 <br>
     48 <input type="submit" />
     49 </form>
     50 </main>
     51 
     52 </body>
     53 </html>