💄 Make label line up with checkbox label

This commit is contained in:
cp2004 committed 2021-05-04 15:49:39 +01:00
1 parent 6725bbfa47
commit 78042648ee
2 files changed
+8 -6

No files matched your search

@@ -1,11 +1,13 @@
<div class="control-group" title="{{ _('Enable the cache buster on the webcam URl')|edq }}">
<div class="controls">
<label class="checkbox">
<input type="checkbox" data-bind="checked: webcam_cacheBuster" id="settings-webcamCacheBuster"> {{ _('Enable Cache buster') }}
<input type="checkbox" data-bind="checked: webcam_cacheBuster" id="settings-webcamCacheBuster">
{{ _('Enable Cache buster') }}
<span class="help-block">
<span class="label label-warning">{{ _("Warning") }}</span>
{{ _("This may cause unpredictable caching behaviour. Only disable if your webcam server is incompatible and does not work in OctoPrint's UI") }}
</span>
</label>
<span class="help-inline">
<span class="label label-warning">{{ _("Warning") }}</span>
{{ _("This may cause unpredicatable caching behaviour. Only disable if your webcam server is incompatible and does not work in OctoPrint's UI") }}
</span>
</div>
</div>
@@ -5,6 +5,6 @@
<input type="text" class="input-block-level" data-bind="value: webcam_streamUrl, valueUpdate: 'afterkeydown'" id="settings-webcamStreamUrl">
<button class="btn" type="button" data-bind="click: testWebcamStreamUrl, enable: webcam_streamUrl() && !testWebcamStreamUrlBusy(), css: {disabled: !webcam_streamUrl() || testWebcamStreamUrlBusy()}"><i class="fas fa-spinner fa-spin" data-bind="visible: testWebcamStreamUrlBusy"></i> {{ _('Test') }}</button>
</div>
<span class="help-inline">{% trans %}Needs to be reachable from the browser displaying the OctoPrint UI, used to embed the webcam stream into the page.{% endtrans %}</span>
<span class="help-block">{% trans %}Needs to be reachable from the browser displaying the OctoPrint UI, used to embed the webcam stream into the page.{% endtrans %}</span>
</div>
</div>