Files
gothub/views/ratelimit.html
Arya K 30a68263e7 Merge dev into master (#107)
Co-authored-by: Odyssium <hi@odyssey346.dev>
Co-authored-by: Midou36O <facemioo4@gmail.com>
Co-authored-by: Arya Kiran <arya@projectsegfau.lt>
Co-authored-by: Odyssium <odyssium@noreply.codeberg.org>
Co-authored-by: medanisjbara <medanisjbara@proton.me>
Co-authored-by: Midou36O <midou36o@noreply.codeberg.org>
Co-authored-by: No-Logs.com <no-logs@noreply.codeberg.org>
Reviewed-on: https://codeberg.org/gothub/gothub/pulls/107
2023-05-08 10:24:08 +00:00

16 lines
314 B
HTML

{{ template "header" .}}
<main>
<h2>{{.Title}}</h2>
<p>Try another instance or wait.</p>
<h2>Info</h2>
{{ range $key, $value := .ratelimit}}
<p>Limit: <b>{{.Limit}}</b></p>
<p>Remaining: <b>{{.Remaining}}</b></p>
{{ end }}
<i>Todo: implement GitHub API keys</i>
</main>
{{ template "footer" .}}