This repository has been archived by the owner on Jul 10, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 848
/
install.json
97 lines (97 loc) · 2.6 KB
/
install.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
93
94
95
96
97
{
"resources": {
"head": [
{
"type": "script",
"src": "./offline.min.js"
},
{
"type": "style",
"src": "./themes/offline-language-{{ options.language }}.css",
"if": "!options.indicator"
},
{
"type": "style",
"src": "./themes/offline-language-{{ options.language }}-indicator.css",
"if": "options.indicator"
},
{
"type": "style",
"src": "./themes/offline-theme-{{ options.theme }}.css",
"if": "!options.indicator"
},
{
"type": "style",
"src": "./themes/offline-theme-{{ options.theme }}-indicator.css",
"if": "options.indicator"
}
]
},
"options": {
"properties": {
"indicator": {
"title": "Always on",
"description": "When checked, a connectivity indicator will always be present on the bottom-left corner of the page. When unchecked, Offline will only show a message when there are connectivity issues.",
"type": "boolean",
"default": false
},
"language": {
"title": "Language",
"description": "The language of the message displayed to the user when connectivity is lost or regained.",
"type": "string",
"enum": [
"arabic",
"chinese-simplified",
"chinese-traditional",
"dutch",
"english",
"french",
"german",
"italian",
"pashto",
"persian",
"polish",
"portuguese-brazil",
"spanish",
"turkish"
],
"enumNames": {
"arabic": "Arabic",
"chinese-simplified": "Simplified Chinese",
"chinese-traditional": "Traditional Chinese",
"czech": "Czech",
"dutch": "Dutch",
"english": "English",
"french": "French",
"german": "German",
"italian": "Italian",
"pashto": "Pashto",
"persian": "Persian",
"polish": "Polish",
"portuguese-brazil": "Brazilian Portuguese",
"spanish": "Spanish",
"turkish": "Turkish"
},
"default": "english"
},
"theme": {
"title": "Theme",
"description": "Describes the look and feel of the message.",
"type": "string",
"enum": [
"default",
"dark",
"chrome",
"slide"
],
"enumNames": {
"default": "Default",
"dark": "Dark",
"chrome": "Chrome",
"slide": "Slide"
},
"default": "default"
}
}
}
}