Sample OSF Widget JS Library Templates

Here is a sample library of Pure JavaScript templates for various types of individual record templates. This library, or modifications to it, is what is used to theme various record types presented via the sWebMap OSF widgets control.

The nominal source file for this library is :

\    ',       "http://purl.org/ontology/now#HeritageResourceImage": ' \        \ Website \ Inventory Overview \ Provincial Heritage Site \ National Heritage Site \ Short Report \ Long Report \ Link \ \    ',

"http://purl.org/ontology/npi#Aboriginal_services": ' \        \ Address: <span class="http_--purl-org-ontology-now-streetAddress">, <span class="http_--purl-org-ontology-now-postalCode"> \ Phone: <span class="http_--purl-org-ontology-now-phoneNumber"> \ Affiliated with: <span class="http_--purl-org-ontology-now-affiliatedWith"> \ <div style="padding-top: 10px;" class="http_--purl-org-ontology-iron-description"> \ ', "http://purl.org/ontology/npi#Indoor_swimming_pools": ' \      <span class="skos2008_prefLabel"> indoor pool \ Address: <span class="http_--purl-org-ontology-now-streetAddress"> \ ', "http://purl.org/ontology/now#BusStops": ' \      <span class="http_--purl-org-ontology-iron-prefLabel"></a>  \ ',   "http://purl.org/ontology/npi#School": ' \      <span class="http_--purl-org-ontology-iron-prefLabel">  \ ', "http://purl.org/ontology/npi#Neighborhood": ' \      <span class="http_--purl-org-ontology-iron-prefLabel">  \ ', "http://purl.org/ontology/npi#Grove": ' \      <span class="http_--purl-org-ontology-iron-altLabel">  \ ', "http://xmlns.com/foaf/0.1/Image": ' \      <span class="http_--purl-org-ontology-iron-prefLabel">  \ \    ',  };

Here is an example of the rendering of a set of  records displayed in the sWebMap's resultset:



Here is an example of the rendering of a set of  records displayed in the sWebMap's resultset: