summaryrefslogtreecommitdiff
path: root/templates/api_keys.html
diff options
context:
space:
mode:
authorLizzy Hunt <lizzy.hunt@usu.edu>2024-03-29 16:35:04 -0600
committerLizzy Hunt <lizzy.hunt@usu.edu>2024-03-29 16:35:04 -0600
commit5080c566ac31ec622986c04f1812a1e88c88210e (patch)
treed8dbaa766ef21b098c5740880facc2989c750295 /templates/api_keys.html
parent7cc13887eae7dd2a61900751e038d273313d077f (diff)
downloadhatecomputers.club-5080c566ac31ec622986c04f1812a1e88c88210e.tar.gz
hatecomputers.club-5080c566ac31ec622986c04f1812a1e88c88210e.zip
guestbook!
Diffstat (limited to 'templates/api_keys.html')
-rw-r--r--templates/api_keys.html16
1 files changed, 8 insertions, 8 deletions
diff --git a/templates/api_keys.html b/templates/api_keys.html
index 0aa3094..cd4d274 100644
--- a/templates/api_keys.html
+++ b/templates/api_keys.html
@@ -1,23 +1,23 @@
{{ define "content" }}
<table>
<tr>
- <th>Key</th>
- <th>Created At</th>
- <th>Revoke</th>
+ <th>key.</th>
+ <th>created at.</th>
+ <th>revoke.</th>
</tr>
{{ if (eq (len .APIKeys) 0) }}
<tr>
- <td colspan="5"><span class="blinky">No API Keys Found</span></td>
+ <td colspan="5"><span class="blinky">no api keys found</span></td>
</tr>
{{ end }}
{{ range $key := .APIKeys }}
<tr>
<td>{{ $key.Key }}</td>
- <td>{{ $key.CreatedAt }}</td>
+ <td class="time">{{ $key.CreatedAt }}</td>
<td>
<form method="POST" action="/keys/delete">
<input type="hidden" name="key" value="{{ $key.Key }}" />
- <input type="submit" value="Revoke" />
+ <input type="submit" value="revoke." />
</form>
</td>
</tr>
@@ -25,9 +25,9 @@
</table>
<br>
<form method="POST" action="/keys" class="form">
- <h2>Add An API Key</h2>
+ <h2>generate key.</h2>
<hr>
- <input type="submit" value="Generate" />
+ <input type="submit" value="generate." />
{{ if .FormError }}
{{ if (len .FormError.Errors) }}
{{ range $error := .FormError.Errors }}