Ingo Schommer
507c8caa20
Merge pull request #43 from drzax/sapphire
...
---
This class attempts to run the extraStatics method without first checking it exists. Theres no reason why a data object decorator would necessarily add extra statics.
2011-08-14 13:36:07 +02:00
Ingo Schommer
d4e42c2b11
MINOR Declaring SS_SysLogWriter::factory() to comply with changed parent interface
2011-08-12 17:05:54 +02:00
Ingo Schommer
8249834cf6
MINOR Adding 'runTask' to allowed_actions in TaskRunner
2011-08-12 17:05:54 +02:00
Ingo Schommer
e35b4b6f43
MINOR Updated language files
2011-08-12 17:05:54 +02:00
Ingo Schommer
4461cae31b
ENHANCEMENT New CMSPreviewable interface class to standardize metadata making a record previewable by the CMS.
...
ENHANCEMENT New "preview" and "edit" buttons to toggle between preview and cms views. Reinstated utility links to switch between draft and live preview (based on SilverStripeNavigator) (formerly called "AjaxSwitchView")
2011-08-12 17:05:50 +02:00
Ingo Schommer
c06d52dce2
MINOR Delegated JavaScript layout from .cms-container to redraw() methods on the individual panels
2011-08-12 14:29:18 +02:00
Ingo Schommer
5062dd9393
MINOR Removed debug comments from generated screen.css
2011-08-12 14:29:18 +02:00
Ingo Schommer
dacdade4b0
ENHANCEMENT Removed automatic redirection to admin URLs in ContentController, too counter-intuitive and hard to implement consistently, while still allowing linkage of pages without CMS around them. Use $SilverStripeNavigator in custom Page.ss to link a page to its admin view for logged-in users.
2011-08-12 14:28:44 +02:00
Ingo Schommer
6d26a88442
MINOR Better redrawing of panels loaded via ajax in CMS (no jslayout/tabset glitches, loading overlay)
2011-08-12 14:28:44 +02:00
Ingo Schommer
475e055b18
MINOR Avoid triggering $('.cms-menu') item selection when already selected. Add new 'select' event for easier customization
2011-08-12 14:28:22 +02:00
Ingo Schommer
e40d3d45c0
ENHANCEMENT $('.cms-preview').block()/unblock() for blocking preview window when unavailable. Fixed duplicate addition of GET parameters in preview with new jQuery.query library for parameter parsing.
2011-08-12 14:28:22 +02:00
Ingo Schommer
bc9fb126c0
MINOR Fixed LeftAndMainTest assertions around DBField instead of string values (broken in 1827c18f
)
2011-08-12 14:14:06 +02:00
drzax
cbd42ed053
This class attempts to run the extraStatics method without first checking it exists. There's no reason why a data object decorator would necessarily add extra statics.
2011-08-11 12:01:26 +10:00
Will Rossiter
094b3916e6
MINOR: misc style fixes to the content-tools sidebar in the main tab including resizing form fields to fit.
2011-08-09 17:52:13 +12:00
Will Rossiter
e385bbcbf8
BUGFIX: take into account the scrollTop of the first parent element when positioning the dropdown box. MINOR: prefix all generic classes used in the TreeDropdownField with treedropdownfield-.
2011-08-09 17:43:40 +12:00
Will Rossiter
dc222d54f8
MINOR: changed icon size for lefthand menu down to 16x16 rather than 24x24
2011-08-09 11:39:12 +12:00
Will Rossiter
404e71399b
ENHANCEMENAT: sprited up cms menu icons via compass
2011-08-05 16:46:03 +12:00
Will Rossiter
c40f0b4e0e
MINOR: imported chosen master via piston
2011-08-05 16:11:15 +12:00
Will Rossiter
aec1e7ab5d
MINOR: added mouse cursor for checkboxes and optionsets
2011-08-05 16:06:23 +12:00
Will Rossiter
9a340e7eb4
ENHANCEMENT: Added Chosen jQuery library for providing styled and searchable dropdowns. BUGFIX: removed explict width on TreeDropdownFields, instead using a width from jQuery.
2011-08-05 15:46:57 +12:00
Will Rossiter
0db6558a1b
MINOR: #css added active highlighting to menu for webkit browsers. tidied up grid for content-tools. Crop text that expands over the title fields. polish tweaks to the cms content actions
2011-08-04 14:09:08 +12:00
Will Rossiter
e484a230fe
ENHANCEMENT: updated TreeDropdown display. Use jQuery UI provided icon rather than custom
2011-08-01 14:27:52 +12:00
Will Rossiter
6b1471165e
Merge branch 'master' of github.com:silverstripe/sapphire into cms-ui
2011-08-01 14:25:42 +12:00
Will Rossiter
7872c1297f
MINOR: #css implemented multiple column support for optionset fields.
2011-08-01 10:54:31 +12:00
Will Rossiter
aad97ba220
MINOR: added vertical and horizontal grid helpers
2011-07-29 15:10:14 +12:00
Will Rossiter
1827c18fe1
BUGFIX: fixed CMSMain menu being displayed on CMSPageController pages. MINOR: added icons for main left hand side.
2011-07-28 16:57:41 +12:00
Ingo Schommer
dfb0504d0d
BUGFIX Setting "Content-Length" header in HTTPResponse to avoid problems with proxies timing out
2011-07-26 08:25:09 +02:00
Ingo Schommer
5e9ba3c1d5
BUGFIX Correct formatting of "Content-Type: ...; charset=..." header in HTTPResponse and Mailer (breaks Adobe BrowserLab)
2011-07-15 07:05:50 +02:00
Ingo Schommer
a30d31a16a
Merge branch 'cms-preview-history'
2011-07-08 15:37:28 +02:00
Ingo Schommer
928884c5d0
MINOR IE compatibility fixes in new admin CSS
2011-07-08 15:36:48 +02:00
Ingo Schommer
d77cbe62dd
MINOR Cleaned up structure and documentation of SCSS files in sapphire/admin/scss
2011-07-08 15:36:48 +02:00
Ed
ed449ee03d
MINOR CSS styles for tree and misc. form elements
2011-07-08 15:36:47 +02:00
Ed
803a3d9e3d
MINOR CSS styles for admin buttons. Color defintions set into _default.scss
2011-07-08 15:36:47 +02:00
Will Rossiter
92c662e552
MINOR: styles for the top tabs in the main cms. #css
2011-07-08 15:36:47 +02:00
Ingo Schommer
177e085a79
MINOR Improved CSS for left navigation, tabs and form fields
2011-07-08 15:36:47 +02:00
Ingo Schommer
657dbc1e96
MINOR Recompiled CSS from SCSS
2011-07-08 15:36:47 +02:00
Ingo Schommer
a3bd21b48e
BUGFIX Don't trigger detail view in tree mode when first loaded (LeftAndMain.Content.js), limit to actual user clicks
2011-07-08 15:36:47 +02:00
Ingo Schommer
a1b8698389
MINOR Removed '.LeftAndMain' selector from rules in order to avoid DOM hierarchy confusion (.LeftAndMain contains .cms-content vs .LeftAndMain equals .cms-content)
2011-07-08 15:36:47 +02:00
Ingo Schommer
19b9edb170
MINOR Clearer CSS classes in CMS controller templates. Fixed JS loading of ModelAdmin panels. Added $BaseCSSClasses to content templates in order to support partial template loads through ajax (instead of relying on stale CSS classes on the <body> tag). Leaving $BaseCSSClasses in LeftAndMain.ss base template for legacy reasons.
2011-07-08 15:36:46 +02:00
Ingo Schommer
1dc9457048
MINOR Using LeftAndMain->BaseCSSClasses() instead of ViewableData->CSSClasses() to avoid conflicts with customized controller objects (e.g. ModelAdmin_RecordController->edit())
2011-07-08 15:36:46 +02:00
Ingo Schommer
2e9ea1d129
MINOR Disable ping until jQuery.entwine _super() confusion is resolved
2011-07-08 15:36:46 +02:00
Ingo Schommer
b326f03ed7
MINOR Using LeftAndMain->Link() $action parameter correctly in getSiteTreeFor()
2011-07-08 15:36:46 +02:00
Ingo Schommer
d68ec395a3
API CHANGE Using $Link instead of $ApplicationTitle and $SectionTitle in LeftAndMain.ss. Adding new 'X-Title' HTTP header in order to support title changes for history.pushState
2011-07-08 15:36:46 +02:00
Ingo Schommer
2f2096cd3a
ENHANCEMENT HTML5 History.pushState support in CMS
2011-07-08 15:36:46 +02:00
Ingo Schommer
ff54044206
API CHANGE Forms in ajax responses from LeftAndMain and subclasses include <form> tags, and replace the form itself on the client (rather than just everything inside the form). Form submissions and loading is handled by its container ('.cms-content') to avoid problems with a DOM element replacing itself upon form submission.
2011-07-08 15:36:46 +02:00
Ingo Schommer
0e0a59df99
ENHANCEMENT Collapsible menu, disable menu actions on external links
2011-07-08 15:36:45 +02:00
Ingo Schommer
f90c317c86
MINOR Removed unnecessary files for history.js
2011-07-08 15:36:44 +02:00
Ingo Schommer
a5f841764d
MINOR Added history.js dependency
2011-07-08 15:36:44 +02:00
Ingo Schommer
8378a9d561
MINOR Moved "pinging" logic for CMS into new LeftAndMain.Ping.js container
2011-07-08 15:36:44 +02:00
Ingo Schommer
4e0949f565
ENHANCEMENT Consistently wrapping CMS forms in <div class="cms-content">, added LeftAndMain.Content.js to reload panels via ajax, hooking into preview logic
2011-07-08 15:36:44 +02:00