untracked_tables.twig 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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 %}
  15. {% if Tracker_getVersion(db, table_name) == -1 %}
  16. <tr>
  17. <td class="center">
  18. <input type="checkbox" name="selected_tbl[]"
  19. class="checkall" id="selected_tbl_{{ table_name }}"
  20. value="{{ table_name }}"/>
  21. </td>
  22. <th>
  23. <label for="selected_tbl_{{ table_name }}">
  24. {{ table_name }}
  25. </label>
  26. </th>
  27. <td>
  28. <a href="tbl_tracking.php{{ url_query|raw }}&amp;table={{ table_name }}">
  29. {{ Util_getIcon('eye', 'Track table'|trans) }}
  30. </a>
  31. </td>
  32. </tr>
  33. {% endif %}
  34. {% endfor %}
  35. </tbody>
  36. </table>
  37. {% include 'select_all.twig' with {
  38. 'pma_theme_image': pma_theme_image,
  39. 'text_dir': text_dir,
  40. 'form_name': 'untrackedForm'
  41. } only %}
  42. {{ Util_getButtonOrImage(
  43. 'submit_mult',
  44. 'mult_submit',
  45. 'Track table'|trans,
  46. 'eye',
  47. 'track'
  48. ) }}
  49. </form>