-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathby_place.html
101 lines (99 loc) · 5.05 KB
/
by_place.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
<?xml version="1.0" encoding="UTF-8"?>
<div xmlns="http://www.w3.org/1999/xhtml" data-template="templates:surround" data-template-with="templates/page.html" data-template-at="content">
<div class="container">
<div class="row">
<div class="page-header">
<h1>Inscriptions by Place</h1>
<p>This page lists inscriptions both by the <a href="#location">location</a> where they
were found, and by the <a href="#mentioned">places mentioned</a> in them. The place-names
link to their entry in the <a href="/exist/apps/SAI/places.html">gazetteer</a>.</p>
</div>
</div>
<!-- This calls the (simple) load function from map.xql. !-->
<!-- map.xql should also be able to create GeoJSON data
and load it into the map... !-->
<div class="row" data-template="smap:draw-map"/>
<!-- I think that the place-names (<h3> here) should link to the directory
of places (gazetteer) !-->
<div class="row">
<h2>
<a id="location"/>Locations where inscriptions are found</h2>
<div data-template="app:list-places-location">
<div data-template="templates:each" data-template-from="places" data-template-to="place">
<h3>
<a href="" data-template="app:place-name"/>
</h3>
<table class="table">
<thead>
<tr>
<th class="col-md-1">ID</th>
<th>Title</th>
<th class="col-md-2">Approximate date</th>
<th class="col-md-2">Language</th>
<th class="col-md-1">Download</th>
</tr>
</thead>
<tbody data-template="app:list-inscriptions-by-place-location">
<tr data-template="templates:each" data-template-from="inscriptions" data-template-to="inscription">
<td>
<a href="" data-template="app:inscription-id"/>
</td>
<td>
<a href="" data-template="app:inscription-title"/>
</td>
<td>
<a href="" data-template="app:inscription-date"/>
</td>
<td>
<a href="" data-template="app:inscription-language"/>
</td>
<td>
<a href="" data-template="app:download-epidoc"/>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<a id="mentioned"/>
<h2>Places mentioned in inscriptions</h2>
<div data-template="app:list-places-mentioned">
<div data-template="templates:each" data-template-from="places" data-template-to="place">
<h3>
<a href="" data-template="app:place-name"/>
</h3>
<table class="table">
<thead>
<tr>
<th class="col-md-1">ID</th>
<th>Title</th>
<th class="col-md-2">Approximate date</th>
<th class="col-md-2">Language</th>
<th class="col-md-1">Download</th>
</tr>
</thead>
<tbody data-template="app:list-inscriptions-by-place-mentioned">
<tr data-template="templates:each" data-template-from="inscriptions" data-template-to="inscription">
<td>
<a href="" data-template="app:inscription-id"/>
</td>
<td>
<a href="" data-template="app:inscription-title"/>
</td>
<td>
<a href="" data-template="app:inscription-date"/>
</td>
<td>
<a href="" data-template="app:inscription-language"/>
</td>
<td>
<a href="" data-template="app:download-epidoc"/>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>