index.twig 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <div class=container-fluid>
  2. <div class="row">
  3. <h2>
  4. {{ get_image('s_asci') }}
  5. {% trans 'Character sets and collations' %}
  6. </h2>
  7. </div>
  8. <div class="table-responsive">
  9. <table class="table table-light table-striped table-hover table-sm w-auto">
  10. <thead class="thead-light">
  11. <tr>
  12. <th scope="col">{% trans 'Collation' %}</th>
  13. <th scope="col">{% trans 'Description' %}</th>
  14. </tr>
  15. </thead>
  16. {% for charset in charsets %}
  17. <tr>
  18. <th colspan="2" class="table-primary">
  19. {{ charset.name }}
  20. {% if charset.description is not empty %}
  21. (<em>{{ charset.description }}</em>)
  22. {% endif %}
  23. </th>
  24. </tr>
  25. {% for collation in charset.collations %}
  26. <tr{{ collation.is_default ? ' class="table-info"' }}>
  27. <td>
  28. {{ collation.name }}
  29. {% if collation.is_default %}
  30. <span class="sr-only">{% trans '(default)' %}</span>
  31. {% endif %}
  32. </td>
  33. <td>{{ collation.description }}</td>
  34. </tr>
  35. {% endfor %}
  36. {% endfor %}
  37. </table>
  38. </div>
  39. </div>