]> git.openstreetmap.org Git - nominatim.git/blob - lib/template/includes/html-top-navigation.php
Merge pull request #1899 from mtmail/use-new-dsn-format-in-vagrant-md
[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 role="separator" class="divider"></li>
29                     <li><a href="#" class="" data-toggle="modal" data-target="#report-modal">Report problem with results</a></li>
30                 </ul>
31             </div>
32         </div>
33     </div>
34 </header>
35
36 <div class="modal fade" id="report-modal">
37     <div class="modal-dialog">
38         <div class="modal-content">
39             <div class="modal-header">
40                 <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
41                 <h4 class="modal-title">Report a problem</h4>
42             </div>
43             <div class="modal-body">
44                 <?php include(CONST_BasePath.'/lib/template/includes/report-errors.php'); ?>
45             </div>
46             <div class="modal-footer">
47                 <button type="button" class="btn btn-default" data-dismiss="modal">OK</button>
48             </div>
49         </div>
50     </div>
51 </div>