section.twig 1.3 KB

1234567891011121314151617181920212223242526272829303132333435
  1. <div class="responsivetable">
  2. <table class="data_full_width" id="plugins-
  3. {{- preg_replace('/[^a-z]/', '', plugin_type|lower) }}">
  4. <caption class="tblHeaders">
  5. {{ plugin_type }}
  6. </caption>
  7. <thead>
  8. <tr>
  9. <th>{% trans 'Plugin' %}</th>
  10. <th>{% trans 'Description' %}</th>
  11. <th>{% trans 'Version' %}</th>
  12. <th>{% trans 'Author' %}</th>
  13. <th>{% trans 'License' %}</th>
  14. </tr>
  15. </thead>
  16. <tbody>
  17. {% for plugin in plugin_list %}
  18. <tr class="noclick">
  19. <th>
  20. {{ plugin['plugin_name'] }}
  21. {% if not plugin['is_active'] %}
  22. <small class="attention">
  23. {% trans 'disabled' %}
  24. </small>
  25. {% endif %}
  26. </th>
  27. <td>{{ plugin['plugin_description'] }}</td>
  28. <td>{{ plugin['plugin_type_version'] }}</td>
  29. <td>{{ plugin['plugin_author'] }}</td>
  30. <td>{{ plugin['plugin_license'] }}</td>
  31. </tr>
  32. {% endfor %}
  33. </tbody>
  34. </table>
  35. </div>