source: trunk/templates/missing_metadata.tt @ 824

Last change on this file since 824 was 824, checked in by nick, 15 years ago

Missing metadata support

File size: 1.4 KB
Line 
1[% INCLUDE header.tt page_title = "Missing Metadata - $site_name" %]
2[% INCLUDE banner.tt %]
3<div id="content">
4[% INCLUDE navbar.tt %]
5<div id="maincontent">
6<h2>Pages Missing Metadata</h2>
7
8<form method="get" action="wiki.cgi">
9<div>
10        <label for="metadata_type">Metadata Type:</label>
11        <select name="metadata_type">
12                <option value="category">Category</option>
13                <option value="locale">Locale</option>
14                <option value="address">Address</option>
15                <option value="postcode">Postcode</option>
16                <option value="phone">Telephone Number</option>
17                <option value="latitude">Latitude</option>
18                <option value="longitude">Longitude</option>
19                <option value="os_x">OS X</option>
20                <option value="os_y">OS Y</option>
21        </select>
22</div>
23<div>
24        <label for="metadata_value">Metadata Value:</label>
25        <input name="metadata_value" value="[% metadata_value %]" />
26        <br />
27        <i>Optional, eg 'pub' when metadata value is Category</i>
28</div>
29<div>
30        <input type="submit" value="Find Nodes" />
31</div>
32</form>
33
34[% IF done_search %]
35  <h3>Pages</h3>
36  <a name="nodes"></a>
37  <table id="nodes">
38  <tr><th>Node name</th><th>View</th><th>Edit</th></tr>
39    [% FOREACH node = nodes %]
40      <tr>
41       <td><a href="[% node.view_url %]">[% node.name %]</a></td>
42       <td><a href="[% node.view_url %]">view</a></td>
43       <td><a href="[% node.edit_url %]">edit</a></td>
44      </tr>
45    [% END %]
46  </table>
47[% END %]
48
49</div>
50
51[% INCLUDE footer.tt %]
Note: See TracBrowser for help on using the repository browser.