Report templates ported to ReactJS and Knex.
Does not run yet because reports have dependencies on the old report templates.
This commit is contained in:
parent
be7da791db
commit
d4cea46f07
29 changed files with 807 additions and 688 deletions
|
@ -295,6 +295,20 @@ class NavButton extends Component {
|
|||
}
|
||||
}
|
||||
|
||||
class DropdownLink extends Component {
|
||||
static propTypes = {
|
||||
to: PropTypes.string
|
||||
}
|
||||
|
||||
render() {
|
||||
const props = this.props;
|
||||
|
||||
return (
|
||||
<li><Link to={props.to}>{props.children}</Link></li>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
function withPageHelpers(target) {
|
||||
withErrorHandling(target);
|
||||
|
||||
|
@ -340,5 +354,6 @@ export {
|
|||
Title,
|
||||
Toolbar,
|
||||
NavButton,
|
||||
DropdownLink,
|
||||
withPageHelpers
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue