Paul Clarke 40c98c6047 CSS updates to Campaign Admin
refactored breadcrumbs to use bootstrap
fix border lines on table
Layout variables updated for spacing, added toolbar heights
Added as part of campaigns as this area needs to use these variables.
Added action toolbar for content, swapped values to variables
toolbar action spacing
Adjustments of breadcrumb variable
Move accordion styles to its own component
Campaign items, styles for linked items and state badges
Small update to class name
Class name updates, convert values into variables
2016-04-18 23:35:31 +12:00
..
2016-04-12 16:50:06 +12:00
2016-04-06 10:43:33 +12:00
2016-04-14 12:02:59 +12:00
2016-04-06 10:43:33 +12:00
2016-04-06 10:43:33 +12:00
2016-04-18 13:59:18 +12:00
2016-04-06 08:36:37 +12:00
2016-04-14 12:02:59 +12:00
2016-04-18 23:35:31 +12:00
2016-04-06 10:43:33 +12:00

GridField

General purpose component for tabular data.

GridFieldTableComponent

This component is used to display structured data in an extendible table layout.

Required Props

  • Headings - (array) The column headings.
  • Rows - (array) The table rows.

GridFieldAction

This component renders a button within a grid-field to handle actions.

Required Props

  • handleClick - Function for when a button is clicked

GridFieldCell

This component represents a data cell in a GridFieldRow.

Optional Props

  • width - Set a width relative to the other cells if required. Accepts a number from 1-10 (defaults to 5).

GridFieldHeader

This component is used to display a table header row on a GridFieldComponent.

GridFieldHeaderCell

This component is a cell in a GridFieldHeader component.

Optional Props

  • width - Set a width relative to the other cells if required. Accepts a number from 1-10 (defaults to 5).

GridFieldRow

Represents a row in a GridField.

Optional Props

  • cells - (array) The table data to display in the row.