]> ruin.nu Git - ndwebbie.git/blob - root/src/settings/index.tt2
62478b1ac551cf49c811993f1050782149983e5f
[ndwebbie.git] / root / src / settings / index.tt2
1 [% META title = 'Site preferences' %]
2
3 <form action="[% c.uri_for('changeStylesheet') %]" method="post"><fieldset> <legend>Style</legend>
4         Stylesheet: <select name="stylesheet">
5 [% FOR style IN stylesheets %]
6                 <option value="[% style %]" [% IF style == user.css %]selected[% END %]>[% style %]</option>
7 [% END %]
8         </select>
9         <br>
10         <input type="submit" value="Change">
11 </fieldset></form>
12 <form action="[% c.uri_for('changePassword') %]" method="post"> <fieldset> <legend>Change password</legend>
13         <p>Old password: 
14         <input type="password" name="oldpass" value="">
15         New password: 
16         <input type="password" name="pass" value="">
17         <input type="submit" value="Submit">
18         </p>
19 </fieldset>
20 </form>