]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/blob - src/allmydata/web/introducer.xhtml
introweb: combine announcement and subscriber information to show version+nickname...
[tahoe-lafs/tahoe-lafs.git] / src / allmydata / web / introducer.xhtml
1 <html xmlns:n="http://nevow.com/ns/nevow/0.1">
2   <head>
3     <title>Introducer Status - AllMyData Tahoe</title>
4     <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
5   </head>
6   <body>
7
8 <h1>Welcome To The Tahoe Introducer</h1>
9
10 <h2>My Code</h2>
11
12 <div>My nodeid: <span n:render="string" n:data="my_nodeid" /></div>
13 <div>My versions: <span n:render="string" n:data="version" /></div>
14 <div>Tahoe code imported from: <span n:render="string" n:data="import_path" /></div>
15
16 <br />
17
18 <div>Announcement Summary: <span n:render="announcement_summary" /></div>
19 <div>Subscription Summary: <span n:render="client_summary" /></div>
20
21 <h2>Service Announcements</h2>
22
23 <div>
24 <table n:render="sequence" n:data="services" border="1">
25   <tr n:pattern="header">
26     <td>PeerID / Nickname</td>
27     <td>Advertised IPs</td>
28     <td>Announced</td>
29     <td>Version</td>
30     <td>Service Name</td>
31   </tr>
32   <tr n:pattern="item" n:render="service_row">
33     <td><tt><n:slot name="peerid"/></tt></td>
34     <td><tt><n:slot name="advertised"/></tt></td>
35     <td><tt><n:slot name="announced"/></tt></td>
36     <td><tt><n:slot name="version"/></tt></td>
37     <td><tt><n:slot name="service_name"/></tt></td>
38   </tr>
39   <tr n:pattern="empty"><td>no peers!</td></tr>
40 </table>
41 </div>
42
43 <h2>Subscribed Clients</h2>
44
45 <div>
46 <table n:render="sequence" n:data="subscribers" border="1">
47   <tr n:pattern="header">
48     <td>PeerID / Nickname</td>
49     <td>Advertised IPs</td>
50     <td>Connected From</td>
51     <td>Since</td>
52     <td>Version</td>
53     <td>Subscribed To</td>
54   </tr>
55   <tr n:pattern="item" n:render="subscriber_row">
56     <td><tt><n:slot name="peerid"/></tt></td>
57     <td><tt><n:slot name="advertised"/></tt></td>
58     <td><tt><n:slot name="connected"/></tt></td>
59     <td><tt><n:slot name="since"/></tt></td>
60     <td><tt><n:slot name="version"/></tt></td>
61     <td><tt><n:slot name="service_name"/></tt></td>
62   </tr>
63   <tr n:pattern="empty"><td>no peers!</td></tr>
64 </table>
65 </div>
66
67   </body>
68 </html>