summaryrefslogtreecommitdiff
path: root/UI/am-list-accounts.html
blob: 315635637af0b33d225697c5566c24135dd766d2 (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="listtop"><?lsmb heading.$column ?></th>
  23. <?lsmb END ?>
  24. </tr>
  25. <?lsmb FOREACH row IN rows ?>
  26. <?lsmb IF row.heading == 'H'; s = 'th'; c = 'listheading'; ELSE;
  27. s = 'td'; c = "listrow${row.i}"; END ?>
  28. <tr class="<?lsmb c ?>">
  29. <?lsmb FOREACH column IN columns ?>
  30. <<?lsmb s ?> class="<?lsmb c ?>" <?lsmb IF (!row.heading && (column == 'credit' || column == 'debit')) ?>align="right"<?lsmb END ?>>
  31. <?lsmb IF row.$column.href ?>
  32. <a href="<?lsmb row.$column.href?>"><?lsmb row.$column.text ?></a>
  33. <?lsmb ELSIF column == 'link'; FOREACH l IN row.link.split(':'); l ?><br /><?lsmb END ?>
  34. <?lsmb ELSE; row.$column; END ?>
  35. </<?lsmb s ?>>
  36. <?lsmb END ?>
  37. </tr>
  38. <?lsmb END ?>
  39. <?lsmb IF totals ?>
  40. <tr class="listtotal">
  41. <?lsmb FOREACH column IN columns ?>
  42. <th class="listtotal" align="right"><?lsmb totals.$column ?></th>
  43. <?lsmb END ?>
  44. </tr>
  45. <?lsmb END ?>
  46. <tr><td colspan="<?lsmb columns.size ?>"><hr size="3" /></td></tr>
  47. </table>
  48. <br />
  49. <form method="post" action="<?lsmb form.script ?>">
  50. <?lsmb FOREACH pair IN form.callback.split('&amp;') ?><?lsmb hidden = pair.split('=') ?><?lsmb IF NOT loop.first ?>
  51. <?lsmb PROCESS input element_data={type => 'hidden', name => hidden.0, value => hidden.1} ?><?lsmb END ?><?lsmb END ?>
  52. <?lsmb PROCESS input element_data={type => 'hidden', name => 'callback', value => form.callback} ?>
  53. <?lsmb FOREACH button IN buttons ?><?lsmb PROCESS button element_data=button ?><?lsmb END ?>
  54. </form>
  55. </body>
  56. </html>