Removed status box, tweak treepanes css

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@44123 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Sean Harvey 2007-11-01 22:31:27 +00:00
parent bba5d8bf5b
commit fa94bb8ec2
5 changed files with 14 additions and 10 deletions

View File

@ -27,12 +27,12 @@ form .action_readonly
display: none !important; display: none !important;
} }
.pageStatusMessage { /*.pageStatusMessage {
position: absolute; position: absolute;
right: 2em; right: 2em;
top: 2em; top: 2em;
border: 1px #777 solid; border: 1px #777 solid;
} }*/
.TableListField table.data th { .TableListField table.data th {
background: #eee; background: #eee;

View File

@ -272,15 +272,19 @@ ul.tree span.modified,
} }
#treepanes table thead td { #treepanes table thead td {
background-color: #777; background-color: #aaa;
color: white; color: #fff;
border-bottom: 1px #CCC solid; border-bottom: 2px #ccc solid;
} }
#treepanes table tbody tr { #treepanes table tbody tr {
cursor: pointer; cursor: pointer;
} }
#treepanes table tbody td {
font-size: 11px;
}
#treepanes table tbody tr.odd td { #treepanes table tbody tr.odd td {
background-color: #EEE; background-color: #EEE;
} }

View File

@ -335,7 +335,7 @@ input.loading {
max-height: 300px; max-height: 300px;
overflow: auto; overflow: auto;
} }
.pageStatusMessage { /*.pageStatusMessage {
position: absolute; position: absolute;
top: 0; top: 0;
right: 0; right: 0;
@ -344,7 +344,7 @@ input.loading {
font-size: 12px; font-size: 12px;
padding: 5px; padding: 5px;
border: 1px solid #cc9; border: 1px solid #cc9;
} }*/
/** /**
* TableField Subclasses * TableField Subclasses

View File

@ -282,10 +282,10 @@ CMSRightForm.prototype = {
/** /**
* Set the status field * Set the status field
*/ */
setStatus: function(newStatus) { /*setStatus: function(newStatus) {
var statusLabel = document.getElementsBySelector('label.pageStatusMessage')[0]; var statusLabel = document.getElementsBySelector('label.pageStatusMessage')[0];
if(statusLabel) statusLabel.innerHTML = "STATUS: " + newStatus; if(statusLabel) statusLabel.innerHTML = "STATUS: " + newStatus;
} }*/
} }
CMSForm.applyTo('#Form_SubForm', 'rightbottom'); CMSForm.applyTo('#Form_SubForm', 'rightbottom');

View File

@ -11,7 +11,7 @@
<% control Versions %> <% control Versions %>
<tr id="page-$RecordID-version-$Version" class="$EvenOdd $PublishedClass"> <tr id="page-$RecordID-version-$Version" class="$EvenOdd $PublishedClass">
<td>$Version</td> <td>$Version</td>
<td class="$LastEdited" title="$LastEdited.Ago">$LastEdited.Nice</td> <td class="$LastEdited" title="$LastEdited.Ago">$LastEdited.Ago</td>
<td>$Author.FirstName $Author.Surname.Initial</td> <td>$Author.FirstName $Author.Surname.Initial</td>
<td> <td>
<% if Published %> <% if Published %>