Skip to content

Commit

Permalink
fix filepicker accept rules
Browse files Browse the repository at this point in the history
  • Loading branch information
hotdoy committed Jan 19, 2020
1 parent c28ae46 commit 9cf055c
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 27 deletions.
2 changes: 1 addition & 1 deletion blueprints.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Hotdoy
version: 1.5.5
version: 1.5.6
description: A living theme serving as functional base for projects.
icon: angellist
author:
Expand Down
13 changes: 0 additions & 13 deletions blueprints/modular/hero.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,6 @@ form:
type: filepicker
label: Image
preview_images: true
accept:
- .jpg
- .png
- .svg
- .gif
- .webp

header.image_alt:
type: text
Expand All @@ -34,7 +28,6 @@ form:
preview_images: false
accept:
- .mp4
- .webm

header.reverse:
type: toggle
Expand All @@ -50,12 +43,6 @@ form:
type: filepicker
label: Backgroud Image
preview_images: true
accept:
- .jpg
- .png
- .svg
- .gif
- .webp

header.bg_veil:
type: range
Expand Down
4 changes: 1 addition & 3 deletions blueprints/modular/map.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,8 @@ form:
# .icon:
# type: filepicker
# label: Icon
# folder: 'user://assets/hotdoy/google-maps-icon'
# folder: 'user/assets/hotdoy/google-maps-icon'
# preview_images: true
# accept:
# - image/*

header.zoom:
type: range
Expand Down
4 changes: 0 additions & 4 deletions blueprints/modular/splash.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,11 @@ form:
type: filepicker
label: Backgroud Image
preview_images: true
accept:
- image/*

header.bg_image_landscape:
type: filepicker
label: Backgroud Image (Landscape)
preview_images: true
accept:
- image/*

header.bg_video:
type: filepicker
Expand Down
6 changes: 0 additions & 6 deletions blueprints/modular/video.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,6 @@ form:
type: filepicker
label: Poster
preview_images: true
accept:
- .jpg
- .png
- .svg
- .gif
- .webp

header.loop:
type: toggle
Expand Down

0 comments on commit 9cf055c

Please sign in to comment.