JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
update wfpl and templates
[contractor-progress.git] / people.html
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
2
3 <html xmlns="http://www.w3.org/1999/xhtml">
4 <head>
5   <title>Account Administration</title>
6   <link rel="stylesheet" href="style.css" type="text/css" />
7 </head>
8
9 <body>
10   <!--~$body show {~-->
11
12   <!--~message_container {~-->
13        <div style="border: 2px solid red; background: #fbb; padding: 5px; margin: 20px 0px">
14        <!--~message_box {~-->
15            <!--~message_divider {~-->
16                <hr />
17            <!--~}~-->
18            <p style="font-size: 120%; padding: 5px; margin: 0px">~message_text html~</p>
19        <!--~}~-->
20        </div>
21   <!--~}~-->
22
23 <!--~form {~-->
24   <h2><!--~new_msg {~-->Add a new account<!--~}~--><!--~edit_msg {~-->Edit ~username html~'s account<!--~}~--></h2>
25
26   <form action="people" method="post"><!--~editing {~--><input type="hidden" name="people_edit_id" value="~people_edit_id attr~" /><!--~}~-->
27     <table cellspacing="0" cellpadding="4" border="0" summary="">
28
29       <tr><td class="caption">Username: </td><td class="field"><input type="text" name="username" value="~username attr~" /></td></tr>
30
31       <tr><td class="caption">Password: </td><td class="field"><input type="text" name="password" value="~password attr~" /></td></tr>
32
33       <tr><td class="caption">Name: </td><td class="field"><input type="text" name="name" value="~name attr~" /></td></tr>
34
35       <tr><td class="caption">Privs: </td><td class="field"><input type="text" name="privs" value="~privs attr~" /></td></tr>
36
37       <tr><td class="caption">Balance: </td><td class="field"><input type="text" name="balance" value="~balance attr~" /></td></tr>
38
39       <tr><td class="submit_row" colspan="2"><input type="submit" name="save" value="Save" /></td></tr>
40     </table>
41   </form>
42 <!--~}~-->
43 <!--~listings {~-->
44   <h2>Account Administration</h2>
45
46   <!--~populated_listing {~-->
47   <p><a href="people.html?people_new=1">[Add a new account]</a></p>
48
49   <table cellspacing="0" cellpadding="4" border="1" summary="">
50     <tr><th>Name</th><th>Login</th><th>&nbsp;</th></tr><!--~listing_row {~-->
51     <tr><td class="listing"><a href="people.html?people_edit_id=~id~">~name html~</a></td><td class="listing"><a href="people.html?people_edit_id=~id~">~username html~</a></td><td><a href="people.html?people_delete_id=~id~" onclick="return confirm('Permanently delete?')">[delete]</a></td></tr><!--~}~-->
52
53   </table>
54   <!--~}~-->
55   <!--~empty_listing {~-->
56     <p>No ~field_plural html~ in database.</p>
57   <!--~}~-->
58
59   <p><a href="people.html?people_new=1">[Add a new account]</a></p>
60
61   <p><a href="./">Back to main page</a></p>
62 <!--~}~-->
63
64 <!--~}~-->
65 </body>
66 </html>