SML
ecf34896c8
Add margins for h3. Probably should be done in the tracerite package.
2023-02-09 04:56:30 +08:00
SML
e544cd8af6
Tweak color scheme for dark themes
2023-02-09 04:55:57 +08:00
SML
aa8af0dcea
invalid text justify css
2023-02-09 03:36:20 +08:00
SML
db0b9046d7
Add padding for main container so text doesn’t touch screen boundary
2023-02-09 00:39:26 +08:00
SML
f798eda446
Remove forced hanging emoji from error header
2023-02-09 00:36:20 +08:00
SML
21ad1ae61b
Remove tab styling
2023-02-09 00:14:06 +08:00
SML
d8bf65ad1b
Tweak colors for dark mode
2023-02-09 00:13:39 +08:00
SML
844cab2d6b
Tweak colors for light mode
2023-02-09 00:07:29 +08:00
SML
b0cb01d1a4
Add color sections for dark mode
2023-02-08 23:59:32 +08:00
L. Karkkainen
4c55051442
Fix scrollbar layout problems.
2023-02-08 01:34:41 +00:00
L. Karkkainen
37f3607ebc
Friendlify the error page.
2023-02-08 01:26:30 +00:00
L. Karkkainen
7e617c1769
Misc styling
2023-02-07 22:03:10 +00:00
L. Karkkainen
a5f732cc80
Style and layout changes, fix document title.
2023-02-07 21:25:14 +00:00
L. Karkkainen
ce19908bc0
Implement key-value-table as dl instead of table element.
2023-02-07 20:51:25 +00:00
L. Karkkainen
a6efebda56
Cleanup.
2023-02-07 11:00:05 +00:00
L. Karkkainen
da9ff33fa7
Add traceback suppressions to commonly shown internals.
2023-02-07 10:58:46 +00:00
L. Karkkainen
526115c3c5
Fix SVG: alt to desc, whitespace removed
2023-02-06 16:07:58 +00:00
Adam Hopkins
12ba685bf6
Some Sanic branding to error page ( #2673 )
...
* Some Sanic branding to error page
* Simplify logo compat
2023-02-06 15:41:01 +00:00
L. Karkkainen
39b98e6b45
Logo shadow to make it show up on white background.
2023-02-06 13:13:01 +00:00
L. Karkkainen
3ddbda61d9
Merge branch 'html-error-handling-suggestions' into niceback-error-handling
2023-02-06 13:02:31 +00:00
L. Karkkainen
68bf26df17
Merge branch 'main' into niceback-error-handling
2023-02-06 12:57:48 +00:00
Adam Hopkins
a773ad2354
Cleanup styles and add Sanic palette
2023-02-06 14:25:22 +02:00
Adam Hopkins
47b2459811
Suggestions
2023-02-06 10:05:51 +02:00
Adam Hopkins
7491d567a3
Merge branch 'niceback-error-handling' of github.com:sanic-org/sanic into niceback-error-handling
2023-02-05 22:13:03 +02:00
L. Karkkainen
783a29bc0b
Require tracerite=>1.0.0
2023-02-05 18:49:27 +00:00
L. Karkkainen
cf76c05d3f
CSS loading with STYLE_APPEND
2023-02-05 17:26:58 +00:00
Adam Hopkins
d6f2613623
Merge branch 'main' of github.com:sanic-org/sanic into niceback-error-handling
2023-02-05 18:37:08 +02:00
L. Karkkainen
a6ff13ceed
Fallback for route name when no route found.
2023-02-05 16:06:45 +00:00
L. Karkkainen
207f8af11f
setup.py
2023-02-05 15:58:25 +00:00
L. Karkkainen
5c65118d12
CSS files now start with comments, none inserted in code.
2023-02-05 15:58:09 +00:00
L. Karkkainen
f4792a2bc6
CSS fixes, incl. scaling layout for small screens.
2023-02-05 15:46:12 +00:00
L. Karkkainen
53b7a5a5a1
Merge branch 'main' into niceback-error-handling
2023-02-05 15:16:05 +00:00
Ryu Juheon
5e7f6998bd
fix(websocket): ASGI websocket must pass thru bytes as is ( #2651 )
2023-02-05 16:41:54 +02:00
L. Kärkkäinen
c7a71cd00c
Use FALLBACK_ERROR_FORMAT for handlers that return empty() ( #2659 )
...
Co-authored-by: L. Karkkainen <tronic@users.noreply.github.com>
Co-authored-by: Adam Hopkins <adam@amhopkins.com>
2023-02-05 15:29:01 +02:00
Adam Hopkins
9cb9e88678
Establish basic file browser and index fallback ( #2662 )
...
Co-authored-by: L. Kärkkäinen <98187+Tronic@users.noreply.github.com>
Co-authored-by: L. Karkkainen <tronic@users.noreply.github.com>
2023-02-05 15:09:04 +02:00
L. Karkkainen
ebc2f46682
Minor style changes, loading TraceRite style and css properly, printing exception extra data.
2023-02-04 00:27:29 +00:00
L. Kärkkäinen
ff47448585
Merge branch 'issue2661' into niceback-error-handling
2023-02-02 14:14:56 +00:00
Adam Hopkins
2df5b19fd4
Sans serif w/ autoindex monospace
2023-01-31 11:09:24 +02:00
Adam Hopkins
5dfd48f855
Merge branch 'main' of github.com:sanic-org/sanic into issue2661
2023-01-31 10:44:49 +02:00
Adam Hopkins
ddf3a49988
Remove accidental file
2023-01-31 10:43:19 +02:00
Adam Hopkins
1b43aa5f2f
No auto registration of fallback error handlers
2023-01-31 10:40:47 +02:00
Adam Hopkins
713abe3cf2
Merge branch 'issue2661' of github.com:sanic-org/sanic into issue2661
2023-01-31 10:04:46 +02:00
Adam Hopkins
b46b81d43a
Set styles
2023-01-31 10:03:39 +02:00
Rodolfo Olivieri
30c53b6857
Remove deprecated property in blueprint ( #2666 )
...
Fixes https://github.com/sanic-org/sanic/issues/2442
2023-01-30 09:26:55 +02:00
L. Kärkkäinen
4f000ab59c
Define colors for light/default mode as well.
...
The background is not always white by default (e.g. when in an iframe), so it needs to be defined or text may become invisible (just had this problem today). I've taken the opportunity to make it slightly less bright as well.
2023-01-28 23:36:42 +00:00
L. Kärkkäinen
ae757c8ad6
Merge branch 'issue2661' into niceback-error-handling
2023-01-28 23:29:14 +00:00
Adam Hopkins
f30f53f67d
Move DirectoryHandler to app instance
2023-01-28 23:25:25 +02:00
L. Karkkainen
ea09906e0a
Refactored to sanic.pages.error module. Traceback and style tuning. Print also headers, and for other than 500 errors as well. 500 error message text UX workaround.
2023-01-27 18:50:35 +00:00
L. Karkkainen
77bdfa14ed
HTML error formatting rebuilt on top of BasePage, and using external module niceback to do the tracebacks.
2023-01-27 06:45:49 +00:00
L. Karkkainen
faf1ff8d4f
Fix the document title (needs positional argument).
2023-01-27 05:39:45 +00:00