Commit Graph

101 Commits

Author SHA1 Message Date
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
Ingo Schommer
2b56d2a8d8 FEATURE Preview panel to show CMS changes on actual website. Navigating in preview loads new page for editing in CMS. 2011-07-08 15:36:44 +02:00
Ingo Schommer
6649d69b39 MINOR Updated menu icons 2011-07-08 15:36:43 +02:00
Ingo Schommer
686f101925 ENHANCEMENT Toggleable panels in CMS 2011-07-08 15:36:43 +02:00
Will Rossiter
6956275d2e MINOR: css styles and formatting for left hand side menu bar. Altered the stylesheet structure to allow future admin scss theme files to be included easier 2011-05-20 11:29:40 +12:00
Ingo Schommer
cbf191b14c MINOR Temporarily disabled deprecation notice in DataObjectDecorator and LeftAndMainDecorator, to be re-enabled once we're in beta stage (they unnecessarily break too many modules for now 2011-05-19 10:25:15 +12:00
Ingo Schommer
4feae59391 MINOR Only setting form state if form element is available in 'ss-ui-button' 2011-05-08 23:35:14 +12:00
Frank Mullenger
0b8f8a3c8a ENHANCEMENT Checking allowed parents/children in tree dragging. Using 'data' attributes to encode metadata on the tree element (fixes #6578) 2011-05-08 16:26:55 +12:00
Ingo Schommer
40786cddd3 BUGFIX Allowing 'root' as ID parameter in LeftAndMain->getEditForm() (necessary for AssetAdmin root folders etc.) 2011-05-02 13:24:42 +12:00
Ingo Schommer
ff1c961ead MINOR CMS Preview fixes 2011-05-02 11:43:51 +12:00
Ingo Schommer
f94647197b MINOR Loading indication for buttons in CMS (overrides jQuery UI backgrounds) 2011-05-02 11:43:34 +12:00
Ingo Schommer
71bc87fa1e MINOR Making SiteConfig dependency optional in LeftAndMain->SiteConfig() 2011-05-01 22:30:53 +12:00
Ingo Schommer
9a595fbd25 MINOR Rendering DateField instances with button by default in CMS 2011-05-01 22:30:52 +12:00
Ingo Schommer
f0c94696c9 MINOR Added (hardcoded) URLs for LeftAndMain_Menu.ss 2011-05-01 20:23:07 +12:00
Ingo Schommer
afbb4cc045 MINOR Fixed Member_ProfileForm styling, inlining into _style.css. Misc style fixes 2011-05-01 20:23:07 +12:00
Ingo Schommer
f8b38e9adb MINOR Moving _layout.scss include from screen.css into its own file, in order to selectively block layout options like body {overflow: none;} while retaining all other cms styles (useful in a dialog context) 2011-05-01 20:23:07 +12:00
Ingo Schommer
64692ccee6 API CHANGE Removed LeftAndMain->getitem(), use show() instead 2011-05-01 20:23:07 +12:00
Ingo Schommer
79e0634537 Merge branch 'cms-ui-preparation' 2011-04-28 22:48:02 +12:00
Ingo Schommer
0fd6924fe1 FEATURE Preview changes of page edits in CMS on website (through <iframe> sidebar) 2011-04-28 22:36:28 +12:00
Ingo Schommer
afa05f93dd MINOR Background color fallbacks for IE (no gradient support) 2011-04-27 19:37:46 +12:00
ajshort
3a1c2df4e7 API CHANGE: Renamed DataObjectDecorator to DataExtension.
API CHANGE: Renamed LeftAndMainDecorator to LeftAndMainExtension.
MINOR: Replaced all references to decorators with extension.
2011-04-26 11:01:38 +10:00
Ingo Schommer
43491c2641 MINOR Reducing number of asset downloads by combining files in LeftAndMain->init() and including full jquery.ui.css instead of multiple @import statements 2011-04-25 21:36:51 +12:00
Ingo Schommer
d916140686 ENHANCEMENT Added incompatibility notice for Internet Explorer 6 in LeftAndMain.js 2011-04-24 12:31:19 +12:00
Ingo Schommer
663c49ccdd MINOR Added temporary 'preview' header 2011-04-24 11:46:56 +12:00
Ingo Schommer
2291d64c2c MINOR Disabled "welcome" message in LeftAndMain->RootForm() 2011-04-24 11:46:56 +12:00
Ingo Schommer
5bd35f7016 MINOR Moved LeftAndMain_EditForm.ss to templates/Includes/ in order to keep same template specificity as overloaded templates 2011-04-24 11:46:56 +12:00
Ingo Schommer
035b68fc32 MINOR Misc style improvements around batch actions and content tools display 2011-04-24 11:46:56 +12:00
Ingo Schommer
2c6e0c277b MINOR Adapted CMS batch actions form to work outside of tabset context 2011-04-24 11:46:55 +12:00
Ingo Schommer
b08fc52da4 MINOR Wrapping cms-content-header <div> in order to provide overflows without line breaks 2011-04-24 11:46:55 +12:00
Ingo Schommer
f0f7f8aa75 MINOR Removed unnecessary 'actionsparams' class from LeftAndMain forms 2011-04-24 11:46:55 +12:00
Ingo Schommer
be68450ce1 MINOR Allowing NULL returns from getRecord() in LeftAndMain->getSiteTreeFor() 2011-04-24 11:46:54 +12:00
Ingo Schommer
51c02289da MINOR Moved edit-form specific jstree logic to LeftAndMain.EditForm.js 2011-04-24 11:46:54 +12:00
Ingo Schommer
ecddf5b945 API CHANGE ModelAdmin->ResultsForm() no longer returns a TabSet (was just a layout crutch to support correct sizing) 2011-04-24 11:46:54 +12:00
Ingo Schommer
1a9441ffc8 MINOR Removed jquery.fitheighttoparent from LeftAndMain->init(), handled by layout manager now 2011-04-24 11:46:53 +12:00
Ingo Schommer
895b98116d MINOR Using jQuery ajax methods in AssetTableField and MemberTableField (instead of the prototype library functions which are not fully compatible with jQuery.ondemand at the moment). Fixed TableListField.js errors. 2011-04-24 11:46:53 +12:00
Ingo Schommer
0271652aa3 ENHANCEMENT Added default 'delete' action in LeftAndMain->getEditForm() if no other actions are set ('save' action was already present) 2011-04-24 11:46:53 +12:00
Ingo Schommer
3c544340ee MINOR Making canEdit() method optional on objects handled by LeftAndMain subclasses 2011-04-24 11:46:53 +12:00