devtool_pagerules.html 730 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. {% include 'devtool_header.html' %}
  2. <table>
  3. <tr>
  4. <th>Rule Id</th>
  5. <th>Page Id</th>
  6. <th>Business Logic</th>
  7. </tr>
  8. <tr>
  9. <form action="/editor.php?a=pagerules&command=add" method="post">
  10. <td>
  11. NEW
  12. </td>
  13. <td>
  14. ___
  15. </td>
  16. <td>
  17. ___
  18. </td>
  19. <td>
  20. <input type="submit" value="Save" />
  21. </td>
  22. </form>
  23. </tr>
  24. {% for page in pages %}
  25. <tr>
  26. <td>
  27. {{ page['page_id'] }}
  28. </td>
  29. <td>
  30. {{ page['template_path'] }}
  31. </td>
  32. <td>
  33. {{ page['template_filename'] }}
  34. </td>
  35. <td>
  36. <a href="/editor.php?a=pagerules&id={{ page['page_id'] }}&command=edit">Edit</a>
  37. <a href="/editor.php?a=pagerules&id={{ page['page_id'] }}&command=delete">Delete</a>
  38. </td>
  39. </tr>
  40. {% endfor %}
  41. </table>
  42. {% include 'devtool_footer.html' %}