forked from musalbas/Mailpile-print
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmanifest.json
41 lines (40 loc) · 1.07 KB
/
manifest.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
# (This is a bit of a massive hack, lol.)
{
"name": "print",
"author": "Mustafa Al-Bassam <[email protected]>",
"description": "Adds a printing-friendly display mode for e-mail.",
"display": true,
"public": true,
"code": {
"python": ["print.py"],
"javascript": ["print.js"]
},
"routes": {
"/message/print/": {"file": "print.html", "api": 0},
"/static/img/print.png": {"file": "print.png"}
},
"commands": [
{
"class": "SingleMessageView",
"input": "message",
"name": "print"
},
{
"class": "PrintToFile",
"name": "printf"
}
],
"user_interface": {
"display_modes": [
{
"context": ["/message/"],
"name": "print",
"text": "Print",
"description": "Print Message",
"icon": "/static/img/print.png",
"url": "/message/print/",
"javascript_setup": "setup_print_button"
}
]
}
}