|
4 | 4 | Einstellungen für Http
|
5 | 5 | <span class="small">(Modul: {{ $options.name }})</span>
|
6 | 6 | </openwb-base-heading>
|
7 |
| - <openwb-base-select-input |
8 |
| - title="Protokoll" |
9 |
| - :options="[ |
10 |
| - { value: 'http', text: 'Unverschlüsselt (http://)' }, |
11 |
| - { value: 'https', text: 'Verschlüsselt (https://)' }, |
12 |
| - ]" |
13 |
| - :model-value="configuration.protocol" |
14 |
| - @update:model-value=" |
15 |
| - updateConfiguration($event, 'configuration.protocol') |
16 |
| - " |
17 |
| - /> |
18 | 7 | <openwb-base-text-input
|
19 |
| - title="IP oder Hostname" |
| 8 | + title="URL" |
20 | 9 | subtype="host"
|
21 | 10 | required
|
22 |
| - :model-value="configuration.domain" |
23 |
| - @update:model-value=" |
24 |
| - updateConfiguration($event, 'configuration.domain') |
25 |
| - " |
26 |
| - /> |
27 |
| - <openwb-base-number-input |
28 |
| - title="Port" |
29 |
| - :min="1" |
30 |
| - :max="65535" |
31 |
| - :model-value="configuration.port" |
| 11 | + :model-value="configuration.url" |
32 | 12 | @update:model-value="
|
33 |
| - updateConfiguration($event, 'configuration.port') |
| 13 | + updateConfiguration($event, 'configuration.url') |
34 | 14 | "
|
35 | 15 | >
|
36 | 16 | <template #help>
|
37 |
| - Diese Angabe ist optional. Ist kein Port angegeben, so wird je |
38 |
| - nach Protokoll der Standardport genutzt. |
| 17 | + Es wird eine komplette URL erwartet mit Angaben zum Protokoll, |
| 18 | + IP oder Hostnamen, optional einem Port und einem Pfad.<br /> |
| 19 | + Beispiel: "http://192.168.1.1:8080/json?data=1" |
39 | 20 | </template>
|
40 |
| - </openwb-base-number-input> |
| 21 | + </openwb-base-text-input> |
41 | 22 | </div>
|
42 | 23 | </template>
|
43 | 24 |
|
|
0 commit comments