Skip to content

Commit

Permalink
Merge branch #1898 from '1897-add-link-to-usage-policy' of https://gi…
Browse files Browse the repository at this point in the history
  • Loading branch information
dr0i committed Oct 6, 2023
2 parents ca6a0a7 + 230107e commit bf8a430
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 2 deletions.
5 changes: 4 additions & 1 deletion web/app/views/api.scala.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,10 @@ <h5 id='@(label.toLowerCase)'><a href='@resources.routes.Application.resource(hb


@main("", "lobid-resources - API") {

<div id="usage-policy" class="alert alert-info" role="alert">
<span class="glyphicon glyphicon-info-sign" aria-hidden="true"></span>
Technische und sonstige Hinweise zur lobid-Nutzung finden sich in den <a class="alert-link" href="https://lobid.org/usage-policy/">Richtlinien zur API-Nutzung</a>.
</div>
<h2 id='basics'>API-Grundlagen <small><a href='#basics'><span class='glyphicon glyphicon-link'></span></a></small></h2>

<dl>
Expand Down
4 changes: 3 additions & 1 deletion web/app/views/main.scala.html
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@
<ul class="dropdown-menu">
<li @if(title.contains("Dataset")){class="active"}><a href='@resources.routes.Application.dataset("")'>Datenbeschreibung</a></li>
<li><a href="mailto:lobid-admin@@hbz-nrw.de?subject=Feedback%20zu%20lobid-resources,%20aktuelle%20URL%20@controllers.resources.Application.currentUri()">Feedback zur aktuellen Seite</a></li>
<li><a href="http://lobid.org/usage-policy/">Richtlinien API-Nutzung</a></li>
</ul>
</li>
</ul>
Expand All @@ -70,9 +71,10 @@
<div class="panel-body">
<span class="pull-left">
<img src='@controllers.routes.Assets.at("images/wappen.png")' alt="NRW-Wappen"/> &nbsp;
lobid-resources | ein LOD-Dienst des <a href='https://www.hbz-nrw.de/produkte/linked-open-data'>hbz — Hochschulbibliothekszentrum des Landes NRW</a>
lobid-resources | ein Dienst des <a href='https://www.hbz-nrw.de/produkte/linked-open-data'>hbz</a>
</span>
<span class="pull-right">
<a href="http://lobid.org/warranty">Gewährleistung</a> |
<a href="https://www.hbz-nrw.de/impressum">Impressum</a> |
<a href="https://github.com/hbz/lobid/blob/master/conf/Datenschutzerklaerung_lobid.textile">Datenschutz</a> |
<a href="https://twitter.com/lobidorg"><i class="fa fa-twitter" aria-hidden="true"></i> Twitter</a>&nbsp;
Expand Down
8 changes: 8 additions & 0 deletions web/public/stylesheets/resources.css
Original file line number Diff line number Diff line change
Expand Up @@ -310,3 +310,11 @@ h5 {
height: 1.4em
}

#usage-policy {
margin-top: 20px;
/*
setting standard background-color for .alert-info
https://getbootstrap.com/docs/3.3/components/#alerts
*/
background-color: #d9edf7;
}

0 comments on commit bf8a430

Please sign in to comment.