mirror of
https://github.com/kiwix/kiwix-tools.git
synced 2025-09-27 22:31:09 -04:00
+ small visual UI fixes
This commit is contained in:
parent
581362a43a
commit
5d67f41c58
@ -254,7 +254,7 @@ static int accessHandlerCallback(void *cls,
|
||||
|
||||
mimeType = "text/html; charset=utf-8";
|
||||
} else {
|
||||
content = "<html><head><title>Fulltext search unavailable</title></head><body><h1>Not Found</h1><p>There is no article with the title <b>\"" + patternString + "\"</b> and the fulltext search engine is not available for this content.</p></body></html>";
|
||||
content = "<!DOCTYPE html>\n<html><head><title>Fulltext search unavailable</title></head><body><h1>Not Found</h1><p>There is no article with the title <b>\"" + patternString + "\"</b> and the fulltext search engine is not available for this content.</p></body></html>";
|
||||
mimeType = "text/html";
|
||||
httpResponseCode = MHD_HTTP_NOT_FOUND;
|
||||
}
|
||||
@ -275,7 +275,7 @@ static int accessHandlerCallback(void *cls,
|
||||
if (isVerbose())
|
||||
cout << "Failed to find " << urlStr << endl;
|
||||
|
||||
content = "<html><head><title>Content not found</title></head><body><h1>Not Found</h1><p>The requested URL " + urlStr + " was not found on this server.</p></body></html>";
|
||||
content = "<!DOCTYPE html>\n<html><head><title>Content not found</title></head><body><h1>Not Found</h1><p>The requested URL " + urlStr + " was not found on this server.</p></body></html>";
|
||||
mimeType = "text/html";
|
||||
httpResponseCode = MHD_HTTP_NOT_FOUND;
|
||||
}
|
||||
|
@ -17,10 +17,6 @@
|
||||
<span id="kiwixtoolbar" class="ui-widget-header ui-corner-all">
|
||||
<form action="/" method="POST"><input type="submit" value="Library" id="kiwixlibrary" /></form>
|
||||
<form action="/__CONTENT__/" method="POST"><input type="submit" value="Home" id="kiwixhome" /></form>
|
||||
<form method="GET" action="/search" id="kiwixsearchform">
|
||||
<input type="hidden" name="content" value="__CONTENT__" />
|
||||
<input type="submit" id="kiwixsearch" value="Search" />
|
||||
<input type="text" id="kiwixsearchbox" name="pattern" />
|
||||
</form>
|
||||
<form method="GET" action="/search" id="kiwixsearchform"><input type="hidden" name="content" value="__CONTENT__" /><input type="submit" id="kiwixsearch" value="Search" /><input type="text" id="kiwixsearchbox" name="pattern" /></form>
|
||||
</span>
|
||||
<div style="display: block; height: 45px;"></div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user