@igea/oac_frontend 1.0.73 → 1.0.75

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@igea/oac_frontend",
3
- "version": "1.0.73",
3
+ "version": "1.0.75",
4
4
  "description": "Frontend service for the OAC project",
5
5
  "main": "src/index.js",
6
6
  "bin": {
@@ -19,10 +19,10 @@ module.exports = function(serviceName) {
19
19
  root: serviceName,
20
20
  title: 'Advanced Search',
21
21
  currentPath: req.baseUrl +req.path,
22
- schema: 'ttl2'
22
+ schema: 'advanced'
23
23
  });
24
24
  res.render('search/advanced.twig', data.toJson());
25
25
  });
26
26
 
27
27
  return router
28
- }
28
+ }
@@ -210,7 +210,7 @@ document.addEventListener('DOMContentLoaded', () => {
210
210
  newForm.id = "shacl-form";
211
211
  newForm.dataset.collapse = "open";
212
212
  newForm.dataset.valuesNamespace = "indagine:";
213
- newForm.dataset.shapesUrl = "/backend/ontology/schema/ttl2";
213
+ newForm.dataset.shapesUrl = "/backend/ontology/schema/editing";
214
214
  newForm.dataset.generateNodeShapeReference = "";
215
215
 
216
216
  //newForm.dataset.editing = edit;
@@ -113,7 +113,7 @@
113
113
  style="margin-top:10px; border:dashed 2px gray; padding:10px; border-radius:5px;">
114
114
  <shacl-form id="shacl-form" data-collapse="open"
115
115
  data-values-namespace="indagine:"
116
- data-shapes-url="/backend/ontology/schema/ttl2"
116
+ data-shapes-url="/backend/ontology/schema/editing"
117
117
  data-generate-node-shape-reference=""
118
118
  ></shacl-form>
119
119
  </div>