From 5c8dd0e8d38b583b661e6b718dfee7a84d67a8a1 Mon Sep 17 00:00:00 2001 From: Matthieu Gautier Date: Tue, 7 Nov 2023 11:04:27 +0100 Subject: [PATCH] Move `autoComplete.min.js` and `autoComplete.css` in a subdirectory. This way we can easily identify which files is part of other project. --- static/resources_list.txt | 4 ++-- static/skin/{ => autoComplete}/autoComplete.min.js | 0 .../skin/{ => autoComplete}/css/autoComplete.css | 0 static/viewer.html | 4 ++-- test/server.cpp | 14 +++++++------- 5 files changed, 11 insertions(+), 11 deletions(-) rename static/skin/{ => autoComplete}/autoComplete.min.js (100%) rename static/skin/{ => autoComplete}/css/autoComplete.css (100%) diff --git a/static/resources_list.txt b/static/resources_list.txt index e339a31a4..b9ecb268e 100644 --- a/static/resources_list.txt +++ b/static/resources_list.txt @@ -9,7 +9,7 @@ skin/search-icon.svg skin/iso6391To3.js skin/isotope.pkgd.min.js skin/index.js -skin/autoComplete.min.js +skin/autoComplete/autoComplete.min.js skin/kiwix.css skin/taskbar.css skin/index.css @@ -43,7 +43,7 @@ templates/no_js_download.html opensearchdescription.xml ft_opensearchdescription.xml catalog_v2_searchdescription.xml -skin/css/autoComplete.css +skin/autoComplete/css/autoComplete.css skin/favicon/android-chrome-192x192.png skin/favicon/android-chrome-512x512.png skin/favicon/apple-touch-icon.png diff --git a/static/skin/autoComplete.min.js b/static/skin/autoComplete/autoComplete.min.js similarity index 100% rename from static/skin/autoComplete.min.js rename to static/skin/autoComplete/autoComplete.min.js diff --git a/static/skin/css/autoComplete.css b/static/skin/autoComplete/css/autoComplete.css similarity index 100% rename from static/skin/css/autoComplete.css rename to static/skin/autoComplete/css/autoComplete.css diff --git a/static/viewer.html b/static/viewer.html index 49899723a..99a16c22d 100644 --- a/static/viewer.html +++ b/static/viewer.html @@ -10,12 +10,12 @@ - + - + - + const blankPageUrl = root + "/skin/blank.html?cacheid=6b1fa032"; src="./skin/langSelector.svg?cacheid=00b59961"> @@ -379,7 +379,7 @@ const char* urls404[] = { "/ROOT%23%3", "/ROOT%23%3Fxyz", "/ROOT%23%3F/skin/non-existent-skin-resource", - "/ROOT%23%3F/skin/autoComplete.min.js?cacheid=wrongcacheid", + "/ROOT%23%3F/skin/autoComplete/autoComplete.min.js?cacheid=wrongcacheid", "/ROOT%23%3F/catalog", "/ROOT%23%3F/catalog/", "/ROOT%23%3F/catalog/non-existent-item",