| 1 | 1 |
new file mode 100755 |
| ... | ... |
@@ -0,0 +1,53 @@ |
| 1 |
+module.exports = [ |
|
| 2 |
+ {
|
|
| 3 |
+ "type": "heading", |
|
| 4 |
+ "defaultValue": "Example Header Item" |
|
| 5 |
+ }, |
|
| 6 |
+ {
|
|
| 7 |
+ "type": "text", |
|
| 8 |
+ "defaultValue": "Example text item." |
|
| 9 |
+ }, |
|
| 10 |
+ {
|
|
| 11 |
+ "type": "section", |
|
| 12 |
+ "items": |
|
| 13 |
+ [ |
|
| 14 |
+ {
|
|
| 15 |
+ "type": "heading", |
|
| 16 |
+ "defaultValue": "This is a section" |
|
| 17 |
+ }, |
|
| 18 |
+ {
|
|
| 19 |
+ "type": "input", |
|
| 20 |
+ "messageKey": "username", |
|
| 21 |
+ "label": "Your DSM Username", |
|
| 22 |
+ "attributes" : |
|
| 23 |
+ {
|
|
| 24 |
+ "maxlength":40 |
|
| 25 |
+ } |
|
| 26 |
+ }, |
|
| 27 |
+ {
|
|
| 28 |
+ "type": "input", |
|
| 29 |
+ "messageKey": "password", |
|
| 30 |
+ "label": "Your DSM Password", |
|
| 31 |
+ "attributes" : |
|
| 32 |
+ {
|
|
| 33 |
+ "type": "password", |
|
| 34 |
+ "maxlength":40 |
|
| 35 |
+ } |
|
| 36 |
+ }, |
|
| 37 |
+ {
|
|
| 38 |
+ "type": "input", |
|
| 39 |
+ "messageKey": "server", |
|
| 40 |
+ "label": "Your DSM Server", |
|
| 41 |
+ "attributes" : |
|
| 42 |
+ {
|
|
| 43 |
+ "type": "url", |
|
| 44 |
+ "maxlength":255 |
|
| 45 |
+ } |
|
| 46 |
+ } |
|
| 47 |
+ ] |
|
| 48 |
+ }, |
|
| 49 |
+ {
|
|
| 50 |
+ "type": "submit", |
|
| 51 |
+ "defaultValue": "Save Settings" |
|
| 52 |
+ } |
|
| 53 |
+]; |
|
| 0 | 54 |
\ No newline at end of file |