Commit Graph

72 Commits

Author SHA1 Message Date
Ingo Schommer
6d3cf213e7 MINOR Removed unnecessary tree CSS styles, will be replaced by new styles based on jstree.js 2011-03-22 18:43:38 +13:00
Will Rossiter
1d23f21a7d BUGFIX: fixed typo in the cms_left.css. Fixes #6154.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@114812 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-12-11 01:06:25 +00:00
Sam Minnee
4961a9cd26 BUGFIX: Pages that you can't edit should always be grey, even if there are unpublished changes. (from r99572)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@112077 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-13 02:06:55 +00:00
Ingo Schommer
841b11ed26 BUGFIX: Fixed width of time dropdown fields in the LHS CMS (from r89913) (from r96797)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@102660 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-13 03:26:30 +00:00
Ingo Schommer
bc407889d1 MINOR Moved ul.tree rules from cms/css/cms_left.css to sapphire/javascript/tree/tree.css (particularly around multiselect tickbox styling) (see r98854) (merged from r98855)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@98865 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-02-12 02:42:28 +00:00
Ingo Schommer
683dfa9426 MINOR Styling of side reports and tree area in CMS
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92850 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:21:08 +00:00
Ingo Schommer
c467c926fd ENHANCEMENT Converted AssetAdmin and AssetTableField javascript to jquery-concrete
MINOR Moved AssetAdmin->movemarked() logic to AssetTableField

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92829 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:20:11 +00:00
Ingo Schommer
6ce44dbd49 removed unnecessary background colour on treepanes
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92790 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:18:33 +00:00
Ingo Schommer
d0d676b1b0 MINOR Fixed remaining references to jsparty/ directory in CSS and PHP files
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92750 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:16:54 +00:00
Ingo Schommer
cb1895866a ENHANCEMENT Refactored versions panel in CMS: Removed "compare mode" checkbox in UI, and replaced with explicit checkboxes and a "compare versions" button. Added manual "refresh" button. Replaced custom markup with a form generated through CMSMain->VersionsForm(), and adjusted markup in CMSMain_versions.ss accordingly
API CHANGE Removed CMSMain->sendFormToBrowser(), replaced with custom code

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92731 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:16:09 +00:00
Ingo Schommer
01d06dd47e API CHANGE Replaced CMSMain->LangSelector() with CMSMain->LangForm() to provide more accessible backend and properly wrap existing <select> tag in a form
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92728 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:16:00 +00:00
Ingo Schommer
351f2fdea1 BUGFIX Disabling horizontal overflow on tree with long node names in cms_left.css
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92714 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:15:22 +00:00
Ingo Schommer
671961cf45 ENHANCEMENT Refactored tree search javascript to support concrete and jquery, and build less UI scaffold on the serverside
API CHANGE Removed CMSMain::site_tree_filter_options
API CHANGE Removed CMSMain::SiteTreeFilterOptions() and T_SiteTreeFilterOptions(), now handled inline in CMSMain::TreeSearchForm()
ENHANCEMENT Refactored tree search PHP in CMSMain: Generate form in PHP instead of template, require less UI state, pass filtered/sanitized paramers straight into CMSMainMarkingFilter instead of relying on

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92618 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:37:06 +00:00
Ingo Schommer
c5eadd81ab ENHANCEMENT Using jQuery UI tabs for tree tools like 'search' or 'batch actions' instead of custom JavaScript
API CHANGE Removed 'treeactions' javascript global

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92603 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:36:09 +00:00
Ingo Schommer
ae2efc5a9f MINOR Removed #PageType dropdown width limitation to allow for longer page type titles
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92583 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:35:24 +00:00
Ingo Schommer
ae56eba853 ENHANCEMENT Using jQuery layout manager plugin to size panels in main CMS interface. Removed custom javascript resizing and CSS rules.
API CHANGE Removed custom resizing javascript methods: window.ontabschanged, window.onresize, fixRightWidth(), fixHeight_left()
API CHANGE Removed DraggableSeparator, SideTabs, SideTabItem javascript classes
API CHANGE Removed Effect.ReSize and Highlighter javascript helper classes
API CHANGE Modified template structure in CMSMain_left.ss, CMSMain_right.ss and LeftAndMain.ss
API CHANGE Modified markup IDs in LeftAndMain/CMSMain templates, removed "left", "right", "contentPanel", "bottom"
ENHANCEMENT Using jquery-latest (currently 1.3) in CMSMain and LeftAndMain
ENHANCEMENT Added jQuery UI library and "smoothness" theme to default CMS interface

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92581 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:35:20 +00:00
Sam Minnee
b9f59ae925 MINOR three step workflow test
MINOR prettified side reports with form labels (from r85521)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@89223 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-10-15 22:44:24 +00:00
Tom Rix
b087ef99c5 MINOR moving inline css to a class
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@83698 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-08-04 04:41:32 +00:00
Sam Minnee
646ed9342a BUGFIX: Fixed bugs in content differencer, and improved styling.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@77661 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-05-23 03:30:57 +00:00
Sean Harvey
b360ad9cd7 Merged from branches/2.3
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@76857 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-05-14 06:11:18 +00:00
Sean Harvey
4389affa5c BUGFIX Fixed checkbox "Show only changed pages" alignment issue
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@76244 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-05-06 05:16:53 +00:00
Sean Harvey
687d0fef5e BUGFIX Fixed clearing issue of "Allow drag & drop reordering" and "Show deleted pages"
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@76237 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-05-06 05:01:51 +00:00
Sean Harvey
4e4810bbb6 Merged from branches/2.3
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@75780 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-04-30 22:47:28 +00:00
Sean Harvey
42a6692d79 Merged from branches/2.3
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@75592 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-04-29 01:44:28 +00:00
Sean Harvey
75f962b6e9 Merged from branches/2.3
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@71277 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-02-03 03:52:06 +00:00
Sean Harvey
34a50e3de6 Merged from branches/2.3
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@71276 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-02-03 03:46:15 +00:00
Sean Harvey
32137f61c6 Merged from branches/2.3
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@71271 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-02-03 03:36:47 +00:00
Sean Harvey
9d32dd4026 Merged from branches/2.3
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@71267 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-02-03 03:26:44 +00:00
Sean Harvey
3680bbea46 Merged from branches/2.3
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@71264 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-02-03 03:22:20 +00:00
Ingo Schommer
5889def36d ENHANCEMENT Moved language selector in CMS above tree for better visibility, added padding and adjusted dropdown width
ENHANCEMENT Removed "Translating mode" status message above edit form - should be clear by the language dropdown above the CMS tree now

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@70308 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-01-16 04:17:37 +00:00
Michael Andrewartha
f855a7512f BUGFIX: fixed scrollbar in safari and firefox3 for the list of pages in site reports and version history #2065
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@70229 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-01-15 21:27:32 +00:00
Ingo Schommer
c8beba696c Merged, debugged and enhanced Translatable patches from branches/translatable at r64523, r64523, 64523, thanks wakeless!
API CHANGE Changed Translatable schema from auxilliary tables (SiteTree_lang, SiteTree_lang_Live) to automatically filtered records on the original table (SiteTree, SiteTree_Live), using $Lang and $OriginalID properties. Incompatible update to old schema, migration script is in the works.
API CHANGE Removed Translatable::get_one(), Translatable::write()
ENHANCEMENT Simplified Translatable tree generation by using getSiteTreeFor() in CMSMain->createtranslation()
ENHANCEMENT Added AllChildrenIncludingDeleted(), augmentNumChildrenCountQuery(),  augmentAllChildrenIncludingDeleted(), augmentStageChildren() to Translatable class to allow for more stable tree generation.
ENHANCEMENT Moved definition of Translatable schema from augmentDatabase() to Translatable->extraStatics()
ENHANCEMENT Changes to the CMS language selection refresh the whole admin interface instead of the tree only. This way we can add a URL parameter ?lang=<lang> to /admin, which makes the specific language bookmarkable and reloadable. Changes to LangSelector.js
ENHANCEMENT Added fallback to ModelAsController->getNestedController() to fetch page with matching URLSegment but different language in case no page is found in the current language.
ENHANCEMENT Added helper methods to Translatable: getTranslation(), hasTranslation(), isTranslation(), findOriginalIDs()
ENHANCEMENT Getters and setters for Translatable->getOriginalPage() etc.
ENHANCEMENT Hooking Translatable into ModelAsController and ContentController initialization in order to call choose_site_lang()
ENHANCEMENT Simplified Translatable->augmentSQL(), augmentWrite() by not using auxilliary tables
ENHANCEMENT Showing clickable links for Translations in Translatable->updateCMSFields()
BUGFIX Modifying Hierarchy/SiteTree Children getters to accept optional "context" which can be used to set a language explicitly through the $Lang property, rather than implicitly reyling on the static Translatable::current_lang()
BUGFIX Fixed TranslatableTest to work with new datamodel
BUGFIX Temporarily disabled cookie/session selection in Translatable::choose_site_lang() until we have a good test suite for the side effects.
MINOR Added "untranslated" CSS styles to tree nodes and marking them as inactive/grey


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@69959 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-01-10 12:15:30 +00:00
Ingo Schommer
7e09cc8a18 MINOR merged from branches/2.3
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@69858 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-01-07 23:01:47 +00:00
Ingo Schommer
266acd409d ENHANCEMENT Moved batch forms in CMSMain and AssetAdmin from hardcoded templates to SilverStripe forms. Enhances styling capabilities, unifies HTML syntax, better support for unobtrusive scripting, validation and field additions.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@69744 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-01-06 02:18:33 +00:00
Ingo Schommer
7b3068ac4f MINOR Merged from branches/2.3
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@69703 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-01-05 06:17:59 +00:00
Sam Minnee
2ee0c0991b Merged branches/2.3
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@66109 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-11-18 01:48:50 +00:00
Sam Minnee
4c03867428 BUGFIX #1816: Added a little padding to page version table
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@63593 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-10-03 02:58:33 +00:00
Matt Peel
66c3db1e8e Reverted geoffm's accidental commit to /open
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@50107 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-02-25 02:10:37 +00:00
Geoff Munn
4475726ad6 First post
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@50105 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-02-25 01:06:39 +00:00
Sam Minnee
17f796d0af Merged revisions 48474 via svnmerge from
http://svn.silverstripe.com/open/modules/cms/branches/2.2.1asfonz

........
  r48474 | sminnee | 2008-01-23 16:22:59 +1300 (Wed, 23 Jan 2008) | 1 line
  
  Fixed context menus in CMS
........


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@48523 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-01-24 00:01:44 +00:00
Andrew O'Neil
fc1ba512b9 #1959 - You can't reorganise pages without creating pages
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@47848 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-01-10 22:11:32 +00:00
Sean Harvey
8dc2b6e7e6 DESIGN change - removed status images, these were removed in design so we'll remove them from 2.2 as well
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@44518 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-08 04:59:19 +00:00
Sean Harvey
d843553e4c Fixed search CSS, and repeat background in IE6 of site tree root node
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@44517 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-08 04:43:19 +00:00
Sam Minnee
4921e0380a ie6 is gay.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@44488 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-08 01:13:09 +00:00
Sean Harvey
a2d59ee1c7 Ticket #1498 - refactored the button css, it's now in layout.css instead of multiple files
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@44326 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-06 02:53:40 +00:00
Sean Harvey
19919ce881 Ticket #1498 - fixed styling of input for unused thumbnails in files and images, styled submit inputs in batch actions
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@44288 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-05 22:08:12 +00:00
Sean Harvey
e387a5083e Ticket #1498 - CSS cleanup after reset
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@44275 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-05 20:38:25 +00:00
Sean Harvey
4db20bec83 Ticket #1498 - CSS clean up, use margin reset and remove excess margin 0 and padding 0
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@44273 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-05 10:10:14 +00:00
Sean Harvey
96006c5614 Ticket #1498 - CSS cleanup and template tweak
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@44267 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-05 05:03:05 +00:00
Andrew O'Neil
bdfbb9a046 #1471 - In cms_left.css should read 'cursor: default' not 'cursor: normal' (merged from 2.1.1 branch, r43598)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@44208 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-04 21:44:27 +00:00