Replace track count with source in results table
Changed table columns from Title | Duration | Tracks to Title | Source | Duration - more useful to see where the MIDI is from (BitMidi, etc.) than track count. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
+8
-4
@@ -183,8 +183,12 @@
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.results-table .duration-col,
|
||||
.results-table .tracks-col {
|
||||
.results-table .source-col {
|
||||
width: 100px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.results-table .duration-col {
|
||||
width: 80px;
|
||||
text-align: center;
|
||||
}
|
||||
@@ -222,7 +226,7 @@
|
||||
font-size: 11px;
|
||||
}
|
||||
|
||||
.results-table .tracks-col {
|
||||
.results-table .source-col {
|
||||
display: none;
|
||||
}
|
||||
|
||||
@@ -627,8 +631,8 @@
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Title</th>
|
||||
<th class="source-col">Source</th>
|
||||
<th class="duration-col">Duration</th>
|
||||
<th class="tracks-col">Tracks</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody id="resultsBody">
|
||||
|
||||
+1
-1
@@ -190,8 +190,8 @@ class MotifApp {
|
||||
|
||||
row.innerHTML = `
|
||||
<td>${result.title}</td>
|
||||
<td class="source-col">${result.source}</td>
|
||||
<td class="duration-col">${result.parsed ? Math.round(result.parsed.durationSec) + 's' : '?'}</td>
|
||||
<td class="tracks-col">${result.parsed ? result.parsed.tracks.length : '?'}</td>
|
||||
`;
|
||||
|
||||
// Make entire row clickable
|
||||
|
||||
Reference in New Issue
Block a user