Changeset 4468
- Timestamp:
- 01/13/12 15:37:18 (4 months ago)
- Location:
- plugins/apostropheExtraSlotsPlugin/trunk
- Files:
-
- 13 added
- 2 modified
-
config/doctrine/schema.yml (modified) (1 diff)
-
lib/actions/BaseaPhotoGridSlotActions.class.php (added)
-
lib/actions/BaseaPhotoGridSlotComponents.class.php (added)
-
lib/form/aPhotoGridSlotEditForm.class.php (added)
-
lib/model/doctrine/PluginaPhotoGridSlot.class.php (added)
-
lib/model/doctrine/PluginaPhotoGridSlotTable.class.php (added)
-
modules/aPhotoGridSlot (added)
-
modules/aPhotoGridSlot/actions (added)
-
modules/aPhotoGridSlot/actions/actions.class.php (added)
-
modules/aPhotoGridSlot/actions/components.class.php (added)
-
modules/aPhotoGridSlot/templates (added)
-
modules/aPhotoGridSlot/templates/_editView.php (added)
-
modules/aPhotoGridSlot/templates/_normalView.php (added)
-
modules/aPhotoGridSlot/templates/_three.php (added)
-
web/css/aExtraSlots.less (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
plugins/apostropheExtraSlotsPlugin/trunk/config/doctrine/schema.yml
r4379 r4468 296 296 form: false 297 297 filter: false 298 299 aPhotoGridSlot: 300 # Doctrine doesn't produce useful forms with column aggregation inheritance anyway, 301 # and slots often use serialization into the value column... the Doctrine forms are not 302 # of much use here and they clutter the project 303 options: 304 symfony: 305 form: false 306 filter: false 307 308 # columns: 309 # 310 # You can add columns here. However, if you do not need foreign key relationships it is 311 # often easier to store your data in the 'value' column via serialize(). If you do add columns, 312 # their names must be unique across all slots in your project, so use a unique prefix 313 # for your company. 314 315 # This is how we are able to retrieve slots of various types with a single query from 316 # a single table 317 inheritance: 318 extends: aSlot 319 type: column_aggregation 320 keyField: type 321 keyValue: 'aPhotoGrid' -
plugins/apostropheExtraSlotsPlugin/trunk/web/css/aExtraSlots.less
r4438 r4468 1 1 @import '../../../apostrophePlugin/web/css/a-helpers.less'; 2 2 3 // 4 // Inset Image Slot 5 // 3 6 .a-slot.aInsetImage 4 7 { … … 36 39 } 37 40 41 // 42 // Inset Area Slot 43 // 38 44 .a-slot.aInsetArea 39 45 { … … 71 77 72 78 79 // 80 // Contact Slot 81 // 73 82 .a-slot.aContact 74 83 { … … 109 118 } 110 119 120 121 // 122 // Anchor Title Slot 123 // 111 124 .a-slot.aAnchorTitle 112 125 { … … 156 169 } 157 170 171 172 // 173 // Re-useable Slideshow Slot 174 // 158 175 .aReusableSlideshow 159 176 { … … 184 201 } 185 202 203 // 204 // Etsy Slot 205 // 186 206 .a-slot.aEtsy 187 207 { … … 194 214 } 195 215 } 216 217 218 // 219 // Photo Grid Slot 220 // 221 .a-slot.aPhotoGrid 222 { 223 .a-grid-image 224 { 225 float: left; 226 width: 28%; 227 margin: 0 1% 1% 0; 228 &:last-child 229 { 230 margin-right: 0; 231 } 232 img 233 { 234 max-width: 100%; 235 height: auto; 236 } 237 } 238 }

