/components/fpweb/demo/fptemplate/listrecords/apache/mytemplate3.html

http://github.com/graemeg/lazarus · HTML · 38 lines · 34 code · 4 blank · 0 comment · 0 complexity · 04103241b760b6691461ef6b1b44bb62 MD5 · raw file

  1. <html>
  2. <body>
  3. DateTime in format "MM/DD hh:mm:ss": <b>{+DATETIME [-FORMAT=MM/DD hh:mm:ss-]+}</b>
  4. <br>
  5. List of records:
  6. <table class="beautify1">
  7. <tr class="beautify2">
  8. <td class="beautify3">
  9. {+REPORTRESULT
  10. [-HEADER=
  11. <table bordercolorlight="#6699CC" bordercolordark="#E1E1E1" class="Label">
  12. <tr class="Label" align=center bgcolor="#6699CC">
  13. <th><font color="white">~Column1</font></th>
  14. <th><font color="white">~Column2</font></th>
  15. </tr>
  16. -]
  17. [- ONEROW =
  18. <tr bgcolor="#F2F2F2" class="Label3" align="center">
  19. <td>~Column1Value</td><td>~Column2value</td>
  20. </tr>
  21. -]
  22. .
  23. .snip, and so on more parameters if needed
  24. .
  25. [- NOTFOUND=
  26. <tr class="Error"><td>There are no entries found.</td></tr>
  27. -]
  28. [-FOOTER= </table>-]
  29. +}
  30. </td>
  31. </tr>
  32. </table>
  33. </body>
  34. </html>