mirror of
https://github.com/httpjamesm/AnonymousOverflow.git
synced 2025-05-14 05:52:54 +00:00
feat: error handling for homepage
This commit is contained in:
parent
2ae093b43d
commit
9071bc23db
3 changed files with 30 additions and 3 deletions
|
@ -16,9 +16,19 @@
|
|||
browsing habits and other browser fingerprint data to
|
||||
StackOverflow.
|
||||
</p>
|
||||
{{ if .errorMessage }}
|
||||
<div class="error">
|
||||
<p><b>Error</b>: {{ .errorMessage }}</p>
|
||||
</div>
|
||||
{{ end }}
|
||||
<form method="POST">
|
||||
<div class="view-form">
|
||||
<input class="view-input" type="text" name="url" placeholder="https://stackoverflow.com/questions/123456/example-url" />
|
||||
<input
|
||||
class="view-input"
|
||||
type="text"
|
||||
name="url"
|
||||
placeholder="https://stackoverflow.com/questions/123456/example-url"
|
||||
/>
|
||||
<button class="view-button" type="submit">View</button>
|
||||
</div>
|
||||
</form>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue