Skip to content
This repository has been archived by the owner on Jun 19, 2020. It is now read-only.

Commit

Permalink
use transloadit for backgroudn image
Browse files Browse the repository at this point in the history
  • Loading branch information
steren committed Jul 17, 2012
1 parent 3e93f0c commit 508be5b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion app/sleek.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ function(Collection, DynamicContainer, Item, List, CardPanel, SlidePanel, Factor
this.title = Joshfire.factory.config.app.name;
this.tabs = Joshfire.factory.config.template.options.tabs || [];
this.tabicons = Joshfire.factory.config.template.options.tabicons || [];
this.backgroundURL = Joshfire.factory.config.template.options.backgroundurl;
this.backgroundURL = Joshfire.factory.config.template.options.backgroundimage ? Joshfire.factory.config.template.options.backgroundimage.url : Joshfire.factory.config.template.options.backgroundurl;
this.logoURL = Joshfire.factory.config.app.logo ?
Joshfire.factory.config.app.logo.contentURL : null;

Expand Down
12 changes: 8 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,9 @@
"default":"gray",
"required": true
},
"backgroundurl": {
"title": "Background URL (for TV version)",
"type": "string"
"backgroundimage" : {
"title": "Background image for TV version",
"type": "object"
},
"tabs": {
"title": "Tabs titles",
Expand Down Expand Up @@ -114,7 +114,11 @@
"legend": "Styles",
"items": [
"color",
"backgroundurl"
{
"key" : "backgroundimage",
"type": "file-transloadit"
}

]
},
{
Expand Down

0 comments on commit 508be5b

Please sign in to comment.