]> git.openstreetmap.org Git - nominatim-ui.git/commitdiff
index.html, which redirects to search.html
authorMarc Tobias Metten <mtmail@gmx.net>
Thu, 8 Mar 2018 15:35:00 +0000 (16:35 +0100)
committerMarc Tobias Metten <mtmail@gmx.net>
Thu, 8 Mar 2018 15:35:00 +0000 (16:35 +0100)
TODO.md
build.sh
src/index.html [new file with mode: 0644]
src/layout.html

diff --git a/TODO.md b/TODO.md
index 23d30f4c922e299c56826a99593001ec6623dd1f..c27300d8a4e7595ead7c7a691deb25672b1935c1 100644 (file)
--- a/TODO.md
+++ b/TODO.md
    * need /details to support &format=json
 * reverse: zoom not set
 http://localhost:8000/reverse.html?format=html&lat=52.3755991766591&lon=7.646484374999999&zoom=
-* !search page: add pagination, moreurl
 * details page: add "There are more child objects which are not shown" back in
-* set acceptlanguage to API request
+* details page: nicer 404
 * move this TODO.txt to github issues
 * write install instructions
 * check output of /dist into repository
-* use polygon_geojson, not polygon parameter
 
+## Might never work
+
+* pagination
+* API returns category, type, but without admin_level we can't derive e.g. state,country
+* seeting acceptlanguage whichout a server component https://github.com/dansingerman/jQuery-Browser-Language
 
 ## Unknown
 
@@ -45,7 +48,6 @@ http://localhost:8000/reverse.html?format=html&lat=52.3755991766591&lon=7.646484
 
 ## Code cleanup
 
-* we have marker-icon twice
 * remove Perl dependency from build
 * show map bounds section => move to handlebar template, map to partial
 * make sure we use https URL to external sites where possible
index 1144c12b2cae57a73d62f4426967a483aa06b6b0..6928e24ad3c68f134d92da72c0b1f41d19effc58 100755 (executable)
--- a/build.sh
+++ b/build.sh
@@ -21,4 +21,4 @@ cat src/layout.html | perl -pe'use File::Slurper qw(read_text); s/\@include\((.+
 cat /tmp/included.html | perl -pe's/BODYID/search-page/g' > dist/search.html
 cat /tmp/included.html | perl -pe's/BODYID/reverse-page/g' > dist/reverse.html
 cat /tmp/included.html | perl -pe's/BODYID/details-page/g' > dist/details.html
-
+cp src/index.html dist/
diff --git a/src/index.html b/src/index.html
new file mode 100644 (file)
index 0000000..6d80bf2
--- /dev/null
@@ -0,0 +1,8 @@
+<!DOCTYPE html>
+<head>
+  <meta http-equiv="refresh" content="0; URL=search.html">
+</head>
+<body>
+  <a href="search.html">go to search page</a>
+</body>
+</html>
\ No newline at end of file
index b4c81c756e83c198a2552c9df1b056327f9506fd..aaa0ae6421b4e4217606d13473868acc9d8a0b4a 100644 (file)
 
     <script src="assets/js/nominatim-ui.js"></script>
 </body>
-</head>
\ No newline at end of file
+</html>
\ No newline at end of file