Convert to new styles to use .panel and .toolbar

This commit is contained in:
Paul Clarke 2016-09-09 13:40:07 +12:00
parent fba54c8ae8
commit 59b2e293cf
4 changed files with 4 additions and 4 deletions

View File

@ -1,6 +1,6 @@
<form $FormAttributes data-layout-type="border"> <form $FormAttributes data-layout-type="border">
<div class="cms-content-fields panel-scrollable panel-scrollable--single-toolbar"> <div class="panel panel--padded panel--scrollable panel--single-toolbar cms-content-fields ">
<% if $Message %> <% if $Message %>
<p id="{$FormName}_error" class="message $MessageType">$Message</p> <p id="{$FormName}_error" class="message $MessageType">$Message</p>
<% else %> <% else %>

View File

@ -1,5 +1,5 @@
<div class="cms-content-tools west cms-panel cms-panel-layout" data-expandOnClick="true" data-layout-type="border" id="cms-content-tools-CMSMain"> <div class="cms-content-tools west cms-panel cms-panel-layout" data-expandOnClick="true" data-layout-type="border" id="cms-content-tools-CMSMain">
<div class="panel-scrollable--single-toolbar cms-panel-content center"> <div class="panel panel--padded panel--scrollable panel--single-toolbar cms-panel-content center">
<div class="cms-content-filters"> <div class="cms-content-filters">
$SearchForm $SearchForm
</div> </div>

View File

@ -13,7 +13,7 @@
</div> </div>
</div> </div>
<div class="panel-scrollable panel-scrollable--double-toolbar container-fluid cms-panel-padded"> <div class="panel panel--padded panel--scrollable panel--double-toolbar container-fluid cms-panel-padded">
<% if $Message %> <% if $Message %>
<p id="{$FormName}_error" class="message $MessageType">$Message</p> <p id="{$FormName}_error" class="message $MessageType">$Message</p>
<% else %> <% else %>

View File

@ -1,4 +1,4 @@
<div class="cms-content-toolbar"> <div class="toolbar toolbar--content cms-content-toolbar">
<div class="cms-actions-buttons-row"> <div class="cms-actions-buttons-row">
<a class="ss-ui-button cms-content-addpage-button tool-button font-icon-plus" href="$LinkPageAdd" data-url-addpage="{$LinkPageAdd('', 'ParentID=%s')}"><% _t('CMSMain.AddNewButton', 'Add new') %></a> <a class="ss-ui-button cms-content-addpage-button tool-button font-icon-plus" href="$LinkPageAdd" data-url-addpage="{$LinkPageAdd('', 'ParentID=%s')}"><% _t('CMSMain.AddNewButton', 'Add new') %></a>