Commit Graph

395 Commits

Author SHA1 Message Date
Ingo Schommer
8da89c6f7c MINOR Generic .cms-help-toggle implementation to replace MemberDatetimeOptionsetField.js (which also didn't work when loaded via Ajax, and needed a rewrite to jQuery.entwine anyway) 2012-03-05 17:41:50 +01:00
Ingo Schommer
f9f659672a MINOR Re-instating Member_Validator in SecurityAdmin->RootForm() and Groups->getCMSFields() with new GridField implementation 2012-03-05 17:41:50 +01:00
Ingo Schommer
9a02f19b66 MINOR .message styling 2012-03-05 17:41:50 +01:00
Ingo Schommer
94d985e0c4 MINOR Only disable chosen.js placeholder if no custom one exists 2012-03-05 17:41:50 +01:00
Ingo Schommer
2abb021efb BUGFIX Restored old permission code model, broken due to new controller structure. Introduced LeftAndMain::$required_permission_codes as a way to control permissions independently of subclasses, and "cluster" multiple classes under a single code. 2012-03-05 17:41:49 +01:00
Ingo Schommer
bfd7adc666 MINOR Fixed default link styling in CMS, was too little contrast on light grey background 2012-03-05 17:41:49 +01:00
Ingo Schommer
e9a2de35c2 ENHANCEMENT Using GridField to edit roles in SecurityAdmin 2012-03-05 17:41:49 +01:00
Ingo Schommer
fe29d4ecfc MINOR Updated chosen.js from 0.9.5 to 0.9.7 2012-03-05 17:41:49 +01:00
Ingo Schommer
ad5cf1ebf1 ENHANCEMENT Using ListboxField/chosen.js to assign roles in Group->getCMSFields(). Improved explanation of groups in the user interface. 2012-03-05 17:41:47 +01:00
Ingo Schommer
eab8401c7d MINOR Applying chosen.js behaviour to all <select multiple>, rather than arbitrarily limiting to a CheckboxSetField. Also fixed a bug where those fields would get the '.has-chzn' class even if it wasn't applied due to a missing <select> element. 2012-03-05 09:21:24 +01:00
Ingo Schommer
a6a7b2e469 MINOR Fixed viewer/editor groups field widths to work with chosen.js UI component 2012-03-05 09:13:19 +01:00
Ingo Schommer
e8f9624b42 BUGFIX Moved window.beforeunload handler out of onmatch(), was applied multiple times and causing unsaved changes confirmation messages on forms which were no longer loaded 2012-03-05 09:13:19 +01:00
Ingo Schommer
c69e949bc9 MINOR Show all "can view" options in page settings in their own line, as it makes it easier to scan available options 2012-03-05 09:13:19 +01:00
Ingo Schommer
b242bfb3da BUGFIX Include GET parameters of current URL in GridField on ajax reloads to retain view state 2012-03-02 20:46:22 +01:00
Ingo Schommer
02e728fa08 BUGFIX Fixed visibility of admin/myprofile for non-admins by moving it to a new CMSProfileController class and overloaded canView() 2012-03-02 20:46:22 +01:00
Ingo Schommer
46628721fe ENHANCEMENT Using chosen.js for group selection in Member->getCMSFields() 2012-03-02 20:46:22 +01:00
Ingo Schommer
9f5e26d12b ENHANCEMENT Generic search form uses loadPanel() rather than being tied to GridField (requires backend changes, see AssetAdmin), and uses jquery.form to do resets 2012-03-02 15:20:17 +01:00
Ingo Schommer
3659c63afe MINOR Updated jquery.form.js plugin, and re-added it to standard includes (its handy for clearing out forms, and consistently getting form field values) 2012-03-02 13:42:15 +01:00
Normann Lou
45927b98c4 ENHANCEMENT SSF-53: add customised class to Member's GridField in SecurityAdmin 2012-03-02 16:28:47 +13:00
Ingo Schommer
3ded12e599 MINOR Removed obsolete "add member" button in SecurityAdmin, now handled through GridField (SSF-53) 2012-03-01 21:36:01 +01:00
Ingo Schommer
3f07b9bffa MINOR Fixed PermissionCheckboxSetField readonly styles (SSF-53) 2012-03-01 21:35:48 +01:00
Ingo Schommer
4bd5333b56 MINOR Editing and relation adding on SecurityAdmin groups (both root and group instances) (SSF-53) 2012-03-01 21:35:48 +01:00
Ingo Schommer
23bd11281d MINOR Ensure global CMS behaviour is applied in dialogs and frames like UploadField as well (they only have the .cms class, not .cms-container) 2012-03-01 11:59:28 +01:00
Ingo Schommer
f8201c48a3 MINOR More generic CSS styles for .cms-file-info: Apply to form.small parent, fixed related UploadField spacing issues 2012-03-01 11:58:16 +01:00
Ingo Schommer
a415034d0a MINOR Changed GridField.js edit click behaviour from event-based to an (subclassable) method class, which means it works outside of the CMS by default. Making the whole row active in case an edit link is present 2012-03-01 00:20:25 +01:00
Ingo Schommer
1b600a0b09 MINOR Fixed empty breadcrumbs in AssetAdmin when using non-existent (singleton) record as the "current record" 2012-03-01 00:20:25 +01:00
Ingo Schommer
da879da940 MINOR Styling and structural fixes for File/Image->getCMSFields() and relates usage in UploadField/HTMLEditorField. 2012-02-29 21:06:43 +01:00
Ingo Schommer
7d10ff790c MINOR Fixed JS notice/alerts in CMS 2012-02-29 17:15:52 +01:00
jbridson
e61a7868fd BUGFIX:changed the colour of the font on the default tabs to match the designs 2012-02-29 16:26:52 +13:00
jbridson
e4496fefc1 BUGFIX:SSF-106 added fix for no delete icons in ie7 2012-02-29 16:00:30 +13:00
jbridson
e932be3a9a ENHANCEMENT:SSF-30 - partially finish - fixed broken layout on edit files 404error.html 2012-02-29 15:31:09 +13:00
Felipe Skroski
be114b418e MINOR: (SSF-106) Added the images of the previous commit 2012-02-29 13:55:48 +13:00
jbridson
59df00d302 BUGFIX:fixed position of back button in the cms-content-header - adapted design to work around the inclusion of tabs. 2012-02-29 11:06:42 +13:00
jbridson
af59228036 MINOR:fixed the positioning of the viewmode (drag and drop, mulitiselect) on the pages treeview 2012-02-29 09:56:38 +13:00
jbridson
b53a32ae34 MINOR:SSF-30 changed measures to be multiples of grid-x and grid-y 2012-02-29 09:56:38 +13:00
Ingo Schommer
5cc33ab843 Merge branch 'master' into integration
Conflicts:
	admin/css/screen.css
	admin/scss/_style.scss
2012-02-28 20:17:43 +01:00
Ingo Schommer
af9e46af74 MINOR LeftAndMain->Breadcrumbs() ordering 2012-02-28 18:48:20 +01:00
Ingo Schommer
f67cca321c BUGFIX Using RequestHandler->urlParams rather than HTTPRequest->param() in LeftandMain->currentPageId() in order to avoid the wrong ID being chosen on nested controllers like GridField with their own "ID" parameters in the URL signature 2012-02-28 18:48:02 +01:00
Ingo Schommer
6e9bf8859e MINOR Force full redraw when panels are initiated 2012-02-28 18:09:33 +01:00
Ingo Schommer
a62881a137 MINOR Always padding panels 2012-02-28 18:09:32 +01:00
Ingo Schommer
07abcb1dda MINOR Fixed button styling in CMS content header (tab styles not specific enough) 2012-02-28 18:09:32 +01:00
Ingo Schommer
da57794014 MINOR Using ":submit" selector instead of ":button" in order to capture <input> tags as well 2012-02-28 18:09:32 +01:00
Ingo Schommer
25d0196b04 MINOR Merge errors 2012-02-28 18:09:30 +01:00
Felipe Skroski
d0e3129677 MINOR: Added new spinner 2012-02-28 18:07:24 +13:00
Ingo Schommer
f3fe62e740 Merge branch 'master' into integration
Conflicts:
	admin/css/screen.css
2012-02-28 00:35:17 +01:00
Ingo Schommer
832d410303 MINOR Merge errors 2012-02-28 00:34:15 +01:00
Ingo Schommer
bcc73de85e Merge branch '106-add-edit-records-rc'
Conflicts:
	admin/code/LeftAndMain.php
	admin/css/screen.css
	admin/scss/_style.scss
	admin/templates/Includes/LeftAndMain_EditForm.ss
	css/GridField.css
	filesystem/Folder.php
	forms/gridfield/GridField.php
	forms/gridfield/GridFieldDefaultColumns.php
	forms/gridfield/GridFieldPopupForms.php
2012-02-27 23:58:10 +01:00
Ingo Schommer
f1775b5f84 MINOR Backlinks in CMS edit form template, first defined in GridFieldPopupForms 2012-02-27 23:52:49 +01:00
Ingo Schommer
e95a2cf40c MINOR Pad fields in base CMS template when no tabs exist, to avoid requiring a template overload for this simple view setting 2012-02-27 23:52:48 +01:00
Ingo Schommer
3b53ed1937 MINOR Moved some CMS-specific template config into GridFieldPopupForms, to make the external API easier to use, and make specific configs less dependent on the instanciation context, and more tuned to the actual execution controller context 2012-02-27 23:52:48 +01:00