-
Notifications
You must be signed in to change notification settings - Fork 484
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
113 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
/** | ||
* Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH | ||
* under one or more contributor license agreements. See the NOTICE file | ||
* distributed with this work for additional information regarding copyright | ||
* ownership. | ||
* | ||
* Camunda licenses this file to you under the MIT; you may not use this file | ||
* except in compliance with the MIT License. | ||
*/ | ||
|
||
import React, { PureComponent } from 'react'; | ||
|
||
import css from './EmptyTab.less'; | ||
|
||
import { | ||
Tab | ||
} from './primitives'; | ||
|
||
import Flags, { DISABLE_DMN, DISABLE_FORM, DISABLE_ZEEBE, DISABLE_PLATFORM } from '../util/Flags'; | ||
|
||
|
||
export default class EmptyTab extends PureComponent { | ||
|
||
componentDidMount() { | ||
this.props.onShown(); | ||
} | ||
|
||
triggerAction() { } | ||
|
||
renderDiagramButton = (action, title, icon) => { | ||
|
||
const { | ||
onAction | ||
} = this.props; | ||
|
||
return ( | ||
<button className="btn btn-secondary" onClick={ () => onAction(action) }> | ||
{icon} | ||
{title} | ||
</button> | ||
); | ||
}; | ||
|
||
render() { | ||
|
||
return ( | ||
<Tab className={ css.EmptyTab }> | ||
<h1>This is the settings page</h1> | ||
|
||
<p> | ||
Lorem ipsum foo bar wat. | ||
</p> | ||
|
||
<h3>Startup Flags</h3> | ||
|
||
<pre> | ||
{ JSON.stringify(Flags.data, 0, 2) } | ||
</pre> | ||
</Tab> | ||
); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters