Added icons to publish and revert buttons

This commit is contained in:
Paul Clarke 2016-04-13 14:41:43 +12:00 committed by Damian Mooyman
parent 8554b43ccc
commit d51e94c035
2 changed files with 8 additions and 6 deletions

View File

@ -118,6 +118,7 @@ class CampaignListContainer extends SilverStripeComponent {
style={'success'}
loading={this.props.campaign.isPublishing}
handleClick={this.handlePublish}
icon={'rocket'}
/>
);
} else if (this.props.record.State === 'published') {
@ -125,7 +126,8 @@ class CampaignListContainer extends SilverStripeComponent {
button = (
<FormAction
label={i18n._t('Campaigns.REVERTCAMPAIGN')}
style={'warning'}
style={'default'}
icon={'back-in-time'}
disabled
/>
);

View File

@ -1,9 +1,9 @@
.cms-south-actions {
height: 53px;
.cms-south-actions { // Todo: update variables
height: 53px; // navbar-total-height
position: absolute;
bottom: 0;
width: 100%;
border-top: 1px solid #ddd;
background-color: #f6f7f8;
padding: 8px 15px;
border-top: 1px solid #ddd; // $border-color
background-color: #f6f7f8; // $body-bg
padding: 10px 15px; // $spacer-y*.625 $spacer-x
}