From fa94bb8ec211b5d6c86672a08b9deee358a12574 Mon Sep 17 00:00:00 2001 From: Sean Harvey Date: Thu, 1 Nov 2007 22:31:27 +0000 Subject: [PATCH] Removed status box, tweak treepanes css git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@44123 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- css/LeftAndMain_printable.css | 4 ++-- css/cms_left.css | 10 +++++++--- css/cms_right.css | 4 ++-- javascript/LeftAndMain_right.js | 4 ++-- templates/CMSMain_versions.ss | 2 +- 5 files changed, 14 insertions(+), 10 deletions(-) diff --git a/css/LeftAndMain_printable.css b/css/LeftAndMain_printable.css index f6491e68..0160ab74 100755 --- a/css/LeftAndMain_printable.css +++ b/css/LeftAndMain_printable.css @@ -27,12 +27,12 @@ form .action_readonly display: none !important; } -.pageStatusMessage { +/*.pageStatusMessage { position: absolute; right: 2em; top: 2em; border: 1px #777 solid; -} +}*/ .TableListField table.data th { background: #eee; diff --git a/css/cms_left.css b/css/cms_left.css index 90253c76..762909c2 100644 --- a/css/cms_left.css +++ b/css/cms_left.css @@ -272,15 +272,19 @@ ul.tree span.modified, } #treepanes table thead td { - background-color: #777; - color: white; - border-bottom: 1px #CCC solid; + background-color: #aaa; + color: #fff; + border-bottom: 2px #ccc solid; } #treepanes table tbody tr { cursor: pointer; } +#treepanes table tbody td { + font-size: 11px; +} + #treepanes table tbody tr.odd td { background-color: #EEE; } diff --git a/css/cms_right.css b/css/cms_right.css index 902674ae..4d1ddf57 100644 --- a/css/cms_right.css +++ b/css/cms_right.css @@ -335,7 +335,7 @@ input.loading { max-height: 300px; overflow: auto; } - .pageStatusMessage { + /*.pageStatusMessage { position: absolute; top: 0; right: 0; @@ -344,7 +344,7 @@ input.loading { font-size: 12px; padding: 5px; border: 1px solid #cc9; - } + }*/ /** * TableField Subclasses diff --git a/javascript/LeftAndMain_right.js b/javascript/LeftAndMain_right.js index 8110f8c1..69d62f99 100755 --- a/javascript/LeftAndMain_right.js +++ b/javascript/LeftAndMain_right.js @@ -282,10 +282,10 @@ CMSRightForm.prototype = { /** * Set the status field */ - setStatus: function(newStatus) { + /*setStatus: function(newStatus) { var statusLabel = document.getElementsBySelector('label.pageStatusMessage')[0]; if(statusLabel) statusLabel.innerHTML = "STATUS: " + newStatus; - } + }*/ } CMSForm.applyTo('#Form_SubForm', 'rightbottom'); diff --git a/templates/CMSMain_versions.ss b/templates/CMSMain_versions.ss index b0401356..4235d8d1 100755 --- a/templates/CMSMain_versions.ss +++ b/templates/CMSMain_versions.ss @@ -11,7 +11,7 @@ <% control Versions %> $Version - $LastEdited.Nice + $LastEdited.Ago $Author.FirstName $Author.Surname.Initial <% if Published %>