Commit Graph

27 Commits

Author SHA1 Message Date
kelson42 b6a58d1684 Fix wording problem 2017-07-19 21:39:38 +02:00
Matthieu Gautier bc5f4f5de4 Use right contentId to generate the article url in search template.
As we do multisearch, we must use the associated contentID of the result
to generate the url.
2017-07-18 10:04:40 +02:00
Matthieu Gautier 64cc69f6ae Use ctpp2c to generate template from source instead of use generated one.
Fixes #50.
2017-07-12 15:45:44 +02:00
Matthieu Gautier cba71b4e75 Add a new script to compile resources.
- No more dependency to reswrap binary (everything is done in python)
- Resource strings can be directly accessed.
  As side effect, it add a check at compilation if the resource is
  declared and compiled in the binary.
- The resource content can be overwritten at runtime with a env variable.

There is also few clean in the static as some files shoul be in the tools
directory.

The compile_resource script is install to let other project use it.
2016-12-23 13:06:12 +01:00
renaud gaudin 2a8d7fde56 Fixed CTPP2 not working
* Fixed templates
* Changed behavior of getHtml() to use higher level VM API
2013-11-13 19:58:56 +00:00
renaud gaudin d2a2802897 ctpp2 as external lib on unix 2013-08-10 22:14:18 +08:00
kelson42 36f0b977f7 * FIXED: kiwix-serve UI for non-javascript browsers like Dillo (#587) 2013-02-12 18:13:01 +00:00
kelson42 306b7ebbb0 + fix fulltext result page for pattern including mustbeurlencoded characters 2012-12-30 16:55:08 +00:00
kelson42 5b5abceda4 + some fixes in static pages 2012-11-15 14:06:30 +00:00
kelson42 76596f8f35 + improve a few static html templates 2012-11-15 14:00:32 +00:00
kelson42 1823771770 + lang. fix in the result page template 2012-11-10 22:48:30 +00:00
kelson42 508fd68958 + fix small regression in kiwix-serve search engine display 2012-04-24 18:09:09 +00:00
kelson42 8df9c53878 + fix the implementation of the arrows in the search restult page 2011-12-04 15:11:38 +00:00
kelson42 aa9ebdb87e + * Add "First" and "Last" arrows in the search result page (ID: 3442313) 2011-12-04 13:40:22 +00:00
kelson42 03a0316ed6 + remove size of articles in the results 2011-08-16 19:28:45 +00:00
kelson42 4b5126ab75 + template adaptation for using in kiwix-serve 2011-04-08 14:12:39 +00:00
kelson42 8051ad4611 + show "no result were found" ... if no result found. 2011-04-03 11:45:55 +00:00
kelson42 bfd78ed71c + possible now to navigate trhough all the results 2011-04-03 11:32:51 +00:00
kelson42 91dfb75b47 + selected only the current page in the page list at the bottom of each result page 2011-04-03 11:08:35 +00:00
kelson42 47bd414a18 + use now the search:// protocol to navigate in the result pages 2011-03-24 20:36:25 +00:00
kelson42 41217c22d8 + search page navigation 2011-03-22 21:04:41 +00:00
kelson42 5e5eb61fd2 + specify the result page title 2011-03-21 11:18:50 +00:00
kelson42 ef3202dc02 + better search results 2011-03-20 18:47:14 +00:00
kelson42 5056c59747 + imp. of the search results display 2011-03-20 17:59:31 +00:00
kelson42 eece284b17 + do not show wordCount and size if not possible 2011-03-20 13:44:43 +00:00
kelson42 f8dc690771 + improved version of the results template 2011-03-19 18:51:48 +00:00
kelson42 51b605906a + load the result template automaticaly from the skin directory 2011-03-19 10:48:23 +00:00