Skip to content

Commit

Permalink
Update template and contact information (#16)
Browse files Browse the repository at this point in the history
* Add copy button to PID header

* Update contact information
  • Loading branch information
webb-ben authored May 22, 2024
1 parent 276b9a8 commit 98cec33
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
12 changes: 11 additions & 1 deletion pygeoapi-skin-dashboard/templates/collections/items/item.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,17 @@
{% block crumbs %}{{ super() }}
{% if data.get('uri_field') -%}
{% set uri = data.properties[data.uri_field] %}
/ <a href="{{ uri }}">{{ uri }}</a>
<script>
function copy(){
navigator.clipboard.writeText("{{ uri }}");
};
</script>
<span style="font-size: 120%;">
/ <a href="{{ uri }}" style="padding-right: 2px;" >{{ uri }}</a>
<a style="padding-left: 0px;" href="javascript:copy();">
<i class="far fa-copy"></i>
</a>
</span>
{%- else -%}
/ <a href="./{{ data['id'] }}">{{ ptitle | truncate( 25 ) }}</a>
{%- endif %}
Expand Down
6 changes: 3 additions & 3 deletions pygeoapi.config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,15 +67,15 @@ metadata:
name: CC-BY 4.0 license
url: https://creativecommons.org/licenses/by/4.0/
provider:
name: Internet of Water
url: https://github.com/internetofwater/reference.geoconnex.us
name: Center for Geospatial Solutions
url: https://cgsearth.org/
contact:
address: 113 Brattle St
city: Cambridge
stateorprovince: Massachussetts
postalcode: 02138
country: USA
email: konda@lincolninst.edu
email: internetofwater@lincolninst.edu
url: https://internetofwater.org
role: pointOfContact

Expand Down

0 comments on commit 98cec33

Please sign in to comment.