JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
update wfpl and templates
[contractor-progress.git] / people.html
index 2b1ecca..1c54d23 100644 (file)
@@ -2,64 +2,65 @@
 
 <html xmlns="http://www.w3.org/1999/xhtml">
 <head>
-  <title>people entry</title>
+  <title>Account Administration</title>
   <link rel="stylesheet" href="style.css" type="text/css" />
 </head>
 
 <body>
-  <!--~main_body start~-->
+  <!--~$body show {~-->
 
-  <!--~message_container start~-->
+  <!--~message_container {~-->
        <div style="border: 2px solid red; background: #fbb; padding: 5px; margin: 20px 0px">
-       <!--~message_box start~-->
-           <!--~message_divider start~-->
+       <!--~message_box {~-->
+           <!--~message_divider {~-->
                <hr />
-           <!--~end~-->
-           <p style="font-size: 120%; padding: 5px; margin: 0px">~message_text.html~</p>
-       <!--~end~-->
+           <!--~}~-->
+           <p style="font-size: 120%; padding: 5px; margin: 0px">~message_text html~</p>
+       <!--~}~-->
        </div>
-  <!--~end~-->
+  <!--~}~-->
 
-<!--~form start~-->
-  <h2><!--~new_msg start~-->Add a new entry<!--~end~--><!--~edit_msg start~-->Edit entry "~username.html~"<!--~end~--></h2>
+<!--~form {~-->
+  <h2><!--~new_msg {~-->Add a new account<!--~}~--><!--~edit_msg {~-->Edit ~username html~'s account<!--~}~--></h2>
 
-  <form action="people" method="post"><!--~editing start~--><input type="hidden" name="people_edit_id" value="~people_edit_id.attr~" /><!--~end~-->
+  <form action="people" method="post"><!--~editing {~--><input type="hidden" name="people_edit_id" value="~people_edit_id attr~" /><!--~}~-->
     <table cellspacing="0" cellpadding="4" border="0" summary="">
 
-      <tr><td class="caption">Username: </td><td class="field"><input type="text" name="username" value="~username.attr~" /></td></tr>
+      <tr><td class="caption">Username: </td><td class="field"><input type="text" name="username" value="~username attr~" /></td></tr>
 
-      <tr><td class="caption">Password: </td><td class="field"><input type="text" name="password" value="~password.attr~" /></td></tr>
+      <tr><td class="caption">Password: </td><td class="field"><input type="text" name="password" value="~password attr~" /></td></tr>
 
-      <tr><td class="caption">Name: </td><td class="field"><input type="text" name="name" value="~name.attr~" /></td></tr>
+      <tr><td class="caption">Name: </td><td class="field"><input type="text" name="name" value="~name attr~" /></td></tr>
 
-      <tr><td class="caption">Privs: </td><td class="field"><input type="text" name="privs" value="~privs.attr~" /></td></tr>
+      <tr><td class="caption">Privs: </td><td class="field"><input type="text" name="privs" value="~privs attr~" /></td></tr>
 
-      <tr><td class="caption">Balance: </td><td class="field"><input type="text" name="balance" value="~balance.attr~" /></td></tr>
+      <tr><td class="caption">Balance: </td><td class="field"><input type="text" name="balance" value="~balance attr~" /></td></tr>
 
       <tr><td class="submit_row" colspan="2"><input type="submit" name="save" value="Save" /></td></tr>
     </table>
   </form>
-<!--~end~-->
-<!--~listings start~-->
-  <h2>people Listing</h2>
+<!--~}~-->
+<!--~listings {~-->
+  <h2>Account Administration</h2>
 
-  <!--~populated_listing start~-->
-  <p><a href="people.html?people_new=1">[Add a new record]</a></p>
+  <!--~populated_listing {~-->
+  <p><a href="people.html?people_new=1">[Add a new account]</a></p>
 
-  <table cellspacing="0" cellpadding="4" border="1" summary=""><!--~listing_row start~-->
-  <tr><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 this record]</a></td></tr><!--~end~-->
+  <table cellspacing="0" cellpadding="4" border="1" summary="">
+    <tr><th>Name</th><th>Login</th><th>&nbsp;</th></tr><!--~listing_row {~-->
+    <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><!--~}~-->
 
   </table>
-  <!--~end~-->
-  <!--~empty_listing start~-->
-    <p>No ~field_plural.html~ in database.</p>
-  <!--~end~-->
+  <!--~}~-->
+  <!--~empty_listing {~-->
+    <p>No ~field_plural html~ in database.</p>
+  <!--~}~-->
 
-  <p><a href="people.html?people_new=1">[Add a new record]</a></p>
+  <p><a href="people.html?people_new=1">[Add a new account]</a></p>
 
   <p><a href="./">Back to main page</a></p>
-<!--~end~-->
+<!--~}~-->
 
-<!--~end~-->
+<!--~}~-->
 </body>
 </html>