org/sonews/web/tmpl/SonewsPeerServlet.tmpl
author chris <chris@marvin>
Fri Jun 26 16:48:50 2009 +0200 (2009-06-26)
changeset 1 6fceb66e1ad7
permissions -rw-r--r--
Hooray... sonews/0.5.0 final

HG: Enter commit message. Lines beginning with 'HG:' are removed.
HG: Remove all lines to abort the collapse operation.
chris@1
     1
<p>
chris@1
     2
<a href="/sonews">Back to Main Page</a>
chris@1
     3
</p>
chris@1
     4
chris@1
     5
On this page you can configure to which peer hosts new messages are 
chris@1
     6
posted or from which peer hosts we should receive messages.
chris@1
     7
chris@1
     8
<h2>Peers</h2>
chris@1
     9
%PEERS
chris@1
    10
chris@1
    11
<h3>Add new peer</h3>
chris@1
    12
<form action="" method="GET">
chris@1
    13
<table style="border: 0px">
chris@1
    14
  <tr>
chris@1
    15
    <td>Hostname:</td>
chris@1
    16
    <td><input type="text" name="host" value="news.someremotehost.org" /></td>
chris@1
    17
  </tr>
chris@1
    18
  <tr>
chris@1
    19
    <td>Port:</td>
chris@1
    20
    <td><input type="text" name="port" value="119" /></td>
chris@1
    21
  </tr>
chris@1
    22
</table>
chris@1
    23
<input type="submit" value="Add peer" />
chris@1
    24
</form>
chris@1
    25
chris@1
    26
<h2>Rules</h2>
chris@1
    27
<h3>Current</h3>
chris@1
    28
%PEERING_RULES
chris@1
    29
chris@1
    30
<h3>Add peering rule</h3>
chris@1
    31
<form action="" method="GET">
chris@1
    32
<table style="border: 0px">
chris@1
    33
  <tr>
chris@1
    34
    <td>Peer:</td>
chris@1
    35
    <td>%OPTION_PEERS</td>
chris@1
    36
  </tr>
chris@1
    37
  <tr>
chris@1
    38
    <td>Group:</td>
chris@1
    39
    <td>%OPTION_GROUP</td>
chris@1
    40
  </tr>
chris@1
    41
  <tr>
chris@1
    42
    <td>Peering type:</td>
chris@1
    43
    <td>
chris@1
    44
      <select name="peertype">
chris@1
    45
        <option value="0">Pull peering</option>
chris@1
    46
        <option value="1">Push peering</option>
chris@1
    47
      </select>
chris@1
    48
    </td>
chris@1
    49
  </tr>
chris@1
    50
</table>
chris@1
    51
<input type="submit" value="Add peering rule" />
chris@1
    52
</form>