]> git.openstreetmap.org Git - nominatim-ui.git/blobdiff - src/templates/detailspage-index.hbs
Merge pull request #22 from mtmail/distance-in-meters-or-spheric
[nominatim-ui.git] / src / templates / detailspage-index.hbs
index 7930b77d6ccba9cc2dc99b1f227a428aafd6958a..c81d525223bcfe9de1d0a877aa39a29b2632f311 100644 (file)
@@ -1,40 +1,56 @@
 <div class="container" id="details-index-page">
-    <div class="row">
-        <div class="col-md-12">
-
-            <h1>Show details for place</h1>
-
-            <div class="search-form">
-                <h4>Search by place id</h4>
-
-                <form class="form-inline" action="details.html">
-                    <input type="edit" class="form-control input-sm" pattern="^[0-9]+$" name="place_id" placeholder="12345" />
-                    <input type="submit" class="btn btn-primary btn-sm" value="Show" />
-                </form>
-            </div>
-
-            <div class="search-form">
-                <h4>Search by OSM type and OSM id</h4>
-
-                <form id="form-by-type-and-id" class="form-inline" action="details.html">
-                    <input type="edit" class="form-control input-sm" pattern="^[NWR][0-9]+$" placeholder="N123 or W123 or R123" />
-                    <input type="hidden" name="osmtype" />
-                    <input type="hidden" name="osmid" />
-                    <input type="submit" class="btn btn-primary btn-sm" value="Show" />
-                </form>
-            </div>
-
-            <div class="search-form">
-                <h4>Search by openstreetmap.org URL</h4>
-
-                <form id="form-by-osm-url" class="form-inline" action="details.html">
-                    <input type="edit" class="form-control input-sm" pattern=".*openstreetmap.*" placeholder="https://www.openstreetmap.org/relation/123" />
-                    <input type="hidden" name="osmtype" />
-                    <input type="hidden" name="osmid" />
-                    <input type="submit" class="btn btn-primary btn-sm" value="Show" />
-                </form>
-            </div>
-
-        </div>
+  <div class="row">
+    <div class="col-md-12">
+
+      <h1>Show details for place</h1>
+
+      <div class="search-form">
+        <h4>Search by place id</h4>
+
+        <form class="form-inline" action="details.html">
+          <input type="edit"
+                 class="form-control input-sm"
+                 pattern="^[0-9]+$"
+                 name="place_id"
+                 placeholder="12345" />
+          <input type="submit"
+                 class="btn btn-primary btn-sm"
+                 value="Show" />
+        </form>
+      </div>
+
+      <div class="search-form">
+        <h4>Search by OSM type and OSM id</h4>
+
+        <form id="form-by-type-and-id"
+              class="form-inline"
+              action="details.html">
+          <input type="edit"
+                 class="form-control input-sm"
+                 pattern="^[NWR][0-9]+$"
+                 placeholder="N123 or W123 or R123" />
+          <input type="hidden" name="osmtype" />
+          <input type="hidden" name="osmid" />
+          <input type="submit" class="btn btn-primary btn-sm" value="Show" />
+        </form>
+      </div>
+
+      <div class="search-form">
+        <h4>Search by openstreetmap.org URL</h4>
+
+        <form id="form-by-osm-url"
+              class="form-inline"
+              action="details.html">
+          <input type="edit"
+                 class="form-control input-sm"
+                 pattern=".*openstreetmap.*"
+                 placeholder="https://www.openstreetmap.org/relation/123" />
+          <input type="hidden" name="osmtype" />
+          <input type="hidden" name="osmid" />
+          <input type="submit" class="btn btn-primary btn-sm" value="Show" />
+        </form>
+      </div>
+
     </div>
+  </div>
 </div>
\ No newline at end of file