+ replace POST method with GET method in kiwix-serve UI

This commit is contained in:
kelson42 2013-06-17 14:56:15 +02:00
parent d38bc834c5
commit 4ab6898586
2 changed files with 32 additions and 32 deletions

View File

@ -49094,36 +49094,36 @@ const unsigned char server_taskbar_html_part[]={
0x69,0x2d,0x77,0x69,0x64,0x67,0x65,0x74,0x2d,0x68,0x65,0x61,0x64,0x65,0x72,0x20,
0x75,0x69,0x2d,0x63,0x6f,0x72,0x6e,0x65,0x72,0x2d,0x61,0x6c,0x6c,0x22,0x3e,0x0a,
0x20,0x20,0x3c,0x66,0x6f,0x72,0x6d,0x20,0x61,0x63,0x74,0x69,0x6f,0x6e,0x3d,0x22,
0x2f,0x22,0x20,0x6d,0x65,0x74,0x68,0x6f,0x64,0x3d,0x22,0x50,0x4f,0x53,0x54,0x22,
0x3e,0x3c,0x69,0x6e,0x70,0x75,0x74,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x73,0x75,
0x62,0x6d,0x69,0x74,0x22,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x4c,0x69,0x62,
0x72,0x61,0x72,0x79,0x22,0x20,0x69,0x64,0x3d,0x22,0x6b,0x69,0x77,0x69,0x78,0x6c,
0x69,0x62,0x72,0x61,0x72,0x79,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x66,0x6f,0x72,0x6d,
0x3e,0x0a,0x20,0x20,0x3c,0x66,0x6f,0x72,0x6d,0x20,0x61,0x63,0x74,0x69,0x6f,0x6e,
0x3d,0x22,0x2f,0x5f,0x5f,0x43,0x4f,0x4e,0x54,0x45,0x4e,0x54,0x5f,0x5f,0x2f,0x22,
0x20,0x6d,0x65,0x74,0x68,0x6f,0x64,0x3d,0x22,0x50,0x4f,0x53,0x54,0x22,0x3e,0x3c,
0x69,0x6e,0x70,0x75,0x74,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x73,0x75,0x62,0x6d,
0x69,0x74,0x22,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x48,0x6f,0x6d,0x65,0x22,
0x20,0x69,0x64,0x3d,0x22,0x6b,0x69,0x77,0x69,0x78,0x68,0x6f,0x6d,0x65,0x22,0x20,
0x2f,0x3e,0x3c,0x2f,0x66,0x6f,0x72,0x6d,0x3e,0x0a,0x20,0x20,0x3c,0x66,0x6f,0x72,
0x6d,0x20,0x6d,0x65,0x74,0x68,0x6f,0x64,0x3d,0x22,0x47,0x45,0x54,0x22,0x20,0x61,
0x63,0x74,0x69,0x6f,0x6e,0x3d,0x22,0x2f,0x73,0x65,0x61,0x72,0x63,0x68,0x22,0x20,
0x69,0x64,0x3d,0x22,0x6b,0x69,0x77,0x69,0x78,0x73,0x65,0x61,0x72,0x63,0x68,0x66,
0x6f,0x72,0x6d,0x22,0x3e,0x3c,0x69,0x6e,0x70,0x75,0x74,0x20,0x74,0x79,0x70,0x65,
0x3d,0x22,0x68,0x69,0x64,0x64,0x65,0x6e,0x22,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,
0x63,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x22,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,
0x5f,0x5f,0x43,0x4f,0x4e,0x54,0x45,0x4e,0x54,0x5f,0x5f,0x22,0x20,0x2f,0x3e,0x3c,
0x69,0x6e,0x70,0x75,0x74,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x73,0x75,0x62,0x6d,
0x69,0x74,0x22,0x20,0x69,0x64,0x3d,0x22,0x6b,0x69,0x77,0x69,0x78,0x73,0x65,0x61,
0x72,0x63,0x68,0x22,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x53,0x65,0x61,0x72,
0x63,0x68,0x22,0x20,0x2f,0x3e,0x3c,0x69,0x6e,0x70,0x75,0x74,0x20,0x74,0x79,0x70,
0x65,0x3d,0x22,0x74,0x65,0x78,0x74,0x22,0x20,0x69,0x64,0x3d,0x22,0x6b,0x69,0x77,
0x69,0x78,0x73,0x65,0x61,0x72,0x63,0x68,0x62,0x6f,0x78,0x22,0x20,0x6e,0x61,0x6d,
0x65,0x3d,0x22,0x70,0x61,0x74,0x74,0x65,0x72,0x6e,0x22,0x20,0x2f,0x3e,0x3c,0x2f,
0x66,0x6f,0x72,0x6d,0x3e,0x0a,0x3c,0x2f,0x73,0x70,0x61,0x6e,0x3e,0x0a,0x3c,0x64,
0x69,0x76,0x20,0x73,0x74,0x79,0x6c,0x65,0x3d,0x22,0x64,0x69,0x73,0x70,0x6c,0x61,
0x79,0x3a,0x20,0x62,0x6c,0x6f,0x63,0x6b,0x3b,0x20,0x68,0x65,0x69,0x67,0x68,0x74,
0x3a,0x20,0x34,0x35,0x70,0x78,0x3b,0x22,0x3e,0x3c,0x2f,0x64,0x69,0x76,0x3e,0x0a
0x2f,0x22,0x20,0x6d,0x65,0x74,0x68,0x6f,0x64,0x3d,0x22,0x47,0x45,0x54,0x22,0x3e,
0x3c,0x69,0x6e,0x70,0x75,0x74,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x73,0x75,0x62,
0x6d,0x69,0x74,0x22,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x4c,0x69,0x62,0x72,
0x61,0x72,0x79,0x22,0x20,0x69,0x64,0x3d,0x22,0x6b,0x69,0x77,0x69,0x78,0x6c,0x69,
0x62,0x72,0x61,0x72,0x79,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x66,0x6f,0x72,0x6d,0x3e,
0x0a,0x20,0x20,0x3c,0x66,0x6f,0x72,0x6d,0x20,0x61,0x63,0x74,0x69,0x6f,0x6e,0x3d,
0x22,0x2f,0x5f,0x5f,0x43,0x4f,0x4e,0x54,0x45,0x4e,0x54,0x5f,0x5f,0x2f,0x22,0x20,
0x6d,0x65,0x74,0x68,0x6f,0x64,0x3d,0x22,0x47,0x45,0x54,0x22,0x3e,0x3c,0x69,0x6e,
0x70,0x75,0x74,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x73,0x75,0x62,0x6d,0x69,0x74,
0x22,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x48,0x6f,0x6d,0x65,0x22,0x20,0x69,
0x64,0x3d,0x22,0x6b,0x69,0x77,0x69,0x78,0x68,0x6f,0x6d,0x65,0x22,0x20,0x2f,0x3e,
0x3c,0x2f,0x66,0x6f,0x72,0x6d,0x3e,0x0a,0x20,0x20,0x3c,0x66,0x6f,0x72,0x6d,0x20,
0x6d,0x65,0x74,0x68,0x6f,0x64,0x3d,0x22,0x47,0x45,0x54,0x22,0x20,0x61,0x63,0x74,
0x69,0x6f,0x6e,0x3d,0x22,0x2f,0x73,0x65,0x61,0x72,0x63,0x68,0x22,0x20,0x69,0x64,
0x3d,0x22,0x6b,0x69,0x77,0x69,0x78,0x73,0x65,0x61,0x72,0x63,0x68,0x66,0x6f,0x72,
0x6d,0x22,0x3e,0x3c,0x69,0x6e,0x70,0x75,0x74,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,
0x68,0x69,0x64,0x64,0x65,0x6e,0x22,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x63,0x6f,
0x6e,0x74,0x65,0x6e,0x74,0x22,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x5f,0x5f,
0x43,0x4f,0x4e,0x54,0x45,0x4e,0x54,0x5f,0x5f,0x22,0x20,0x2f,0x3e,0x3c,0x69,0x6e,
0x70,0x75,0x74,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x73,0x75,0x62,0x6d,0x69,0x74,
0x22,0x20,0x69,0x64,0x3d,0x22,0x6b,0x69,0x77,0x69,0x78,0x73,0x65,0x61,0x72,0x63,
0x68,0x22,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x53,0x65,0x61,0x72,0x63,0x68,
0x22,0x20,0x2f,0x3e,0x3c,0x69,0x6e,0x70,0x75,0x74,0x20,0x74,0x79,0x70,0x65,0x3d,
0x22,0x74,0x65,0x78,0x74,0x22,0x20,0x69,0x64,0x3d,0x22,0x6b,0x69,0x77,0x69,0x78,
0x73,0x65,0x61,0x72,0x63,0x68,0x62,0x6f,0x78,0x22,0x20,0x6e,0x61,0x6d,0x65,0x3d,
0x22,0x70,0x61,0x74,0x74,0x65,0x72,0x6e,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x66,0x6f,
0x72,0x6d,0x3e,0x0a,0x3c,0x2f,0x73,0x70,0x61,0x6e,0x3e,0x0a,0x3c,0x64,0x69,0x76,
0x20,0x73,0x74,0x79,0x6c,0x65,0x3d,0x22,0x64,0x69,0x73,0x70,0x6c,0x61,0x79,0x3a,
0x20,0x62,0x6c,0x6f,0x63,0x6b,0x3b,0x20,0x68,0x65,0x69,0x67,0x68,0x74,0x3a,0x20,
0x34,0x35,0x70,0x78,0x3b,0x22,0x3e,0x3c,0x2f,0x64,0x69,0x76,0x3e,0x0a
};
static std::map<std::string, std::pair<const unsigned char*, unsigned int> > createResourceMap() {

View File

@ -16,8 +16,8 @@
</script>
<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 action="/" method="GET"><input type="submit" value="Library" id="kiwixlibrary" /></form>
<form action="/__CONTENT__/" method="GET"><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>
</span>
<div style="display: block; height: 45px;"></div>