From 3f5abe5cba6900cdb6d3134b3b3fd5437b5c04a0 Mon Sep 17 00:00:00 2001 From: Brian Warner <warner@allmydata.com> Date: Tue, 11 Mar 2008 17:41:03 -0700 Subject: [PATCH] oops, add introducer.xhtml --- src/allmydata/web/introducer.xhtml | 67 ++++++++++++++++++++++++++++++ 1 file changed, 67 insertions(+) create mode 100644 src/allmydata/web/introducer.xhtml diff --git a/src/allmydata/web/introducer.xhtml b/src/allmydata/web/introducer.xhtml new file mode 100644 index 00000000..1f0b5f09 --- /dev/null +++ b/src/allmydata/web/introducer.xhtml @@ -0,0 +1,67 @@ +<html xmlns:n="http://nevow.com/ns/nevow/0.1"> + <head> + <title>AllMyData - Tahoe</title> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> + </head> + <body> + +<h1>Welcome To The Tahoe Introducer</h1> + +<h2>My Code</h2> + +<div>My nodeid: <span n:render="string" n:data="my_nodeid" /></div> +<div>My versions: <span n:render="string" n:data="version" /></div> +<div>Tahoe code imported from: <span n:render="string" n:data="import_path" /></div> + +<br /> + +<div>Storage Servers: <span n:render="string" n:data="known_storage_servers" /> known</div> + +<div>Clients: <span n:render="string" n:data="num_clients" /> subscribed</div> + +<h2>Service Announcements</h2> + +<div> +<table n:render="sequence" n:data="services" border="1"> + <tr n:pattern="header"> + <td>PeerID / Nickname</td> + <td>Advertised IPs</td> + <td>Announced</td> + <td>Version</td> + <td>Service Name</td> + </tr> + <tr n:pattern="item" n:render="service_row"> + <td><tt><n:slot name="peerid"/></tt></td> + <td><tt><n:slot name="advertised"/></tt></td> + <td><tt><n:slot name="announced"/></tt></td> + <td><tt><n:slot name="version"/></tt></td> + <td><tt><n:slot name="service_name"/></tt></td> + </tr> + <tr n:pattern="empty"><td>no peers!</td></tr> +</table> +</div> + +<h2>Subscribed Clients</h2> + +<div> +<table n:render="sequence" n:data="subscribers" border="1"> + <tr n:pattern="header"> + <td>PeerID</td> + <td>Advertised IPs</td> + <td>Connected From</td> + <td>Since</td> + <td>Subscribed To</td> + </tr> + <tr n:pattern="item" n:render="subscriber_row"> + <td><tt><n:slot name="peerid"/></tt></td> + <td><tt><n:slot name="advertised"/></tt></td> + <td><tt><n:slot name="connected"/></tt></td> + <td><tt><n:slot name="since"/></tt></td> + <td><tt><n:slot name="service_name"/></tt></td> + </tr> + <tr n:pattern="empty"><td>no peers!</td></tr> +</table> +</div> + + </body> +</html> -- 2.45.2