WiP on admin interface for subscribers.
TODO: - format data based on field info in listDTAjax - integrate with the whole subscription machinery
This commit is contained in:
parent
e6bd9cd943
commit
6f5b50e932
38 changed files with 1233 additions and 181 deletions
7
client/src/lib/bootstrap-components.js
vendored
7
client/src/lib/bootstrap-components.js
vendored
|
@ -34,14 +34,15 @@ class DismissibleAlert extends Component {
|
|||
|
||||
class Icon extends Component {
|
||||
static propTypes = {
|
||||
name: PropTypes.string,
|
||||
icon: PropTypes.string.isRequired,
|
||||
title: PropTypes.string,
|
||||
className: PropTypes.string
|
||||
}
|
||||
|
||||
render() {
|
||||
const props = this.props;
|
||||
|
||||
return <span className={'glyphicon glyphicon-' + props.name + (props.className ? ' ' + props.className : '')}></span>;
|
||||
return <span className={'glyphicon glyphicon-' + props.icon + (props.className ? ' ' + props.className : '')} title={props.title}></span>;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -75,7 +76,7 @@ class Button extends Component {
|
|||
|
||||
let icon;
|
||||
if (props.icon) {
|
||||
icon = <Icon name={props.icon}/>
|
||||
icon = <Icon icon={props.icon}/>
|
||||
}
|
||||
|
||||
let iconSpacer;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue