-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmenu.py
executable file
·62 lines (61 loc) · 1.85 KB
/
menu.py
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
job_menu = {
"callback_id": "job_post",
"title": "Post a job",
"submit_label": "Submit",
"notify_on_cancel": "true",
"elements": [
{
"type": "text",
"label": "Company city",
"name": "city",
"placeholder": "Dublin",
"hint": "The location if possible, if its remote, pop that in"
},
{
"type": "text",
"label": "Job Title",
"name": "job_title",
"placeholder": "Ember Developer",
"hint": "Please put in the job title"
},
{
"type": "text",
"label": "Salary Range",
"name": "salary",
"placeholder": "€80K",
"hint": "Please provide a salary.",
"optional": "true"
},
{
"label": "Type of job",
"type": "select",
"name": "contract_type",
"hint": "What type of Role?",
"options": [
{
"label": "Temporary",
"value": "Temporary"
},
{
"label": "Permanent",
"value": "Permanent"
},
{
"label": "Contract",
"value": "Contract"
},
{
"label": "Other",
"value": "Other (explained below)"
}
]
},
{
"label": "Additional information",
"name": "info",
"type": "textarea",
"placeholder": "Hey, have a Senior engineering role with another start-up in Dublin. They are looking for a...",
"hint": "Provide additional information if needed."
}
]
}