summaryrefslogtreecommitdiff
path: root/UI/am-list-departments.html
blob: 4d3ab20bc25f118a043cf69e30432704d14d9931 (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 IF row.class == 'heading'; c = "listheading";
  27. ELSE; c = "listrow${row.i}";
  28. END -?>
  29. <tr class="<?lsmb c ?>">
  30. <?lsmb FOREACH column IN columns ?>
  31. <td class="<?lsmb c ?>" <?lsmb IF (column == 'cost' || column == 'profit') ?>align="center"<?lsmb ELSIF column == 'discount' ?>align="right"<?lsmb END ?>>
  32. <?lsmb IF row.$column.href ?>
  33. <a href="<?lsmb row.$column.href?>"><?lsmb row.$column.text ?></a>
  34. <?lsmb ELSE; row.$column; END ?>
  35. </td>
  36. <?lsmb END ?>
  37. </tr>
  38. <?lsmb END ?>
  39. <tr><td colspan="<?lsmb columns.size ?>"><hr size="3" /></td></tr>
  40. </table>
  41. <br />
  42. <form method="post" action="<?lsmb form.script ?>">
  43. <?lsmb FOREACH hidden IN hiddens ?>
  44. <?lsmb PROCESS input element_data={type => 'hidden', name => hidden, value => form.$hidden} ?>
  45. <?lsmb END ?>
  46. <?lsmb FOREACH button IN buttons ?><?lsmb PROCESS button element_data=button ?><?lsmb END ?>
  47. </form>
  48. </body>
  49. </html>