mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-30 17:24:59 +00:00
Refactor: Embed leaderboard script using Jekyll include tag
This commit is contained in:
parent
09d90b9b70
commit
fe6e2e1ea7
2 changed files with 3 additions and 2 deletions
|
@ -1,3 +1,4 @@
|
|||
<script>
|
||||
document.addEventListener('DOMContentLoaded', function() {
|
||||
let currentMode = 'view'; // 'view', 'select'
|
||||
let selectedRows = new Set(); // Store indices of selected rows
|
||||
|
@ -386,3 +387,4 @@ document.addEventListener('DOMContentLoaded', function() {
|
|||
|
||||
|
||||
});
|
||||
</script>
|
||||
|
|
|
@ -209,10 +209,9 @@ Aider works best with high-scoring models, though it [can connect to almost any
|
|||
tr.view-highlighted > td {
|
||||
background-color: #f0f0f0; /* Example light grey highlight */
|
||||
}
|
||||
|
||||
</style>
|
||||
|
||||
<script src="/assets/js/leaderboard_table.js"></script>
|
||||
{% include leaderboard_table.js %}
|
||||
|
||||
<p class="post-date" style="margin-top: 20px;">
|
||||
By Paul Gauthier,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue