-
Notifications
You must be signed in to change notification settings - Fork 0
/
caps.html
99 lines (99 loc) · 2.98 KB
/
caps.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
<html>
<head>
<link type="text/css" rel="stylesheet" href="/stylesheets/main.css" />
</head>
<body>
{% include "crawl_header.html" %}
{% include "pager.html" %}
<h2>Caps</h2>
<table border="1">
<tr>
<th>Feed</th>
<th>CAP URL</th>
<th>Text</th>
<th>Parse Errors</th>
<!-- Alert -->
<th>Identifier</th>
<th>Sender</th>
<th>Sent</th>
<th>Status</th>
<th>MsgType</th>
<th>Source</th>
<th>Scope</th>
<th>Restriction</th>
<th>Code</th>
<th>References</th>
<!-- Info -->
<th>Language</th>
<th>Category</th>
<th>ResponseType</th>
<th>Urgency</th>
<th>Severity</th>
<th>Certainty</th>
<th>Audience</th>
<th>Effective</th>
<th>Onset</th>
<th>Expires</th>
<th>SenderName</th>
<th>Web</th>
<th>Contact</th>
<!-- Resource -->
<th>ResourceDesc</th>
<th>MimeType</th>
<th>Size</th>
<th>URI</th>
<!-- Area -->
<th>Altitude</th>
<th>Ceiling</th>
</tr>
{% for cap in caps %}
<tr>
<td><a href="{{cap.feed.url}}">{{cap.feed.url}}</a></td>
<td><a href="{{cap.url}}">{{cap.url}}</a></td>
<td><textarea rows=10 columns=80>{{cap.text|escape}}</textarea></td>
<td>
{% if cap.parse_errors %}
<textarea rows=10 columns=80>{% for error in cap.parse_errors %}{{error|escape}}
--
{% endfor %}</textarea>
{% endif %}
</td>
<!-- Alert -->
<td>{{cap.identifier|escape}}</td>
<td>{{cap.sender|escape}}</td>
<td>{{cap.sent|escape}}</td>
<td>{{cap.status|escape}}</td>
<td>{{cap.msgType|escape}}</td>
<td>{{cap.source|escape}}</td>
<td>{{cap.scope|escape}}</td>
<td>{{cap.restriction|escape}}</td>
<td>{{cap.code|escape}}</td>
<td>{{cap.references|escape}}</td>
<!-- Info -->
<td>{{cap.language|escape}}</td>
<td>{{cap.category|escape}}</td>
<td>{{cap.responseType|escape}}</td>
<td>{{cap.urgency|escape}}</td>
<td>{{cap.severity|escape}}</td>
<td>{{cap.certainty|escape}}</td>
<td>{{cap.audience|escape}}</td>
<td>{{cap.effective|escape}}</td>
<td>{{cap.onset|escape}}</td>
<td>{{cap.expires|escape}}</td>
<td>{{cap.senderName|escape}}</td>
<td>{{cap.web|escape}}</td>
<td>{{cap.contact|escape}}</td>
<!-- Resource -->
<td>{{cap.resourceDesc|escape}}</td>
<td>{{cap.mimeType|escape}}</td>
<td>{{cap.size|escape}}</td>
<td>{{cap.uri|escape}}</td>
<!-- Area -->
<td>{{cap.altitude|escape}}</td>
<td>{{cap.ceiling|escape}}</td>
</tr>
{% endfor %}
</table>
{% include "pager.html" %}
</body>
</html>