Commit Graph

248 Commits

Author SHA1 Message Date
Ingo Schommer
f57caecd5a MINOR Updated history-js dependency 2011-12-14 16:15:36 +01:00
Ingo Schommer
a17e1c21c2 MINOR Suppress inline JS validation scripts in CMS (they don't work with ajax-loaded content) 2011-12-14 16:15:32 +01:00
Ingo Schommer
0dd32baf1e MINOR Changed execution order in preview JS to fix layout issues with collapsed preview panel in IE7 (SSF-42) 2011-12-12 21:30:16 +01:00
Ingo Schommer
02d1ff80a9 BUGFIX Removed synchronous entwine mode when loading CMS UIs via ajax, which effectively brings down IE (e.g. roughly 10x as many "events" in DynaTrace for IE8) 2011-12-12 18:37:48 +01:00
Ingo Schommer
2170835aeb BUGFIX Using faster entwine selectors (class/attr rather than CSS3 pseudo selectors) 2011-12-12 18:35:25 +01:00
Ingo Schommer
1553c3e69c BUGFIX Fixed ModelAdmin.js dropdown panel selection 2011-12-02 10:53:59 +01:00
Anselm Christophersen
5e9db043fa MINOR ModelAdmin search and create panel fixes (see #6782) 2011-12-02 10:27:06 +01:00
Ingo Schommer
4a2fe9877d MINOR Disabled styling for form fields in CMS 2011-11-14 12:23:59 +01:00
Ingo Schommer
f815425b4d MINOR Fixed collapsed cms menu and preview by setting correct panel width (broken by 6b88006456) 2011-10-30 14:34:35 +01:00
Ingo Schommer
e5b88c6c48 MINOR Documentation 2011-10-29 21:59:21 +02:00
Ingo Schommer
3aafb63821 MINOR Allowing usage of custom *_EditForm templates in base class with LeftAndMain->getEditForm() (was already implemented in subclasses) 2011-10-29 21:56:33 +02:00
Ingo Schommer
7924ce9f74 MINOR Fixed some JS warnings 2011-10-29 20:58:48 +02:00
Ingo Schommer
c6aa0697d3 MINOR Moved <ins> and <del> styles to more specific selectors in cms module 2011-10-29 20:47:44 +02:00
Ingo Schommer
6683b380b4 MINOR Protection against infinite initialization/callback loops caused by loading a full page template via ajax (in LeftAndMain.js) 2011-10-29 20:47:11 +02:00
Ingo Schommer
ec2b0a437d MINOR Apply loading styling to edit forms as well as content areas 2011-10-29 20:46:41 +02:00
Ingo Schommer
7be28d5714 BUGFIX Making LeftAndMain->PreviewLink() an "opt-in", returning false by default to avoid adverse effects from loading unpreviewable items like users or filesystem folders - see CMSMain for sample implementation 2011-10-29 19:12:33 +02:00
Ingo Schommer
96d18efa58 MINOR Replaced calls to deprecated FormField->Name() with getName() 2011-10-29 13:27:11 +02:00
Ingo Schommer
6e2eaed4fc MINOR Fixed batch action drop down width in CMS (somehow chosen.js interprets it as only 60px wide) 2011-10-29 13:27:11 +02:00
Ingo Schommer
ac94809068 MINOR Fixed content loading overlay in CMS 2011-10-29 13:27:11 +02:00
Ingo Schommer
a5652ab3aa BUGFIX Added 'mceRemoveControl' calls to TinyMCE logic in CMS in order to reinitialise editors properly after replacing the panels via ajax 2011-10-29 13:27:10 +02:00
Ingo Schommer
d1ce2c07c0 MINOR Using overflow-y: auto instead of overflow-y: scroll in CMS to avoid showing ugly scroll bars by default even if resolution is high enough to accommodate all elements. 2011-10-29 13:27:10 +02:00
Sam Minnee
e5afa25522 MINOR: Use Deprecation class to indicate deprecated methods in core. 2011-10-29 17:34:31 +13:00
Will Rossiter
01bfdbeb90 MINOR tweaks to SecurityAdmin layout 2011-10-29 15:47:08 +13:00
Will Rossiter
a08a08eaa0 MINOR move panel title into scrollable panel 2011-10-29 15:47:07 +13:00
Will Rossiter
aba6b44163 MINOR remove console.log. MINOR clean up for icon sprites in the cms and content toolbars 2011-10-29 15:47:07 +13:00
Will Rossiter
3d77214d91 MINOR remove old stylesheet 2011-10-29 15:47:07 +13:00
Will Rossiter
6b88006456 BUGFIX show scroll bar on menu and side panels in adminstration section rather than hiding 2011-10-29 15:47:07 +13:00
Simon Welsh
89ec7e622e When relying on the order of returned objects, sort explicitly as it is nondeterminate for non-MySQL. 2011-10-29 15:24:06 +13:00
Sam Minnée
089c38a5da Merge pull request #73 from stojg/leftandmain
MINOR Fixing the path of the CSS files in LeftAndMain
2011-10-27 20:13:47 -07:00
Stig Lindqvist
e38dd08ea5 MINOR: Fix docblocks to reference SS_List instead of (now deprecated) DataObjectSet where appropriate 2011-10-28 15:58:55 +13:00
Hamish Friedlander
0a3e0f15de MINOR: Replace references to FieldSet (now deprecated) with references to FieldList 2011-10-28 15:58:55 +13:00
Stig Lindqvist
15ad2d29c3 MINOR Fixing the path of the CSS files in LeftAndMain 2011-10-22 17:04:02 +02:00
Ingo Schommer
2279e9f3b3 MINOR Removed individual Requirements calls in LeftAndMain->init() in favour of Requirements::combine_files(), to avoid duplication and hard to debug behaviour differences due to changed file inclusion orders between non-live and live systems 2011-10-11 09:55:58 +02:00
Ingo Schommer
98b4fe21d9 Merge branch 'candidasa-cms-enhancements' 2011-10-11 09:37:18 +02:00
Julian Seidenberg
b7f9c59e12 ENHANCEMENT: adding hoverIntent plug-in to the js combined_files (SSO-7) 2011-10-11 12:12:46 +13:00
Julian Seidenberg
f807aa01b2 ENHANCEMENT: introducing a flight delay (using the jQuery HoverIntent plug-in) to prevent "sloppy mouse movement" from instantly closing the flyout menu when the mouse leaves the area. Also fixes problem with the menu in IE7. 2011-10-10 14:00:47 +13:00
Julian Seidenberg
df1de11a63 BUGFIX: renaming "triangle" to "flyout-indicator" and fixing bug when switching between pages in the CMS after collapsing left-hand side menu 2011-10-10 13:24:27 +13:00
Ingo Schommer
fa6681f5c5 BUGFIX: Better handling of non-existent records in delete calls (if button is clicked twice) 2011-10-07 14:12:52 +02:00
Julian Seidenberg
9fb1b32e01 ENHANCEMENT: Collapsed main menu view (SSO-7) 2011-10-07 17:48:53 +13:00
Ingo Schommer
443777e789 MINOR Selecting parents of nested menu entries by default in LeftAndMain.Menu.js 2011-10-04 13:16:55 +02:00
Ingo Schommer
7408ba4a54 ENHANCEMENT Removed unnecessary "Edit Page > Reports" menu entry, feature will only be available through a dedicated "Reports" interface 2011-10-04 13:16:55 +02:00
Julian Seidenberg
d378a86c49 BUGFIX: using Will's grid variables for spacing of dialog 2011-09-30 16:08:32 +13:00
Julian Seidenberg
e58b0320dd ENHANCEMENT: adding ui-state-disabled icons for CMS buttons (SSO-8) 2011-09-30 14:29:19 +13:00
Julian Seidenberg
9beef85259 BUGFIX: creating green fallback color for "Save and Publish" button in IE7 (SSO-8) 2011-09-30 13:49:05 +13:00
Julian Seidenberg
6837baea38 MINOR: adjust distances and fallback colors (SSO-8) 2011-09-30 13:24:23 +13:00
Julian Seidenberg
fb364bcc25 ENHANCEMENT: using CSS3 to do number label in dialog box (SSO-8) 2011-09-30 12:48:27 +13:00
Julian Seidenberg
90d4321c52 ENHANCEMENT: adding an additional overlay-light div that is used when switching between pages by ajax. The dialog pop-up uses the default "ui-widget-overlay", but that overlay is darker than "ui-widget-overlay-light". Having two overlays prevents weird graphic effects when switching pages using the darker overlay (SSO-12) 2011-09-29 17:09:36 +13:00
Julian Seidenberg
f50a281759 ENHANCEMENT: styling of popup with Ed Knight's changes and moving them from CMS to sapphire, because that is where all the image assets live (SSO-12) 2011-09-29 16:25:31 +13:00
Julian Seidenberg
b2af1bfda9 BUGFIX: fixing "outside" close button on dialogs (SSO-12) 2011-09-29 16:24:21 +13:00
Julian Seidenberg
cdc8d8b976 ENHANCEMENT: merging of Ed Knight's changes from: 52acf3532f. (SSO-12) 2011-09-29 16:24:03 +13:00
Julian Seidenberg
bfa0181d78 ENHANCEMENT: Icons for all core CMS actions like "Save draft" (SSO-26) 2011-09-29 15:15:12 +13:00
Will Rossiter
51affd2d63 BUGFIX: update LeftAndMain::handleRequest() to be consistent with Controller::handleRequest() 2011-09-26 16:55:59 +13:00
Will Rossiter
1732a17114 Merged new-orm into datagrid 2011-09-26 16:47:54 +13:00
Ingo Schommer
8adb259555 MINOR Exclude buttons from focusing first elements in CMS edit form, as it stuffs up the layout engine 2011-09-19 21:34:03 +02:00
Ingo Schommer
b4fd20dc3c MINOR More flexible definition of non-previewable CMS interfaces 2011-09-19 21:33:35 +02:00
Ingo Schommer
c862b2423b MINOR Fixed merge errors from 'history-panel' branch 2011-09-19 21:01:17 +02:00
Will Rossiter
a1b6a8aff2 ENHANCEMENT: stripped out typography styles from the cms into its own file. Included styling for ins and del 2011-09-19 17:27:26 +02:00
Will Rossiter
2036354d8d ENHANCEMENT: implemented CMSPageHistoryController with comparsion view, single version view into new CMSMain interface 2011-09-19 17:26:01 +02:00
Will Rossiter
7560e468ed BUGFIX: fixed menu not appearing on load 2011-09-19 17:22:36 +02:00
Will Rossiter
60cba7dd76 BUGFIX: fixed submenu not opening in cms-menu when cms loads on page other than edit page section 2011-09-19 17:22:36 +02:00
Will Rossiter
2bf2c3a15f MINOR: #css styles to clean up vertical alignment in content tools 2011-09-19 17:22:36 +02:00
Ingo Schommer
ce8e72cf0e MINOR Removing executable flag from all files (thanks miiihi) 2011-09-18 22:04:02 +02:00
Julian Seidenberg
c72a6131fe BUGFIX: fixing random changing of access tab radio buttons when refreshing the CMS with a URL such as /admin/page/settings/show/1#Root_Access in Firefox 2011-08-31 10:55:40 +12: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
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
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
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
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