-
Notifications
You must be signed in to change notification settings - Fork 486
Commit
- Loading branch information
There are no files selected for viewing
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'; | ||
Check failure on line 19 in client/src/app/SettingsTab.js GitHub Actions / Build (ubuntu-latest)
Check failure on line 19 in client/src/app/SettingsTab.js GitHub Actions / Build (ubuntu-latest)
Check failure on line 19 in client/src/app/SettingsTab.js GitHub Actions / Build (ubuntu-latest)
Check failure on line 19 in client/src/app/SettingsTab.js GitHub Actions / Build (ubuntu-latest)
Check failure on line 19 in client/src/app/SettingsTab.js GitHub Actions / Build (macos-12)
Check failure on line 19 in client/src/app/SettingsTab.js GitHub Actions / Build (macos-12)
Check failure on line 19 in client/src/app/SettingsTab.js GitHub Actions / Build (macos-12)
Check failure on line 19 in client/src/app/SettingsTab.js GitHub Actions / Build (macos-12)
Check failure on line 19 in client/src/app/SettingsTab.js GitHub Actions / Build (windows-2022)
Check failure on line 19 in client/src/app/SettingsTab.js GitHub Actions / Build (windows-2022)
Check failure on line 19 in client/src/app/SettingsTab.js GitHub Actions / Build (windows-2022)
Check failure on line 19 in client/src/app/SettingsTab.js GitHub Actions / Build (windows-2022)
Check failure on line 19 in client/src/app/SettingsTab.js GitHub Actions / Build (ubuntu-latest)
Check failure on line 19 in client/src/app/SettingsTab.js GitHub Actions / Build (ubuntu-latest)
Check failure on line 19 in client/src/app/SettingsTab.js GitHub Actions / Build (ubuntu-latest)
Check failure on line 19 in client/src/app/SettingsTab.js GitHub Actions / Build (ubuntu-latest)
Check failure on line 19 in client/src/app/SettingsTab.js GitHub Actions / Build (macos-12)
Check failure on line 19 in client/src/app/SettingsTab.js GitHub Actions / Build (macos-12)
Check failure on line 19 in client/src/app/SettingsTab.js GitHub Actions / Build (macos-12)
Check failure on line 19 in client/src/app/SettingsTab.js GitHub Actions / Build (macos-12)
Check failure on line 19 in client/src/app/SettingsTab.js GitHub Actions / Build (windows-2022)
Check failure on line 19 in client/src/app/SettingsTab.js GitHub Actions / Build (windows-2022)
Check failure on line 19 in client/src/app/SettingsTab.js GitHub Actions / Build (windows-2022)
|
||
|
||
|
||
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> | ||
); | ||
} | ||
} |