diff --git a/CHANGELOG.md b/CHANGELOG.md index 5f134f1..26f6d41 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,7 @@ ## Unreleased * Allow filtering by game, edition, purchase from the session list +* Add icons for the above ## 1.0.2 / 2023-02-18 21:48+01:00 diff --git a/common/input.css b/common/input.css index 2ff5f48..cb1629e 100644 --- a/common/input.css +++ b/common/input.css @@ -17,8 +17,20 @@ textarea { grid-template-columns: 3fr repeat(3, 1fr) 0.5fr 1fr; } -.purchase-name:hover > span:nth-child(2) { - @apply dark:text-slate-300 +.purchase-name > span:nth-child(2) { + @apply ml-4 +} + +.purchase-name > span:nth-child(2) > a > img { + @apply opacity-0 transition-opacity duration-500 +} + +.purchase-name:hover > span:nth-child(2) > a > img { + @apply opacity-50 +} + +.purchase-name > span:nth-child(2) > a > img:hover { + @apply opacity-100 } #button-container button { diff --git a/games/templates/list_sessions.html b/games/templates/list_sessions.html index e3d3a41..ba4afc1 100644 --- a/games/templates/list_sessions.html +++ b/games/templates/list_sessions.html @@ -1,5 +1,7 @@ {% extends 'base.html' %} +{% load static %} + {% block title %}{{ title }}{% endblock title %} {% block content %} @@ -40,13 +42,18 @@
Manage
{% for data in dataset %}
- {{ data.purchase.edition }} ({{ data.purchase.get_ownership_type_display }}) + {{ data.purchase.edition }} ({{ data.purchase.get_ownership_type_display }}) - - (G, - E, - P, - O) + + + Filter by this game + + + Filter by this edition + + + Filter by this purchase +
{{ data.purchase.platform }}