diff --git a/static/style/style.css b/static/style/style.css index 623ab8b..01d5890 100644 --- a/static/style/style.css +++ b/static/style/style.css @@ -149,4 +149,30 @@ audio { width: 100%; } color: var(--text); background: transparent; border: 1px dashed var(--muted); +} + +td.toggle { + width: 1.5em; + cursor: pointer; + text-align: center; + user-select: none; + height: 20px; +} + +td.toggle a { + display: inline-flex; + align-items: center; + justify-content: center; + width: 20px; + height: 20px; + background-color: var(--accent); + color: var(--accent-text); + text-decoration: none; + border-radius: 4px; + cursor: pointer; + user-select: none; +} + +td.toggle a:hover { + filter: brightness(1.1); /* optional: Hover-Effekt */ } \ No newline at end of file diff --git a/templates/admin_tasksList.html b/templates/admin_tasksList.html index f2164a0..793098f 100644 --- a/templates/admin_tasksList.html +++ b/templates/admin_tasksList.html @@ -14,6 +14,7 @@
+ @@ -23,6 +24,9 @@ {% for s in songs %} + @@ -35,6 +39,7 @@ +
Name Artist ID
+ + + {{ s.name }} {{ s.artist }} {{ s.id }} {{ e.bitrate }} ({{ (e.bitrate / s.original.bitrate * 100) | round(1) }}%) {{ e.sampling_rate }} ({{ (e.sampling_rate / s.original.sampling_rate * 100) | round(1) }}%)