Commit Graph

41 Commits

Author SHA1 Message Date
Sebastien Ros
807fdcf566 #18336: Fixing stylesheets rendering
Work Item: 18336

--HG--
branch : 1.x
2012-01-12 10:03:03 -08:00
Sebastien Ros
2760db08b2 Back porting Pager shapes from dev branch
--HG--
branch : 1.x
2011-11-01 16:07:20 -07:00
Sebastien Ros
e193b4e3c7 Adding Shape debug viewers
--HG--
branch : 1.x
2011-05-24 16:34:42 -07:00
Sebastien Ros
9fca99c51b Adding new alternates
- Injected alternates in curent Core/Framework
- Created a new Feature in Orchard.DesignerTools to add Url based alternates (e.g. __url__homepage)
- Added Work<> meta-dependency to inject dependencies in non-dependency enables classes

--HG--
branch : dev
2011-02-21 11:35:54 -08:00
Andre Rodrigues
14a7ada113 Converting local navs to a new core shape (AKA making louis happy :))
--HG--
branch : dev
2011-02-11 14:13:38 -08:00
Dave Reed
11b37286a2 #17286: ResourceManager should allow condition to be applied.
Actually, it did, but this wasn't useful for stylesheets that wanted a different 'media' type. You can now set any attribute in addition to the condition, which would also be great for scripts if you need to set an ID or other script attribute.

--HG--
branch : dev
2011-01-31 20:49:30 -08:00
Suha Can
c97a8d26cb Cleanup (includes)
--HG--
branch : dev
2010-12-07 15:47:45 -08:00
Dave Reed
7b4025b8cb #16705: Themes may now override stylesheets alone by filename.
--HG--
branch : dev
2010-12-03 15:53:27 -08:00
Dave Reed
59a57413c5 #16800: Add a Condition property on RequireSettings.
You can now say Require("foo").UseCondition("lte IE7") for example.

--HG--
branch : dev
2010-11-29 14:16:26 -08:00
Nathan Heskew
53d0c6ac74 Making the list shape's ul/ol not render if there are no items
--HG--
branch : dev
2010-10-19 21:50:10 -07:00
Nathan Heskew
fd2efe23e7 Fixing zone and menu shapes' class names
--HG--
branch : dev
2010-10-19 16:17:59 -07:00
Nathan Heskew
91c3588f88 Fixing some class names
--HG--
branch : dev
2010-10-19 15:34:55 -07:00
Nathan Heskew
91a88c2e90 Updating comments w/ content shape alternate examples and a little addtl. cleanup
--HG--
branch : dev
2010-10-19 11:09:59 -07:00
Nathan Heskew
bdea6c5386 Adding a "content-items" class name to the blog post list
--HG--
branch : dev
2010-10-17 02:03:00 -07:00
Nathan Heskew
cfa1601676 Adding something for the page title to the core document template (and widget shape template)*
*exploration work

--HG--
branch : dev
2010-10-13 01:02:54 -07:00
Louis DeJardin
945e41de1e Updating for part placement
Correcting several issues
Providing default placement info for body and tags
Fixing predicate logic

--HG--
branch : dev
2010-10-12 21:08:27 -07:00
Nathan Heskew
789b00a0f3 Pulling the FlatPositionComparer* out of Orchard.Core's CoreShapes and changing the widget managemen index to use that
* need to reconcile this and the Orchard.UI.Navigation.PositionComparer and make the comparer work with negative numbers w/ null/""/0 as the default

--HG--
branch : dev
2010-10-12 15:57:22 -07:00
Louis DeJardin
aa4a80bf6d Merge
--HG--
branch : dev
2010-10-11 12:04:17 -07:00
Louis DeJardin
117a613715 Fixing some issues that showed up in testing
Built-in zones need to be created with names
Binding and shape dictionary is now compare-ordinal-case-insensive
ZoneName is quirky - because it is an actual property some of the inline assignment mechanisms don't work as expected.
Main content area is salmon

--HG--
branch : dev
2010-10-11 11:52:38 -07:00
Louis DeJardin
7021670529 Adding specializations for additional core shapes
MenuItem now has Parent and Menu back-pointer properties
Menu-{name} and MenuItem-{name} templates are added as specializations

--HG--
branch : dev
2010-10-11 11:24:55 -07:00
Louis DeJardin
9b67b6e165 Implementing a some fundamental alternate binding names for core shapes
--HG--
branch : dev
2010-10-08 18:29:11 -07:00
Nathan Heskew
cc3d6b1472 Making use of the ShapeAlterationBuilder OnDisplaying method to set appropriate (CSS) class names to Menu and Zone shapes
--HG--
branch : dev
2010-10-08 16:58:39 -07:00
Nathan Heskew
f2ff1494af More progress on defining new UI capabilities...
--HG--
branch : dev
2010-10-07 15:07:01 -07:00
Nathan Heskew
1e22892c71 WorkContext.Page -> WorkContext.Layout to be consistent with the shape's template and type names
--HG--
branch : dev
2010-10-07 12:11:49 -07:00
Nathan Heskew
7503606d74 More progress on defining new UI capabilities..
--HG--
branch : dev
2010-10-06 14:02:37 -07:00
Nathan Heskew
2e3c05afcc Temporary solution to get zone items in order
--HG--
branch : dev
2010-09-22 17:22:48 -07:00
Dave Reed
e9f780a408 Added a SiteSetting for whether to load resources in debug mode (use app setting, enabled, disabled)
--HG--
branch : dev
2010-09-22 14:39:01 -07:00
Dave Reed
45cba60180 Added Script.Head and Script.Foot for capturing literal script (w/o Capture lambda)
--HG--
branch : dev
2010-09-21 10:39:04 -07:00
Nathan Heskew
305fd9ef22 Getting setup looking a little more as it should
--HG--
branch : dev
2010-09-21 00:58:56 -07:00
Dave Reed
26f5956664 Require() now returns RequireSettings which has a fluent api. Dropped more complex overloads of Require in favor of it.
--HG--
branch : dev
2010-09-17 16:09:43 -07:00
Dave Reed
e3be58604c Dropped optional parameters, promoted TagRenderMode so links and scripts render ideally.
--HG--
branch : dev
2010-09-17 12:46:00 -07:00
Dave Reed
c83b91e5c5 Added new ResourceManager and converted modules to use it. See sln notes ResourceManager.txt for open items.
--HG--
branch : dev
2010-09-16 17:35:01 -07:00
Louis DeJardin
6bfde2891c Some refactoring in DisplayManagement namespace
Removing unused IShapeTableFactory
ShapeTableBuilder has default Feature - components describing shapes from their own module do not need to pass feature in
Fixing some tests
IShapeDescriptorBindingStrategy becomes IShapeTableProvider

--HG--
branch : theming
2010-09-13 20:57:37 -07:00
Louis DeJardin
0c67b9fd20 Trying to simplify tag/id/attr handling in shape views
ITagBuilderFactory returns a TagBuilder populated html related things taken from the shape
Updated zone/menu/menuitem shapes to use that service
Menu and menu item removed from TheAdmin to allow core\shapes rendering to show through

--HG--
branch : theming
2010-09-10 17:37:21 -07:00
Louis DeJardin
dd517ccaf4 Adding different type of zone shapes for different purposes
--HG--
branch : theming
2010-09-10 13:34:39 -07:00
Louis DeJardin
88535ed8c6 Throwing in a "SummaryAdmin" equivalent
Need to enumerate display types
Adds a diagnostic <div> to devtools that wraps everything being rendered with it's shape name and location

--HG--
branch : theming
2010-09-09 19:23:06 -07:00
Louis DeJardin
b809247464 Simple content item, with support for zones, editor, and display partial templates working
--HG--
branch : theming
2010-09-09 13:52:45 -07:00
Louis DeJardin
91684d050b Adding a PlaceChildContent shape to Body and Content zones by default
--HG--
branch : theming
2010-09-09 11:58:26 -07:00
Nathan Heskew
b78e47cad8 Some work on getting the content admin list rendering
--HG--
branch : theming
2010-09-09 00:01:46 -07:00
Louis DeJardin
899abcca96 Further shapes work
Adding the ability to bind a method with a TextWriter Output parameter
Bringing over work from UnorderedList
Parameter bound with GetMember instead of array access to be compatible with base class properties

--HG--
branch : theming
2010-09-08 19:30:30 -07:00
Louis DeJardin
bb9ba92f9d Adding some shape definitions into Orchard.Shapes
A few details of Layout/Document/Zone shapes are described
Three utility shapes are provided as [Shape] methods
An IOrchardViewPage interface is introduced to ensure all base view classes have the same minimum number of methods and properties available

--HG--
branch : theming
2010-09-07 22:15:33 -07:00