summaryrefslogtreecommitdiff
path: root/UI/employee.html
blob: de6f4c8e51ebb3c0ffe182f91836b94f24452a0c (plain)
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  2. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  4. <head>
  5. <title><?lsmb titlebar ?></title>
  6. <meta http-equiv="Pragma" content="no-cache" />
  7. <meta http-equiv="Expires" content="-1" />
  8. <link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />
  9. <link rel="stylesheet" href="css/<?lsmb stylesheet ?>" type="text/css" />
  10. <link rel="stylesheet" href="UI/employee.css" type="text/css" />
  11. <meta http-equiv="content-type"
  12. content="text/html; charset=<?lsmb charset ?>" />
  13. <meta name="robots" content="noindex,nofollow" />
  14. </head>
  15. <!--
  16. General comments: There are a few major notes for people wanting to do CSS on this
  17. page. The divs of class 2column are meant to be displayed as columns, while the spans
  18. of class group_input_field are expected to be displayed as a block. Due to XHTML
  19. specification requirements, these cannot be swapped for elements with the default
  20. formatting desired.
  21. -->
  22. <body>
  23. <div class="header" id="formheading"><?lsmb text(title) ?></div>
  24. <form action="employee.pl" method="post">
  25. <input type="hidden" name="id" value="<?lsmb id ?>" />
  26. <div class="2column" id="form_column1">
  27. <div class="input_row" id="number_row">
  28. <span class="input_label"><?lsmb text('Number') ?></span>
  29. <span class="input_field">
  30. <input type="text" name="employeenumber" maxlength="32"
  31. value="<?lsmb employeenumber ?>" />
  32. </span>
  33. </div>
  34. <div class="input_row" id="name_row">
  35. <span class="input_label"><?lsmb text('Name') ?></span>
  36. <span class="input_field">
  37. <input type="text" name="name" maxlength="64" value="<?lsmb name ?>" />
  38. </span>
  39. </div>
  40. <div class="input_row" id="address_row">
  41. <span class="input_label"><?lsmb text('Address') ?></span>
  42. <span class="input_field_set">
  43. <span class="group_input_field">
  44. <input type="text" name="address1" maxlength="32" value="<?lsmb address1 ?>" />
  45. </span>
  46. <span class="group_input_field">
  47. <input type="text" name="address2" maxlength="32" value="<?lsmb address2 ?>" />
  48. </span>
  49. </span>
  50. </div>
  51. <div class="input_row" id="city_row">
  52. <span class="input_label"><?lsmb text('City') ?></span>
  53. <span class="input_field">
  54. <input type="text" name="city" maxlength="64" value="<?lsmb city ?>" />
  55. </span>
  56. </div>
  57. <div class="input_row" id="state_row">
  58. <span class="input_label"><?lsmb text('State/Province') ?></span>
  59. <span class="input_field">
  60. <input type="text" name="state" maxlength="32" value="<?lsmb state ?>" />
  61. </span>
  62. </div>
  63. <div class="input_row" id="zipcode_row">
  64. <span class="input_label"><?lsmb text('Zip/Postal Code') ?></span>
  65. <span class="input_field">
  66. <input type="text" name="zipcode" maxlength="10" value="<?lsmb zipcode ?>" />
  67. </span>
  68. </div>
  69. <div class="input_row" id="country_row">
  70. <span class="input_label"><?lsmb text('Country') ?></span>
  71. <span class="input_field">
  72. <input type="text" name="country" maxlength="32" value="<?lsmb country ?>" />
  73. </span>
  74. </div>
  75. <div class="input_row" id="email_row">
  76. <span class="input_label"><?lsmb text('Email') ?></span>
  77. <span class="input_field">
  78. <input type="text" name="email" maxlength="35" value="<?lsmb email ?>" />
  79. </span>
  80. </div>
  81. <div class="input_row" id="sales_row">
  82. <span class="input_label"><?lsmb text('Sales') ?></span>
  83. <span class="input_field">
  84. <input name="sales" class="checkbox" type="checkbox" value="1"
  85. <?lsmb IF sales ?>checked<?lsmb END ?> />
  86. </span>
  87. </div>
  88. <div class="input_row" id="role_row">
  89. <span class="input_label"><?lsmb text('Role') ?></span>
  90. <span class="input_field">
  91. <select name="role">
  92. <option value="user" <?lsmb IF role eq 'user' ?> SELECTED <?lsmb END ?>>
  93. <?lsmb text('User') ?></option>
  94. <option value="supervisor"
  95. <?lsmb IF role eq 'supervisor' ?> SELECTED <?lsmb END ?>>
  96. <?lsmb text('Supervisor') ?></option>
  97. <option value="manager" <?lsmb IF role eq 'manager' ?> SELECTED <?lsmb END ?>>
  98. <?lsmb text('Manager') ?></option>
  99. <option value="admin" <?lsmb IF role eq 'admin' ?> SELECTED <?lsmb END ?>>
  100. <?lsmb text('Admin') ?></option>
  101. </select>
  102. </span>
  103. </div>
  104. </div>
  105. <div class="2column" id="form_column2">
  106. <div class="input_row" id="workphone_row">
  107. <span class="input_label"><?lsmb text('Work Phone') ?></span>
  108. <span class="input_field">
  109. <input type="text" maxlength="20" name="workphone" value="<?lsmb workphone ?>" />
  110. </span>
  111. </div>
  112. <div class="input_row" id="homephone_row">
  113. <span class="input_label"><?lsmb text('Home Phone') ?></span>
  114. <span class="input_field">
  115. <input type="text" maxlength="20" name="homephone" value="<?lsmb workphone ?>" />
  116. </span>
  117. </div>
  118. <div class="input_row" id="startdate_row">
  119. <span class="input_label"><?lsmb text('Start Date') ?></span>
  120. <span class="input_field">
  121. <input type="text" name="startdate" maxlength="11" value="<?lsmb startdate ?>" />
  122. </span>
  123. </div>
  124. <div class="input_row" id="enddate_row">
  125. <span class="input_label"><?lsmb text('End Date') ?></span>
  126. <span class="input_field">
  127. <input type="text" name="enddate" maxlength="11" value="<?lsmb enddate ?>" />
  128. </span>
  129. </div>
  130. <div class="input_row" id="ssn_row">
  131. <span class="input_label"><?lsmb text('SSN') ?></span>
  132. <span class="input_field">
  133. <input type="text" maxlength="20" name="ssn" value="<?lsmb ssn ?>" />
  134. </span>
  135. </div>
  136. <div class="input_row" id="dob_row">
  137. <span class="input_label"><?lsmb text('DOB') ?></span>
  138. <span class="input_field">
  139. <input type="text" maxlength="11" name="dob" value="<?lsmb dob ?>" />
  140. </span>
  141. </div>
  142. <div class="input_row" id="iban_row">
  143. <span class="input_label"><?lsmb text('IBAN') ?></span>
  144. <span class="input_field">
  145. <input type="text" maxlength="34" name="iban" value="<?lsmb iban ?>" />
  146. </span>
  147. </div>
  148. <div class="input_row" id="bic_row">
  149. <span class="input_label"><?lsmb text('BIC') ?></span>
  150. <span class="input_field">
  151. <input type="text" maxlength="11" name="iban" value="<?lsmb bic ?>" />
  152. </span>
  153. </div>
  154. </div>
  155. <div id="notes_div">
  156. <div class="input_label"><?lsmb text('notes') ?></div>
  157. <div class="input_field">
  158. <textarea rows="3" cols="60" name="notes"><?lsmb notes ?></textarea>
  159. </div>
  160. </div>
  161. </form>
  162. </body>
  163. </html>