]> git.openstreetmap.org Git - nominatim-ui.git/blob - src/templates/polygons.hbs
Merge pull request #6 from osm-search/structured-search-form
[nominatim-ui.git] / src / templates / polygons.hbs
1 <div class="container">
2   <div class="row">
3     <div class="col-sm-12">
4       <h1>Broken polygons</h1>
5
6       <p>
7           Total number of broken polygons: {{aPolygons.length}}.
8       </p>
9
10       <table class="table table-striped table-hover">
11         <thead>
12           <th>OSM type</th>
13           <th>OSM id</th>
14           <th>Class</th>
15           <th>Type</th>
16           <th>Name</th>
17           <th>Country Code</th>
18           <th>Error message</th>
19           <th>Updated</th>
20           <th>&nbsp;</th>
21         </thead>
22         <tbody>
23           {{#each aPolygons}}
24           <tr>
25             <td>{{osm_type}}</td>
26             <td>{{osmLink this}}</td>
27             <td>{{class}}</td>
28             <td>{{type}}</td>
29             <td>{{name}}</td>
30             <td>{{country_code}}</td>
31             <td>{{errormessage}}</td>
32             <td>{{updated}}</td>
33             <td>
34               <a href="http://localhost:8111/import?url=https://www.openstreetmap.org/api/0.6/{{formatOSMType osm_type}}/{{osm_id}}/full" target="josm">josm</a>
35             </td>
36           </tr>
37           {{/each}}
38         </tbody>
39       </table>
40
41
42     </div>
43   </div>
44 </div
45