From: Marc Tobias Metten Date: Thu, 8 Mar 2018 15:35:00 +0000 (+0100) Subject: index.html, which redirects to search.html X-Git-Url: https://git.openstreetmap.org./nominatim-ui.git/commitdiff_plain/2d3f31df53964c6eb451e6ea363ed1cc8d22c023 index.html, which redirects to search.html --- diff --git a/TODO.md b/TODO.md index 23d30f4..c27300d 100644 --- a/TODO.md +++ b/TODO.md @@ -10,14 +10,17 @@ * 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 diff --git a/build.sh b/build.sh index 1144c12..6928e24 100755 --- 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 index 0000000..6d80bf2 --- /dev/null +++ b/src/index.html @@ -0,0 +1,8 @@ + + + + + + go to search page + + \ No newline at end of file diff --git a/src/layout.html b/src/layout.html index b4c81c7..aaa0ae6 100644 --- a/src/layout.html +++ b/src/layout.html @@ -126,4 +126,4 @@ - \ No newline at end of file + \ No newline at end of file