From b48dfa18947e96567b691f3044507a266ef605e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martynas=20Jusevi=C4=8Dius?= Date: Mon, 26 Jan 2026 18:32:16 +0100 Subject: [PATCH 01/20] Class tree feature --- platform/datasets/admin.trig | 40 --- .../linkeddatahub/resource/Generate.java | 33 ++- .../com/atomgraph/linkeddatahub/ldh.ttl | 22 ++ .../xsl/bootstrap/2.3.2/client/modal.xsl | 10 +- .../xsl/bootstrap/2.3.2/client/navigation.xsl | 253 +++++++++++++++++- .../xsl/bootstrap/2.3.2/layout.xsl | 13 - .../xsl/bootstrap/2.3.2/translations.rdf | 3 + .../atomgraph/linkeddatahub/xsl/client.xsl | 8 + 8 files changed, 315 insertions(+), 67 deletions(-) diff --git a/platform/datasets/admin.trig b/platform/datasets/admin.trig index 4756fa90b..67aa36f21 100644 --- a/platform/datasets/admin.trig +++ b/platform/datasets/admin.trig @@ -94,46 +94,6 @@ WHERE } - -{ - - a dh:Item ; - sioc:has_container ; - dct:title "Select instances" ; - foaf:primaryTopic . - - a sp:Select ; - dct:title "Select instances" ; - dct:description "Selects instances of type from the default graph" ; - sp:text """SELECT DISTINCT ?s -WHERE - { ?s a $type ; - ?p ?o - }""" . - -} - - -{ - - a dh:Item ; - sioc:has_container ; - dct:title "Select instances in graphs" ; - foaf:primaryTopic . - - a sp:Select ; - dct:title "Select instances in graphs" ; - dct:description "Selects instances of type from named graphs" ; - sp:text """SELECT DISTINCT ?s -WHERE - { GRAPH ?g - { ?s a $type ; - ?p ?o - } - }""" . - -} - { diff --git a/src/main/java/com/atomgraph/linkeddatahub/resource/Generate.java b/src/main/java/com/atomgraph/linkeddatahub/resource/Generate.java index 716289439..cecd10dd6 100644 --- a/src/main/java/com/atomgraph/linkeddatahub/resource/Generate.java +++ b/src/main/java/com/atomgraph/linkeddatahub/resource/Generate.java @@ -18,8 +18,6 @@ import com.atomgraph.core.MediaTypes; import com.atomgraph.linkeddatahub.apps.model.Application; -import com.atomgraph.linkeddatahub.client.GraphStoreClient; -import com.atomgraph.linkeddatahub.imports.QueryLoader; import com.atomgraph.linkeddatahub.server.model.impl.DirectGraphStoreImpl; import com.atomgraph.linkeddatahub.server.security.AgentContext; import com.atomgraph.linkeddatahub.server.util.Skolemizer; @@ -44,8 +42,10 @@ import jakarta.ws.rs.core.Response.Status; import jakarta.ws.rs.core.UriBuilder; import jakarta.ws.rs.core.UriInfo; +import org.apache.jena.ontology.Ontology; import org.apache.jena.query.ParameterizedSparqlString; import org.apache.jena.query.Query; +import org.apache.jena.query.QueryFactory; import org.apache.jena.query.Syntax; import org.apache.jena.rdf.model.Model; import org.apache.jena.rdf.model.ModelFactory; @@ -69,10 +69,11 @@ public class Generate private final UriInfo uriInfo; private final MediaTypes mediaTypes; private final Application application; + private final Ontology ontology; private final Optional agentContext; private final com.atomgraph.linkeddatahub.Application system; private final ResourceContext resourceContext; - + /** * Constructs endpoint for container generation. * @@ -80,18 +81,21 @@ public class Generate * @param uriInfo current URI info * @param mediaTypes supported media types * @param application matched application + * @param ontology ontology of the current application * @param system system application * @param agentContext authenticated agent's context * @param resourceContext resource context for creating resources */ @Inject public Generate(@Context Request request, @Context UriInfo uriInfo, MediaTypes mediaTypes, - com.atomgraph.linkeddatahub.apps.model.Application application, Optional agentContext, + com.atomgraph.linkeddatahub.apps.model.Application application, Optional ontology, Optional agentContext, com.atomgraph.linkeddatahub.Application system, @Context ResourceContext resourceContext) { + if (ontology.isEmpty()) throw new InternalServerErrorException("Ontology is not specified"); this.uriInfo = uriInfo; this.mediaTypes = mediaTypes; this.application = application; + this.ontology = ontology.get(); this.agentContext = agentContext; this.system = system; this.resourceContext = resourceContext; @@ -129,10 +133,13 @@ public Response post(Model model) Resource queryRes = part.getPropertyResourceValue(SPIN.query); if (queryRes == null) throw new BadRequestException("Container query string (spin:query) not provided"); - GraphStoreClient gsc = GraphStoreClient.create(getSystem().getClient(), getSystem().getMediaTypes()). - delegation(getUriInfo().getBaseUri(), getAgentContext().orElse(null)); - QueryLoader queryLoader = new QueryLoader(URI.create(queryRes.getURI()), getApplication().getBase().getURI(), Syntax.syntaxARQ, gsc); - Query query = queryLoader.get(); + // Lookup query in ontology + Resource queryResource = getOntology().getOntModel().getResource(queryRes.getURI()); + if (queryResource == null || !queryResource.hasProperty(SP.text)) + throw new BadRequestException("Query resource not found in ontology: " + queryRes.getURI()); + + String queryString = queryResource.getProperty(SP.text).getString(); + Query query = QueryFactory.create(queryString, Syntax.syntaxARQ); if (!query.isSelectType()) throw new BadRequestException("Container query is not of SELECT type"); ParameterizedSparqlString pss = new ParameterizedSparqlString(query.toString()); @@ -253,6 +260,16 @@ public Application getApplication() return application; } + /** + * Returns the ontology. + * + * @return the ontology + */ + public Ontology getOntology() + { + return ontology; + } + /** * Returns the current URI info. * diff --git a/src/main/resources/com/atomgraph/linkeddatahub/ldh.ttl b/src/main/resources/com/atomgraph/linkeddatahub/ldh.ttl index 589ae75b9..caa46a07f 100644 --- a/src/main/resources/com/atomgraph/linkeddatahub/ldh.ttl +++ b/src/main/resources/com/atomgraph/linkeddatahub/ldh.ttl @@ -493,6 +493,28 @@ ORDER BY ?title """ ; rdfs:isDefinedBy : . +:SelectInstances a sp:Select ; + rdfs:label "Select instances" ; + dct:description "Selects instances of type from the default graph" ; + sp:text """SELECT DISTINCT ?s +WHERE + { ?s a $type ; + ?p ?o + }""" ; + rdfs:isDefinedBy : . + +:SelectInstancesInGraphs a sp:Select ; + rdfs:label "Select instances in graphs" ; + dct:description "Selects instances of type from named graphs" ; + sp:text """SELECT DISTINCT ?s +WHERE + { GRAPH ?g + { ?s a $type ; + ?p ?o + } + }""" ; + rdfs:isDefinedBy : . + :ChildrenView a :View ; rdfs:label "Children view" ; spin:query :SelectChildren ; diff --git a/src/main/webapp/static/com/atomgraph/linkeddatahub/xsl/bootstrap/2.3.2/client/modal.xsl b/src/main/webapp/static/com/atomgraph/linkeddatahub/xsl/bootstrap/2.3.2/client/modal.xsl index 97a4e39c8..091c3a4af 100644 --- a/src/main/webapp/static/com/atomgraph/linkeddatahub/xsl/bootstrap/2.3.2/client/modal.xsl +++ b/src/main/webapp/static/com/atomgraph/linkeddatahub/xsl/bootstrap/2.3.2/client/modal.xsl @@ -59,7 +59,7 @@ ORDER BY DESC(COUNT(?s)) LIMIT 10 ]]> - + @@ -1369,16 +1369,16 @@ LIMIT 10 - + - + - + - + - + @@ -509,6 +510,62 @@ LIMIT 10 ldh:class-tree-response + + + + + + + + + + + + + + + + + + + + + No class types found + + + + + + + + Error loading class types from sparql endpoint + + + + + + + + + + + + + + + + + ldh:class-tree-describe-response + @@ -518,7 +575,8 @@ LIMIT 10 - + + @@ -528,8 +586,9 @@ LIMIT 10 - Error loading class tree + Error loading class descriptions from ns endpoint + @@ -539,10 +598,19 @@ LIMIT 10 + + + +
  • From e571977340d4cb6d07e988047f377cfab8aaf66d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martynas=20Jusevi=C4=8Dius?= Date: Sun, 8 Feb 2026 23:23:50 +0100 Subject: [PATCH 03/20] IXSL fixes --- .../atomgraph/linkeddatahub/Application.java | 2 - .../atomgraph/linkeddatahub/css/bootstrap.css | 1 + .../xsl/bootstrap/2.3.2/client/block/view.xsl | 6 +- .../xsl/bootstrap/2.3.2/client/functions.xsl | 2 +- .../xsl/bootstrap/2.3.2/client/navigation.xsl | 195 +++++++++++------- .../2.3.2/client/query-transforms.xsl | 4 + .../xsl/bootstrap/2.3.2/translations.rdf | 3 - .../atomgraph/linkeddatahub/xsl/client.xsl | 2 +- 8 files changed, 131 insertions(+), 84 deletions(-) diff --git a/src/main/java/com/atomgraph/linkeddatahub/Application.java b/src/main/java/com/atomgraph/linkeddatahub/Application.java index 0a5851110..ac7c6dba8 100644 --- a/src/main/java/com/atomgraph/linkeddatahub/Application.java +++ b/src/main/java/com/atomgraph/linkeddatahub/Application.java @@ -16,7 +16,6 @@ */ package com.atomgraph.linkeddatahub; -import com.atomgraph.linkeddatahub.server.mapper.ResourceExistsExceptionMapper; import com.atomgraph.linkeddatahub.server.mapper.HttpHostConnectExceptionMapper; import com.atomgraph.linkeddatahub.server.mapper.InternalURLExceptionMapper; import com.atomgraph.linkeddatahub.server.mapper.MessagingExceptionMapper; @@ -1104,7 +1103,6 @@ protected void registerExceptionMappers() register(WebIDDelegationExceptionMapper.class); register(WebIDLoadingExceptionMapper.class); register(TokenExpiredExceptionMapper.class); - register(ResourceExistsExceptionMapper.class); register(QueryParseExceptionMapper.class); register(AuthenticationExceptionMapper.class); register(ForbiddenExceptionMapper.class); diff --git a/src/main/webapp/static/com/atomgraph/linkeddatahub/css/bootstrap.css b/src/main/webapp/static/com/atomgraph/linkeddatahub/css/bootstrap.css index 66155e480..5a9b23e5f 100644 --- a/src/main/webapp/static/com/atomgraph/linkeddatahub/css/bootstrap.css +++ b/src/main/webapp/static/com/atomgraph/linkeddatahub/css/bootstrap.css @@ -37,6 +37,7 @@ button.btn.create-action { height: 30px; } a.external::after { content: "⤴"; padding-left: 0.2em; } a.btn.create-action { height: 20px; } .create-resource .btn.create-action { margin-top: 1em; } +.btn-class { background: inherit; } .btn-group.open .btn.dropdown-toggle.create-action { background-image: url('../icons/ic_note_add_black_24px.svg'); } li button.btn-edit-constructors, li button.btn-add-data, li button.btn-add-ontology, li button.btn-generate-containers { text-align: left; width: 100%; background-color: inherit; } .btn-container { background-image: url('../icons/folder.svg'); } diff --git a/src/main/webapp/static/com/atomgraph/linkeddatahub/xsl/bootstrap/2.3.2/client/block/view.xsl b/src/main/webapp/static/com/atomgraph/linkeddatahub/xsl/bootstrap/2.3.2/client/block/view.xsl index 3ebcc4766..56a81a38e 100644 --- a/src/main/webapp/static/com/atomgraph/linkeddatahub/xsl/bootstrap/2.3.2/client/block/view.xsl +++ b/src/main/webapp/static/com/atomgraph/linkeddatahub/xsl/bootstrap/2.3.2/client/block/view.xsl @@ -699,8 +699,10 @@ exclude-result-prefixes="#all" - - + + + + $initial-load: diff --git a/src/main/webapp/static/com/atomgraph/linkeddatahub/xsl/bootstrap/2.3.2/client/functions.xsl b/src/main/webapp/static/com/atomgraph/linkeddatahub/xsl/bootstrap/2.3.2/client/functions.xsl index 5731d47c9..73705d3b1 100644 --- a/src/main/webapp/static/com/atomgraph/linkeddatahub/xsl/bootstrap/2.3.2/client/functions.xsl +++ b/src/main/webapp/static/com/atomgraph/linkeddatahub/xsl/bootstrap/2.3.2/client/functions.xsl @@ -93,7 +93,7 @@ exclude-result-prefixes="#all"
    - + diff --git a/src/main/webapp/static/com/atomgraph/linkeddatahub/xsl/bootstrap/2.3.2/client/navigation.xsl b/src/main/webapp/static/com/atomgraph/linkeddatahub/xsl/bootstrap/2.3.2/client/navigation.xsl index f90940d19..a84c49a31 100644 --- a/src/main/webapp/static/com/atomgraph/linkeddatahub/xsl/bootstrap/2.3.2/client/navigation.xsl +++ b/src/main/webapp/static/com/atomgraph/linkeddatahub/xsl/bootstrap/2.3.2/client/navigation.xsl @@ -569,20 +569,34 @@ LIMIT 10 - - - - - - - - - - - + - + + + + + + + + + + + + + + + + + + + + + + + + + @@ -596,73 +610,64 @@ LIMIT 10 - + - - - +
  • - -
  • - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + - + + + + + + + + + + + - + @@ -672,8 +677,8 @@ LIMIT 10 - - + + @@ -698,11 +703,15 @@ LIMIT 10 + - + + + + + ldh:class-instances-response @@ -724,14 +737,33 @@ LIMIT 10 - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -741,6 +773,7 @@ LIMIT 10 Error loading instances for class: + @@ -757,4 +790,16 @@ LIMIT 10 + + + + + + + + + + + + \ No newline at end of file diff --git a/src/main/webapp/static/com/atomgraph/linkeddatahub/xsl/bootstrap/2.3.2/client/query-transforms.xsl b/src/main/webapp/static/com/atomgraph/linkeddatahub/xsl/bootstrap/2.3.2/client/query-transforms.xsl index 4d0172236..c78f5bb72 100644 --- a/src/main/webapp/static/com/atomgraph/linkeddatahub/xsl/bootstrap/2.3.2/client/query-transforms.xsl +++ b/src/main/webapp/static/com/atomgraph/linkeddatahub/xsl/bootstrap/2.3.2/client/query-transforms.xsl @@ -107,6 +107,10 @@ extension-element-prefixes="ixsl" + + + + diff --git a/src/main/webapp/static/com/atomgraph/linkeddatahub/xsl/bootstrap/2.3.2/translations.rdf b/src/main/webapp/static/com/atomgraph/linkeddatahub/xsl/bootstrap/2.3.2/translations.rdf index 1070e80f7..a7dfaff31 100644 --- a/src/main/webapp/static/com/atomgraph/linkeddatahub/xsl/bootstrap/2.3.2/translations.rdf +++ b/src/main/webapp/static/com/atomgraph/linkeddatahub/xsl/bootstrap/2.3.2/translations.rdf @@ -353,9 +353,6 @@ Document tree - - Classes - Reconcile this resource against resources in the selected service 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 03763b2ac..1d7548d37 100644 --- a/src/main/webapp/static/com/atomgraph/linkeddatahub/xsl/client.xsl +++ b/src/main/webapp/static/com/atomgraph/linkeddatahub/xsl/client.xsl @@ -286,7 +286,7 @@ WHERE - + From 195f0038b4044aa4122dd0c89b6b9cb6d7c15623 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martynas=20Jusevi=C4=8Dius?= Date: Mon, 9 Feb 2026 12:22:45 +0100 Subject: [PATCH 04/20] Navigation fixes --- .../xsl/bootstrap/2.3.2/client/navigation.xsl | 340 +++++++++++++++--- .../2.3.2/client/query-transforms.xsl | 4 - .../atomgraph/linkeddatahub/xsl/client.xsl | 20 +- 3 files changed, 292 insertions(+), 72 deletions(-) diff --git a/src/main/webapp/static/com/atomgraph/linkeddatahub/xsl/bootstrap/2.3.2/client/navigation.xsl b/src/main/webapp/static/com/atomgraph/linkeddatahub/xsl/bootstrap/2.3.2/client/navigation.xsl index a84c49a31..7aa3dc55b 100644 --- a/src/main/webapp/static/com/atomgraph/linkeddatahub/xsl/bootstrap/2.3.2/client/navigation.xsl +++ b/src/main/webapp/static/com/atomgraph/linkeddatahub/xsl/bootstrap/2.3.2/client/navigation.xsl @@ -73,43 +73,8 @@ LIMIT 10 -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • + - -
    +
    @@ -101,6 +121,26 @@ LIMIT 10
    + + +
    + + + +
    @@ -755,7 +795,7 @@ LIMIT 10 - + @@ -814,7 +854,7 @@ LIMIT 10 - + @@ -833,14 +873,18 @@ LIMIT 10
    @@ -850,20 +894,28 @@ LIMIT 10 + + + + + - + + - + - + + + @@ -886,6 +938,12 @@ LIMIT 10 + + + + + + @@ -896,16 +954,16 @@ LIMIT 10 - - + + ldh:class-instances-response @@ -932,31 +991,14 @@ LIMIT 10 - - - - - - - - - - + - - + @@ -968,6 +1010,7 @@ LIMIT 10 + @@ -986,21 +1029,18 @@ LIMIT 10 - - - - - - - + + + - - + + + - - + + @@ -1013,9 +1053,7 @@ LIMIT 10 - + @@ -1026,6 +1064,7 @@ LIMIT 10 + @@ -1036,21 +1075,18 @@ LIMIT 10 on-failure="ldh:promise-failure#1"/> - - - - - - - + + + - - + + + - - + + @@ -1063,9 +1099,7 @@ LIMIT 10 - + @@ -1076,6 +1110,7 @@ LIMIT 10 + @@ -1086,21 +1121,18 @@ LIMIT 10 on-failure="ldh:promise-failure#1"/> - - + + Modal container-order handler triggered - - - - - + + - - - - + + + + @@ -1115,9 +1147,7 @@ LIMIT 10 - + @@ -1128,6 +1158,7 @@ LIMIT 10 + @@ -1139,20 +1170,16 @@ LIMIT 10 - - Modal order-by button handler triggered - - - - - + + + - - - - + + + + @@ -1165,9 +1192,7 @@ LIMIT 10 - + @@ -1178,6 +1203,7 @@ LIMIT 10 + @@ -1191,20 +1217,17 @@ LIMIT 10 - - - Modal view mode handler triggered - - - - - + + + + View mode handler triggered for + - - - - + + + + @@ -1226,6 +1249,7 @@ LIMIT 10 + @@ -1236,40 +1260,339 @@ LIMIT 10 on-failure="ldh:promise-failure#1"/> - - - - - - - - + + + - + + + - - -
  • - - - -
  • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - + + + + + + - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ldh:geo-resources-response + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Error loading geo resources + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ldh:latest-resources-response + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Error loading latest resources + + + + + + + + + \ No newline at end of file diff --git a/src/main/webapp/static/com/atomgraph/linkeddatahub/xsl/bootstrap/2.3.2/translations.rdf b/src/main/webapp/static/com/atomgraph/linkeddatahub/xsl/bootstrap/2.3.2/translations.rdf index a7dfaff31..df130e8df 100644 --- a/src/main/webapp/static/com/atomgraph/linkeddatahub/xsl/bootstrap/2.3.2/translations.rdf +++ b/src/main/webapp/static/com/atomgraph/linkeddatahub/xsl/bootstrap/2.3.2/translations.rdf @@ -104,6 +104,10 @@ Geo Geo + + Other + Otro + Files Archivos 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 56c85c3ff..3f0ec1505 100644 --- a/src/main/webapp/static/com/atomgraph/linkeddatahub/xsl/client.xsl +++ b/src/main/webapp/static/com/atomgraph/linkeddatahub/xsl/client.xsl @@ -591,9 +591,19 @@ WHERE + + + + + + + + + - - + + + From 4d0cb94f34359f01e48c5ca7b78648295dc4d148 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martynas=20Jusevi=C4=8Dius?= Date: Thu, 12 Feb 2026 00:03:11 +0100 Subject: [PATCH 12/20] View template refactoring --- .../atomgraph/linkeddatahub/css/bootstrap.css | 7 +- .../xsl/bootstrap/2.3.2/client/block.xsl | 31 +- .../bootstrap/2.3.2/client/block/object.xsl | 5 + .../xsl/bootstrap/2.3.2/client/block/view.xsl | 350 +++++++++--------- .../xsl/bootstrap/2.3.2/client/functions.xsl | 2 + .../xsl/bootstrap/2.3.2/client/navigation.xsl | 87 ++--- 6 files changed, 255 insertions(+), 227 deletions(-) diff --git a/src/main/webapp/static/com/atomgraph/linkeddatahub/css/bootstrap.css b/src/main/webapp/static/com/atomgraph/linkeddatahub/css/bootstrap.css index 322228af6..8009fd3ee 100644 --- a/src/main/webapp/static/com/atomgraph/linkeddatahub/css/bootstrap.css +++ b/src/main/webapp/static/com/atomgraph/linkeddatahub/css/bootstrap.css @@ -50,8 +50,6 @@ li button.btn-edit-constructors, li button.btn-add-data, li button.btn-add-ontol .btn-import { background-image: url('../icons/ic_transform_black_24px.svg'); } .btn-chart { background-image: url('../icons/ic_show_chart_black_24px.svg'); } .btn-view { background-image: url('../icons/ic_view_list_black_24px.svg'); } -.btn-latest { background-image: url('../icons/ic_new_releases_black_24px.svg'); } -.btn-geo { background-image: url('../icons/ic_location_on_black_24px.svg'); } .btn-logo { background-position: left; background-repeat: no-repeat; padding-left: 32px; } .dropdown-menu .btn-logo { background-position: 12px center; padding-left: 40px; } .btn.btn-toggle-content { font-size: 0; color: transparent; background-image: url('../icons/baseline-expand_less-24px.svg'); background-position: center center; background-repeat: no-repeat; width: 48px; } @@ -92,9 +90,12 @@ li button.btn-edit-constructors, li button.btn-add-data, li button.btn-add-ontol #left-sidebar .nav { max-height: 20em; overflow: auto; } } #left-sidebar .nav-list > li > a { margin-left: 0; margin-right: 0; } -#left-sidebar .nav-list > li > a.btn-container, #left-sidebar .nav-list > li > a.btn-app, #left-sidebar .nav-list > li > a.btn-chart, #left-sidebar .nav-list > li > a.btn-file, #left-sidebar .nav-list > li > a.btn-geo, #left-sidebar .nav-list > li > a.btn-import, #left-sidebar .nav-list > li > a.btn-latest, #left-sidebar .nav-list > li > a.btn-query, #left-sidebar .nav-list > li > a.btn-service { padding-left: 24px; } +#left-sidebar .nav-list > li > a.btn-container #left-sidebar li { max-height: 20em; overflow: auto; } #left-sidebar li > a { display: inline-block; } +#left-sidebar .btn-latest { background-image: url('../icons/ic_new_releases_black_24px.svg'); background-color: inherit; } +#left-sidebar .btn-geo { background-image: url('../icons/ic_location_on_black_24px.svg'); background-color: inherit; } + .btn.btn-expand-tree { height: 24px; width: 24px; background-image: url('../icons/expand_more_black_24dp.svg'); } .btn.btn-expand-tree:hover, .btn.btn-expand-tree:focus { background-position: 0 0; } .btn.btn-expanded-tree { height: 24px; width: 24px; background-image: url('../icons/chevron_right_black_24dp.svg'); } 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 1060d7ba2..cb41f0b97 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 @@ -454,7 +454,36 @@ exclude-result-prefixes="#all" - + + + + + + ldh:update-progress % + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/main/webapp/static/com/atomgraph/linkeddatahub/xsl/bootstrap/2.3.2/client/block/object.xsl b/src/main/webapp/static/com/atomgraph/linkeddatahub/xsl/bootstrap/2.3.2/client/block/object.xsl index 5113857fa..56b0d1d5d 100644 --- a/src/main/webapp/static/com/atomgraph/linkeddatahub/xsl/bootstrap/2.3.2/client/block/object.xsl +++ b/src/main/webapp/static/com/atomgraph/linkeddatahub/xsl/bootstrap/2.3.2/client/block/object.xsl @@ -304,6 +304,11 @@ exclude-result-prefixes="#all" + + + + + diff --git a/src/main/webapp/static/com/atomgraph/linkeddatahub/xsl/bootstrap/2.3.2/client/block/view.xsl b/src/main/webapp/static/com/atomgraph/linkeddatahub/xsl/bootstrap/2.3.2/client/block/view.xsl index c32dd7134..b480569ee 100644 --- a/src/main/webapp/static/com/atomgraph/linkeddatahub/xsl/bootstrap/2.3.2/client/block/view.xsl +++ b/src/main/webapp/static/com/atomgraph/linkeddatahub/xsl/bootstrap/2.3.2/client/block/view.xsl @@ -74,16 +74,6 @@ exclude-result-prefixes="#all" - - ldh:RenderRow - cache: - - - - - - - @@ -130,24 +120,31 @@ exclude-result-prefixes="#all" ixsl:http-request($context('request')) => ixsl:then(ldh:rethread-response($context, ?)) => ixsl:then(ldh:handle-response#1) => - ixsl:then(ldh:view-query-response#1) + ixsl:then(ldh:view-query-response#1) => + ixsl:then(ldh:update-progress(?, 33)) "/> - + ldh:view-results-thunk @@ -157,6 +154,8 @@ exclude-result-prefixes="#all" + ldh:load-object-metadata + @@ -200,12 +199,14 @@ exclude-result-prefixes="#all" - + + ldh:set-object-metadata + @@ -219,7 +220,7 @@ exclude-result-prefixes="#all" - + @@ -497,7 +498,6 @@ exclude-result-prefixes="#all" - @@ -508,10 +508,6 @@ exclude-result-prefixes="#all" - - - - @@ -534,7 +530,6 @@ exclude-result-prefixes="#all" + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - @@ -708,7 +742,6 @@ exclude-result-prefixes="#all" - @@ -822,13 +855,8 @@ exclude-result-prefixes="#all"
    - - - @@ -1140,7 +1168,7 @@ exclude-result-prefixes="#all" - + @@ -1151,9 +1179,7 @@ exclude-result-prefixes="#all" - - - + @@ -1169,9 +1195,8 @@ exclude-result-prefixes="#all"
    - + - @@ -1181,6 +1206,7 @@ exclude-result-prefixes="#all" + - - + - - - - - - - - - - + + + + + - - - - - + + + + - - - - + + + + - @@ -1233,7 +1251,8 @@ exclude-result-prefixes="#all" - + + - - + - - - - - - - - - - + + + + + - - - - - + + + + - + - - + + - @@ -1285,48 +1296,44 @@ exclude-result-prefixes="#all" - + + - + - + - - - - - - - - - + + + + + - - - - - + + + + + - + - + - @@ -1336,47 +1343,44 @@ exclude-result-prefixes="#all" - + + - + - + - - - - - - - + + + + + - - - - - + + + + - - - + + + - @@ -1386,20 +1390,21 @@ exclude-result-prefixes="#all" - + + - + - + - + @@ -1408,8 +1413,7 @@ exclude-result-prefixes="#all" - - + @@ -1432,9 +1436,19 @@ exclude-result-prefixes="#all" - - - + + + + + + + + + + + + + @@ -1496,7 +1510,7 @@ exclude-result-prefixes="#all" - + @@ -1508,11 +1522,9 @@ exclude-result-prefixes="#all" - - - - - + + + @@ -1527,9 +1539,8 @@ exclude-result-prefixes="#all" - + - @@ -1539,7 +1550,8 @@ exclude-result-prefixes="#all" - + + - + @@ -1558,11 +1570,9 @@ exclude-result-prefixes="#all" - - - - - + + + @@ -1577,9 +1587,8 @@ exclude-result-prefixes="#all" - + - @@ -1589,7 +1598,8 @@ exclude-result-prefixes="#all" - + + - ldh:view-query-response $cache: + ldh:view-query-response @@ -1650,11 +1660,8 @@ exclude-result-prefixes="#all" - - - - - + + @@ -1673,23 +1680,21 @@ exclude-result-prefixes="#all" - - - - - - - - - - - - - - - - + + + + + + + + + + + + + +
    @@ -1748,10 +1753,7 @@ exclude-result-prefixes="#all" - - - - + ldh:render-view @@ -1817,11 +1819,13 @@ exclude-result-prefixes="#all" - + + + - + diff --git a/src/main/webapp/static/com/atomgraph/linkeddatahub/xsl/bootstrap/2.3.2/client/functions.xsl b/src/main/webapp/static/com/atomgraph/linkeddatahub/xsl/bootstrap/2.3.2/client/functions.xsl index 73705d3b1..1b0e1f2e4 100644 --- a/src/main/webapp/static/com/atomgraph/linkeddatahub/xsl/bootstrap/2.3.2/client/functions.xsl +++ b/src/main/webapp/static/com/atomgraph/linkeddatahub/xsl/bootstrap/2.3.2/client/functions.xsl @@ -495,6 +495,8 @@ exclude-result-prefixes="#all" + ldh:handle-response + diff --git a/src/main/webapp/static/com/atomgraph/linkeddatahub/xsl/bootstrap/2.3.2/client/navigation.xsl b/src/main/webapp/static/com/atomgraph/linkeddatahub/xsl/bootstrap/2.3.2/client/navigation.xsl index a0905e808..46198af02 100644 --- a/src/main/webapp/static/com/atomgraph/linkeddatahub/xsl/bootstrap/2.3.2/client/navigation.xsl +++ b/src/main/webapp/static/com/atomgraph/linkeddatahub/xsl/bootstrap/2.3.2/client/navigation.xsl @@ -1032,32 +1032,27 @@ ORDER BY DESC(?created) - - - - + + - - - - - + + + + - - + - @@ -1067,6 +1062,7 @@ ORDER BY DESC(?created) + - - - - + + - - - - - + + + + - - + - @@ -1113,6 +1104,7 @@ ORDER BY DESC(?created) + Modal container-order handler triggered - - - + - - + + - - - - - + + + + + - - + - @@ -1161,6 +1149,7 @@ ORDER BY DESC(?created) + - - - + + + - - - - - + + + + - - + - @@ -1206,6 +1192,7 @@ ORDER BY DESC(?created) + - + - @@ -1252,6 +1238,7 @@ ORDER BY DESC(?created) + - - - - - - - - - - + - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/main/webapp/static/com/atomgraph/linkeddatahub/xsl/bootstrap/2.3.2/client/block/view.xsl b/src/main/webapp/static/com/atomgraph/linkeddatahub/xsl/bootstrap/2.3.2/client/block/view.xsl index b480569ee..a7600a5bd 100644 --- a/src/main/webapp/static/com/atomgraph/linkeddatahub/xsl/bootstrap/2.3.2/client/block/view.xsl +++ b/src/main/webapp/static/com/atomgraph/linkeddatahub/xsl/bootstrap/2.3.2/client/block/view.xsl @@ -1168,60 +1168,84 @@ exclude-result-prefixes="#all" - - + + BLOCK DELEGATION: view-mode handler triggered + - - - - + BLOCK DELEGATION: block URI = - - - - - - - - + BLOCK DELEGATION: cache found: - - - - - - - - + + + + - - - - - - - - - - - - - + - + + BLOCK DELEGATION: pager previous triggered + + + BLOCK DELEGATION: block URI = + + BLOCK DELEGATION: cache found: + + + + - + - - - + + BLOCK DELEGATION: pager next triggered + + BLOCK DELEGATION: block URI = + BLOCK DELEGATION: cache found: + + + + + + + + + + BLOCK DELEGATION: container-order triggered + + + BLOCK DELEGATION: block URI = + + BLOCK DELEGATION: cache found: + + + + + + + + + + + BLOCK DELEGATION: btn-order-by triggered + + + BLOCK DELEGATION: block URI = + + BLOCK DELEGATION: cache found: + + + + + + + + + + @@ -1251,7 +1275,7 @@ exclude-result-prefixes="#all" - + - - + - - - - + + @@ -1296,7 +1317,7 @@ exclude-result-prefixes="#all" - + - - + - - - + + - @@ -1343,7 +1361,7 @@ exclude-result-prefixes="#all" - + - - - + - - - + + - @@ -1390,7 +1404,7 @@ exclude-result-prefixes="#all" - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/main/webapp/static/com/atomgraph/linkeddatahub/xsl/bootstrap/2.3.2/client/navigation.xsl b/src/main/webapp/static/com/atomgraph/linkeddatahub/xsl/bootstrap/2.3.2/client/navigation.xsl index 46198af02..f3a1de50b 100644 --- a/src/main/webapp/static/com/atomgraph/linkeddatahub/xsl/bootstrap/2.3.2/client/navigation.xsl +++ b/src/main/webapp/static/com/atomgraph/linkeddatahub/xsl/bootstrap/2.3.2/client/navigation.xsl @@ -873,9 +873,13 @@ ORDER BY DESC(?created)