forked from ITwrxOrg/Forget-Me-Not
18 lines
838 B
Plaintext
18 lines
838 B
Plaintext
#? stdtmpl(subsChar = '$', metaChar = '#')
|
|
#import "main_template_top.nimf", "main_template_bottom.nimf", "../helpers/form"
|
|
#proc error500Template*(csrfToken: string, fr: FormResult): string =
|
|
# result = ""
|
|
${mainTemplateTop("Error! Status Code: 500", csrfToken)}
|
|
<div class="pjax-me">
|
|
<h1 class="mt-8 text-xl text-red-500">Error! Status Code: 500</h1><br>
|
|
#if fr.message.len > 0:
|
|
<h2 id="form_message" class="${fr.messageClass}">Application Error Message: ${fr.message}</h2>
|
|
#end if
|
|
<p>If you're seeing this, unfortunately, you've found a bug.<br><br> Please report that you received a "500 page", including any Application Error Message above, to your web host.<br><br> Thank You!</p>
|
|
</div>
|
|
${mainTemplateBottom()}
|
|
<div class="page-js"></div>
|
|
</body>
|
|
</html>
|
|
#end proc
|