1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/org/sonews/web/tmpl/SonewsPeerServlet.tmpl Wed Jul 01 10:48:22 2009 +0200
1.3 @@ -0,0 +1,52 @@
1.4 +<p>
1.5 +<a href="/sonews">Back to Main Page</a>
1.6 +</p>
1.7 +
1.8 +On this page you can configure to which peer hosts new messages are
1.9 +posted or from which peer hosts we should receive messages.
1.10 +
1.11 +<h2>Peers</h2>
1.12 +%PEERS
1.13 +
1.14 +<h3>Add new peer</h3>
1.15 +<form action="" method="GET">
1.16 +<table style="border: 0px">
1.17 + <tr>
1.18 + <td>Hostname:</td>
1.19 + <td><input type="text" name="host" value="news.someremotehost.org" /></td>
1.20 + </tr>
1.21 + <tr>
1.22 + <td>Port:</td>
1.23 + <td><input type="text" name="port" value="119" /></td>
1.24 + </tr>
1.25 +</table>
1.26 +<input type="submit" value="Add peer" />
1.27 +</form>
1.28 +
1.29 +<h2>Rules</h2>
1.30 +<h3>Current</h3>
1.31 +%PEERING_RULES
1.32 +
1.33 +<h3>Add peering rule</h3>
1.34 +<form action="" method="GET">
1.35 +<table style="border: 0px">
1.36 + <tr>
1.37 + <td>Peer:</td>
1.38 + <td>%OPTION_PEERS</td>
1.39 + </tr>
1.40 + <tr>
1.41 + <td>Group:</td>
1.42 + <td>%OPTION_GROUP</td>
1.43 + </tr>
1.44 + <tr>
1.45 + <td>Peering type:</td>
1.46 + <td>
1.47 + <select name="peertype">
1.48 + <option value="0">Pull peering</option>
1.49 + <option value="1">Push peering</option>
1.50 + </select>
1.51 + </td>
1.52 + </tr>
1.53 +</table>
1.54 +<input type="submit" value="Add peering rule" />
1.55 +</form>
1.56 \ No newline at end of file