libkiwix/static/templates
Veloman Yunkan 3b9f28b2b5 Applied cache-id to search_results.css
The story of search_results.css

static/skin/search_results.css was extracted from
static/templates/no_search_result.html before the latter was dropped.

static/templates/no_search_result.html in turn seems to be a copied and
edited version of static/templates/search_result.html.

In the context of exploratory work on the internationalization of
kiwix-serve (PR #679) I noticed duplication of inline CSS across those
two templates and intended to eliminated it. That goal was not fully
accomplished (static/templates/search_result.html remained untouched)
because by that time PR #679 grew too big and the efforts were diverted
into splitting it into smaller ones. Thus search_results.css slipped
into one of those small PRs, without making much sense because nothing
really justifies preserving custom CSS in the "Fulltext search unavailable"
error page.

At the same time, it served as the only case where a link to a cacheable
resource is generated in C++ code (rather than found in a template).
This poses certain problems to the handling of cache-ids. A workaround
is to expel the URL into a template so that it is processed by
`kiwix-resources`. This commit merely demonstrates that solution. But
whether it should be preserved (or rather the "Fulltext search
unavailable" page should be deprived of CSS) is questionable.
2022-05-02 20:37:22 +04:00
..
captured_external.html Typo fix in error message 2021-02-09 09:38:18 +01:00
catalog_entries.xml Added <dc:issued> field to OPDS entries 2022-02-19 11:35:44 +04:00
catalog_v2_categories.xml Moved OPDS templates under static/templates 2021-06-08 20:37:00 +04:00
catalog_v2_entries.xml Added <dc:issued> field to OPDS entries 2022-02-19 11:35:44 +04:00
catalog_v2_entry.xml Added <dc:issued> field to OPDS entries 2022-02-19 11:35:44 +04:00
catalog_v2_languages.xml added use of lang and category api for select boxes on welcome page 2021-08-07 02:39:50 +05:30
catalog_v2_root.xml Added partial entries feed to the OPDS root feed 2021-09-09 12:19:22 +04:00
error.html Added an optional CSS link to error.html 2022-04-05 20:49:09 +04:00
external_blocker_part.html moved blockExternalLink outside of taskbar 2020-03-27 11:25:39 +00:00
head_taskbar.html Preprocessing of template resources 2022-05-02 20:37:22 +04:00
index.html Preprocessing of template resources 2022-05-02 20:37:22 +04:00
search_result.html Correctly display searchpattern in search result page. 2022-03-29 14:05:45 +02:00
suggestion.json adding kind and path attributes to suggest response object and using it in autocomplete 2021-04-07 21:04:33 +05:30
taskbar_part.html Preprocessing of template resources 2022-05-02 20:37:22 +04:00
url_of_search_results_css Applied cache-id to search_results.css 2022-05-02 20:37:22 +04:00