badge_list.tpl 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. <div class="col-md-12">
  2. <ul class="nav nav-tabs">
  3. <li>
  4. <a href="{{ _p.web_main }}admin/skill_badge.php">{{ 'Home' | get_lang }}</a>
  5. </li>
  6. <li class="active">
  7. <a href="{{ _p.web_main }}admin/skill_badge_list.php">{{ "CurrentBadges" | get_lang }}</a>
  8. </li>
  9. </ul>
  10. <div class="tab-content">
  11. <div class="tab-pane active">
  12. <div class="openbadges-introduction">
  13. <table class="table">
  14. <thead>
  15. <tr>
  16. <th>{{ 'Badges' | get_lang }}</th>
  17. <th>{{ 'Name' | get_lang }}</th>
  18. <th>{{ 'Description' | get_lang }}</th>
  19. <th>{{ 'Actions' | get_lang }}</th>
  20. </tr>
  21. </thead>
  22. <tbody>
  23. {% for skill in skills %}
  24. <tr>
  25. <td>
  26. {{ skill.img_small }}
  27. </td>
  28. <td>
  29. {{ skill.name }}
  30. </td>
  31. <td>{{ skill.description }}</td>
  32. <td>
  33. <a href="{{ _p.web_main }}admin/skill_badge_create.php?id={{ skill.id }}" class="btn btn-primary btn-sm" title="{{ "CreateBadge" | get_lang }}">
  34. <em class="fa fa-shield fa-fw"></em>
  35. </a>
  36. </td>
  37. </tr>
  38. {% endfor %}
  39. </tbody>
  40. </table>
  41. </div>
  42. </div>
  43. </div>
  44. </div>