Skip to content
This repository has been archived by the owner on Jul 10, 2024. It is now read-only.

Commit

Permalink
Add indicator option and boolean flags
Browse files Browse the repository at this point in the history
  • Loading branch information
zackbloom committed Jul 23, 2014
1 parent bc8c69b commit ede6572
Showing 1 changed file with 13 additions and 12 deletions.
25 changes: 13 additions & 12 deletions install.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,13 @@
},
{
"type": "style",
"src": "./themes/offline-language-{{ options.language }}.css"
"src": "./themes/offline-language-{{ options.language }}.css",
"if": "!options.indicator"
},
{
"type": "style",
"src": "./themes/offline-language-{{ options.language }}-indicator.css"
"src": "./themes/offline-language-{{ options.language }}-indicator.css",
"if": "options.indicator"
},
{
"type": "style",
Expand Down Expand Up @@ -47,24 +49,23 @@
"default",
"dark",
"chrome",
"slide",
"default-indicator",
"dark-indicator",
"chrome-indicator",
"slide-indicator"
"slide"
],
"enumNames": {
"default": "Default",
"dark": "Dark",
"chrome": "Chrome",
"slide": "Slide",
"default-indicator": "Default (Indicator)",
"dark-indicator": "Dark (Indicator)",
"chrome-indicator": "Chrome (Indicator)",
"slide-indicator": "Slide (Indicator)"
"slide": "Slide"
},
"default": "default"
}
},
"indicator": {
"title": "Indicator",
"description": "Should the 'online' state always be shown in the lower corner of the page?",
"type": "boolean",
"default": false
}
}
}
}

0 comments on commit ede6572

Please sign in to comment.