Feat/auto generate edited files #2

Merged
robin merged 16 commits from feat/auto-generate-edited-files into main 2026-11-13 16:12:02 +00:00
2 changed files with 31 additions and 0 deletions
Showing only changes of commit cb050dbc44 - Show all commits

No files matched your search

+26
View File
@@ -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 */
}
+5
View File
@@ -14,6 +14,7 @@
<div class="table-wrap">
<table>
<thead>
<th></th>
<th>Name</th>
<th>Artist</th>
<th>ID</th>
@@ -23,6 +24,9 @@
<tbody>
{% for s in songs %}
<tr>
<td class="toggle">
<a>+</a>
</td>
<td>{{ s.name }}</td>
<td>{{ s.artist }}</td>
<td>{{ s.id }}</td>
@@ -35,6 +39,7 @@
<td></td>
<td></td>
<td></td>
<td></td>
<td>{{ e.bitrate }} ({{ (e.bitrate / s.original.bitrate * 100) | round(1) }}%)</td>
<td>{{ e.sampling_rate }} ({{ (e.sampling_rate / s.original.sampling_rate * 100) | round(1) }}%)</td>
</tr>