]> git.openstreetmap.org Git - nominatim.git/blob - lib/template/details-index-html.php
Merge pull request #1545 from mtmail/details-index-html-page
[nominatim.git] / lib / template / details-index-html.php
1 <?php
2     header("content-type: text/html; charset=UTF-8");
3 ?>
4 <?php include(CONST_BasePath.'/lib/template/includes/html-header.php'); ?>
5     <link href="css/common.css" rel="stylesheet" type="text/css" />
6     <link href="css/details.css" rel="stylesheet" type="text/css" />
7 </head>
8
9
10 <body id="details-index-page">
11     <div class="container">
12         <div class="row">
13             <div class="col-md-12">
14
15                 <h1>Show details for place</h1>
16
17                 <div class="search-form">
18                     <h4>Search by place id</h4>
19
20                     <form class="form-inline" action="details.php">
21                         <input type="edit" class="form-control input-sm" pattern="^[0-9]+$" name="place_id" placeholder="12345" />
22                         <input type="submit" class="btn btn-primary btn-sm" value="Show" />
23                     </form>
24                 </div>
25
26                 <div class="search-form">
27                     <h4>Search by OSM type and OSM id</h4>
28
29                     <form id="form-by-type-and-id" class="form-inline" action="details.php">
30                         <input type="edit" class="form-control input-sm" pattern="^[NWR][0-9]+$" placeholder="N123 or W123 or R123" />
31                         <input type="hidden" name="osmtype" />
32                         <input type="hidden" name="osmid" />
33                         <input type="submit" class="btn btn-primary btn-sm" value="Show" />
34                     </form>
35                 </div>
36
37                 <div class="search-form">
38                     <h4>Search by openstreetmap.org URL</h4>
39
40                     <form id="form-by-osm-url" class="form-inline" action="details.php">
41                         <input type="edit" class="form-control input-sm" pattern=".*openstreetmap.*" placeholder="https://www.openstreetmap.org/relation/123" />
42                         <input type="hidden" name="osmtype" />
43                         <input type="hidden" name="osmid" />
44                         <input type="submit" class="btn btn-primary btn-sm" value="Show" />
45                     </form>
46                 </div>
47
48             </div>
49         </div>
50     </div>
51
52
53     <?php include(CONST_BasePath.'/lib/template/includes/html-footer.php'); ?>
54 </body>
55 </html>