Add missing "for" and "id" attributes to some HTML labels
This commit is contained in:
1 parent
8cb4d84905
commit
885446328d
3 files changed
+5
-5
No files matched your search
@@ -77,7 +77,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="control-group" title="{{ _('Temperature report interval to request from autoreport capable firmwares. A value of 0 disables autoreporting by the firmware and forces polling.') }}">
|
||||
<label class="control-label">{{ _('Temperature interval (autoreport)') }}</label>
|
||||
<label class="control-label" for="settings-serialTimeoutTemperatureAutoreport">{{ _('Temperature interval (autoreport)') }}</label>
|
||||
<div class="controls">
|
||||
<div class="input-append">
|
||||
<input type="number" step="any" min="0" class="input-mini text-right" data-bind="value: serial_timeoutTemperatureAutoreport" id="settings-serialTimeoutTemperatureAutoreport">
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
<form class="form-horizontal">
|
||||
<h3>{{ _('Graph') }}</h3>
|
||||
<div class="control-group">
|
||||
<label class="control-label">{{ _('Graph cutoff') }}</label>
|
||||
<label class="control-label" for="settings-temperatureCutoff">{{ _('Graph cutoff') }}</label>
|
||||
<div class="controls">
|
||||
<div class="input-append">
|
||||
<input type="number" min="1" class="input-mini text-right" data-bind="value: temperature_cutoff">
|
||||
<input type="number" min="1" class="input-mini text-right" data-bind="value: temperature_cutoff" id="settings-temperatureCutoff">
|
||||
<span class="add-on">min</span>
|
||||
</div>
|
||||
<span class="help-block">{{ _('Needs a restart of OctoPrint to become active.') }}</span>
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
<div class="control-group" title="{{ _('How long to cache the blacklist, in minutes. You should normally not have to change this.') }}">
|
||||
<label class="control-label">{{ _('Blacklist cache TTL') }}</label>
|
||||
<label class="control-label" for="settings-serverPluginBlacklistTtl">{{ _('Blacklist cache TTL') }}</label>
|
||||
<div class="controls">
|
||||
<div class="input-append">
|
||||
<input type="number" class="input-mini" data-bind="value: server_pluginBlacklist_ttl">
|
||||
<input type="number" class="input-mini" data-bind="value: server_pluginBlacklist_ttl" id="settings-serverPluginBlacklistTtl">
|
||||
<span class="add-on">min</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user