summaryrefslogtreecommitdiff
path: root/packages/backend/src/server/web/views/error.pug
blob: 99b9634bd88e9f1f70d133d26f12dd47ea0350b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
doctype html

//
	-
	  _____ _                _
	 /  ___| |              | |
	 \ `--.| |__   __ _ _ __| | _____ _   _
	  `--. \ '_ \ / _` | '__| |/ / _ \ | | |
	 /\__/ / | | | (_| | |  |   <  __/ |_| |
	 \____/|_| |_|\__,_|_|  |_|\_\___|\__, |
	                                   __/ |
	                                  |___/

	 Thank you for using Sharkey!
	 If you are reading this message... how about joining the development?
	 https://activitypub.software/TransFem-org/Sharkey


html

	head
		meta(charset='utf-8')
		meta(name='viewport' content='width=device-width, initial-scale=1')
		meta(name='application-name' content='Sharkey')
		meta(name='referrer' content='origin')

		title
			block title
				= 'An error has occurred... | Sharkey'

		style
			include ../error.css

		script
			include ../error.js

body
	svg.icon-warning(xmlns="http://www.w3.org/2000/svg", viewBox="0 0 24 24", stroke-width="2", stroke="currentColor", fill="none", stroke-linecap="round", stroke-linejoin="round")
		path(stroke="none", d="M0 0h24v24H0z", fill="none")
		path(d="M12 9v2m0 4v.01")
		path(d="M5 19h14a2 2 0 0 0 1.84 -2.75l-7.1 -12.25a2 2 0 0 0 -3.5 0l-7.1 12.25a2 2 0 0 0 1.75 2.75")

	h1(data-i18n="title") Failed to initialize Sharkey

	button.button-big(onclick="location.reload();")
		span.button-label-big(data-i18n-reload) Reload

	p(data-i18n="serverError") If reloading after a period of time does not resolve the problem, contact the server administrator with the following ERROR ID.

	div#errors
		code.
			ERROR CODE: #{code}
			ERROR ID: #{id}

	p
		b(data-i18n="solution") The following actions may solve the problem.

	p(data-i18n="solution1") Update your os and browser
	p(data-i18n="solution2") Disable an adblocker
	p(data-i18n="solution3") Clear your browser cache
	p(data-i18n="solution4") (Tor Browser) Set dom.webaudio.enabled to true

	details(style="color: #86b300;")
		summary(data-i18n="otherOption") Other options
		a(href="/flush")
			button.button-small
				span.button-label-small(data-i18n="otherOption1") Clear preferences and cache
		br
		a(href="/cli")
			button.button-small
				span.button-label-small(data-i18n="otherOption2") Start the simple client
		br
		a(href="/bios")
			button.button-small
				span.button-label-small(data-i18n="otherOption3") Start the repair tool