Skip to content

Commit

Permalink
Integrate multi-lang (#13) within subrecords (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastiano-G committed Apr 2, 2024
1 parent 22c7d71 commit 2b4f5bf
Show file tree
Hide file tree
Showing 4 changed files with 209 additions and 108 deletions.
1 change: 1 addition & 0 deletions forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ def get_form(json_form, from_dict=False, subtemplate=False):
lang=conf.mainLang) , )
else:
params = params + (form.Textbox(myid,
type='text',
description = description,
id=myid,
placeholder=placeholder,
Expand Down
48 changes: 32 additions & 16 deletions setup.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
"value":"Literal",
"defaultvalue":"CLEF",
"disambiguate":"False",
"browse":"False"
"browse":"False",
"hidden": "False"
},
{
"type":"Textbox",
Expand All @@ -29,7 +30,8 @@
"value":"Literal",
"defaultvalue":"Crowdsourcing Linked Entities via web Forms",
"disambiguate":"False",
"browse":"False"
"browse":"False",
"hidden": "False"
},
{
"type":"Textbox",
Expand All @@ -45,7 +47,8 @@
"value":"URI",
"defaultvalue":"$myEndpoint",
"disambiguate":"False",
"browse":"False"
"browse":"False",
"hidden": "False"
},
{
"type":"Textbox",
Expand All @@ -61,7 +64,8 @@
"value":"URI",
"defaultvalue":"$myPublicEndpoint",
"disambiguate":"False",
"browse":"False"
"browse":"False",
"hidden": "False"
},
{
"type":"Textbox",
Expand All @@ -77,7 +81,8 @@
"value":"URI",
"defaultvalue":"$sparqlAnythingEndpoint",
"disambiguate":"False",
"browse":"False"
"browse":"False",
"hidden": "False"
},
{
"type":"Textbox",
Expand All @@ -93,7 +98,8 @@
"value":"URI",
"defaultvalue":"http://data.open.ac.uk/musow/",
"disambiguate":"False",
"browse":"False"
"browse":"False",
"hidden": "False"
},
{
"type":"Textbox",
Expand All @@ -109,7 +115,8 @@
"value":"Literal",
"defaultvalue":"50",
"disambiguate":"False",
"browse":"False"
"browse":"False",
"hidden": "False"
},
{
"type":"Textbox",
Expand All @@ -125,7 +132,8 @@
"value":"Literal",
"defaultvalue":"4",
"disambiguate":"False",
"browse":"False"
"browse":"False",
"hidden": "False"
},
{
"type":"Textbox",
Expand All @@ -141,7 +149,8 @@
"value":"URI",
"defaultvalue":"False",
"disambiguate":"False",
"browse":"False"
"browse":"False",
"hidden": "False"
},
{
"type":"Textbox",
Expand All @@ -157,7 +166,8 @@
"value":"Literal",
"defaultvalue":"",
"disambiguate":"False",
"browse":"False"
"browse":"False",
"hidden": "False"
},
{
"type":"Textbox",
Expand All @@ -173,7 +183,8 @@
"value":"Literal",
"defaultvalue":"",
"disambiguate":"False",
"browse":"False"
"browse":"False",
"hidden": "False"
},
{
"type":"Textbox",
Expand All @@ -189,7 +200,8 @@
"value":"Literal",
"defaultvalue":"",
"disambiguate":"False",
"browse":"False"
"browse":"False",
"hidden": "False"
},
{
"type":"Textbox",
Expand All @@ -205,7 +217,8 @@
"value":"Literal",
"defaultvalue":"",
"disambiguate":"False",
"browse":"False"
"browse":"False",
"hidden": "False"
},
{
"type":"Textbox",
Expand All @@ -221,7 +234,8 @@
"value":"URI",
"defaultvalue":"",
"disambiguate":"False",
"browse":"False"
"browse":"False",
"hidden": "False"
},
{
"type":"Textbox",
Expand All @@ -237,7 +251,8 @@
"value":"URI",
"defaultvalue":"",
"disambiguate":"False",
"browse":"False"
"browse":"False",
"hidden": "False"
},
{
"type":"Textbox",
Expand All @@ -253,6 +268,7 @@
"value":"URI",
"defaultvalue":"",
"disambiguate":"False",
"browse":"False"
"browse":"False",
"hidden": "False"
}
]
1 change: 1 addition & 0 deletions static/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -2148,6 +2148,7 @@ input[subtemplate]+.fa-plus-circle {
padding: 20px;
border: solid 1px black;
border-radius: 5px;
z-index: 1023;
}
#lang-form:after {
content: " ";
Expand Down
Loading

0 comments on commit 2b4f5bf

Please sign in to comment.