table_list.twig 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. <div id="layer_menu" class="hide">
  2. <div class="center">
  3. <a href="#" class="M_butt" target="_self" >
  4. <img title="{% trans 'Hide/Show all' %}"
  5. alt="v"
  6. id="key_HS_all"
  7. src="{{ theme.getImgPath('designer/downarrow1.png') }}"
  8. data-down="{{ theme.getImgPath('designer/downarrow1.png') }}"
  9. data-right="{{ theme.getImgPath('designer/rightarrow1.png') }}" />
  10. </a>
  11. <a href="#" class="M_butt" target="_self" >
  12. <img alt="v"
  13. id="key_HS"
  14. title="{% trans 'Hide/Show tables with no relationship' %}"
  15. src="{{ theme.getImgPath('designer/downarrow2.png') }}"
  16. data-down="{{ theme.getImgPath('designer/downarrow2.png') }}"
  17. data-right="{{ theme.getImgPath('designer/rightarrow2.png') }}" />
  18. </a>
  19. </div>
  20. <div id="id_scroll_tab" class="scroll_tab">
  21. <table width="100%" style="padding-left: 3px;">
  22. {% for i in 0..table_names|length - 1 %}
  23. <tr>
  24. <td title="{% trans 'Structure' %}"
  25. width="1px"
  26. class="L_butt2_1">
  27. <img alt=""
  28. table_name="{{ table_names_small_url[i] }}"
  29. class="scroll_tab_struct"
  30. src="{{ theme.getImgPath('designer/exec.png') }}"/>
  31. </td>
  32. <td width="1px">
  33. <input class="scroll_tab_checkbox"
  34. title="{% trans 'Hide' %}"
  35. id="check_vis_{{ table_names_url[i]|url_encode }}"
  36. style="margin:0;"
  37. type="checkbox"
  38. value="{{ table_names_url[i]|url_encode }}"
  39. {% if (tab_pos[table_names[i]] is defined
  40. and tab_pos[table_names[i]]['H'])
  41. or display_page == -1 -%}
  42. checked="checked"
  43. {%- endif %} />
  44. </td>
  45. <td class="designer_Tabs"
  46. designer_url_table_name="{{ table_names_url[i]|url_encode }}">
  47. {{ table_names_out[i]|raw }}
  48. </td>
  49. </tr>
  50. {% endfor %}
  51. </table>
  52. </div>
  53. {# end id_scroll_tab #}
  54. <div class="center">
  55. {% trans 'Number of tables:' %} {{ table_names|length }}
  56. </div>
  57. <div id="layer_menu_sizer">
  58. <div class="floatleft">
  59. <img class="icon"
  60. data-right="{{ theme.getImgPath('designer/resizeright.png') }}"
  61. src="{{ theme.getImgPath('designer/resize.png') }}"/>
  62. </div>
  63. </div>
  64. </div>
  65. {# end layer_menu #}