Commit Graph

137 Commits

Author SHA1 Message Date
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
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