mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-03 11:14:59 +00:00
feat: Replace +/- with chevron icons for leaderboard details toggle
This commit is contained in:
parent
f961eecab6
commit
434a1c6710
1 changed files with 2 additions and 2 deletions
|
@ -43,7 +43,7 @@ Aider works best with high-scoring models, though it [can connect to almost any
|
|||
{% assign row_index = forloop.index0 %}
|
||||
<tr style="border-bottom: 1px solid #ddd;" id="main-row-{{ row_index }}">
|
||||
<td style="padding: 8px; text-align: center;">
|
||||
<button class="toggle-details" data-target="details-{{ row_index }}" style="background: none; border: none; cursor: pointer; font-size: 16px; padding: 0;">+</button>
|
||||
<button class="toggle-details" data-target="details-{{ row_index }}" style="background: none; border: none; cursor: pointer; font-size: 16px; padding: 0;">></button>
|
||||
</td>
|
||||
<td style="padding: 8px;"><span>{{ row.model }}</span></td>
|
||||
<td class="bar-cell">
|
||||
|
@ -252,7 +252,7 @@ document.addEventListener('DOMContentLoaded', function() {
|
|||
if (targetRow) {
|
||||
const isVisible = targetRow.style.display !== 'none';
|
||||
targetRow.style.display = isVisible ? 'none' : 'table-row';
|
||||
this.textContent = isVisible ? '+' : '-';
|
||||
this.textContent = isVisible ? '>' : 'v'; // Use chevrons
|
||||
}
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue