Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

use transloadit for backgroudn image

  • Loading branch information...
commit f23a25c2afe5e28903639a98a354d464f15eb9bc 1 parent 5f03873
Steren steren authored

Showing 2 changed files with 9 additions and 5 deletions. Show diff stats Hide diff stats

  1. +1 1  app/sleek.js
  2. +8 4 package.json
2  app/sleek.js
@@ -94,7 +94,7 @@ function(Collection, DynamicContainer, Item, List, CardPanel, SlidePanel, Factor
94 94 this.title = Joshfire.factory.config.app.name;
95 95 this.tabs = Joshfire.factory.config.template.options.tabs || [];
96 96 this.tabicons = Joshfire.factory.config.template.options.tabicons || [];
97   - this.backgroundURL = Joshfire.factory.config.template.options.backgroundurl;
  97 + this.backgroundURL = Joshfire.factory.config.template.options.backgroundimage ? Joshfire.factory.config.template.options.backgroundimage.url : Joshfire.factory.config.template.options.backgroundurl;
98 98 this.logoURL = Joshfire.factory.config.app.logo ?
99 99 Joshfire.factory.config.app.logo.contentURL : null;
100 100
12 package.json
@@ -75,9 +75,9 @@
75 75 "default":"gray",
76 76 "required": true
77 77 },
78   - "backgroundurl": {
79   - "title": "Background URL (for TV version)",
80   - "type": "string"
  78 + "backgroundimage" : {
  79 + "title": "Background image for TV version",
  80 + "type": "object"
81 81 },
82 82 "tabs": {
83 83 "title": "Tabs titles",
@@ -114,7 +114,11 @@
114 114 "legend": "Styles",
115 115 "items": [
116 116 "color",
117   - "backgroundurl"
  117 + {
  118 + "key" : "backgroundimage",
  119 + "type": "file-transloadit"
  120 + }
  121 +
118 122 ]
119 123 },
120 124 {

0 comments on commit f23a25c

Please sign in to comment.
Something went wrong with that request. Please try again.