Permalink
Browse files

ENHANCEMENT: allow left column on LeftAndMain::getEditForm

  • Loading branch information...
1 parent 37156b0 commit 649f4cef9cd76cb6a11c6e3c2e22947c2ac90dc0 @wilr wilr committed Feb 11, 2012
Showing with 36 additions and 33 deletions.
  1. +1 −1 admin/css/screen.css
  2. +2 −0 admin/scss/_style.scss
  3. +33 −32 admin/templates/Includes/LeftAndMain_EditForm.ss
View

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
View
@@ -405,6 +405,8 @@ body.cms {
overflow-y: auto;
overflow-x: hidden;
z-index: 70;
+ float: left;
+ position: relative;
.cms-panel-header {
padding: 0;
@@ -1,7 +1,6 @@
<% if IncludeFormTag %>
<form $FormAttributes data-layout="{type: 'border'}">
<% end_if %>
-
<div class="cms-content-header north">
<div>
<h2 id="page-title-heading" title="$Record.Breadcrumbs(20, true)">
@@ -22,43 +21,45 @@
<!-- <div class="cms-content-search">...</div> -->
</div>
</div>
-
- <div class="cms-content-fields center">
-
- <!-- <div class="cms-content-tools west">
+
+ <% if Left %>
+ <div class="cms-content-tools west cms-panel cms-panel-layout collapsed" id="cms-content-tools" data-expandOnClick="true" data-layout="{type: 'border'}">
$Left
- </div> -->
-
- <% if Message %>
- <p id="{$FormName}_error" class="message $MessageType">$Message</p>
- <% else %>
- <p id="{$FormName}_error" class="message $MessageType" style="display: none"></p>
- <% end_if %>
+ </div>
+ <% end_if %>
+
+ <div class="center cms-panel-layout" id="center-container-here" data-layout="{type: 'border'}">
+ <div class="cms-content-fields center">
+ <% if Message %>
+ <p id="{$FormName}_error" class="message $MessageType">$Message</p>
+ <% else %>
+ <p id="{$FormName}_error" class="message $MessageType" style="display: none"></p>
+ <% end_if %>
- <fieldset>
- <% if Legend %><legend>$Legend</legend><% end_if %>
- <% control Fields %>
- $FieldHolder
- <% end_control %>
- <div class="clear"><!-- --></div>
- </fieldset>
- </div>
+ <fieldset>
+ <% if Legend %><legend>$Legend</legend><% end_if %>
+ <% control Fields %>
+ $FieldHolder
+ <% end_control %>
+ <div class="clear"><!-- --></div>
+ </fieldset>
+ </div>
- <div class="cms-content-actions south">
- <% if Actions %>
- <div class="Actions">
- <% control Actions %>
- $Field
- <% end_control %>
- <% if CurrentPage.PreviewLink %>
- <a href="$CurrentPage.PreviewLink" class="cms-preview-toggle-link ss-ui-button">
- <% _t('LeftAndMain.PreviewButton', 'Preview') %> &raquo;
- </a>
+ <div class="cms-content-actions south">
+ <% if Actions %>
+ <div class="Actions">
+ <% control Actions %>
+ $Field
+ <% end_control %>
+ <% if CurrentPage.PreviewLink %>
+ <a href="$CurrentPage.PreviewLink" class="cms-preview-toggle-link ss-ui-button">
+ <% _t('LeftAndMain.PreviewButton', 'Preview') %> &raquo;
+ </a>
+ <% end_if %>
+ </div>
<% end_if %>
</div>
- <% end_if %>
</div>
-
<% if IncludeFormTag %>
</form>
<% end_if %>

0 comments on commit 649f4ce

Please sign in to comment.