org/sonews/web/tmpl/SonewsConfigServlet.tmpl
changeset 1 6fceb66e1ad7
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/org/sonews/web/tmpl/SonewsConfigServlet.tmpl	Fri Jun 26 16:48:50 2009 +0200
     1.3 @@ -0,0 +1,30 @@
     1.4 +<p>
     1.5 +<a href="/sonews">Back to Main Page</a>
     1.6 +</p>
     1.7 +
     1.8 +<h2>Configuration values</h2>
     1.9 +<form action="/sonews/config" method="GET">
    1.10 +<input type="hidden" name="which" value="config"/>
    1.11 +<table>
    1.12 +%CONFIG
    1.13 +</table>
    1.14 +<input type="submit" value="Apply changes"/>
    1.15 +</form>
    1.16 +
    1.17 +<h2>Groups served by this sonews instance</h2>
    1.18 +<table>
    1.19 +%GROUP
    1.20 +</table>
    1.21 +
    1.22 +<p>
    1.23 +<h2>Add new group to be served</h2>
    1.24 +<form action="/sonews/config" method="GET">
    1.25 +  <input type="hidden" name="which" value="groupadd"/>
    1.26 +<table>
    1.27 +  <tr><td>Names (separated by newlines):</td>
    1.28 +      <td><textarea cols="50" rows="15" name="groups"></textarea></td></tr>
    1.29 +  </tr>
    1.30 +</table>
    1.31 +<input type="submit" value="Add groups"/>
    1.32 +</form>
    1.33 +</p>
    1.34 \ No newline at end of file