HTML for ServerError; drop mock database effect handler

This commit is contained in:
James Eversole
2024-10-22 18:55:15 -05:00
parent 3f76917c40
commit 13e8a11e83
7 changed files with 41 additions and 51 deletions

View File

@@ -32,3 +32,10 @@ userHtml user = div_ [] $ do
warning :: String -> Html ()
warning s = p_ [class_ "warning"] (toHtml s)
internalServerError :: Html ()
internalServerError = baseDoc $ do
div_ [ style_ "text-align: center; margin: 3% 0 0 0;" ] $ do
h1_ "500 INTERNAL SERVER ERROR"
p_ "This issue is probably our fault. \
\ Please try again shortly or contact us for help."