3 import { last_updated_store } from '../lib/stores.js';
7 last_updated_store.subscribe(data => {
24 header .brand a:hover{
25 text-decoration: none;
35 display: inline-block;
40 header #last-updated {
47 header .dropdown-menu {
56 background-color: #eee;
63 <header class="container-fluid">
67 <a href="search.html">
68 <img alt="logo" src="images/osm_logo.120px.png" width="30" height="30"/>
74 <div id="last-updated" class="text-center">
75 <div id="loading">loading...</div>
77 <div id="api-request">
78 Data from <a href="{last_updated.api_request_url}">API request</a>
79 <span id="api-request-debug">(<a href="{last_updated.api_request_url_debug}">debug output</a>)</span>
81 Data last updated: <span id="data-date">{last_updated.date}</span>
85 <div class="col-4 text-right">
86 <div class="dropdown">
87 <button class="dropdown-toggle btn btn-sm btn-outline-secondary" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
90 <div class="dropdown-menu dropdown-menu-right">
91 <a class="dropdown-item" href="https://nominatim.org/release-docs/develop/api/Overview/" target="_blank">API Reference</a>
92 <a class="dropdown-item" href="https://nominatim.org/release-docs/develop/api/Faq/" target="_blank">FAQ</a>
93 <a class="dropdown-item" href="https://help.openstreetmap.org/tags/nominatim/">OpenStreetMap Help</a>
94 <a class="dropdown-item" href="https://github.com/osm-search/Nominatim">Nominatim on Github</a>
95 <a class="dropdown-item" href="https://github.com/osm-search/nominatim-ui">This frontend on Github</a>
96 <div class="dropdown-divider"></div>
97 <a class="dropdown-item" href="#" data-toggle="modal" data-target="#report-modal">Report problem with results</a>