Skip to content

Commit

Permalink
Add mising files for Floor plan
Browse files Browse the repository at this point in the history
  • Loading branch information
morrigan committed Apr 25, 2017
1 parent 6748289 commit a5e8b9d
Show file tree
Hide file tree
Showing 4 changed files with 55 additions and 3 deletions.
2 changes: 1 addition & 1 deletion floor-plan-photos/app/components/FeaturedPhotoView.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export default class FeaturedPhotoView extends React.Component {
return (
<View key={photo.id}>
<TouchableOpacity onPress={this.onPress}>
<View styleName="sm-gutter featured" style={{ backgroundColor: '#cccccc' }}>
<View styleName="sm-gutter featured">
<Image
styleName="featured"
source={photo.source}
Expand Down
2 changes: 1 addition & 1 deletion floor-plan-photos/app/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "morrigan.floor-plan-photos",
"version": "0.9.1",
"version": "0.9.6",
"description": "Shoutem photos extension"
}
52 changes: 52 additions & 0 deletions floor-plan-photos/extension.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
{
"name": "floor-plan-photos",
"version": "0.9.6",
"title": "Floor plan with Photos",
"description": "Show a floor plan with photos",
"platform": ">=1.0.21",
"icon" : "server/assets/add-photos-image.png",
"dependencies": [
"shoutem.layouts",
"shoutem.cms"
],
"categories": ["media"],
"repository": {
"type": "git",
"url": "https://github.com/KSET/jobfair-mobile"
},
"shortcuts": [{
"name": "photos-shortcut",
"title": "Manual photos",
"screen": "@.PhotosList",
"icon": "theme://photo.png",
"adminPages": [{
"page": "shoutem.cms.CmsPage",
"title": "Content",
"parameters": {
"schema": "@.Photos"
}
},
{
"page": "shoutem.layouts.LayoutPage",
"title": "Layout"
}]
}],
"screens": [{
"name": "PhotosList",
"title": "List",
"navigatesTo":["@.PhotosList"],
"image":"./server/assets/screens/layout-large-list.png"
},{
"name": "PhotosGrid",
"title": "Grid",
"extends": "@.PhotosList",
"image":"./server/assets/screens/layout-grid.png"
},{
"name": "PhotoDetails",
"title": "PhotoDetails"
}],
"dataSchemas": [{
"name": "Photos",
"path": "server/schemas/photos.json"
}]
}
2 changes: 1 addition & 1 deletion floor-plan-photos/server/package.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"name": "morrigan.floor-plan-photos",
"version": "0.9.1"
"version": "0.9.6"
}

0 comments on commit a5e8b9d

Please sign in to comment.