--- /dev/null
+<!--
+<div class="p-4">
+ The Nominatim service is run by administrator@example.com.
+
+ If you see connection failures first check <a href="http://example.com/status">the status page</a>.
+</div>
+ -->
\ No newline at end of file
<script>
import { onMount } from 'svelte';
- import { update_html_title } from '../lib/api_utils.js';
+ import { update_html_title, fetch_content_into_element } from '../lib/api_utils.js';
import { appState } from '../state/AppState.svelte.js';
import Header from '../components/Header.svelte';
update_html_title('Server status');
}
onMount(loaddata);
+
+ onMount(() => {
+ fetch_content_into_element('theme/status-help.html', document.getElementById('status-help'));
+ });
</script>
<Header/>
<div class="col-sm-12">
<h1>Server status</h1>
+ <div id="status-help" class="bg-secondary-subtle"></div>
+
<dl>
<dt>API Endpoint</dt>
<dd><a href={endpoint_url}>{endpoint_url}</a></dd>
</div>
</div>
</div>
+
+<style>
+ #status-help {
+ margin: 2em 0;
+ }
+</style>
\ No newline at end of file