Skip to content

Commit 238ced7

Browse files
committed
Improved code acc. to code rabbit
1 parent 66e0ff0 commit 238ced7

File tree

2 files changed

+13
-16
lines changed

2 files changed

+13
-16
lines changed

app.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,6 @@
66
from bleak import BleakScanner
77
from flask import Response
88
import queue
9-
import threading
10-
import time
11-
from datetime import datetime
129

1310
console_queue = queue.Queue()
1411
app = Flask(__name__)

templates/index.html

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,19 @@ <h2 class="text-xl font-semibold text-gray-700 dark:text-gray-200">Applications<
127127
Made with ❤️ at Upside Down Labs
128128
</div>
129129
</footer>
130+
<script src="https://cdn.tailwindcss.com"></script>
131+
<script>
132+
tailwind.config = {
133+
darkMode: 'class',
134+
theme: {
135+
extend: {
136+
cursor: {
137+
'not-allowed': 'not-allowed',
138+
}
139+
}
140+
}
141+
}
142+
</script>
130143
<script>
131144
const apps = [
132145
{ title: 'ECG with Heart Rate', icon: 'fa-heartbeat', color: 'cyan', script: 'heartbeat_ecg' },
@@ -764,18 +777,5 @@ <h3 class="text-lg font-semibold text-gray-800 dark:text-gray-200 mb-1">${app.ti
764777
alert('Chords Python - Biopotential Data Acquisition System\nVersion 2.1.0');
765778
});
766779
</script>
767-
<script src="https://cdn.tailwindcss.com"></script>
768-
<script>
769-
tailwind.config = {
770-
darkMode: 'class',
771-
theme: {
772-
extend: {
773-
cursor: {
774-
'not-allowed': 'not-allowed',
775-
}
776-
}
777-
}
778-
}
779-
</script>
780780
</body>
781781
</html>

0 commit comments

Comments
 (0)