mirror of
https://github.com/kiwix/libkiwix.git
synced 2025-06-26 10:11:30 +00:00
Introduce HTTP400HtmlResponse.
HTTP400HtmlResponse is build on the same design than HTTP404HtmlResponse.
This commit is contained in:
@ -35,6 +35,7 @@ skin/block_external.js
|
||||
skin/search_results.css
|
||||
templates/search_result.html
|
||||
templates/no_search_result.html
|
||||
templates/400.html
|
||||
templates/404.html
|
||||
templates/500.html
|
||||
templates/index.html
|
||||
|
15
static/templates/400.html
Normal file
15
static/templates/400.html
Normal file
@ -0,0 +1,15 @@
|
||||
<!DOCTYPE html>
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta content="text/html;charset=UTF-8" http-equiv="content-type" />
|
||||
<title>Invalid request</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Invalid request</h1>
|
||||
{{#details}}
|
||||
<p>
|
||||
{{{p}}}
|
||||
</p>
|
||||
{{/details}}
|
||||
</body>
|
||||
</html>
|
Reference in New Issue
Block a user