untracked_tables.twig 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. <h3>{% trans 'Untracked tables' %}</h3>
  2. <form method="post" action="db_tracking.php" name="untrackedForm"
  3. id="untrackedForm" class="ajax">
  4. {{ Url_getHiddenInputs(db) }}
  5. <table id="noversions" class="data">
  6. <thead>
  7. <tr>
  8. <th></th>
  9. <th>{% trans 'Table' %}</th>
  10. <th>{% trans 'Action' %}</th>
  11. </tr>
  12. </thead>
  13. <tbody>
  14. {% for table_name in untracked_tables if Tracker_getVersion(db, table_name) == -1 %}
  15. <tr>
  16. <td class="center">
  17. <input type="checkbox" name="selected_tbl[]"
  18. class="checkall" id="selected_tbl_{{ table_name }}"
  19. value="{{ table_name }}"/>
  20. </td>
  21. <th>
  22. <label for="selected_tbl_{{ table_name }}">
  23. {{ table_name }}
  24. </label>
  25. </th>
  26. <td>
  27. <a href="tbl_tracking.php{{ url_query|raw }}&amp;table={{ table_name }}">
  28. {{ Util_getIcon('eye', 'Track table'|trans) }}
  29. </a>
  30. </td>
  31. </tr>
  32. {% endfor %}
  33. </tbody>
  34. </table>
  35. {% include 'select_all.twig' with {
  36. 'pma_theme_image': pma_theme_image,
  37. 'text_dir': text_dir,
  38. 'form_name': 'untrackedForm'
  39. } only %}
  40. {{ Util_getButtonOrImage(
  41. 'submit_mult',
  42. 'mult_submit',
  43. 'Track table'|trans,
  44. 'eye',
  45. 'track'
  46. ) }}
  47. </form>