File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -61,6 +61,7 @@ button:disabled {
61
61
62
62
.app-buttons {
63
63
margin-top : 20px ;
64
+ cursor : not-allowed;
64
65
}
65
66
66
67
.row {
@@ -100,6 +101,11 @@ button:disabled {
100
101
cursor : not-allowed;
101
102
}
102
103
104
+ .lsl-disabled button {
105
+ cursor : not-allowed;
106
+ pointer-events : none;
107
+ }
108
+
103
109
button .running {
104
110
background-color : rgb (105 , 206 , 105 );
105
111
cursor : not-allowed;
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ <h1>Chords-Python Applications</h1>
29
29
< button id ="start_lsl_button " class ="lsl-running " disabled > LSL Stream Running</ button >
30
30
{% endif %}
31
31
</ div >
32
- < div class ="app-buttons ">
32
+ < div class ="app-buttons {% if not lsl_started %}lsl-disabled{% endif %} ">
33
33
<!-- Row 1: ECG, EMG, EOG, EEG -->
34
34
< div class ="row ">
35
35
< form action ="/run_app " method ="POST ">
You can’t perform that action at this time.
0 commit comments