From db194c387fe367d379a3cc4e9dd135426c5e3b4e Mon Sep 17 00:00:00 2001 From: Martynas Date: Fri, 22 Dec 2023 00:30:03 +0100 Subject: [PATCH] Restored document-level `bs2:RowForm` --- .../xsl/bootstrap/2.3.2/client/form.xsl | 24 ++-- .../xsl/bootstrap/2.3.2/document.xsl | 14 +-- .../xsl/bootstrap/2.3.2/resource.xsl | 116 +++++++++--------- .../atomgraph/linkeddatahub/xsl/client.xsl | 20 ++- 4 files changed, 91 insertions(+), 83 deletions(-) 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 dcff4cfed..f7eee93fe 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 @@ -390,11 +390,11 @@ WHERE - + + - + --> @@ -424,10 +424,10 @@ WHERE - + @@ -890,9 +890,7 @@ WHERE - - @@ -901,12 +899,10 @@ WHERE - - @@ -920,23 +916,23 @@ WHERE - + + remove the old form-actions
because we'll be appending a new one below - + remove the current "Create" buttons from the form - + only append the
from the $form, not the whole
- + --> diff --git a/src/main/webapp/static/com/atomgraph/linkeddatahub/xsl/bootstrap/2.3.2/document.xsl b/src/main/webapp/static/com/atomgraph/linkeddatahub/xsl/bootstrap/2.3.2/document.xsl index ea9decc69..cb8ab1f3c 100644 --- a/src/main/webapp/static/com/atomgraph/linkeddatahub/xsl/bootstrap/2.3.2/document.xsl +++ b/src/main/webapp/static/com/atomgraph/linkeddatahub/xsl/bootstrap/2.3.2/document.xsl @@ -648,9 +648,9 @@ extension-element-prefixes="ixsl" - $doc-uri of the constructed document @@ -706,7 +706,7 @@ extension-element-prefixes="ixsl" - show the current document on the top + @@ -714,7 +714,7 @@ extension-element-prefixes="ixsl" - show the rest of the resources (contents, instances) below it + @@ -739,7 +739,7 @@ extension-element-prefixes="ixsl" - --> + @@ -780,7 +780,7 @@ extension-element-prefixes="ixsl" - + diff --git a/src/main/webapp/static/com/atomgraph/linkeddatahub/xsl/bootstrap/2.3.2/resource.xsl b/src/main/webapp/static/com/atomgraph/linkeddatahub/xsl/bootstrap/2.3.2/resource.xsl index 581ac9104..94d1ee834 100644 --- a/src/main/webapp/static/com/atomgraph/linkeddatahub/xsl/bootstrap/2.3.2/resource.xsl +++ b/src/main/webapp/static/com/atomgraph/linkeddatahub/xsl/bootstrap/2.3.2/resource.xsl @@ -552,6 +552,9 @@ extension-element-prefixes="ixsl" + + + @@ -1039,17 +1042,17 @@ extension-element-prefixes="ixsl" - + - + - - - + + + @@ -1069,74 +1072,71 @@ extension-element-prefixes="ixsl" -
+
+ + + + + + - - - - - - - + This form uses RDF/POST encoding: https://atomgraph.github.io/RDF-POST/ + + + + - This form uses RDF/POST encoding: https://atomgraph.github.io/RDF-POST/ - - - - - - - - - - - - - - - + - -
-
- - - -
-
-
+ + + + + + + + -
- +
+ - - + -
- -
+ + + + +
+
diff --git a/src/main/webapp/static/com/atomgraph/linkeddatahub/xsl/client.xsl b/src/main/webapp/static/com/atomgraph/linkeddatahub/xsl/client.xsl index e756d8b41..435541161 100644 --- a/src/main/webapp/static/com/atomgraph/linkeddatahub/xsl/client.xsl +++ b/src/main/webapp/static/com/atomgraph/linkeddatahub/xsl/client.xsl @@ -1270,6 +1270,7 @@ WHERE + @@ -1281,12 +1282,17 @@ WHERE - - + + + + + + + @@ -1307,6 +1313,7 @@ WHERE -->
+ @@ -1318,9 +1325,11 @@ WHERE - + + + @@ -1328,8 +1337,11 @@ WHERE - + + + +