Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
situx committed Sep 30, 2024
1 parent 157fa73 commit 05c3599
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,6 @@ <h3 id="relationtitle">Relationview</h3>
<div class="container-fluid">
<div class="row-fluid" id="main-wrapper">
<div class="image">
<img src="$image" style="max-width:500px;max-height:500px" alt="Depiction of $resource.label" title="Depiction of $title" />
</div>
<script>
var annotationnamespaces=["http://www.w3.org/2004/02/skos/core#","http://www.w3.org/2000/01/rdf-schema#","http://purl.org/dc/terms/"]
Expand Down Expand Up @@ -459,6 +458,8 @@ <h3 id="relationtitle">Relationview</h3>
lastrel=results[result]["rel"]["value"]
}
$('#proptablebody').html(tablecontent)
$('#proptable').css("visibility","visible")
$('#map').css("display","none")
});
}

Expand All @@ -479,9 +480,9 @@ <h3 id="relationtitle">Relationview</h3>
}else if("datatype" in uri){
shortenuri=shortenURI(uri["value"])
dsuri=shortenURI(uri["datatype"])
return shortenuri+" <a class=\"uri\" href=\""+uri["datatype"]+"\"><span style=\"color: #666;\">("+dsuri+")</span></a> <a href=\"http://www.lexvo.org/page/iso639-1/"+uri["xml:lang"]+"\">(iso6391:"+uri["xml:lang"]+")</a>"
return shortenuri+" <a class=\"uri\" href=\""+uri["datatype"]+"\"><span style=\"color: #666;\">("+dsuri+")</span></a>"
}
return uri
return uri["value"]+" <a class=\"uri\" href=\"http://www.w3.org/2001/XMLSchema#string\"><span style=\"color: #666;\">(xsd:string)</span></a>"
}


Expand Down Expand Up @@ -759,7 +760,7 @@ <h3 id="relationtitle">Relationview</h3>
}
</script>
<a name="geo"></a>
<div id="map" style="height:500px;z-index: 0;">
<div id="map" style="height:500px;z-index: 0;display:none">
</div>
<script src="https://unpkg.com/leaflet@1.6.0/dist/leaflet.js"></script>
<script src="https://api.mapbox.com/mapbox.js/plugins/leaflet-fullscreen/v1.0.1/Leaflet.fullscreen.min.js"></script>
Expand Down Expand Up @@ -987,7 +988,7 @@ <h3 id="relationtitle">Relationview</h3>
</script>
</div>
<div class="row-fluid">
<table id="proptable" class="description table table-bordered table-hover" about="$uri">
<table id="proptable" class="description table table-bordered table-hover" style="visibility:hidden">
<thead id="proptablehead">
<tr><th>Property</th><th>Value</th></tr>
</thead>
Expand Down

0 comments on commit 05c3599

Please sign in to comment.