summaryrefslogtreecommitdiff
path: root/UI/am-list-departments.html
blob: 51c5f155e29879b1ce9aeff3b6496440e97738d2 (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 form.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 form.stylesheet ?>" type="text/css" title="LedgerSMB stylesheet" />
  10. <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
  11. <meta name="robots" content="noindex,nofollow" />
  12. </head>
  13. <?lsmb PROCESS elements.html ?>
  14. <body>
  15. <table width="100%">
  16. <tr>
  17. <th class="listtop" colspan="<?lsmb columns.size ?>"><?lsmb form.title ?></th>
  18. </tr>
  19. <tr><td colspan="<?lsmb columns.size ?>"></td></tr>
  20. <tr class="listheading">
  21. <?lsmb FOREACH column IN columns ?>
  22. <th class="listheading"<?lsmb IF column == 'description' ?> width="90%"<?lsmb END ?>><?lsmb IF heading.$column.href ?><a class="listheading" href="<?lsmb heading.$column.href ?>"><?lsmb heading.$column.text ?></a><?lsmb ELSE; heading.$column; END ?></th>
  23. <?lsmb END ?>
  24. </tr>
  25. <?lsmb FOREACH row IN rows ?>
  26. <?lsmb c = "listrow${row.i}" ?>
  27. <tr class="<?lsmb c ?>">
  28. <?lsmb FOREACH column IN columns ?>
  29. <td class="<?lsmb c ?>" <?lsmb IF (column == 'cost' || column == 'profit') ?>align="center"<?lsmb ELSIF column == 'discount' ?>align="right"<?lsmb END ?>>
  30. <?lsmb IF row.$column.href ?>
  31. <a href="<?lsmb row.$column.href?>"><?lsmb row.$column.text ?></a>
  32. <?lsmb ELSE; row.$column; END ?>
  33. </td>
  34. <?lsmb END ?>
  35. </tr>
  36. <?lsmb END ?>
  37. <tr><td colspan="<?lsmb columns.size ?>"><hr size="3" /></td></tr>
  38. </table>
  39. <br />
  40. <form method="post" action="<?lsmb form.script ?>">
  41. <?lsmb FOREACH hidden IN hiddens ?>
  42. <?lsmb PROCESS input element_data={type => 'hidden', name => hidden, value => form.$hidden} ?>
  43. <?lsmb END ?>
  44. <?lsmb FOREACH button IN buttons ?><?lsmb PROCESS button element_data=button ?><?lsmb END ?>
  45. </form>
  46. </body>
  47. </html>