-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathconfig.json
92 lines (92 loc) · 2.79 KB
/
config.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
{
"name": "Data Driven Project Banner",
"description": "Display a banner at the top of select project pages. Supports data piping of query results into the banner text.",
"namespace": "ProjectBanner\\ExternalModule",
"documentation": "README.md",
"framework-version": 15,
"enable-every-page-hooks-on-system-pages": true,
"authors": [
{
"name": "University of Florida CTS-IT",
"email": "[email protected]",
"institution": "University of Florida - CTSI"
}
],
"system-settings": [
{
"key": "banner_settings",
"name": "Banner Settings",
"type": "sub_settings",
"repeatable": true,
"sub_settings": [
{
"name": "Multi Row Response",
"key": "multi_row_response",
"type": "checkbox"
},
{
"name": "Banner Top Text",
"key": "banner_text_top",
"type": "rich-text"
},
{
"name": "Banner Text",
"key": "banner_text",
"type": "rich-text"
},
{
"name": "Banner Bottom Text",
"key": "banner_text_bottom",
"type": "rich-text"
},
{
"name": "Banner Background Color",
"key": "bg_color",
"type": "color-picker"
},
{
"name": "Banner Border Color",
"key": "border_color",
"type": "color-picker"
},
{
"name": "Criteria for display",
"key": "criteria",
"type": "dropdown",
"choices": [
{
"name": "Always display",
"value": "always"
},
{
"name": "Require a non-empty query result",
"value": "require_result"
},
{
"name": "Custom query",
"value": "custom"
}
]
},
{
"name": "Custom SQL for criteria",
"key": "custom_criteria_sql",
"type": "textarea"
},
{
"name": "Custom SQL for data",
"key": "custom_data_sql",
"type": "textarea"
},
{
"name": "Display on all pages",
"key": "display_everywhere",
"type": "checkbox"
}
]
}
],
"compatibility": {
"redcap-version-min": "14.0.2"
}
}