Notes.txt 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. Formbuilder
  2. https://beautifytools.com/html-form-builder.php
  3. [
  4. {
  5. "type": "number",
  6. "required": false,
  7. "label": "Module Offset",
  8. "placeholder": "0",
  9. "className": "form-control",
  10. "name": "modOffset",
  11. "access": false,
  12. "value": "0",
  13. "min": 0,
  14. "max": 1024
  15. },
  16. {
  17. "type": "number",
  18. "required": false,
  19. "label": "Input Offset",
  20. "placeholder": "0",
  21. "className": "form-control",
  22. "name": "inputOffset",
  23. "access": false,
  24. "value": "0",
  25. "min": 0,
  26. "max": 1024
  27. },
  28. {
  29. "type": "number",
  30. "required": false,
  31. "label": "Auto update interval (seconds)",
  32. "placeholder": "2",
  33. "className": "form-control",
  34. "name": "updateInterval",
  35. "access": false,
  36. "value": "2",
  37. "min": 0,
  38. "max": 60
  39. },
  40. {
  41. "type": "checkbox-group",
  42. "required": false,
  43. "label": "checkoptions",
  44. "toggle": false,
  45. "inline": false,
  46. "name": "checkoptions",
  47. "access": false,
  48. "other": false,
  49. "values": [
  50. {
  51. "label": "AutoUpdate",
  52. "value": "autoupdate",
  53. "selected": false
  54. },
  55. {
  56. "label": "Emulate S88 Master",
  57. "value": "emulateMaster",
  58. "selected": false
  59. }
  60. ]
  61. },
  62. {
  63. "type": "button",
  64. "label": "Save",
  65. "subtype": "button",
  66. "className": "btn-success btn",
  67. "name": "button-save",
  68. "access": false,
  69. "style": "success"
  70. }
  71. ]