mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-03 19:49:02 +00:00
fhemweb.js: make the text uniform (Forum #76868)
git-svn-id: https://svn.fhem.de/fhem/trunk@15185 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
eb6f5ac684
commit
6cebc81d69
@ -3931,7 +3931,7 @@ FW_widgetOverride($$)
|
||||
<li>widgetOverride<br>
|
||||
Space separated list of name:modifier pairs, to override the widget
|
||||
for a set/get/attribute specified by the module author.
|
||||
Following is the list of known modifier:
|
||||
Following is the list of known modifiers:
|
||||
<ul>
|
||||
<!-- INSERT_DOC_FROM: www/pgm2/fhemweb.*.js -->
|
||||
</ul>
|
||||
|
@ -1726,60 +1726,62 @@ FW_getSVG(emb)
|
||||
|
||||
=begin html
|
||||
|
||||
<li>:noArg - show no input field.</li>
|
||||
<li>:time - show a JavaScript driven timepicker.<br>
|
||||
<li>noArg - show no input field.</li>
|
||||
<li>time - show a JavaScript driven timepicker.<br>
|
||||
Example: attr FS20dev widgetOverride on-till:time</li>
|
||||
<li>:textField - show an input field.<br>
|
||||
<li>textField - show an input field.<br>
|
||||
Example: attr WEB widgetOverride room:textField</li>
|
||||
<li>:textFieldNL - show the input field and hide the label.</li>
|
||||
<li>:textField-long - show an input-field, but upon
|
||||
<li>textFieldNL - show the input field and hide the label.</li>
|
||||
<li>textField-long - show an input-field, but upon
|
||||
clicking on the input field open a textArea (60x25).</li>
|
||||
<li>:textFieldNL-long - the behaviour is the same
|
||||
<li>textFieldNL-long - the behaviour is the same
|
||||
as :textField-long, but no label is displayed.</li>
|
||||
<li>:slider,<min>,<step>,<max>[,1] - show
|
||||
<li>slider,<min>,<step>,<max>[,1] - show
|
||||
a JavaScript driven slider. The optional ,1 at the end
|
||||
avoids the rounding of floating-point numbers.</li>
|
||||
<li>:multiple,val1,val2,..." - present a multiple-value-selector with an
|
||||
additional textfield. The result is comman separated.</li>
|
||||
<li>:multiple-strict,val1,val2,... - like :multiple, but without the
|
||||
textfield.</li>
|
||||
<li>:selectnumbers,<min>,<step>,<max>,<number of
|
||||
<li>multiple,<val1>,<val2>,..." - present a
|
||||
multiple-value-selector with an additional textfield. The result is
|
||||
comman separated.</li>
|
||||
<li>multiple-strict,<val1>,<val2>,... - like :multiple, but
|
||||
without the textfield.</li>
|
||||
<li>selectnumbers,<min>,<step>,<max>,<number of
|
||||
digits after decimal point>,lin|log10" - display a select widget
|
||||
generated with values from min to max with step.<br>
|
||||
lin generates a constantly increasing series. log10 generates an
|
||||
exponentially increasing series to base 10, step is related to the
|
||||
exponent, e.g. 0.0625.</li>
|
||||
<li>:select,val1,val2,... - show a dropdown with all values.
|
||||
<li>select,<val1>,<val2>,... - show a dropdown with all values.
|
||||
<b>NOTE</b>: this is also the fallback, if no modifier is found.</li>
|
||||
|
||||
=end html
|
||||
|
||||
=begin html_DE
|
||||
|
||||
<li>:noArg - es wird kein weiteres Eingabefeld angezeigt.</li>
|
||||
<li>:time - zeigt ein Zeitauswahlmenü.
|
||||
<li>noArg - es wird kein weiteres Eingabefeld angezeigt.</li>
|
||||
<li>time - zeigt ein Zeitauswahlmenü.
|
||||
Beispiel: attr FS20dev widgetOverride on-till:time</li>
|
||||
<li>:textField - zeigt ein Eingabefeld.<br>
|
||||
<li>textField - zeigt ein Eingabefeld.<br>
|
||||
Beispiel: attr WEB widgetOverride room:textField</li>
|
||||
<li>:textField-long - ist wie textField, aber beim Click im Eingabefeld wird
|
||||
<li>textField-long - ist wie textField, aber beim Click im Eingabefeld wird
|
||||
ein Dialog mit einer HTML textarea (60x25) wird geöffnet.</li>
|
||||
<li>:slider,<min>,<step>,<max>[,1] - zeigt einen
|
||||
<li>slider,<min>,<step>,<max>[,1] - zeigt einen
|
||||
Schieberegler. Das optionale 1 (isFloat) vermeidet eine Rundung der
|
||||
Fliesskommazahlen.</li>
|
||||
<li>:multiple,val1,val2,... - zeigt eine Mehrfachauswahl mit einem
|
||||
zusätzlichen Eingabefeld. Das Ergebnis ist Komma separiert.</li>
|
||||
<li>:multiple-strict,val1,val2,... - ist wie :multiple, bloß ohne
|
||||
Eingabefeld.</li>
|
||||
<li>:selectnumbers,<min>,<step>,<max>,<number of
|
||||
<li>multiple,<val1>,<val2>,... - zeigt eine Mehrfachauswahl mit
|
||||
einem zusätzlichen Eingabefeld. Das Ergebnis ist Komma
|
||||
separiert.</li>
|
||||
<li>multiple-strict,<val1>,<val2>,... - ist wie :multiple,
|
||||
bloß ohne Eingabefeld.</li>
|
||||
<li>selectnumbers,<min>,<step>,<max>,<number of
|
||||
digits after decimal point>,lin|log10" zeigt ein HTML-select mit einer
|
||||
Zahlenreihe vom Wert min bis Wert max mit Schritten von step
|
||||
angezeigt.<br>
|
||||
Die Angabe lin erzeugt eine konstant ansteigende Reihe. Die Angabe
|
||||
log10 erzeugt eine exponentiell ansteigende Reihe zur Basis 10,
|
||||
step bezieht sich auf den Exponenten, z.B. 0.0625.</li>
|
||||
<li>:select,val1,val2,... - zeigt ein HTML select mit allen Werten.
|
||||
<b>Achtung:</b> so ein Widget wird auch dann angezeigt, falls kein
|
||||
passender Modifier gefunden wurde.</li>
|
||||
<li>select,<val1>,<val2>,... - zeigt ein HTML select mit allen
|
||||
Werten. <b>Achtung</b>: so ein Widget wird auch dann angezeigt, falls
|
||||
kein passender Modifier gefunden wurde.</li>
|
||||
|
||||
=end html_DE
|
||||
|
||||
|
@ -42,7 +42,7 @@ FW_knobCreate(elName, devName, vArr, currVal, set, params, cmd)
|
||||
|
||||
=begin html
|
||||
|
||||
<li>:knob,min:1,max:100,... - shows the jQuery knob widget. The parameters
|
||||
<li>knob,min:1,max:100,... - shows the jQuery knob widget. The parameters
|
||||
are a comma separated list of key:value pairs, where key does not have to
|
||||
contain the "data-" prefix. For details see the jQuery-knob
|
||||
definition.<br> Example:
|
||||
@ -53,7 +53,7 @@ FW_knobCreate(elName, devName, vArr, currVal, set, params, cmd)
|
||||
|
||||
=begin html_DE
|
||||
|
||||
<li>:knob,min:1,max:100,... - zeigt das jQuery knob Widget.Die Parameter
|
||||
<li>knob,min:1,max:100,... - zeigt das jQuery knob Widget.Die Parameter
|
||||
werden als eine Komma separierte Liste von Key:Value Paaren spezifiziert,
|
||||
wobei das data- Präfix entfällt.Für Details siehe die
|
||||
jQuery knob Dokumentation.<br> Beispiel:
|
||||
|
Loading…
x
Reference in New Issue
Block a user