gamesystem_detail.html 822 B

12345678910111213141516171819202122
  1. {% extends "base.html" %}
  2. {% block page_title %}{{object.name}}{% endblock %}
  3. {% block title %}{{object.name}}{% endblock %}
  4. {% block content %}
  5. <h4>Browsing {{object_list.count}} games</h4>
  6. <form id="library-update-form" class="form-inline my-2 my-lg-0" method="get" action="{% url 'games:game_library_update' %}?game_systems={{object.retropie_slug}}">
  7. <button id="library-update-btn" class="btn btn-warning my-2 my-sm-0" type="submit" {% if update_in_progress %}disabled{% endif %}>Update {{object.name}}</button>
  8. </form>
  9. <div class="d-flex flex-column">
  10. <div class="image-grid-container">
  11. {% for game in object_list %}
  12. {% include "games/_game_card.html" %}
  13. {% endfor %}
  14. </div>
  15. </div>
  16. {% include "games/_pagination.html" %}
  17. {% endblock %}