accurator/commit
Updated naming RDF item page.
author | Chris Dijkshoorn |
---|---|
Mon Jan 18 10:06:52 2016 +0100 | |
committer | Chris Dijkshoorn |
Mon Jan 18 10:06:52 2016 +0100 | |
commit | 420492854f102079f8d67b1422cbedfd495a5b96 |
tree | e39eb93523551949fa5e5516ddf1801eda89905b |
parent | f4b3f6f0b4e73330d829f775c5582d3e94348ed2 |
Diff style: patch stat
diff --git a/rdf/domain/bible/ui/labels.ttl b/rdf/domain/bible/ui/labels.ttl index 020ebf3..b0044f3 100644 --- a/rdf/domain/bible/ui/labels.ttl +++ b/rdf/domain/bible/ui/labels.ttl @@ -48,10 +48,10 @@ abibui:profile a aui:UI ; abibui:results a aui:UI ; rdfs:subClassOf aui:results . -##### Bible Annotate Screen ##### +##### Bible Item Screen ##### -abibui:annotate a aui:UI ; - rdfs:subClassOf aui:annotate . +abibui:item a aui:UI ; + rdfs:subClassOf aui:item . ##### Bible Form Screen ##### diff --git a/rdf/domain/bird/ui/labels.ttl b/rdf/domain/bird/ui/labels.ttl index 4d5aa0b..9588b7d 100644 --- a/rdf/domain/bird/ui/labels.ttl +++ b/rdf/domain/bird/ui/labels.ttl @@ -48,10 +48,10 @@ abirui:profile a aui:UI ; abirui:results a aui:UI ; rdfs:subClassOf aui:results . -##### Bird Annotate Screen ##### +##### Bird Item Screen ##### -abirui:annotate a aui:UI ; - rdfs:subClassOf aui:annotate . +abirui:item a aui:UI ; + rdfs:subClassOf aui:item . ###### Bird End Screen ##### diff --git a/rdf/domain/page/ui/labels_chris.ttl b/rdf/domain/page/ui/labels_chris.ttl index 43be2fb..4d4648b 100644 --- a/rdf/domain/page/ui/labels_chris.ttl +++ b/rdf/domain/page/ui/labels_chris.ttl @@ -43,10 +43,10 @@ apaguic:profile a aui:UI ; apaguic:results a aui:UI ; rdfs:subClassOf aui:results . -##### Page Annotate Screen ##### +##### Page Item Screen ##### -apaguic:annotate a aui:UI ; - rdfs:subClassOf aui:annotate . +apaguic:item a aui:UI ; + rdfs:subClassOf aui:item . ##### Page Additional Info Screen ##### diff --git a/rdf/domain/page/ui/labels_cristina.ttl b/rdf/domain/page/ui/labels_cristina.ttl index a80d053..dc83e21 100644 --- a/rdf/domain/page/ui/labels_cristina.ttl +++ b/rdf/domain/page/ui/labels_cristina.ttl @@ -43,10 +43,10 @@ apaguicr:profile a aui:UI ; apaguicr:results a aui:UI ; rdfs:subClassOf aui:results . -##### Page Annotate Screen ##### +##### Page Item Screen ##### -apaguicr:annotate a aui:UI ; - rdfs:subClassOf aui:annotate . +apaguicr:item a aui:UI ; + rdfs:subClassOf aui:item . ##### Page Additional Info Screen ##### diff --git a/rdf/domain/page/ui/labels_leon.ttl b/rdf/domain/page/ui/labels_leon.ttl index ad011dc..642dc63 100644 --- a/rdf/domain/page/ui/labels_leon.ttl +++ b/rdf/domain/page/ui/labels_leon.ttl @@ -43,10 +43,10 @@ apaguil:profile a aui:UI ; apaguil:results a aui:UI ; rdfs:subClassOf aui:results . -##### Page Annotate Screen ##### +##### Page Item Screen ##### -apaguil:annotate a aui:UI ; - rdfs:subClassOf aui:annotate . +apaguil:item a aui:UI ; + rdfs:subClassOf aui:item . ##### Page Additional Info Screen ##### diff --git a/rdf/domain/page/ui/labels_sebastien.ttl b/rdf/domain/page/ui/labels_sebastien.ttl index b667fa7..65dff6f 100644 --- a/rdf/domain/page/ui/labels_sebastien.ttl +++ b/rdf/domain/page/ui/labels_sebastien.ttl @@ -43,10 +43,10 @@ apaguis:profile a aui:UI ; apaguis:results a aui:UI ; rdfs:subClassOf aui:results . -##### Page Annotate Screen ##### +##### Page Item Screen ##### -apaguis:annotate a aui:UI ; - rdfs:subClassOf aui:annotate . +apaguis:item a aui:UI ; + rdfs:subClassOf aui:item . ##### Page Additional Info Screen ##### diff --git a/rdf/ui/labels.ttl b/rdf/ui/labels.ttl index 01924d6..6d3a105 100644 --- a/rdf/ui/labels.ttl +++ b/rdf/ui/labels.ttl @@ -53,9 +53,9 @@ aui:domain a auis:UI ; aui:domainPageTitle rdfs:subPropertyOf auis:uiLabel . aui:domainTxtTitle rdfs:subPropertyOf auis:uiLabel . -##### Annotate Screen ##### +##### Item Screen ##### -aui:annotate a auis:UI ; +aui:item a auis:UI ; dcterms:title "Accurator tag UI"@en ; aui:title "Tag image"@en ; aui:btnPrevious "Previous"@en ; @@ -65,12 +65,13 @@ aui:annotate a auis:UI ; aui:vntFirstTitle "Your first tag!"@en ; aui:vntFirstText "Start dragging a bounding box around the object you want to describe. Multiple fields can be filled in, try to be as precise as possible. To proceed to a next object, either click on next image, get new recommendations or search for specific topics."@en . -aui:btnPrevious a auis:UILabel . -aui:btnNext a auis:UILabel . -aui:navbarBtnRecommend a auis:UILabel . -aui:navbarBtnSearch a auis:UILabel . -aui:vntFirstTitle a auis:UILabel . -aui:vntFirstText a auis:UILabel . +aui:title rdfs:subPropertyOf auis:uiLabel . +aui:btnPrevious rdfs:subPropertyOf auis:uiLabel . +aui:btnNext rdfs:subPropertyOf auis:uiLabel . +aui:navbarBtnRecommend rdfs:subPropertyOf auis:uiLabel . +aui:navbarBtnSearch rdfs:subPropertyOf auis:uiLabel . +aui:vntFirstTitle rdfs:subPropertyOf auis:uiLabel . +aui:vntFirstText rdfs:subPropertyOf auis:uiLabel . ##### Expertise Screen ##### diff --git a/rdf/ui/labels_nl.ttl b/rdf/ui/labels_nl.ttl index a9e00ef..2e7bff3 100644 --- a/rdf/ui/labels_nl.ttl +++ b/rdf/ui/labels_nl.ttl @@ -32,9 +32,9 @@ aui:domain a auis:UI ; aui:domainPageTitle "Selecteer Domein"@nl ; aui:domainTxtTitle "Aan welk domein wilt u informatie bijdragen?"@nl . -##### Annotate Screen ##### +##### Item Screen ##### -aui:annotate a auis:UI ; +aui:item a auis:UI ; aui:title "Voeg informatie toe aan object"@nl ; aui:btnPrevious "Vorige"@nl ; aui:btnNext "Volgende"@nl ; diff --git a/web/js/accurator_item.js b/web/js/accurator_item.js index 21e59b6..5cdf26f 100644 --- a/web/js/accurator_item.js +++ b/web/js/accurator_item.js @@ -26,7 +26,7 @@ function itemInit() { onDomain = function(domainData) { user = loginData.user; var userName = getUserName(loginData.user); - ui = domainData.ui + "annotate"; + ui = domainData.ui + "item"; annotation_ui = domainData.annotation_ui; maybeRunExperiment(); @@ -71,7 +71,8 @@ function initLabels(data) { function initImage() { $.getJSON("metadata", {uri:uri}) .done(function(metadata){ - $("#itemImg").attr("src", metadata.image); + console.log(metadata); + $(".itemImg").attr("src", metadata.image); // Tell anotorious this image can be annotated // anno.makeAnnotatable(document.getElementById("myImage")); });