]> git.openstreetmap.org Git - nominatim.git/blob - lib/template/includes/html-top-navigation.php
add usage policy also in help menu
[nominatim.git] / lib / template / includes / html-top-navigation.php
1 <header class="container-fluid">
2     <div class="row">
3         <div class="col-xs-4">
4             <div class="brand">
5                 <a href="<?php echo CONST_Website_BaseURL;?>">
6                 <img alt="logo" src="images/osm_logo.120px.png" width="30" height="30"/>
7                 <h1>Nominatim</h1>
8                 </a>
9             </div>
10         </div>
11         <div id="last-updated" class="col-xs-4 text-center">
12             <?php if (isset($sDataDate)){ ?>
13                 Data last updated:
14                 <br>
15                 <?php echo $sDataDate; ?>
16             <?php } ?>
17         </div>
18         <div class="col-xs-4 text-right">
19             <div class="btn-group">
20                 <button class="dropdown-toggle btn btn-sm btn-default" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
21                     About &amp; Help <span class="caret"></span>
22                 </button>
23                 <ul class="dropdown-menu dropdown-menu-right">
24                     <li><a href="https://nominatim.org/release-docs/develop/api/Overview/" target="_blank">API Reference</a></li>
25                     <li><a href="https://nominatim.org/release-docs/develop/api/Faq/" target="_blank">FAQ</a></li>
26                     <li><a href="https://help.openstreetmap.org/tags/nominatim/">OpenStreetMap Help</a></li>
27                     <li><a href="https://github.com/openstreetmap/Nominatim">Nominatim on Github</a></li>
28                     <li><a href="https://operations.osmfoundation.org/policies/nominatim/">Usage policy</a></li>
29                     <li role="separator" class="divider"></li>
30                     <li><a href="#" class="" data-toggle="modal" data-target="#report-modal">Report problem with results</a></li>
31                 </ul>
32             </div>
33         </div>
34     </div>
35 </header>
36
37 <div class="modal fade" id="report-modal">
38     <div class="modal-dialog">
39         <div class="modal-content">
40             <div class="modal-header">
41                 <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
42                 <h4 class="modal-title">Report a problem</h4>
43             </div>
44             <div class="modal-body">
45                 <?php include(CONST_BasePath.'/lib/template/includes/report-errors.php'); ?>
46             </div>
47             <div class="modal-footer">
48                 <button type="button" class="btn btn-default" data-dismiss="modal">OK</button>
49             </div>
50         </div>
51     </div>
52 </div>