mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-09-16 22:46:20 +02:00
4d52d655fd
* Panel/tab-panel and alerts spacing, button padding consistency and alignment * Reports panel spacing adjustments * ReportAdmin panel and toolbar spacing * Comment change * Fix formatting help toggle link * Use standard line-heights and padding for buttons * Add base panel styles * Update to .panel styles and .toolbar spacing * Remove legacy styles, linting fixes * Toolbar--content to have consistent styles throughout * Add panel and toolbar styles to areas missing them * Replace values with variables * Layout overrides for tabs and panels with padding * Adjust JQueryUI button spacing to match other UI buttons * Remove custom ReportAdmin styles Update values to variables and modify panel and tab-panel spacing * Remove text color override * Remove double (.m-t-1) spacing from campaign panel * Profile page remove legacy JLayout * Remove legacy spacing * Removed Layout from page so !important not needed * Improve use of variables * Add missing closing bracket, minor linting fixes * Linting fixes * Remove css importants * Add temp fix for file upload within gridfield Tidy structure of css * css build * Spacing bug fixed for campaign list alert
63 lines
1.8 KiB
Scheme
63 lines
1.8 KiB
Scheme
<% if $IncludeFormTag %>
|
|
<form $FormAttributes data-layout-type="border">
|
|
<% end_if %>
|
|
<div class="toolbar toolbar--north cms-content-header">
|
|
<div class="cms-content-header-info">
|
|
<% include SilverStripe\\Admin\\BackLink_Button %>
|
|
<% with $Controller %>
|
|
<% include SilverStripe\\Admin\\CMSBreadcrumbs %>
|
|
<% end_with %>
|
|
</div>
|
|
<% if $Fields.hasTabset %>
|
|
<% with $Fields.fieldByName('Root') %>
|
|
<div class="cms-content-header-tabs cms-tabset-nav-primary">
|
|
<ul>
|
|
<% loop $Tabs %>
|
|
<li<% if $extraClass %> class="$extraClass"<% end_if %>><a href="#$id">$Title</a></li>
|
|
<% end_loop %>
|
|
</ul>
|
|
</div>
|
|
<% end_with %>
|
|
<% end_if %>
|
|
|
|
<!-- <div class="cms-content-search">...</div> -->
|
|
</div>
|
|
|
|
<% with $Controller %>
|
|
$EditFormTools
|
|
<% end_with %>
|
|
|
|
<div class="panel panel--padded cms-content-fields panel--double-toolbar <% if not $Fields.hasTabset %>cms-panel-padded<% end_if %>">
|
|
<% 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>
|
|
</div>
|
|
|
|
<div class="toolbar--south cms-content-actions cms-content-controls south">
|
|
<% if $Actions %>
|
|
<div class="btn-toolbar">
|
|
<% loop $Actions %>
|
|
$Field
|
|
<% end_loop %>
|
|
<% if $Controller.LinkPreview %>
|
|
<a href="$Controller.LinkPreview" class="cms-preview-toggle-link ss-ui-button" data-icon="preview">
|
|
<%t LeftAndMain.PreviewButton 'Preview' %> »
|
|
</a>
|
|
<% end_if %>
|
|
</div>
|
|
<% end_if %>
|
|
</div>
|
|
<% if $IncludeFormTag %>
|
|
</form>
|
|
<% end_if %>
|