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;
}
.pageStatusMessage {
/*.pageStatusMessage {
position: absolute;
right: 2em;
top: 2em;
border: 1px #777 solid;
}
}*/
.TableListField table.data th {
background: #eee;

View File

@ -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;
}

View File

@ -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

View File

@ -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');

View File

@ -11,7 +11,7 @@
<% control Versions %>
<tr id="page-$RecordID-version-$Version" class="$EvenOdd $PublishedClass">
<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>
<% if Published %>