Flavio Copes
9590fed32a
Multilevel field: Fix issue in rendering base-level array items, re #1150
2017-06-30 20:56:43 +02:00
Andy Miller
185bf71019
Reverted media.yaml + Fixed textarea color
2017-06-30 12:11:12 -06:00
Flavio Copes
96adb61489
Fix changing value of top-level items. Re #1150#issuecomment-312133492
2017-06-30 17:14:39 +02:00
Flavio Copes
da7bc7a755
Multilevel field: Extract changeAllOccurrencesInTree. Fix adding sibling to item with children that had sub-arrays
2017-06-28 16:26:59 +02:00
Flavio Copes
5ad913efa9
Fix for multilevel field - changing the child name attributes when other values in the tree have the same name
2017-06-28 15:43:10 +02:00
Paul Massendari
1fa667a241
Added field.outerclasses ( #1124 )
...
* Added field.outerclasses
Added field.outerclasses to match the common field attributes in the docs.
It seems to me we can remove field.field_classes too but some plugin might depend on it.
* added space before outerclasses
2017-06-27 12:46:39 -06:00
Dávid Szabó
8070b2d086
Fix plugins hooked nav authorize not working with array of permissions ( #1148 )
2017-06-27 12:44:13 -06:00
Dávid Szabó
2a3fef0435
Add badge to plugins hooked nav ( #1147 )
2017-06-27 12:01:27 -06:00
Flavio Copes
9ff4cb630d
Fix looking at metadata right after image is uploaded
2017-06-27 14:03:02 +02:00
Flavio Copes
ffb3097721
Add multilevel form field ( #1135 )
...
Example definition in blueprint:
```yaml
content:
type: multilevel
label: Multi Level
style: vertical
validate:
type: array
```
2017-06-27 13:39:09 +02:00
Djamil Legato
e605f6615f
Fixed issue with min/max setting of list collections. Removing a list item would not refresh properly the count
2017-06-26 15:36:51 -07:00
Djamil Legato
eefec466c8
Fixed mediapicker issue where newly added list items would not work
2017-06-26 14:59:22 -07:00
Djamil Legato
ca69c61def
Expose Page Media instance to Grav Admin JS API
2017-06-26 11:14:52 -07:00
Andy Miller
d49fc3709e
Updated the margin for media preview
2017-06-22 14:10:06 -06:00
Djamil Legato
39427477ee
Handle metadata popup for files without metadata
2017-06-22 10:54:54 -07:00
Djamil Legato
dbdd6e2a45
Added info metadata button for preview images. Fixed preview of images
2017-06-21 17:55:33 -07:00
Flavio Copes
5bf721c059
Add back filters to non-modal view and class to enable js
2017-06-06 18:16:59 +02:00
Flavio Copes
e252fae1fd
Restore detail views for media
2017-06-06 18:07:53 +02:00
Flavio Copes
f700837e92
Introduce the mediapicker field ( #1125 )
...
Added a new `mediapicker` form field which allows to select a media from any page
+
Provided an option to control how parent select field displays
2017-06-02 16:28:52 +02:00
Djamil Legato
e6fa905824
Merge branch 'feature/universal_key' into develop
...
# Conflicts:
# themes/grav/css-compiled/preset.css.map
# themes/grav/js/admin.min.js
2017-05-30 14:30:21 -07:00
Djamil Legato
d15c5ade8c
Fixed first load not clearing out properly the unique values
2017-05-30 14:27:26 -07:00
ricardo118
eb1c56e51c
Added Classes support to range form field ( #1120 )
...
* Added Classes support to range form field
Simple change to add support to classes in blueprints added to range field in admin forms
* Minor bugfix for range slider
Without adding the validate here the only way to make the range slider work with a step, say 0.1 is to have `step: 0.1` both inside and outside the validate:
Example:
```
width:
type: range
step: 0.1
validate:
min: 0
max: 1
step: 0.1
```
* Adding classes support to list form field
2017-05-29 12:19:10 +02:00
Andy Miller
39bb55ca3c
Allow diff scroll thumb in sidebar
2017-05-26 10:30:59 -06:00
Andy Miller
3f35b7f986
Use default grav thumbnails
2017-05-24 20:22:06 -06:00
Andy Miller
da74bf8f1a
recompiled JS
2017-05-24 09:55:36 -06:00
Andy Miller
32619442f9
Merge branch 'feature/universal_key' into develop
...
# Conflicts:
# themes/grav/js/admin.min.js
# themes/grav/js/vendor.min.js
2017-05-24 09:55:22 -06:00
Flavio Copes
173429d892
Fix thumbnails in page media
2017-05-24 15:30:12 +02:00
Djamil Legato
25a81347ed
Fixed issue with selectunique options passed as array
2017-05-23 18:45:18 -07:00
Djamil Legato
e5b916a584
Force data-max when selectunique is used
2017-05-23 18:45:01 -07:00
Djamil Legato
9bfb9e27d5
Added logic to uniquely select values with selectunique
2017-05-23 18:30:56 -07:00
Andy Miller
59fa9c69e0
Minor switch toggle css fix
2017-05-23 18:57:53 -06:00
Andy Miller
042c98763d
Various form styling improvements
2017-05-23 18:15:35 -06:00
Djamil Legato
7959b46fb2
Added support for dropdowns in key field
2017-05-23 14:15:52 -07:00
Andy Miller
4afefc455a
Updates to add universal key to any field
2017-05-23 12:55:02 -06:00
Djamil Legato
5b30a3d83c
Cleanup and loading thumbs from cache when available
2017-05-19 13:02:26 -07:00
Djamil Legato
8dfcbac012
Filepicker field now renders thumbnail previews of the selected value on load
2017-05-19 10:47:34 -07:00
Flavio Copes
bf0900fb52
Allow taxonomy field to just list one or more specific taxonomies if the taxonomies field is filled in the blueprint
2017-05-17 14:02:00 +02:00
AvantaR
d96741a6da
Remove save button and save location notification when filename isn't set ( #1116 )
2017-05-17 13:58:04 +02:00
Dávid Szabó
bc011c25c3
Feature custom page options ( #1104 )
...
* Add slug util function
* Add custom add modals support
2017-05-16 17:31:57 +02:00
Andy Miller
c30accdea4
Updated changelog and recompiled SCSS
2017-05-15 17:06:40 -06:00
Alexis Piéplu
5d0d299572
Re-organise pages-list items to fix ( #871 ) ( #1102 )
...
* Re-organise pages-list items to fix (#871 )
* Remove useless comment (#871 )
2017-05-15 17:03:06 -06:00
Andy Miller
7464677c34
Added prev/next to page edit view #1112
2017-05-15 17:02:37 -06:00
Dávid Szabó
2af9052f1e
Add previous and next button when editing page ( #1112 )
...
* Add previous and next button when editing page
* Add scss utilities
* Hide prev and next button on mobile
2017-05-15 16:43:57 -06:00
Andy Miller
f5c14b684f
Stop crashing on iterable data
2017-05-15 15:08:26 -06:00
Andy Miller
422aff070c
Refator duplicate field_name code
2017-05-15 14:49:18 -06:00
Andy Miller
640d9ac374
Fixed issue with theme always getting set as type
2017-05-15 14:47:00 -06:00
Matias Griese
8b2fceef8e
Add support for a single array field in the forms
2017-05-15 20:24:08 +03:00
Flavio Copes
55d708ceaf
Compile CSS & fill changelog
2017-05-12 13:41:39 +02:00
paulmassen
52c144556f
Fix tabs inside blueprint overlapping above content ( #1115 )
...
When adding a tabs fields with tab, margin-top: -2rem causes the new tabs to overlap with content above.

2017-05-12 13:23:02 +02:00
Djamil Legato
f6c1150cb5
Fixed issue when switching lang prompting for unsaved changes when untrue
2017-05-11 14:39:03 -07:00