From a162fb4bd3e1933d8461bd20a18518e2bcd3efdd Mon Sep 17 00:00:00 2001 From: Dominik Csapak Date: Mon, 6 Sep 2021 12:19:08 +0200 Subject: [PATCH] ui: add version to extjs script urls So that we circumvent browsers caching 6.0 extjs js/css this should (at least for new users upgrading) fix the browser caching issue for extjs (we had some now in the forums) I did it this way since we do not often change version of the extjs package (since its a big task everytime anyway), but if wanted i can do it differently. e.g.: * hardcode it in the perl code * generate it during the build (also for the control file) But this is fine for ExtJS as we rarely update that and especially for major releases we would need to adapt stuff anyway Also bump the versioned dependency on extjs to 7.0.0 in the Debian control file. Signed-off-by: Dominik Csapak Signed-off-by: Thomas Lamprecht --- debian/control | 2 +- www/index.html.tpl | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/debian/control b/debian/control index ce0a54c7..7b4e1b3c 100644 --- a/debian/control +++ b/debian/control @@ -44,7 +44,7 @@ Depends: apt-transport-https | apt (>= 1.5~), libcrypt-ssleay-perl, libfile-readbackwards-perl, libfilesys-df-perl, - libjs-extjs (>= 6.0.1), + libjs-extjs (>= 7.0.0), libjson-perl, liblwp-protocol-https-perl, libnet-dns-perl, diff --git a/www/index.html.tpl b/www/index.html.tpl index fd087799..7f07ea18 100644 --- a/www/index.html.tpl +++ b/www/index.html.tpl @@ -7,8 +7,8 @@ [% nodename %] - Proxmox Virtual Environment - - + + @@ -18,11 +18,11 @@ [% END %] [%- IF debug %] - - + + [%- ELSE %] - - + + [% END %] @@ -36,7 +36,7 @@ - +