From aabd152314210fe0147934661d56f97d04bff74f Mon Sep 17 00:00:00 2001 From: Belen Curcio Date: Tue, 14 Nov 2017 13:01:13 -0300 Subject: [PATCH] Account History --- .../src/components/AccountHistory.css | 22 +++++++++++++ .../src/components/AccountHistory.js | 31 +++++++++++++++++++ 2 files changed, 53 insertions(+) create mode 100644 client/coral-admin/src/components/AccountHistory.css create mode 100644 client/coral-admin/src/components/AccountHistory.js diff --git a/client/coral-admin/src/components/AccountHistory.css b/client/coral-admin/src/components/AccountHistory.css new file mode 100644 index 000000000..7e2ef0109 --- /dev/null +++ b/client/coral-admin/src/components/AccountHistory.css @@ -0,0 +1,22 @@ +.table, .headerRow, .row { + display: flex; +} + +.headerRowItem, .item { + flex: 1; +} + +.headerRowItem { + text-align: center; + color: #595959; + font-weight: bold; +} + +.headerRow, .row { + border-bottom: 1px solid #e0e0e0; +} + +.action { + color: black; + font-weight: bold; +} diff --git a/client/coral-admin/src/components/AccountHistory.js b/client/coral-admin/src/components/AccountHistory.js new file mode 100644 index 000000000..c74effeed --- /dev/null +++ b/client/coral-admin/src/components/AccountHistory.js @@ -0,0 +1,31 @@ +import React from 'react'; +import PropTypes from 'prop-types'; +import styles from './AccountHistory.css'; +import cn from 'classnames'; + +class AccountHistory extends React.Component { + render() { + return ( +
+
+
+
Date
+
Action
+
Moderation
+
+
+
Date
+
Action
+
Moderation
+
+
+
+ ); + } +} + +AccountHistory.propTypes = { + history: PropTypes.array, +}; + +export default AccountHistory;