]> git.openstreetmap.org Git - nominatim-ui.git/blob - src/layout.html
3fef5dd22f8099513b14c311010dec48af52bc9a
[nominatim-ui.git] / src / layout.html
1 <!DOCTYPE html>
2 <html lang="en">
3 <head>
4     <title>OpenStreetMap Nominatim</title>
5     <meta name="viewport" content="width=device-width, initial-scale=1">
6
7     <link href="nominatim.xml" rel="search" title="Nominatim Search" type="application/opensearchdescription+xml" />
8
9     <link rel="icon" type="image/png" href="/assets/images/favicon-194x194.png" sizes="194x194" />
10     <link rel="icon" type="image/png" href="/assets/images/favicon-16x16.png" sizes="16x16" />
11
12     <link href="assets/css/leaflet.css" rel="stylesheet" />
13     <link href="assets/css/Control.Minimap.min.css" rel="stylesheet" />
14     <link href="assets/css/bootstrap-theme.min.css" rel="stylesheet" />
15     <link href="assets/css/bootstrap.min.css" rel="stylesheet" />
16     <link href="assets/css/common.css" rel="stylesheet" />
17     <link href="assets/css/search.css" rel="stylesheet" type="text/css" />
18     <link href="assets/css/details.css" rel="stylesheet" type="text/css" />
19 </head>
20 <body id="BODYID">
21
22
23     <header class="container-fluid">
24         <div class="row">
25             <div class="col-xs-4">
26                 <div class="brand">
27                     <a href="/">
28                         <img alt="logo" src="assets/images/osm_logo.120px.png" width="30" height="30"/>
29                         <h1>Nominatim</h1>
30                     </a>
31                 </div>
32             </div>
33             <div id="last-updated" class="col-xs-4 text-center">
34                 Data from <a id="api-request-link" href="">API request</a>
35                 <br>
36                 Data last updated:
37                 <span id="data-date"></span>
38             </div>
39             <div class="col-xs-4 text-right">
40                 <div class="btn-group">
41                     <button class="dropdown-toggle btn btn-sm btn-default" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
42                         About &amp; Help <span class="caret"></span>
43                     </button>
44                     <ul class="dropdown-menu dropdown-menu-right">
45                         <li><a href="http://wiki.openstreetmap.org/wiki/Nominatim" target="_blank">Documentation</a></li>
46                         <li><a href="http://wiki.openstreetmap.org/wiki/Nominatim/FAQ" target="_blank">FAQ</a></li>
47                         <li role="separator" class="divider"></li>
48                         <li><a href="#" class="" data-toggle="modal" data-target="#report-modal">Report problem with results</a></li>
49                     </ul>
50                 </div>
51             </div>
52         </div>
53     </header>
54
55     <div class="modal fade" id="report-modal">
56         <div class="modal-dialog">
57             <div class="modal-content">
58                 <div class="modal-header">
59                     <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
60                     <h4 class="modal-title">Report a problem</h4>
61                 </div>
62                 <div class="modal-body">
63                     <p>
64                         Before reporting problems please read the <a target="_blank" href="http://wiki.openstreetmap.org/wiki/Nominatim">user documentation</a>
65                         and
66                         <a target="_blank" href="http://wiki.openstreetmap.org/wiki/Nominatim/FAQ">FAQ</a>.
67
68                         If your problem relates to the address of a particular search result please use the 'details' link 
69                         to check how the address was generated before reporting a problem.
70                     </p>
71                     <p>
72                         Use <a target="_blank" href="https://github.com/openstreetmap/nominatim/issues">Nominatim issues on github</a>
73                         to report problems.
74                     </p>
75                     <p>
76                         Please ensure that you include a full description of the problem, including the search
77                         query that you used, the problem with the result and, if the problem relates to missing data,
78                         the osm type (node, way, relation) and id of the item that is missing.
79                     </p>
80                     <p>
81                         Problems that contain enough detail are likely to get looked at before ones that require
82                         significant research.
83                     </p>
84                 </div>
85                 <div class="modal-footer">
86                     <button type="button" class="btn btn-default" data-dismiss="modal">OK</button>
87                 </div>
88             </div>
89         </div>
90     </div>
91
92     <main>
93         You need Javascript enable to view this page.
94     </main>
95
96     <footer>
97         <p class="disclaimer">
98             Addresses and postcodes are approximate
99         </p>
100         <p class="copyright">
101             &copy; <a href="http://osm.org/copyright">OpenStreetMap</a> contributors
102         </p>
103     </footer>
104
105     <script src="assets/js/jquery.min.js"></script>
106     <script src="assets/js/bootstrap.min.js"></script>
107     <script src="assets/js/leaflet.min.js"></script>
108     <script src="assets/js/Control.Minimap.min.js"></script>
109     <script src="assets/js/handlebars.min.js"></script>
110     <script src="assets/js/url-search-params.js"></script>
111
112     <script src="config.js"></script>
113     <script src="handlebar_helpers.js"></script>
114     <script id="searchpage-template" type="text/x-handlebars-template">
115         @include(src/templates/searchpage.hbs)
116     </script>
117     <script id="reversepage-template" type="text/x-handlebars-template">
118         @include(src/templates/reversepage.hbs)
119     </script>
120     <script id="detailspage-template" type="text/x-handlebars-template">
121         @include(src/templates/detailspage.hbs)
122     </script>
123
124
125     <script src="assets/js/nominatim-ui.js"></script>
126 </body>
127 </head>