2 header("content-type: text/html; charset=UTF-8");
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" />
10 <body id="details-index-page">
11 <div class="container">
13 <div class="col-md-12">
15 <h1>Show details for place</h1>
17 <div class="search-form">
18 <h4>Search by place id</h4>
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" />
26 <div class="search-form">
27 <h4>Search by OSM type and OSM id</h4>
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" />
37 <div class="search-form">
38 <h4>Search by openstreetmap.org URL</h4>
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" />
53 <?php include(CONST_BasePath.'/lib/template/includes/html-footer.php'); ?>