This commit is contained in:
@@ -202,7 +202,20 @@
|
||||
{% if request.GET.imported %}
|
||||
<span style="font-size:0.82rem;color:#34d399">✓ {{ request.GET.imported }} game{{ request.GET.imported|pluralize }} imported</span>
|
||||
{% endif %}
|
||||
<a href="{% url 'backlogger:steam_login' %}" class="btn btn-outline" style="font-size:0.82rem">▶ Steam</a>
|
||||
{% if request.GET.synced %}
|
||||
<span style="font-size:0.82rem;color:#34d399">✓ {{ request.GET.synced }} game{{ request.GET.synced|pluralize }} synced</span>
|
||||
{% endif %}
|
||||
{% if request.GET.sync_error %}
|
||||
<span style="font-size:0.82rem;color:#f87171">Steam sync failed</span>
|
||||
{% endif %}
|
||||
<a href="{% url 'backlogger:steam_sync_login' %}" class="btn btn-outline" style="font-size:0.82rem" title="Sync hours played from Steam">↻ Sync</a>
|
||||
<a href="{% url 'backlogger:steam_login' %}" class="btn btn-outline" style="font-size:0.82rem">▶ Import</a>
|
||||
{% if debug %}
|
||||
<form method="post" action="{% url 'backlogger:debug_delete_all' %}" onsubmit="return confirm('Delete ALL items?')">
|
||||
{% csrf_token %}
|
||||
<button type="submit" class="btn btn-danger" style="font-size:0.82rem">🗑 Delete all</button>
|
||||
</form>
|
||||
{% endif %}
|
||||
<a href="{% url 'backlogger:add' %}" class="btn btn-primary">+ Add item</a>
|
||||
</div>
|
||||
</div>
|
||||
@@ -229,6 +242,7 @@
|
||||
<option value="newest" {% if sort == 'newest' %}selected{% endif %}>Newest first</option>
|
||||
<option value="oldest" {% if sort == 'oldest' %}selected{% endif %}>Oldest first</option>
|
||||
<option value="progress" {% if sort == 'progress' %}selected{% endif %}>Most complete</option>
|
||||
<option value="updated" {% if sort == 'updated' %}selected{% endif %}>Recently updated</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user