mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-28 16:25:00 +00:00
Add timer functionality to the aider chat session.
This commit is contained in:
parent
4861a1de2e
commit
37d1504b5e
1 changed files with 2 additions and 0 deletions
|
@ -52,12 +52,14 @@ the aider chat session.
|
|||
</style>
|
||||
|
||||
<script>
|
||||
window.onload = function() {
|
||||
var counter = 0;
|
||||
var timer = document.getElementById('timer');
|
||||
setInterval(function() {
|
||||
counter = (counter + 0.1) % 10;
|
||||
timer.textContent = counter.toFixed(1);
|
||||
}, 100);
|
||||
}
|
||||
</script>
|
||||
|
||||
<div style="display: inline-block; position: relative; width: 200px; background-color: #f0f0f0; border-radius: 10px; padding: 10px; color: #333; font-family: 'Comic Sans MS', 'Comic Sans', 'Marker Felt', sans-serif;">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue