page_with_secondary_tabs.twig 746 B

12345678910111213141516171819
  1. {% if cfg_relation['relwork'] or is_foreign_key_supported %}
  2. <ul class="nav nav-pills m-2 d-print-none">
  3. <li class="nav-item">
  4. <a href="{{ url('/table/structure', {'db': db, 'table': table}) }}" id="table_structure_id" class="nav-link{{ route == '/table/structure' ? ' active' }}">
  5. {{ get_icon('b_props', 'Table structure'|trans, true) }}
  6. </a>
  7. </li>
  8. <li class="nav-item">
  9. <a href="{{ url('/table/relation', {'db': db, 'table': table}) }}" id="table_relation_id" class="nav-link{{ route == '/table/relation' ? ' active' }}">
  10. {{ get_icon('b_relations', 'Relation view'|trans, true) }}
  11. </a>
  12. </li>
  13. </ul>
  14. {% endif %}
  15. <div id="structure_content">
  16. {% block content %}{% endblock %}
  17. </div>