templating: Move actions into template

This commit is contained in:
Tom Wiesing 2023-01-12 13:55:07 +01:00
parent 313af2b9e3
commit 202599aaeb
No known key found for this signature in database
23 changed files with 153 additions and 105 deletions

View file

@ -1,16 +1,14 @@
{{ template "_base.html" . }}
{{ define "title" }}WissKI Resolver{{ end }}
{{ define "title" }}Resolver{{ end }}
{{ define "content" }}
<div class="pure-u-1">
<h1>wdresolve</h1>
<p>
This page implements a resolver for the WissKI Distillery.
This page contains the global distillery resolver.
It takes a <b>RDF / Triplestore URI</b> that refers to a <b>WissKI Entity</b> and redirects to the page that displays the entity.
</p>
</div>
<div class="pure-u-1">
<h2>Resolve URI</h2>
<form action="." method="GET" class="pure-form" autocomplete="off">
<label for="uri">Enter A URI To Resolve:</label>
<input type="text" id="uri" name="uri" value="">