Skip to content

Commit

Permalink
Add link to usage policy, #1897
Browse files Browse the repository at this point in the history
  • Loading branch information
Phu2 committed Sep 22, 2023
1 parent 1c9c561 commit 13cdec3
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
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
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 13cdec3

Please sign in to comment.