aboutsummaryrefslogtreecommitdiff
path: root/qolab/gui
diff options
context:
space:
mode:
Diffstat (limited to 'qolab/gui')
-rw-r--r--qolab/gui/web.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/qolab/gui/web.py b/qolab/gui/web.py
index 4951b45..b4bc3ad 100644
--- a/qolab/gui/web.py
+++ b/qolab/gui/web.py
@@ -84,10 +84,10 @@ class QOLCheckbox(jp.Label):
root.data["checked"] = False
root.label = label
root.set_classes(checkbox_classed)
- checkbox = jp.Input(
+ jp.Input(
type="checkbox", model=[root, "checked"], classes="form-checkbox", a=root
)
- caption = jp.Span(text=label, a=root)
+ jp.Span(text=label, a=root)
def getValue(self):
return self.data["checked"]
@@ -105,10 +105,10 @@ class QOLTimeLog(jp.Div):
root.set_classes(panel_div_classes)
dcontrols = jp.Div(a=root)
dcontrols.set_classes(controls_div_classes)
- bclear = QOLPushButtonNoUndo(
+ QOLPushButtonNoUndo(
a=dcontrols, text="Clear log", click=self._clear_data
)
- breplot = QOLPushButton(a=dcontrols, text="Replot", click=self._replot)
+ QOLPushButton(a=dcontrols, text="Replot", click=self._replot)
self.update_interval = QOLParamReadOnly(
label="UpdateInterval", value=5, a=dcontrols
)