list.html 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. {% extends "misago/admin/generic/list.html" %}
  2. {% load i18n%}
  3. {% block table-header %}
  4. <th>{% trans "User" %}</th>
  5. <th>{% trans "E-mail" %}</th>
  6. {% endblock table-header %}
  7. {% block table-row %}
  8. <td class="lead">
  9. {{ item.username }}
  10. </td>
  11. <td>
  12. <a href="mailto:{{ item.email }}">{{ item.email }}</a>
  13. </td>
  14. <td>
  15. <select class="form-control">
  16. <option>Pacem</option>
  17. <option>Para</option>
  18. <option>Bellum</option>
  19. </select>
  20. </td>
  21. <td class="row-action">
  22. <button type="button" class="btn btn-success tooltip-top" title="Activate">
  23. <span class="fa fa-check"></span>
  24. </button>
  25. </td>
  26. <td class="row-action">
  27. <div class="btn-group pull-right">
  28. <button type="button" class="btn btn-default dropdown-toggle tooltip-top" data-toggle="dropdown" title="Item options">
  29. <span class="fa fa-gear"></span>
  30. </button>
  31. <ul class="dropdown-menu" role="menu">
  32. <li>
  33. <a href="#">
  34. <span class="fa fa-sort-numeric-desc"></span>
  35. Newest
  36. </a>
  37. <a href="#">
  38. <span class="fa fa-sort-numeric-asc"></span>
  39. Oldest
  40. </a>
  41. <a href="#">
  42. <span class="fa fa-sort-numeric-desc"></span>
  43. Most posts
  44. </a>
  45. <a href="#">
  46. <span class="fa fa-sort-numeric-asc"></span>
  47. Least posts
  48. </a>
  49. </li>
  50. </ul>
  51. </div>
  52. </td>
  53. <td class="row-action">
  54. <button type="button" class="btn btn-danger tooltip-top" title="Activate">
  55. <span class="fa fa-times"></span>
  56. </button>
  57. </td>
  58. <td class="row-select">
  59. <label>
  60. <input type="checkbox">
  61. </label>
  62. </td>
  63. {% endblock %}