org/sonews/web/tmpl/SonewsConfigServlet.tmpl
author chris <chris@marvin>
Fri, 26 Jun 2009 16:48:50 +0200
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.
     1 <p>
     2 <a href="/sonews">Back to Main Page</a>
     3 </p>
     4 
     5 <h2>Configuration values</h2>
     6 <form action="/sonews/config" method="GET">
     7 <input type="hidden" name="which" value="config"/>
     8 <table>
     9 %CONFIG
    10 </table>
    11 <input type="submit" value="Apply changes"/>
    12 </form>
    13 
    14 <h2>Groups served by this sonews instance</h2>
    15 <table>
    16 %GROUP
    17 </table>
    18 
    19 <p>
    20 <h2>Add new group to be served</h2>
    21 <form action="/sonews/config" method="GET">
    22   <input type="hidden" name="which" value="groupadd"/>
    23 <table>
    24   <tr><td>Names (separated by newlines):</td>
    25       <td><textarea cols="50" rows="15" name="groups"></textarea></td></tr>
    26   </tr>
    27 </table>
    28 <input type="submit" value="Add groups"/>
    29 </form>
    30 </p>