Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(admin-ui): provide tooltip for config properties #189
- Loading branch information
Showing
9 changed files
with
361 additions
and
293 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
import React from 'react' | ||
import { Col, FormGroup, Input } from '../../../components' | ||
import GluuLabel from './GluuLabel' | ||
import GluuTooltip from './GluuTooltip' | ||
|
||
function GluuInumInput({ label, name, value, lsize,rsize, doc_category }) { | ||
return ( | ||
<GluuTooltip doc_category={doc_category} doc_entry={name}> | ||
<FormGroup row> | ||
<GluuLabel label={label} size={lsize} /> | ||
<Col sm={rsize}> | ||
<Input | ||
style={{ backgroundColor: '#F5F5F5' }} | ||
id={name} | ||
name={name} | ||
disabled | ||
value={value} | ||
/> | ||
</Col> | ||
</FormGroup> | ||
</GluuTooltip> | ||
) | ||
} | ||
GluuInumInput.defaultProps = { | ||
lsize: 4, | ||
rsize: 8, | ||
} | ||
|
||
export default GluuInumInput |
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,5 @@ | ||
export const OIDC_CLIENT = 'openid_client' | ||
export const SCOPE = 'scope' | ||
export const ATTRIBUTE = 'attribute' | ||
export const SCRIPT = 'script' | ||
export const JSON_CONFIG = 'json_properties' |
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
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
Oops, something went wrong.