-
Notifications
You must be signed in to change notification settings - Fork 333
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BUGFIX: fixing the look of Settings tab in the CMS if it has multiple…
… tabs
- Loading branch information
Julian Seidenberg
committed
May 18, 2012
1 parent
aa7bc23
commit 7112032
Showing
3 changed files
with
68 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1 +1,33 @@ | |||
$EditForm | <div class="cms-content center cms-tabset $BaseCSSClasses" data-layout-type="border"> | ||
|
|||
<div class="cms-content-header north"> | |||
<div> | |||
<% with EditForm %> | |||
<h2> | |||
<% with Controller %> | |||
<% include CMSSectionIcon %> | |||
<% include CMSBreadcrumbs %> | |||
<% end_with %> | |||
</h2> | |||
<% if Fields.hasTabset %> | |||
<% with Fields.fieldByName('Root') %> | |||
<div class="cms-tabset cms-content-header-tabs ss-ui-tabs-nav"> | |||
<ul> | |||
<% loop Tabs %> | |||
<li<% if extraClass %> class="$extraClass"<% end_if %>><a href="#$id">$Title</a></li> | |||
<% end_loop %> | |||
</ul> | |||
</div> | |||
<% end_with %> | |||
<% end_if %> | |||
<% end_with %> | |||
</div> | |||
</div> | |||
|
|||
<div class="cms-content-fields center ui-widget-content" data-layout-type="border"> | |||
|
|||
$EditForm | |||
|
|||
</div> | |||
|
|||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,30 @@ | |||
<form $FormAttributes> | |||
|
|||
<% 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 %> | |||
<% loop Fields %> | |||
$FieldHolder | |||
<% end_loop %> | |||
<div class="clear"><!-- --></div> | |||
</fieldset> | |||
|
|||
<% if Actions %> | |||
<div class="Actions"> | |||
<% loop Actions %> | |||
$Field | |||
<% end_loop %> | |||
<% if CurrentPage.LinkPreview %> | |||
<a href="$CurrentPage.LinkPreview" class="cms-preview-toggle-link ss-ui-button" data-icon="preview"> | |||
<% _t('LeftAndMain.PreviewButton', 'Preview') %> » | |||
</a> | |||
<% end_if %> | |||
</div> | |||
<% end_if %> | |||
|
|||
</form> |