From 042e35bfedea7908d66a7a8d652071d7df5af3e6 Mon Sep 17 00:00:00 2001 From: Martynas Date: Sun, 17 Nov 2024 19:12:36 +0100 Subject: [PATCH] Attempt to handle `.btn-cancel` with a single template in form.xsl --- .../xsl/bootstrap/2.3.2/client/block.xsl | 24 +++++++++---------- .../bootstrap/2.3.2/client/block/chart.xsl | 6 ++--- .../xsl/bootstrap/2.3.2/client/form.xsl | 6 ----- 3 files changed, 15 insertions(+), 21 deletions(-) diff --git a/src/main/webapp/static/com/atomgraph/linkeddatahub/xsl/bootstrap/2.3.2/client/block.xsl b/src/main/webapp/static/com/atomgraph/linkeddatahub/xsl/bootstrap/2.3.2/client/block.xsl index f9828bf0f..68af50e34 100644 --- a/src/main/webapp/static/com/atomgraph/linkeddatahub/xsl/bootstrap/2.3.2/client/block.xsl +++ b/src/main/webapp/static/com/atomgraph/linkeddatahub/xsl/bootstrap/2.3.2/client/block.xsl @@ -257,14 +257,14 @@ exclude-result-prefixes="#all" - + + restore existing block @@ -276,44 +276,44 @@ exclude-result-prefixes="#all" - + remove block that hasn't been saved yet - + --> - + + resource block - + updating existing block - - + - + remove content that hasn't been saved yet - + --> diff --git a/src/main/webapp/static/com/atomgraph/linkeddatahub/xsl/bootstrap/2.3.2/client/block/chart.xsl b/src/main/webapp/static/com/atomgraph/linkeddatahub/xsl/bootstrap/2.3.2/client/block/chart.xsl index 80ec053b3..df2b1b9c5 100644 --- a/src/main/webapp/static/com/atomgraph/linkeddatahub/xsl/bootstrap/2.3.2/client/block/chart.xsl +++ b/src/main/webapp/static/com/atomgraph/linkeddatahub/xsl/bootstrap/2.3.2/client/block/chart.xsl @@ -557,7 +557,7 @@ exclude-result-prefixes="#all" - + + not using ldh:base-uri(.) because it goes stale when DOM is replaced @@ -578,7 +578,7 @@ exclude-result-prefixes="#all" - + --> diff --git a/src/main/webapp/static/com/atomgraph/linkeddatahub/xsl/bootstrap/2.3.2/client/form.xsl b/src/main/webapp/static/com/atomgraph/linkeddatahub/xsl/bootstrap/2.3.2/client/form.xsl index dfbe79dc5..4eed578a1 100644 --- a/src/main/webapp/static/com/atomgraph/linkeddatahub/xsl/bootstrap/2.3.2/client/form.xsl +++ b/src/main/webapp/static/com/atomgraph/linkeddatahub/xsl/bootstrap/2.3.2/client/form.xsl @@ -433,14 +433,8 @@ WHERE - ixsl:get(., 'baseURI'): - ldh:base-uri(.): - ixsl:location(): - - $block: - $block-html: