Include date of last check in output.
[irspy-moved-to-github.git] / web / htdocs / details / full.mc
index b64da23..62faa57 100644 (file)
@@ -1,4 +1,4 @@
-%# $Id: full.mc,v 1.3 2006-10-27 00:46:38 mike Exp $
+%# $Id: full.mc,v 1.5 2006-11-06 11:37:43 mike Exp $
 <%args>
 $id
 </%args>
@@ -20,6 +20,7 @@ if ($n == 0) {
     my $rec = $rs->record(0);
     my $xc = irspy_xpath_context($rec);
     my @fields = (
+                 [ "Last Checked" => "i:status/i:probe[last()]" ],
                  [ Protocol => "e:serverInfo/\@protocol" ],
                  [ Host => "e:serverInfo/e:host" ],
                  [ Port => "e:serverInfo/e:port" ],
@@ -70,14 +71,4 @@ if ($n == 0) {
 %      }
 %   }
      </table>
-     <p>
-      <a href="<% xml_encode("/check.html?id=" . uri_escape($id))
-               %>">Test this target</a>
-      <br/>
-      <a href="<% xml_encode("/edit.html?id=" . uri_escape($id))
-               %>">Edit this target's information</a>
-      <br/>
-      <a href="<% xml_encode("/raw.html?id=" . uri_escape($id))
-               %>">Raw XML record</a>
-     </p>
 % }