]> git.openstreetmap.org Git - nominatim.git/blob - lib/template/includes/html-top-navigation.php
Merge remote-tracking branch 'upstream/master' into cmake-port
[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="http://wiki.openstreetmap.org/wiki/Nominatim" target="_blank">Documentation</a></li>
25                     <li><a href="http://wiki.openstreetmap.org/wiki/Nominatim/FAQ" target="_blank">FAQ</a></li>
26                     <li role="separator" class="divider"></li>
27                     <li><a href="#" class="" data-toggle="modal" data-target="#report-modal">Report problem with results</a></li>
28                 </ul>
29             </div>
30         </div>
31     </div>
32 </header>
33
34 <div class="modal fade" id="report-modal">
35     <div class="modal-dialog">
36         <div class="modal-content">
37             <div class="modal-header">
38                 <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
39                 <h4 class="modal-title">Report a problem</h4>
40             </div>
41             <div class="modal-body">
42                 <?php include(CONST_BasePath.'/lib/template/includes/report-errors.php'); ?>
43             </div>
44             <div class="modal-footer">
45                 <button type="button" class="btn btn-default" data-dismiss="modal">OK</button>
46             </div>
47         </div>
48     </div>
49 </div>