Skip to content

Commit 7765b66

Browse files
authored
Merge pull request #28 from PayalLakra/bio_amptool
App-Buttons disabled until LSL started
2 parents d74e1fc + 208884e commit 7765b66

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

static/style.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,10 @@ button:disabled {
100100
cursor: not-allowed;
101101
}
102102

103+
.lsl-disabled button {
104+
cursor: not-allowed;
105+
}
106+
103107
button.running {
104108
background-color: rgb(105, 206, 105);
105109
cursor: not-allowed;

templates/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ <h1>Chords-Python Applications</h1>
2929
<button id="start_lsl_button" class="lsl-running" disabled>LSL Stream Running</button>
3030
{% endif %}
3131
</div>
32-
<div class="app-buttons">
32+
<div class="app-buttons {% if not lsl_started %}lsl-disabled{% endif %}">
3333
<!-- Row 1: ECG, EMG, EOG, EEG -->
3434
<div class="row">
3535
<form action="/run_app" method="POST">

0 commit comments

Comments
 (0)